Benjamin Peterson
f5b52246ed
ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626
2009-03-02 23:31:26 +00:00
Benjamin Peterson
ee8712cda4
#2621 rename test.test_support to test.support
2008-05-20 21:35:26 +00:00
Brett Cannon
dc3e06ce3a
Have test_coding conditionally remove test files instead of assuming that they
...
are always there.
2008-04-17 04:21:10 +00:00
Amaury Forgeot d'Arc
dd9e3b8736
Correct a failing test when test_import is run after test_coding:
...
be sure to import a fresh module by removing it from sys.modules
2007-11-16 00:56:23 +00:00
Amaury Forgeot d'Arc
65f9aced6e
Correction for issue1134: all source files with a coding spec, except latin-1
...
and utf-8, crashed when parsing a multiline string, or a line longer that 512
columns.
2007-11-15 23:19:43 +00:00
Hye-Shik Chang
49d90bc9ef
Fix a test failure on non-UTF-8 locales: bad_coding2.py is encoded
...
in utf-8.
2007-08-13 13:11:39 +00:00
Neal Norwitz
f7f28fc46b
Fix problem when exec'ing a string with a coding
2007-08-11 21:31:25 +00:00
Neal Norwitz
db83eb3170
Fix Bug #1378022 , UTF-8 files with a leading BOM crashed the interpreter.
...
Needs backport.
2005-12-18 05:29:30 +00:00
Neal Norwitz
40d3781416
- Fix segfault with invalid coding.
...
- SF Bug #772896 , unknown encoding results in MemoryError, which is not helpful
I will only backport the segfault fix. I'll let Anthony decide if he wants
the other changes backported. I will do the backport if asked.
2005-10-02 01:48:49 +00:00