summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2006-03-1550-58/+12
|
* Fix typo.Walter Dörwald2006-03-151-2/+2
|
* Don't try to explicitly set path in runpy package tests (tests were broken ↵Nick Coghlan2006-03-151-1/+0
| | | | on Windows)
* Don't let cleanup errors mask real errors in the runpy testsNick Coghlan2006-03-151-5/+18
|
* Catch situations where currentframe() returns None. See SF patch #1447410, ↵Vinay Sajip2006-03-151-2/+5
| | | | this is a different implementation.
* Make test_runpy close all references to test modules before trying to delete ↵Nick Coghlan2006-03-151-8/+11
| | | | the underlying files
* Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclassWalter Dörwald2006-03-1592-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 GvRNick Coghlan2006-03-152-0/+588
|
* SF patch #1359365: file and cStringIO raise a ValueError when next() is calledWalter Dörwald2006-03-152-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 Rossum2006-03-152-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 Peters2006-03-142-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 subscriptsNick Coghlan2006-03-141-4/+2
|
* Added logThreads and logProcesses to allow conditional omission of logging ↵Vinay Sajip2006-03-131-2/+12
| | | | this information
* Fix SF bug #1448804 and ad a test to ensure that all subscript operations ↵Nick Coghlan2006-03-131-0/+72
| | | | continue to be handled correctly
* Plug some refcount leaks when tests are run repeatedly.Thomas Heller2006-03-132-16/+21
|
* Bug #1448490: Fix a bug that ISO-2022 codecs could not handleHye-Shik Chang2006-03-131-0/+7
| | | | SS2 (single-shift 2) escape sequences correctly.
* Remove the slightly broken test_leaks.py.Thomas Heller2006-03-132-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 referenceThomas Wouters2006-03-121-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 Peters2006-03-102-3/+3
|
* When the new -w option (yay! great idea) reruns aTim Peters2006-03-101-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öwis2006-03-101-3/+20
|
* Update test data to 4.1; disable PRI #29 for now.Martin v. Löwis2006-03-101-4/+15
|
* Avoid forward-declaring the methods array.Martin v. Löwis2006-03-102-2/+2
| | | | Rename unicodedata.db* to unicodedata.ucd*
* Um, I thought I'd already checked this in.Guido van Rossum2006-03-106-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öwis2006-03-093-4/+5
|
* Patch #1446372: quit and exit can now be called from the interactiveGeorg Brandl2006-03-091-4/+13
| | | | interpreter to exit.
* Remove the magic to run an uninstalled ctypes version from a CVS sandbox.Thomas Heller2006-03-092-21/+0
|
* Bug #1442874: handle "<!>", the empty SGML commentGeorg Brandl2006-03-092-2/+5
|
* Disable the testcase that crashes solaris.Thomas Heller2006-03-091-1/+2
|
* Replace the trivial ctypes test (did only an import) with the real test suite.Thomas Heller2006-03-091-3/+11
|
* Try to be a bit more consistent on all platforms:Neal Norwitz2006-03-091-13/+2
| | | | | | | python . python < . both print a message, return non-zero and do not core dump.
* Whitespace normalization.Tim Peters2006-03-0925-91/+89
|
* Remove .cvsignore and set svn:ignore for *.pyc *.pyo.Hye-Shik Chang2006-03-083-11/+0
|
* Trivial test for ctypes, more to comeThomas Heller2006-03-081-0/+4
|
* Copy ctypes-0.9.9.4 Python modules from external into the trunk.Thomas Heller2006-03-0859-0/+5941
|
* Patch #1434038: property() now uses the getter's docstring if there isGeorg Brandl2006-03-081-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 unreadableGeorg Brandl2006-03-081-1/+5
| | | | module.
* _hotshot hotshot_profiler(): If write_header() returnedTim Peters2006-03-071-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 Rossum2006-03-071-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 fixAndrew M. Kuchling2006-03-071-1/+1
|
* SF patch #1443865; gc.get_count() added and optional argument 'generation'Barry Warsaw2006-03-071-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 Norwitz2006-03-071-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örwald2006-03-062-6/+13
| | | | This is a alternative version of patch #1379332.
* Import bdist_msiMartin v. Löwis2006-03-055-0/+3633
|
* Backout the last hack and add in this new one.Neal Norwitz2006-03-051-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 Norwitz2006-03-041-1/+4
|
* Fix spurious test failure of test_socket_ssl when run in this order:Neal Norwitz2006-03-041-0/+4
| | | | | | | test_codecmaps_tw test_importhooks test_socket_ssl I don't completely understand the cause, but there's a lot of import magic going on and this is the smallest change which fixes the problem.
* Remove test for timing (already not built since commented out in setup.py).Neal Norwitz2006-03-041-21/+0
| | | | Add note to NEWS.
* Actually this file should have svn:eol-style CRLF since it's specificallyBarry Warsaw2006-03-041-45/+45
| | | | testing line ending compatibility.
* Set eol-style to native -- doesn't appear to be any reasonTim Peters2006-03-041-45/+45
| | | | for it to claim it has mime-type application/octet-stream.