Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge ast-branch to head | Jeremy Hylton | 2005-10-20 | 15 | -80/+225 |
| | | | | | | | | | | 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. | ||||
* | Disable some tests in anticipation of merging ast-branch to the head | Jeremy Hylton | 2005-10-20 | 2 | -29/+37 |
| | |||||
* | Fix SF bug # 1330039, patch # 1331635 from Lars Gustaebel (tarfile maintainer) | Neal Norwitz | 2005-10-20 | 2 | -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.2 | Neal Norwitz | 2005-10-20 | 1 | -0/+2 |
| | |||||
* | Teach unquote() to handle unicode inputs | Raymond Hettinger | 2005-10-15 | 2 | -0/+6 |
| | |||||
* | Optimised Placeholders handling of child loggers by using a dict rather than ↵ | Vinay Sajip | 2005-10-14 | 1 | -4/+8 |
| | | | | a list (much slower in the pathological case of hundreds of child Loggers to a Placeholder - problem reported by Ryan Blazecka). | ||||
* | Added Host and Content-type headers to requests sent by HTTPHandler ↵ | Vinay Sajip | 2005-10-11 | 1 | -1/+10 |
| | | | | (suggested by Steven Vereecken) | ||||
* | Bug #1245379: Add "unicode-1-1-utf-7" as an alias for "utf-7" as specified | Walter Dörwald | 2005-10-09 | 1 | -0/+1 |
| | | | | by RFC 1642. | ||||
* | Fix errors in _synthesize because of missing basename attribute of | Georg Brandl | 2005-10-08 | 1 | -2/+6 |
| | | | | browser controller classes. | ||||
* | Fix unit test failure -- the output received from Python can be empty, | Guido van Rossum | 2005-10-08 | 1 | -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 Sajip | 2005-10-07 | 1 | -6/+8 |
| | | | | to string (SF #1314107) | ||||
* | Part of SF patch #1313939: Speedup charmap decoding by extending | Walter Dörwald | 2005-10-06 | 1 | -1/+36 |
| | | | | | | | 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. | ||||
* | SF #1313496: bisect C replacement doesn't accept named args | Raymond Hettinger | 2005-10-05 | 1 | -0/+10 |
| | |||||
* | Fix pychecker warnings | Neal Norwitz | 2005-10-04 | 1 | -4/+9 |
| | |||||
* | Incorporate Tal Einat's comment on Patch 936169: Fixes alignment problem. | Kurt B. Kaiser | 2005-10-03 | 2 | -4/+13 |
| | |||||
* | Tweak CodeContext.py docstrings, comments, and names. | Kurt B. Kaiser | 2005-10-03 | 1 | -51/+57 |
| | |||||
* | Patch #754022: Greatly enhanced webbrowser.py. | Georg Brandl | 2005-10-03 | 1 | -175/+338 |
| | |||||
* | SF bug #887946, segfault if redirecting directory | Neal Norwitz | 2005-10-03 | 1 | -0/+50 |
| | | | | | | | Also provide a warning if a directory is passed on the command line. Add minimal command line test. Will backport. | ||||
* | Increased performance in CodeContext extension Patch 936169 Noam Raphael | Kurt B. Kaiser | 2005-10-02 | 2 | -31/+49 |
| | |||||
* | - Fix segfault with invalid coding. | Neal Norwitz | 2005-10-02 | 2 | -0/+22 |
| | | | | | | | - 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. | ||||
* | bug [ 729103 ] Cannot retrieve name of super object | Georg Brandl | 2005-10-01 | 1 | -3/+3 |
| | |||||
* | Patch #1309009, Fix segfault in pyexpat when the XML document is | Neal Norwitz | 2005-09-30 | 1 | -0/+9 |
| | | | | | | in latin_1, but Python incorrectly assumes it is in UTF-8 format Will backport. | ||||
* | patch [ 1300515 ] xdrlib.py: pack_fstring() did not use null bytes for padding | Georg Brandl | 2005-09-29 | 1 | -1/+1 |
| | |||||
* | bug [ 1296004 ] MemoryError in httplib | Georg Brandl | 2005-09-29 | 1 | -4/+7 |
| | |||||
* | some more fixes and tests for inspect.getsource(), triggered by crashes | Armin Rigo | 2005-09-25 | 3 | -27/+56 |
| | | | | from the PyPy project as well as the SF bug #1295909. | ||||
* | Convert iterator __len__() methods to a private API. | Raymond Hettinger | 2005-09-24 | 3 | -1/+13 |
| | |||||
* | Changed license header: Now simply referring to PSF. This closes bug | Peter Astrand | 2005-09-23 | 1 | -22/+2 |
| | | | | 1138653. | ||||
* | Patches #1298449 and #1298499: Add some missing checks for error | Michael W. Hudson | 2005-09-22 | 1 | -0/+7 |
| | | | | | | returns in cStringIO.c. Thanks to Andrew Bennetts. This must be a backport candidate. | ||||
* | MacOSX 10.4 apparently does not allow the creation time to be set to later | Jack Jansen | 2005-09-21 | 1 | -2/+2 |
| | | | | | | than the modification time. Changed the SetDates test to accomodate. Backport candidate. | ||||
* | test and fix for buggy handling of exceptions raised by C functions, | Armin Rigo | 2005-09-20 | 2 | -3/+22 |
| | | | | | causing the profiler to crash on an AssertionError if the same Python function catches multiple exceptions from C functions. | ||||
* | - Patch #1166948: locale.py: Prefer LC_ALL, LC_CTYPE and LANG over LANGUAGE | Matthias Klose | 2005-09-20 | 1 | -1/+3 |
| | | | | | | | to get the correct encoding. - Patch #1166938: locale.py: Parse LANGUAGE as a colon separated list of languages. | ||||
* | Reverted revision 1.83, which introduced a bug and subtle incompatibility | Armin Rigo | 2005-09-19 | 1 | -8/+6 |
| | | | | issues. See bug #1112856. | ||||
* | skip _locale test if OS X < 10.4 | Skip Montanaro | 2005-09-19 | 1 | -0/+6 |
| | |||||
* | Patch #1268314: Cache lines in StreamReader.readlines for performance. | Martin v. Löwis | 2005-09-18 | 1 | -0/+37 |
| | | | | Will backport to Python 2.4. | ||||
* | Test case for latest complexobject fix. | Georg Brandl | 2005-09-17 | 1 | -0/+2 |
| | |||||
* | Added lock acquisition around handler removal from logger | Vinay Sajip | 2005-09-16 | 1 | -1/+5 |
| | |||||
* | No longer ignore exceptions raised by comparisons during key lookup. | Raymond Hettinger | 2005-09-16 | 1 | -0/+17 |
| | | | | Inspired by Armin Rigo's suggestion to do the same with dictionaries. | ||||
* | Clear out the regex cache when the TimeRE cache is invalidated by a locale | Brett Cannon | 2005-09-15 | 2 | -1/+4 |
| | | | | | | change. Fixes bug #1290505. | ||||
* | - Changes donated by Elemental Security to make it work on AIX 5.3 | Guido van Rossum | 2005-09-14 | 2 | -5/+37 |
| | | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron). | ||||
* | Bug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than | Gustavo Niemeyer | 2005-09-14 | 2 | -0/+6 |
| | | | | considering it exactly like a '*'. | ||||
* | Speed-up escape() | Raymond Hettinger | 2005-09-12 | 1 | -1/+7 |
| | |||||
* | Minor cleanup. | Raymond Hettinger | 2005-09-11 | 1 | -2/+1 |
| | |||||
* | Corrected version of 1.170 | Raymond Hettinger | 2005-09-10 | 1 | -6/+3 |
| | |||||
* | Revert 1.170. Add tests. | Raymond Hettinger | 2005-09-10 | 2 | -3/+12 |
| | |||||
* | Simplify and speed-up unquote(). | Raymond Hettinger | 2005-09-10 | 1 | -15/+10 |
| | |||||
* | Simplify and speed-up quote_plus(). | Raymond Hettinger | 2005-09-10 | 1 | -6/+3 |
| | |||||
* | SF #1285086: urllib.quote is too slow | Raymond Hettinger | 2005-09-09 | 1 | -24/+12 |
| | | | | Simplify and speed-up quote() function. | ||||
* | Added _handlerList to allow shutdown to flush and close handlers in reverse ↵ | Vinay Sajip | 2005-09-08 | 1 | -1/+4 |
| | | | | order of creation (see SF# 1282539) | ||||
* | Quote docstring with r"" to keep '\r\n' in example code. | Hye-Shik Chang | 2005-09-07 | 1 | -1/+1 |
| | |||||
* | Changed _srcfile determination to support py2exe. | Vinay Sajip | 2005-09-02 | 1 | -1/+3 |
| |