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 vajrasky
Recipients vajrasky
Date 2013-08-03.13:45:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375537519.43.0.405840418589.issue18644@psf.upfronthosting.co.za>
In-reply-to
Content
This python is compiled with --with-pydebug option.

[sky@localhost cpython]$ cat /tmp/a.txt
manly man likes cute cat.
[sky@localhost cpython]$ ./python
Python 3.4.0a0 (default:e408e821d6c8, Jul 27 2013, 10:49:54) 
[GCC 4.7.2 20121109 (Red Hat 4.7.2-8)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from formatter import test
>>> test('/tmp/a.txt')
manly man likes cute cat.
__main__:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/a.txt' mode='r' encoding='UTF-8'>
>>> 
[sky@localhost cpython]$ ./python Lib/formatter.py /tmp/a.txt
manly man likes cute cat.
Lib/formatter.py:445: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/a.txt' mode='r' encoding='UTF-8'>
  test()
History
Date User Action Args
2013-08-03 13:45:19vajraskysetrecipients: + vajrasky
2013-08-03 13:45:19vajraskysetmessageid: <1375537519.43.0.405840418589.issue18644@psf.upfronthosting.co.za>
2013-08-03 13:45:19vajraskylinkissue18644 messages
2013-08-03 13:45:19vajraskycreate