219 Commits (06aed90a1fe6fa48919ff0f1f39181e886df9efc)

Author SHA1 Message Date
Christian Heimes d2f4cb8cca Fixed bug #1915: Python compiles with --enable-unicode=no again. However several extension methods and modules do not work without unicode support. 18 years ago
Christian Heimes 1af737cd1e Merged revisions 60176-60209 via svnmerge from 18 years ago
Georg Brandl 898f1879e1 Add a "const" to make gcc happy. 18 years ago
Georg Brandl 86def6cb2b Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from 18 years ago
Georg Brandl 7bdff2c8e5 Issue #1882: when compiling code from a string, encoding cookies in the 18 years ago
Georg Brandl 38d1715b0d Issue #1882: when compiling code from a string, encoding cookies in the 18 years ago
Georg Brandl fceab5a385 Merged revisions 60080-60089,60091-60093 via svnmerge from 18 years ago
Georg Brandl 14404b68d8 Fix #1679: "0x" was taken as a valid integer literal. 18 years ago
Christian Heimes 288e89acfc Added bytes and b'' as aliases for str and '' 18 years ago
Georg Brandl 76b30d1688 Fix #define ordering. 18 years ago
Georg Brandl dfe5dc8455 Make Python compile with --disable-unicode. 18 years ago
Christian Heimes 819b8bf403 More PyImport_ImportModule -> PyImport_ImportModuleNoBlock 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Amaury Forgeot d'Arc 6dae85f409 Warning "<> not supported in 3.x" should be enabled only when the -3 option is set. 18 years ago
Christian Heimes 02c9ab568d Fixed problems in the last commit. Filenames and line numbers weren't reported correctly. 18 years ago
Christian Heimes 729ab15370 Applied patch #1754273 and #1754271 from Thomas Glee 18 years ago
Amaury Forgeot d'Arc af59346f1a Problem found while converting from PyBytes to PyString: 18 years ago
Guido van Rossum cf171a7fbc Cleanup of tokenizer.c. 18 years ago
Amaury Forgeot d'Arc 65f9aced6e Correction for issue1134: all source files with a coding spec, except latin-1 18 years ago
Guido van Rossum e15fab4298 Backport revision 58471, replace PyErr_Print() with PyErr_Clear(). 18 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 18 years ago
Guido van Rossum 40d20bcf1f Issue 1267, continued. 18 years ago
Brett Cannon c2954e5273 Make sure the malloc'ed string has space for the null byte. 18 years ago
Brett Cannon e453989f2e Fix PyTokenizer_FindEncoding() for OS X 10.4. Turns out that seeking to the 18 years ago
Brett Cannon d5ec98c7fb Plug a memory leak where a struct tok_state was not being freed. 18 years ago
Guido van Rossum ce3a72aec6 Patch 1267 by Christian Heimes. 18 years ago
Guido van Rossum 9fc1b96a19 Change a PyErr_Print() into a PyErr_Clear(), 19 years ago
Guido van Rossum df4ce10276 Fix another stray PyString reference that should be PyBytes; and its comment. 19 years ago
Guido van Rossum 641591cffe Fix an issue in PyTokenizer_RestoreEncoding() which was treating a PyBytes 19 years ago
Neil Schemenauer 3f993c3b52 Use an enum for decoding_state. It makes the code a little more 19 years ago
Thomas Wouters 89d996e5c2 Merged revisions 57778-58052 via svnmerge from 19 years ago
Martin v. Löwis fc787d515d Patch #1031213: Decode source line in SyntaxErrors back to its original 19 years ago
Martin v. Löwis a5136196bc Patch #1031213: Decode source line in SyntaxErrors back to its original 19 years ago
Martin v. Löwis 85bcc66bb4 Convert code from sys.stdin.encoding to UTF-8 in 19 years ago
Guido van Rossum 21b731fb77 Fix an outdated URL in a SyntaxError message. 19 years ago
Guido van Rossum e3e3701f8f Fix issue # 1037 (sort of). 19 years ago
Guido van Rossum 7d1df6c9b1 Add PyUnicode_AsStringAndSize(), which is like PyUnicode_AsString() but 19 years ago
Martin v. Löwis 47383403a0 Implement PEP 3131. Add isidentifier to str. 19 years ago
Neal Norwitz 41eaedd361 Fix refleaks from execfile('file that contains a # coding: line') 19 years ago
Neal Norwitz f7f28fc46b Fix problem when exec'ing a string with a coding 19 years ago
Martin v. Löwis 447d33ead6 Implement PEP 3120. 19 years ago
Guido van Rossum cd16bf6404 Merged revisions 55817-55961 via svnmerge from 19 years ago
Guido van Rossum da5b8f2d28 Rip out the file object's implementation. 19 years ago
Martin v. Löwis 5b222135f8 Make identifiers str (not str8) objects throughout. 19 years ago
Guido van Rossum 9cbfffd1a6 tokenizer.c: make coding markup work again. 19 years ago
Guido van Rossum ccf4f0f68d Use AsCharBuffer to get a C string out of a Python string. 19 years ago
Guido van Rossum e5e80b8c56 Kill u"..." string quotes. Thought I already did that. 19 years ago
Guido van Rossum f15a29f975 More coding by random modification. 19 years ago
Guido van Rossum 8d30cc0144 Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 19 years ago
Georg Brandl dde002899d Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ." for Ellipsis. 19 years ago