[issue3592] Patch to add imp.get_codingspec()

2010-08-09 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue3592] Patch to add imp.get_codingspec()

2010-08-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: We don't need this. We have tokenize.detect_encoding(). -- nosy: +benjamin.peterson ___ Python tracker ___ __

[issue3592] Patch to add imp.get_codingspec()

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3592] Patch to add imp.get_codingspec()

2008-08-18 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: It should be noted the original patch by Christian had a check for bad tokenizing. Turns out that if you have that in several tests fail, including test_modulefinder. This might mean there is a deeper problem in the parser.

[issue3592] Patch to add imp.get_codingspec()

2008-08-18 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: Attached is a patch to add imp.get_codingspec(); a function that returns the encoding of a source file. The motivation is to remove the import of the re module in linecache to speed up interpreter startup. -- components: Library (Lib