Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove re.py, in order to rename sre.py -> re.py (svn seems to require 2 steps). | Neal Norwitz | 2006-03-16 | 1 | -6/+0 |
| | |||||
* | The pre module has been gone for a while. Need to go through and find other ↵ | Neal Norwitz | 2006-03-16 | 1 | -3/+0 |
| | | | | modules that no longer exists, since errors are silently ignored. | ||||
* | Instead of relative imports, use (implicitly) absolute ones. | Guido van Rossum | 2006-03-15 | 2 | -2/+2 |
| | |||||
* | SF patch #1359365: cStringIO.StringIO.isatty() will raise a ValueError | Walter Dörwald | 2006-03-15 | 1 | -0/+7 |
| | | | | now if close() has been called before (like file and StringIO.StringIO do) | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-15 | 50 | -58/+12 |
| | |||||
* | Fix typo. | Walter Dörwald | 2006-03-15 | 1 | -2/+2 |
| | |||||
* | Don't try to explicitly set path in runpy package tests (tests were broken ↵ | Nick Coghlan | 2006-03-15 | 1 | -1/+0 |
| | | | | on Windows) | ||||
* | Don't let cleanup errors mask real errors in the runpy tests | Nick Coghlan | 2006-03-15 | 1 | -5/+18 |
| | |||||
* | Catch situations where currentframe() returns None. See SF patch #1447410, ↵ | Vinay Sajip | 2006-03-15 | 1 | -2/+5 |
| | | | | this is a different implementation. | ||||
* | Make test_runpy close all references to test modules before trying to delete ↵ | Nick Coghlan | 2006-03-15 | 1 | -8/+11 |
| | | | | the underlying files | ||||
* | Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass | Walter Dörwald | 2006-03-15 | 92 | -386/+1935 |
| | | | | | | | of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added. | ||||
* | Implement PEP 338 which has been marked as accepted by GvR | Nick Coghlan | 2006-03-15 | 2 | -0/+588 |
| | |||||
* | SF patch #1359365: file and cStringIO raise a ValueError when next() is called | Walter Dörwald | 2006-03-15 | 2 | -2/+3 |
| | | | | after calling close(). Change StringIO, so that it behaves the same way. | ||||
* | Use relative imports in a few places where I noticed the need. | Guido van Rossum | 2006-03-15 | 2 | -2/+3 |
| | | | | | (Ideally, all packages in Python 2.5 will use the relative import syntax for all their relative import needs.) | ||||
* | Renamed test_hashlib_speed.py to time_hashlib.py. | Tim Peters | 2006-03-14 | 2 | -10/+2 |
| | | | | | | | | | | | Since it's never intended that this script be run by regrtest.py, it shouldn't have been named with a "test_" prefix to begin with. A consequence is that we shouldn't see useless: test_hashlib_speed skipped -- not a unit test (stand alone benchmark) lines in regrtest output anymore. | ||||
* | Teach the compiler module about augmented assignment to tuple subscripts | Nick Coghlan | 2006-03-14 | 1 | -4/+2 |
| | |||||
* | Added logThreads and logProcesses to allow conditional omission of logging ↵ | Vinay Sajip | 2006-03-13 | 1 | -2/+12 |
| | | | | this information | ||||
* | Fix SF bug #1448804 and ad a test to ensure that all subscript operations ↵ | Nick Coghlan | 2006-03-13 | 1 | -0/+72 |
| | | | | continue to be handled correctly | ||||
* | Plug some refcount leaks when tests are run repeatedly. | Thomas Heller | 2006-03-13 | 2 | -16/+21 |
| | |||||
* | Bug #1448490: Fix a bug that ISO-2022 codecs could not handle | Hye-Shik Chang | 2006-03-13 | 1 | -0/+7 |
| | | | | SS2 (single-shift 2) escape sequences correctly. | ||||
* | Remove the slightly broken test_leaks.py. | Thomas Heller | 2006-03-13 | 2 | -91/+4 |
| | | | | | | | Change test_functions.py so that it can be run multiple time without failing: Assign a restype to the function in test_intresult, and move the definition of class POINT to module level so that no new class is created each time the test is run. | ||||
* | Plug the last 657 referenceleaks in test_bsddb3: a circular reference | Thomas Wouters | 2006-03-12 | 1 | -0/+5 |
| | | | | | | | between a TestCase instance, the database it opened (or a cursor to a database) and a bound method as a registered database callback, and a lack of GC-handling in bsddb caused the TestCases to linger. Fix the test, for now, as backward compatibility makes adding GC to bsddb annoying. | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-10 | 2 | -3/+3 |
| | |||||
* | When the new -w option (yay! great idea) reruns a | Tim Peters | 2006-03-10 | 1 | -0/+2 |
| | | | | | | failed test, first display the name of the test (else it's not always clear from the output which test is getting run). | ||||
* | Add regrtest -w option. | Martin v. Löwis | 2006-03-10 | 1 | -3/+20 |
| | |||||
* | Update test data to 4.1; disable PRI #29 for now. | Martin v. Löwis | 2006-03-10 | 1 | -4/+15 |
| | |||||
* | Avoid forward-declaring the methods array. | Martin v. Löwis | 2006-03-10 | 2 | -2/+2 |
| | | | | Rename unicodedata.db* to unicodedata.ucd* | ||||
* | Um, I thought I'd already checked this in. | Guido van Rossum | 2006-03-10 | 6 | -27/+28 |
| | | | | | | | Anyway, this is the changes to the with-statement so that __exit__ must return a true value in order for a pending exception to be ignored. The PEP (343) is already updated. | ||||
* | Update Unicode database to Unicode 4.1. | Martin v. Löwis | 2006-03-09 | 3 | -4/+5 |
| | |||||
* | Patch #1446372: quit and exit can now be called from the interactive | Georg Brandl | 2006-03-09 | 1 | -4/+13 |
| | | | | interpreter to exit. | ||||
* | Remove the magic to run an uninstalled ctypes version from a CVS sandbox. | Thomas Heller | 2006-03-09 | 2 | -21/+0 |
| | |||||
* | Bug #1442874: handle "<!>", the empty SGML comment | Georg Brandl | 2006-03-09 | 2 | -2/+5 |
| | |||||
* | Disable the testcase that crashes solaris. | Thomas Heller | 2006-03-09 | 1 | -1/+2 |
| | |||||
* | Replace the trivial ctypes test (did only an import) with the real test suite. | Thomas Heller | 2006-03-09 | 1 | -3/+11 |
| | |||||
* | Try to be a bit more consistent on all platforms: | Neal Norwitz | 2006-03-09 | 1 | -13/+2 |
| | | | | | | | python . python < . both print a message, return non-zero and do not core dump. | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-09 | 25 | -91/+89 |
| | |||||
* | Remove .cvsignore and set svn:ignore for *.pyc *.pyo. | Hye-Shik Chang | 2006-03-08 | 3 | -11/+0 |
| | |||||
* | Trivial test for ctypes, more to come | Thomas Heller | 2006-03-08 | 1 | -0/+4 |
| | |||||
* | Copy ctypes-0.9.9.4 Python modules from external into the trunk. | Thomas Heller | 2006-03-08 | 59 | -0/+5941 |
| | |||||
* | Patch #1434038: property() now uses the getter's docstring if there is | Georg Brandl | 2006-03-08 | 1 | -0/+12 |
| | | | | | no "doc" argument given. This makes it possible to legitimately use property() as a decorator to produce a read-only property. | ||||
* | Fix pydoc.synopsis() so that it doesn't error out with an unreadable | Georg Brandl | 2006-03-08 | 1 | -1/+5 |
| | | | | module. | ||||
* | _hotshot hotshot_profiler(): If write_header() returned | Tim Peters | 2006-03-07 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | an error code, this let `self` leak. This is a disaster on Windows, since `self` already points to a newly-opened file object, and it was impossible for Python code to close the thing since the only reference to it was in a blob of leaked C memory. test_hotshot test_bad_sys_path(): This new test provoked the C bug above. This test passed, but left an open "@test" file behind, which caused a massive cascade of bogus test failures in later, unrelated tests on Windows. Changed the test code to remove the @test file it leaves behind, which relies on the change above to close that file first. | ||||
* | Checking in the code for PEP 357. | Guido van Rossum | 2006-03-07 | 1 | -0/+0 |
| | | | | | | This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation). | ||||
* | Typo fix | Andrew M. Kuchling | 2006-03-07 | 1 | -1/+1 |
| | |||||
* | SF patch #1443865; gc.get_count() added and optional argument 'generation' | Barry Warsaw | 2006-03-07 | 1 | -0/+18 |
| | | | | | | added to gc.collect(). Updated docs, unit test, and NEWS entry. (Also, fixed a typo in NEWS.) | ||||
* | Thanks to Coverity, these were all reported by their Prevent tool. | Neal Norwitz | 2006-03-07 | 1 | -0/+13 |
| | | | | | All of these (except _lsprof.c) should be backported. Particularly the hotshot change which validates sys.path. Can someone backport? | ||||
* | If size is specified, try to read at least size characters. | Walter Dörwald | 2006-03-06 | 2 | -6/+13 |
| | | | | This is a alternative version of patch #1379332. | ||||
* | Import bdist_msi | Martin v. Löwis | 2006-03-05 | 5 | -0/+3633 |
| | |||||
* | Backout the last hack and add in this new one. | Neal Norwitz | 2006-03-05 | 1 | -14/+8 |
| | | | | | | | | | | | | | | | The failure definitely seems timing related. This change *seems* to work. Since the failure isn't doesn't occur consistently, it's hard to tell. Running these tests on Solaris in this order: test_urllibnet test_operator test_cgi \ test_isinstance test_future test_ast test_logging generally caused a failure (about 50% of the time) before the sleep. I couldn't provoke the failure with the sleep. This should really be cleaned up by using threading.Events or something so it is not timing dependent and doesn't hang forever on failure. | ||||
* | Oops, urllib may or may not already be loaded. | Neal Norwitz | 2006-03-04 | 1 | -1/+4 |
| |