Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch by pythonic <pythonic@gmail.com> to support Fedora | Marc-André Lemburg | 2005-11-07 | 1 | -2/+8 |
| | | | | as Linux distro. | ||||
* | Added proper reflection on instances of <type 'method-wrapper'>, e.g. | Armin Rigo | 2005-11-07 | 1 | -0/+13 |
| | | | | | | | | '[].__add__', to match what the other internal descriptor types provide: '__objclass__' attribute, '__self__' member, and reasonable repr and comparison. Added a test. | ||||
* | similar to SF bug 847019: a quick check in the time() constructor, which | Armin Rigo | 2005-11-07 | 1 | -0/+7 |
| | | | | | | accepts strings only for unpickling reasons. This check prevents the honest mistake of passing a string like '2:59.0' to time() and getting an insane object. | ||||
* | Fix SF bug #417833 (pydoc HTTP reload failure) by removing from | Ka-Ping Yee | 2005-11-05 | 1 | -13/+17 |
| | | | | | sys.modules all submodules of a the given module/package path when trying to reload a module. | ||||
* | Accept patch to resolve SF bug #651124. | Ka-Ping Yee | 2005-11-05 | 1 | -2/+2 |
| | |||||
* | Oops, forgot to add the output file to 41388. | Neal Norwitz | 2005-11-03 | 1 | -0/+2 |
| | |||||
* | Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint | Neal Norwitz | 2005-11-03 | 1 | -0/+20 |
| | | | | | | Need to check return result of PyInt_AsLong() Will backport. | ||||
* | Change time.strptime() to raise ValueError whenever there is an error in the | Brett Cannon | 2005-11-02 | 2 | -3/+26 |
| | | | | | | | format string. Before exceptions generated by the internal code propagated up to the user and were not helpful. Closes bug #1340337. | ||||
* | Fix SF #1345263, colorsys tests, bug in frange | Neal Norwitz | 2005-11-02 | 1 | -1/+1 |
| | | | | | | Fix a typo that caused step to be ignored. Will backport. | ||||
* | Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵ | Vinay Sajip | 2005-10-31 | 1 | -0/+6 |
| | | | | passing to handleError | ||||
* | Exception handling now raises KeyboardInterrupt and SystemExit rather than ↵ | Vinay Sajip | 2005-10-31 | 2 | -0/+8 |
| | | | | passing to handleError | ||||
* | test_directories(): This test had no chance of passing on | Tim Peters | 2005-10-30 | 1 | -2/+14 |
| | | | | | Windows. Hacked it to pass, but not sure it's worth the bother. | ||||
* | fix typos, mostly in comments | Fred Drake | 2005-10-28 | 4 | -4/+4 |
| | |||||
* | Patch #1338314, Bug #1336623: fix tarfile so it can extract | Neal Norwitz | 2005-10-28 | 2 | -5/+36 |
| | | | | | | REGTYPE directories from tarfiles written by old programs. Will backport. | ||||
* | Cosmetic change: make all hex literals use upper case hex so that they | Marc-André Lemburg | 2005-10-24 | 45 | -14236/+14281 |
| | | | | | | look more like the Unicode Consortium files. Add ending new-line to all source files. | ||||
* | Removed the decoding_map from the codecs where this is possible. | Marc-André Lemburg | 2005-10-24 | 45 | -25663/+22734 |
| | | | | | Replaced the tis_620, cp1140 and koi8_u codecs with new ones based on custom mapping files. | ||||
* | Fix problem handling EXTENDED_ARGs from SF bug # 1333982 | Neal Norwitz | 2005-10-24 | 1 | -0/+23 |
| | |||||
* | Fix compiler test when run with -u (long mode) | Neal Norwitz | 2005-10-24 | 1 | -1/+1 |
| | |||||
* | One-off "No handlers..." error message only raised if raiseExceptions is set. | Vinay Sajip | 2005-10-23 | 1 | -1/+1 |
| | |||||
* | Fix arigo's funky LOAD_NAME bug: implicit globals inside classes have | Neil Schemenauer | 2005-10-23 | 1 | -0/+9 |
| | | | | | historically been looked up using LOAD_NAME, not LOAD_GLOBAL. looked up by LOAD_NAME, not | ||||
* | Revert previous checkin: | Neal Norwitz | 2005-10-22 | 1 | -1/+1 |
| | | | | | | According to Jeremy, the comment only made sense when the yield was disallowed. Now it's testing that the yield is allowed, so it's not bad and the outer finally is irrelevant. | ||||
* | Revert change, func_name of lambda's is back to <lambda>. | Neil Schemenauer | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Replace the old EBCDIC codecs with new ones using the decoding table. | Marc-André Lemburg | 2005-10-21 | 4 | -981/+3027 |
| | |||||
* | Alias iso8859_1 to latin_1 which is the same encoding, but has | Marc-André Lemburg | 2005-10-21 | 1 | -0/+7 |
| | | | | a much faster codec implementation. | ||||
* | Add a few more Mac OS encodings. The mapping tables for these are | Marc-André Lemburg | 2005-10-21 | 5 | -0/+3414 |
| | | | | available at ftp.unicode.org. | ||||
* | Replace the old charmap codecs with new ones generated from the current | Marc-André Lemburg | 2005-10-21 | 49 | -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. | ||||
* | Fix bug: | Michael W. Hudson | 2005-10-21 | 2 | -0/+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. | ||||
* | Fix SF bug #1167751, Argument genexp corner case | Neal Norwitz | 2005-10-21 | 1 | -2/+14 |
| | | | | | | | | | | | | | 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. | ||||
* | Don't use a string exception since it's deprecated | Neal Norwitz | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Add comment lost from AST merge | Neal Norwitz | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | 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. |