Éric Araujo mer...@netwok.org added the comment:
Alright, thanks for replying :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11818
___
___
Éric Araujo mer...@netwok.org added the comment:
May I ask why 3.1 was not fixed too?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11818
___
Ross Lagerwall rosslagerw...@gmail.com added the comment:
http://docs.python.org/release/3.1.3/library/tempfile.html doesn't to have an
Examples section like 3.2 and 3.3.
It appears to have been introduced in b172d7537b99 with #5178.
--
___
Python
New submission from eduardo schettin...@gmail.com:
From the example:
http://docs.python.org/py3k/library/tempfile.html#examples
The error message is weird... but I guess the problem is the default mode 'w+b'.
Python 3.3a0 (default:78a66c98288d, Apr 9 2011, 16:13:31)
[GCC 4.4.5] on linux2
Roundup Robot devnull@devnull added the comment:
New changeset 87d89f767b23 by Ross Lagerwall in branch '3.2':
Issue #11818: Fix tempfile examples for Python 3.
http://hg.python.org/cpython/rev/87d89f767b23
--
nosy: +python-dev
___
Python tracker
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Fixed the examples for Python 3.
It writes and reads bytes now. Also fixed the old Python 2 print statement.
--
assignee: docs@python - rosslagerwall
nosy: +rosslagerwall
resolution: - fixed
status: open - closed
versions: