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 vstinner
Recipients ledave123, vstinner
Date 2011-07-28.08:28:51
SpamBayes Score 0.00010138256
Marked as misclassified No
Message-id <1311841732.15.0.0602510014136.issue12636@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, tokenize.open() should fix this issue, but you should close the file after using it. Use for example "with tokenize.open(): ...".

Can you write a patch? You can download the source code using Mercurial or download it manually from http://hg.python.org/cpython/file/tip

See also our http://docs.python.org/devguide/
History
Date User Action Args
2011-07-28 08:28:52vstinnersetrecipients: + vstinner, ledave123
2011-07-28 08:28:52vstinnersetmessageid: <1311841732.15.0.0602510014136.issue12636@psf.upfronthosting.co.za>
2011-07-28 08:28:51vstinnerlinkissue12636 messages
2011-07-28 08:28:51vstinnercreate