This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tseaver
Recipients benjamin.peterson, brett.cannon, jeff.balogh, pitrou, tseaver
Date 2010-04-29.20:27:40
SpamBayes Score 4.0045e-10
Marked as misclassified No
Message-id <>
I can confirm that:

- the patch applies cleanly to the release26-maint branch, with the
  exception of the Misc/NEWS portion::

  $ hg branch
  $ ./python -E -tt Lib/test/ test_file
  1 test OK.
  $ patch -p0 < /tmp/issue2091.diff 
  patching file Objects/fileobject.c
  Hunk #1 succeeded at 209 (offset 54 lines).
  Hunk #2 succeeded at 2269 (offset 194 lines).
  patching file Misc/NEWS
  Hunk #1 FAILED at 12.
  1 out of 1 hunk FAILED -- saving rejects to file Misc/NEWS.rej
  patching file Lib/test/
  Hunk #1 succeeded at 176 (offset 55 lines).

- the added test fails before rebuilding Objects/fileobject.c::

  $ ./python -E -tt Lib/test/ test_file
  test test_file failed -- Traceback (most recent call last):
    File "/home/tseaver/projects/hg-repo/py-2.6/Lib/test/", line 181, in testModeStrings
      f = open(TESTFN, mode)
  IOError: [Errno 2] No such file or directory: '@test'
  1 test failed:

- the added test passes after rebuilding Objects/fielobject.c::

  $ make
  gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c
  $ ./python -E -tt Lib/test/ test_file
  1 test OK.
Date User Action Args
2010-04-29 20:27:43tseaversetrecipients: + tseaver, brett.cannon, pitrou, benjamin.peterson, jeff.balogh
2010-04-29 20:27:42tseaversetmessageid: <>
2010-04-29 20:27:41tseaverlinkissue2091 messages
2010-04-29 20:27:40tseavercreate