[issue13171] Bug in file.read(), can access unknown data.

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue13171] Bug in file.read(), can access unknown data.

2011-10-14 Thread Alexander Steppke
Changes by Alexander Steppke astep...@gmail.com: -- components: +IO title: Bug in tempfile module - Bug in file.read(), can access unknown data. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13171

[issue13171] Bug in file.read(), can access unknown data.

2011-10-14 Thread Alexander Steppke
Alexander Steppke astep...@gmail.com added the comment: Additionally after calling tmp.close() the file 'tmp' contains the string 'test', which is followed by about 4kB of binary data similar to the previous output of tmp.read(). -- ___ Python

[issue13171] Bug in file.read(), can access unknown data.

2011-10-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13171 ___ ___

[issue13171] Bug in file.read(), can access unknown data.

2011-10-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This issue is a duplicate of the issue #1394612 which has been closed as invalid. Read the following message: http://bugs.python.org/issue1394612#msg27200 I suppose that Python 3 is not affected by this issue because it doesn't

[issue13171] Bug in file.read(), can access unknown data.

2011-10-14 Thread Alexander Steppke
Alexander Steppke astep...@gmail.com added the comment: Thank you for the update Victor. It seems to me that this is exactly the same issue. At the moment the current documentation says (http://docs.python.org/library/stdtypes.html#bltin-file-objects): Note: This function is simply a wrapper

[issue13171] Bug in file.read(), can access unknown data.

2011-10-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Le 14/10/2011 14:37, Alexander Steppke a écrit : When a file is opened with update mode ('+' as the second or third character in the above list of mode argument values), You can just say '+' in the file mode . the fflush

[issue13171] Bug in file.read(), can access unknown data.

2011-10-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This issue has come up enough (tracker and python-list) that I think adding a mild adaptation of the C standard paragraph might be a good idea. Changing to a doc issue. -- assignee: - docs@python components: +Documentation -IO,