Message196291
The python is compiled with --with-pydebug flag.
[sky@localhost cpython]$ cat /tmp/quote.txt
manly "man" likes 'cute "cat"'
[sky@localhost cpython]$ ./python Lib/shlex.py /tmp/quote.txt
Token: 'manly'
Token: '"man"'
Token: 'likes'
Token: '\'cute "cat"\''
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/quote.txt' mode='r' encoding='UTF-8'>
Attached the patch to close the file when running the demo. |
|
Date |
User |
Action |
Args |
2013-08-27 14:04:27 | vajrasky | set | recipients:
+ vajrasky |
2013-08-27 14:04:27 | vajrasky | set | messageid: <1377612267.45.0.680080135941.issue18853@psf.upfronthosting.co.za> |
2013-08-27 14:04:27 | vajrasky | link | issue18853 messages |
2013-08-27 14:04:27 | vajrasky | create | |
|