summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.Neal Norwitz2006-03-1669-7120/+73
|
* Add a news entry about the sre/re swap.Neal Norwitz2006-03-161-0/+3
|
* Spel compatibility write.Neal Norwitz2006-03-161-1/+1
|
* Add back an sre.py that should be backwards compatible except for the warning.Neal Norwitz2006-03-161-0/+10
|
* Rename sre.py -> re.pyNeal Norwitz2006-03-165-6/+7
|
* Remove re.py, in order to rename sre.py -> re.py (svn seems to require 2 steps).Neal Norwitz2006-03-161-6/+0
|
* The pre module has been gone for a while. Need to go through and find other ↵Neal Norwitz2006-03-161-3/+0
| | | | modules that no longer exists, since errors are silently ignored.
* Oops! Use python_d.exe _before_ it's destroyed :-)Tim Peters2006-03-161-1/+1
|
* Change the Windows buildbot "clean" step to removeTim Peters2006-03-161-1/+4
| | | | stale .pyc files.
* Merge the tim-obmalloc branch to the trunk.Tim Peters2006-03-162-205/+537
| | | | | | | This is a heavily altered derivative of SF patch 1123430, Evan Jones's heroic effort to make obmalloc return unused arenas to the system free(), with some heuristic strategies to make it more likley that arenas eventually _can_ be freed.
* Instead of relative imports, use (implicitly) absolute ones.Guido van Rossum2006-03-152-2/+2
|
* Document the other change from patch #1359365.Walter Dörwald2006-03-151-2/+4
|
* SF patch #1359365: cStringIO.StringIO.isatty() will raise a ValueErrorWalter Dörwald2006-03-153-1/+12
| | | | now if close() has been called before (like file and StringIO.StringIO do)
* Backport from upstream version: compatibility with older PythonThomas Heller2006-03-153-4/+35
| | | | versions.
* 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.