summaryrefslogtreecommitdiffstats
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
* Add sectionAndrew M. Kuchling2006-03-151-0/+6
|
* Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclassWalter Dörwald2006-03-1598-420/+2212
| | | | | | | 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-153-42/+625
|
* Revert rev 43041, which introduced the "z" format qualifierTim Peters2006-03-151-4/+4
| | | | unique to Python 2.5.
* CField_repr(): PyString_FromFormat() understands theTim Peters2006-03-151-4/+4
| | | | C99 "z" qualifier on all platforms.
* In 'make clean', delete some files that are generated by the _ctypes/libffiThomas Heller2006-03-151-0/+2
| | | | configure step.
* 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.
* Move test code out of xxmodule and into _testcapimodule.c where it belongs.Neal Norwitz2006-03-152-14/+13
| | | | Will backport.
* 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.
* Try to avoid many of the compiler warnings when compiling libffi byThomas Heller2006-03-141-3/+3
| | | | using a proper function prototype.
* Cast an Py_ssize_t to int, to avoid a compiler warning.Thomas Heller2006-03-141-2/+2
|
* For x86 Release and Debug builds, remove the /Wp64 compiler flag, itThomas Heller2006-03-141-2/+2
| | | | is responsible for most (all?) of the warnings we get.
* Integrate patch from Neal Norwitz. He writes:Thomas Heller2006-03-143-56/+60
| | | | | | | | | | | | | | | | | | """ The attached patch fixes all the ctypes tests so they pass on amd64. It also fixes several warnings. I'm not sure what else to do with the patch. Let me know how you want to handle these in the future. I'm not sure the patch is 100% correct. You will need to decide what can be 64 bits and what can't. I believe sq_{item,slice,ass_item,ass_slice} all need to use Py_ssize_t. The types in ctypes.h may not require all the changes I made. I don't know how you want to support older version, so I unconditionally changed the types to Py_ssize_t. """ The patch is also in the ctypes SVN repository now, after small changes to add compatibility with older Python versions.
* Teach the compiler module about augmented assignment to tuple subscriptsNick Coghlan2006-03-141-4/+2
|
* Fix and test (manually w/xx module) passing NULLs to PyObject_Str() andNeal Norwitz2006-03-142-5/+21
| | | | | | | | | | | | | PyObject_Unicode(). This problem was originally reported from Coverity and addresses mail on python-dev "checkin r43015". This inlines the conversion of the string to unicode and cleans up/simplifies some code at the end of the PyObject_Unicode(). We really need a complete C API test module for all public APIs and passing good and bad parameter values. Will backport.
* Fix bug found by Coverity: don't allow NULL argument to PyUnicode_CheckExactGeorg Brandl2006-03-131-2/+2
|
* Added logThreads and logProcesses to allow conditional omission of logging ↵Vinay Sajip2006-03-131-2/+12
| | | | this information
* It's necessary to do a Debug build of the bsddb project too.Tim Peters2006-03-131-2/+6
|
* Minor changes.Tim Peters2006-03-131-5/+4
|
* Trimmed trailing whitespace.Tim Peters2006-03-131-2/+2
|
* Fix build process of bsddb for IA64 and AMD64.Martin v. Löwis2006-03-132-6/+11
| | | | Remove remarks on size_t problems.
* Initialize VS environment in external.bat as well.Martin v. Löwis2006-03-131-0/+1
|
* Update to bsddb 4.4.20.Martin v. Löwis2006-03-133-46/+39
|
* Fix SF bug #1448804 and ad a test to ensure that all subscript operations ↵Nick Coghlan2006-03-132-24/+101
| | | | continue to be handled correctly
* Let the buildbot make a single pass in the test suite only.Martin v. Löwis2006-03-132-1/+5
|
* Update to bzip2 1.0.3Martin v. Löwis2006-03-134-19/+26
| | | | Make buildbot slaves automatically fetch bzip2 1.0.3.
* 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-133-1/+11
| | | | 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.
* Adding the /useenv means that one's PATH actually gets through. This isTrent Mick2006-03-121-1/+1
| | | | | | | | important for the _ssl.vproj build. It calls build_ssl.py which tries to find a Perl to use. Without "/useenv" Visual Studio is getting a PATH from somewhere else (presumably from its internal environment configuration). The result is that build_ssl.py fallsback to its "well-known" locations for a Perl install.
* merged with cElementTree development trunk (1.0.6 snapshot):Fredrik Lundh2006-03-121-32/+60
| | | | | | Fixed a number of potential null-pointer-reference-under-pressure glitches, based on input from the Coverity analysis tool and Simo Salminen.
* Move buildbot scripts to Tools/buildbot.Martin v. Löwis2006-03-123-0/+0
|
* Added brief comment.Tim Peters2006-03-121-2/+1
|
* Added brief comments.Tim Peters2006-03-122-2/+2
|
* - Reindent a confusingly indented piece of code (no intended code changesThomas Wouters2006-03-121-13/+16
| | | | | | | | | there) - Add missing DECREFs of inner-scope 'temp' variable - Add various missing DECREFs by changing 'return NULL' into 'goto onError' - Avoid double DECREF when last _PyUnicode_Resize() fails Coverity found one of the missing DECREFs, but oddly enough not the others.
* 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.
* Fix another leak in bsddb, and avoid use of uninitialized value -- funny howThomas Wouters2006-03-121-1/+2
| | | | gcc 4.0.x wasn't complaining about *that* one ;)
* Add buildbot test script.Martin v. Löwis2006-03-111-0/+4
|
* Give the _ssl project a harmless command to performTim Peters2006-03-111-0/+3
| | | | | | for its "clean" action. Else the clean step run by the buildbot reports failure, due to the _ssl project whining about not being able to spawn an empty string.
* Add changelog entry.Martin v. Löwis2006-03-111-0/+1
|
* Adjust CJK Ideograph range to Unicode 4.1.Martin v. Löwis2006-03-111-13/+12
|
* Whitespace normalization.Tim Peters2006-03-103-4/+4
|
* 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).