summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a few more Mac OS encodings. The mapping tables for these areMarc-André Lemburg2005-10-215-0/+3414
| | | | available at ftp.unicode.org.
* Replace the old charmap codecs with new ones generated from the currentMarc-André Lemburg2005-10-2149-5129/+29964
| | | | | | | mapping tables available at ftp.unicode.org. These new codecs include and use character decoding tables which speeds up decoding by a few factors.
* Add two new tools to compare codecs and show differences and toMarc-André Lemburg2005-10-212-0/+94
| | | | list all installed codecs.
* Moved gencodec.py to the Tools/unicode/ directory.Marc-André Lemburg2005-10-211-88/+179
| | | | | | Added new support for decoding tables. Cleaned up the implementation a bit.
* ANSI-C-ify the placement of local var declarations.Armin Rigo2005-10-213-9/+14
|
* Fix bug:Michael W. Hudson2005-10-214-8/+20
| | | | | | | | [ 1327110 ] wrong TypeError traceback in generator expressions by removing the code that can stomp on the users' TypeError raised by the iterable argument to ''.join() -- PySequence_Fast (now?) gives a perfectly reasonable message itself. Also, a couple of tests.
* the ast-branch changed the stack discipline of MAKE_CLOSURE, so we need toMichael W. Hudson2005-10-211-1/+3
| | | | bump MAGIC.
* Add 2.4.2 to LICENSE.Georg Brandl2005-10-211-0/+1
|
* add some notes about recent checkinsNeal Norwitz2005-10-211-0/+6
|
* Get the bug # writeNeal Norwitz2005-10-211-1/+1
|
* Incorrect code was generated for:Neal Norwitz2005-10-211-0/+3
| | | | | | | foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it.
* Fix SF bug #1167751, Argument genexp corner caseNeal Norwitz2005-10-213-10/+30
| | | | | | | | | | | | | Incorrect code was generated for: foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it. I'm uncertain whether this should be backported. It makes something that was Syntactically valid invalid. However, the code would either be completely broken or do the wrong thing.
* Free coding spec (cs) if there was an error to prevent mem leak. Maybe ↵Neal Norwitz2005-10-211-0/+3
| | | | backport candidate
* Don't use a string exception since it's deprecatedNeal Norwitz2005-10-211-1/+1
|
* Oops, "=" is not a comparison operatorNeal Norwitz2005-10-211-1/+0
|
* Add comment lost from AST mergeNeal Norwitz2005-10-211-1/+1
|
* Remove INT_MIN that came from the AST merge.Neal Norwitz2005-10-211-1/+0
| | | | | | INT_MIN is used in Python/compile.c, but it was also used in Objects/abstract.c Python/getargs.c. If we need it for compile.c, we can get it from the same place as the other files.
* Fix some mods that got dropped from the AST mergeNeal Norwitz2005-10-211-2/+2
|
* Use the newer names for APIs after the AST mergeNeal Norwitz2005-10-211-3/+3
|
* Remove dup declarations after AST mergeNeal Norwitz2005-10-211-3/+0
|
* Merge ast-branch to headJeremy Hylton2005-10-2054-6342/+13207
| | | | | | | | | | This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests.
* Enhance the performance of two important Unicode characterMarc-André Lemburg2005-10-201-10/+52
| | | | | | | | type lookups: whitespace and linebreak. These lookup tables are from the Python 1.6 version with the addition of the 205F code point which was added as whitespace code point to Unicode since then.
* add missing wordFred Drake2005-10-201-1/+1
|
* Disable some tests in anticipation of merging ast-branch to the headJeremy Hylton2005-10-202-29/+37
|
* Find bsd db v4 on gentoo (2005 i think)Neal Norwitz2005-10-201-0/+1
|
* Fix SF bug # 1330039, patch # 1331635 from Lars Gustaebel (tarfile maintainer)Neal Norwitz2005-10-202-2/+50
| | | | | | | | | | | | | | Problem: if two files are assigned the same inode number by the filesystem, the second one will be added as a hardlink to the first, which means that the content will be lost. The patched code checks if the file's st_nlink is greater 1. So only for files that actually have several links pointing to them hardlinks will be created, which is what GNU tar does. Will backport.
* Get BSD DB working most for version 3.2Neal Norwitz2005-10-201-0/+2
|
* Get bsddb module to compile with version 3.2 of BSD DB.Neal Norwitz2005-10-201-0/+8
|
* SF bug #1331563 ] string_subscript doesn't check for failed PyMem_Malloc. ↵Neal Norwitz2005-10-201-0/+2
| | | | Will backport
* Whitespace corrections.Marc-André Lemburg2005-10-191-19/+19
|
* Bug fix for [ 1331062 ] utf 7 codec broken.Marc-André Lemburg2005-10-191-8/+16
| | | | Backport candidate.
* SF bug #1328915, try to word kill a bit more generically. Backport candidate.Neal Norwitz2005-10-181-2/+2
|
* Drop permissions for Gregory K Johnson.Raymond Hettinger2005-10-171-0/+4
|
* Add Nick CoghlanRaymond Hettinger2005-10-161-0/+4
|
* Teach unquote() to handle unicode inputsRaymond Hettinger2005-10-152-0/+6
|
* Optimised Placeholders handling of child loggers by using a dict rather than ↵Vinay Sajip2005-10-141-4/+8
| | | | a list (much slower in the pathological case of hundreds of child Loggers to a Placeholder - problem reported by Ryan Blazecka).
* SF bug #1323739, C API doc for PySequence_Tuple duplicatedNeal Norwitz2005-10-121-9/+5
|
* fix stupid typoFred Drake2005-10-111-1/+1
|
* Added Host and Content-type headers to requests sent by HTTPHandler ↵Vinay Sajip2005-10-111-1/+10
| | | | (suggested by Steven Vereecken)
* SF bug #1323294, Minor error in the Library Reference doc. Will backportNeal Norwitz2005-10-111-1/+2
|
* Clarify the docs for Py_UNICODE.Marc-André Lemburg2005-10-101-6/+16
|
* Bug #1245379: Add "unicode-1-1-utf-7" as an alias for "utf-7" as specifiedWalter Dörwald2005-10-093-1/+4
| | | | by RFC 1642.
* Remove trailing spaces.Walter Dörwald2005-10-091-3/+3
|
* Fix indentation.Walter Dörwald2005-10-091-1/+1
|
* Fix errors in _synthesize because of missing basename attribute ofGeorg Brandl2005-10-081-2/+6
| | | | browser controller classes.
* Fix unit test failure -- the output received from Python can be empty,Guido van Rossum2005-10-081-1/+1
| | | | but verify_valid_flag() wasn't expecting that. Will backport.
* Fixed bug where the logging message was wrongly being demoted from Unicode ↵Vinay Sajip2005-10-071-6/+8
| | | | to string (SF #1314107)
* Part of SF patch #1313939: Speedup charmap decoding by extendingWalter Dörwald2005-10-064-77/+154
| | | | | | | PyUnicode_DecodeCharmap() the accept a unicode string as the mapping argument which is used as a mapping table. This code isn't used by any of the codecs yet.
* Change the internal "undefined codepoint" mark for CJKCodecs decodersHye-Shik Chang2005-10-061-1/+4
| | | | | from U+FFFD to U+FFFE which is considered more appropriate. (from MAL's comment)
* SF #1313496: bisect C replacement doesn't accept named argsRaymond Hettinger2005-10-052-22/+36
|