[New-bugs-announce] [issue8546] The parameter buffering in _pyio.open doesn't work the same as in the builtin open
report at bugs.python.org
Tue Apr 27 10:26:49 CEST 2010
New submission from Patrick Sabin <patricksabin at gmx.at>:
As far as I understand the _pyio.open function should resemble the builtin open, but in case of the buffering parameter, it doesn't. The builtin version doesn't allow None as argument, but this is the default in the _pyio.open signature.
I attached a patch, which changes the default value of the buffering parameter to -1, which is the default in the builtin version.
assignee: docs at python
components: Documentation, Library (Lib)
nosy: docs at python, pyfex
title: The parameter buffering in _pyio.open doesn't work the same as in the builtin open
versions: Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file17103/change_pyio_open_buffering_parameter.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce