[issue10344] codecs.readline doesn't care buffering=0

2010-11-06 Thread Santiago Piccinini
New submission from Santiago Piccinini gringotuma...@gmail.com: codecs.readline has an internal buffer of 72 chars so calling codecs.open with buffering=0 doesn't work as expected although buffering is passed to the underlying __builtin__.open call. Example session: Python 3.2a3+ (py3k, Nov

[issue10344] codecs.readline doesn't care buffering=0

2010-11-06 Thread Santiago Piccinini
Santiago Piccinini gringotuma...@gmail.com added the comment: Marc-Andre Lemburg wrote: Regarding the issue itself: I think this is a wrong interpretation of what the buffering parameter does. File buffering is different from .readline() buffering (which can be customized on a per-call basis