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
Christophe Kalt added the comment:
nice, thank you!
--
nosy: +kalt
___
Python tracker
<http://bugs.python.org/issue13966>
___
___
Python-bugs-list mailin
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
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
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
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
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
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', '
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