[issue13922] argparse handling multiple "--" in args improperly

2012-02-10 Thread Christophe Kalt
Christophe Kalt 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 trac

[issue13966] Add disable_interspersed_args() to argparse.ArgumentParser

2012-02-10 Thread Christophe Kalt
Christophe Kalt added the comment: nice, thank you! -- nosy: +kalt ___ Python tracker <http://bugs.python.org/issue13966> ___ ___ Python-bugs-list mailin

[issue10949] logging.RotatingFileHandler not robust enough

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

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

2010-06-22 Thread Christophe Kalt
Christophe Kalt 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 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 <http://bugs.python.org/issue8

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

2010-06-04 Thread Christophe Kalt
Christophe Kalt 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. Haven't h

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

2010-06-04 Thread Christophe Kalt
Christophe Kalt 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 <http://bugs.py

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

2010-06-03 Thread Christophe Kalt
New submission from Christophe Kalt : 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', '

[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.o