[issue13966] Add disable_interspersed_args() to argparse.ArgumentParser

2012-02-10 Thread Christophe Kalt
Christophe Kalt k...@taranis.org added the comment: nice, thank you! -- nosy: +kalt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13966

[issue13922] argparse handling multiple -- in args improperly

2012-02-10 Thread Christophe Kalt
Christophe Kalt k...@taranis.org added the comment: Hah.. was just about to report this. I'm in the midst of converting a bunch of scripts from optparse to argparse, and this is one of the problems I'm hitting. -- nosy: +kalt ___ Python tracker rep

[issue10949] logging.RotatingFileHandler not robust enough

2011-01-19 Thread Christophe Kalt
New submission from Christophe Kalt k...@taranis.org: logging.RotatingFileHandler.doRollover() can fail leaving the handler with a closed filehandle, causing all subsequent logging attempts to fail: import logging import logging.handlers logging.getLogger().addHandler

[issue8893] file.{read,readlines} behaviour on Solaris

2010-06-22 Thread Christophe Kalt
Christophe Kalt k...@taranis.org added the comment: I haven't had a chance to build Python to check, but from the test output I suspect the problem to be different on FreeBSD. -- Added file: http://bugs.python.org/file17750/unnamed ___ Python tracker

[issue8893] file.{read,readlines} behaviour on Solaris

2010-06-04 Thread Christophe Kalt
Christophe Kalt pyt...@ote.taranis.org added the comment: This is on Solaris 10, but I also see it on Solaris 8 w/ Python 2.4. Just tried Python 3.6.1, and it doesn't seem to have that problem. Python 2.7b2 has the problem. -- ___ Python tracker rep

[issue8893] file.{read,readlines} behaviour on Solaris

2010-06-04 Thread Christophe Kalt
Christophe Kalt pyt...@ote.taranis.org added the comment: Antoine: I'm not sure what the expected behaviour should be either, this is certainly for others more familiar with Python than I to decide. Although I am certainly annoyed that the current behaviour differs between Solaris and Linux

[issue8893] file.{read,readlines} behaviour on Solaris

2010-06-04 Thread Christophe Kalt
Christophe Kalt k...@taranis.org added the comment: FreeBSD is yet another beast: $ uname -rs FreeBSD 8.0-STABLE $ python -V Python 2.5.5 $ python readlines.py read : [] readlines: [] readline : -- ___ Python tracker rep...@bugs.python.org

[issue8893] file.{read,readlines} behaviour on Solaris

2010-06-03 Thread Christophe Kalt
New submission from Christophe Kalt pyt...@ote.taranis.org: The following snippet of code is a concise way to exhibit the problem: import os wr = open('/tmp/test', 'w') wr.write('oink\noink\n') rd = open('/tmp/test', 'r') rdlns = open('/tmp/test', 'r') # first, read til EOF is reached (which

[issue1734346] patch for bug 1170311 zipfile UnicodeDecodeError

2008-04-28 Thread Christophe Kalt
Christophe Kalt [EMAIL PROTECTED] added the comment: Any chance of this making it in sometime? The current behaviour is rather limiting/annoying. -- nosy: +kalt _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1734346