summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove another use of as as a keywordNeal Norwitz2006-03-221-5/+5
|
* Get doctest to pass. The problem was int/int -> float now. ThereNeal Norwitz2006-03-221-11/+11
| | | | | | | | | | were some cases where an int was assumed. Also had to change the string of the exception when dividing and int by zero. Not sure what the best error message should be. Currently 5 / 0 yields the message: ZeroDivisionError: float division That isn't entirely correct. But I'm not sure what else to do.
* Damn another occurrence of using as as a keywordfNeal Norwitz2006-03-221-2/+2
|
* INPLACE_DIVIDE is no longer necessary (INPLACE_TRUE_DIVIDE is used).Neal Norwitz2006-03-172-2/+2
|
* as is a keyword now :-)Neal Norwitz2006-03-171-7/+7
|
* Get rid of xreadlines() (methods).Neal Norwitz2006-03-174-12/+4
|
* More apply() cleanupNeal Norwitz2006-03-172-12/+9
|
* Remove apply()Neal Norwitz2006-03-1719-149/+116
|
* Get rid of a bunch more raw_input referencesNeal Norwitz2006-03-1712-23/+43
|
* Whoops, input *and* raw_input are slated for removal, and now both are gone.Neal Norwitz2006-03-171-31/+0
|
* raw_input() -> input(). old input behavior is history (and test_builtin ↵Neal Norwitz2006-03-171-22/+9
| | | | passes again). It was failing due to future division.
* Remove sys.exc_type, sys.exc_value, sys.exc_tracebackNeal Norwitz2006-03-174-8/+6
|
* Get rid of last vestiges of BINARY_DIVIDE.Neal Norwitz2006-03-162-4/+2
|
* Checkpoint. 218 tests are okay; 53 are failing. Done so far:Guido van Rossum2006-03-154-11/+7
| | | | | | | | - all classes are new-style (but ripping out classobject.[ch] isn't done) - int/int -> float - all exceptions must derive from BaseException - absolute import - 'as' and 'with' are keywords
* 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.