summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to NamedTuple's implementation, tests, and documentationRaymond Hettinger2007-05-193-29/+40
|
* Backport PEP 3110's new 'except' syntax to 2.6.Collin Winter2007-05-186-7/+12
|
* Verify neither dumps or loads overflow the stack and segfault.Neal Norwitz2007-05-181-1/+21
|
* fix argument name in documentation; match the implementationFred Drake2007-05-171-2/+2
|
* Last try for tweaking the max stack depth. 5000 was the original value,Neal Norwitz2007-05-171-1/+1
| | | | | 4000 didn't work either. 1000 does work on Windows. If 2000 works, that will hopefully be a reasonable balance.
* Set the depth to something very small to try to determine if theNeal Norwitz2007-05-171-1/+1
| | | | | crashes on Windows are really due to the stack size or possibly some other problem.
* Reduce the max stack depth to see if this fixes the segfaults onNeal Norwitz2007-05-171-1/+1
| | | | | Windows and some other boxes. If this is successful, this rev should be backported. I'm not sure how close to the limit we should push this.
* Complete deprecation of BaseException.message. Some subclasses were directlyBrett Cannon2007-05-171-10/+0
| | | | accessing the message attribute instead of using the descriptor.
* calendar.py gets no benefit from xrange() instead of range()Raymond Hettinger2007-05-171-16/+16
|
* Remove the gopherlib module. It has been raising a DeprecationWarning sinceBrett Cannon2007-05-1612-347/+10
| | | | | | | Python 2.5. Also remove gopher support from urllib/urllib2. As both imported gopherlib the usage of the support would have raised a DeprecationWarning.
* Fix bug in marshal where bad data would cause a segfault due toNeal Norwitz2007-05-164-69/+164
| | | | | | lack of an infinite recursion check. Contributed by Damien Miller at Google.
* Bug #1719995: don't use deprecated method in sets example.Georg Brandl2007-05-161-3/+3
|
* Change the maintainer of the BeOS port.Brett Cannon2007-05-161-2/+1
|
* Mention removal of some directories for obsolete platformsNeal Norwitz2007-05-161-0/+3
|
* Port rev 55353 from Guido:Neal Norwitz2007-05-161-1/+1
| | | | | | | Add what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC() fails. Will backport.
* HTML-escape the plain traceback in cgitb's HTML output, to preventGeorg Brandl2007-05-152-1/+6
| | | | | the traceback inadvertently or maliciously closing the comment and injecting HTML into the error page.
* Small speedup.Raymond Hettinger2007-05-141-4/+3
|
* Remove support for freebsd[23] which haven't been released since 2000Neal Norwitz2007-05-134-383/+0
| | | | or earlier. http://www.freebsd.org/releases/index.html
* Remove references to stdwin which was removed long ago.Neal Norwitz2007-05-136-850/+6
|
* Remove Amoeba doc which was removed in version 1.0! according to Misc/HISTORY.Neal Norwitz2007-05-133-135/+2
| | | | Hopefully Guido won't shed a tear. :-)
* Add bz2 to content encodings.Georg Brandl2007-05-131-0/+2
|
* Bug #1046945: document SWIG options of distutils.Georg Brandl2007-05-121-3/+19
|
* Better tests for posixpath.commonprefixRaymond Hettinger2007-05-111-0/+10
|
* Update DDJ link.Georg Brandl2007-05-111-1/+1
|
* Patch #1714700: clarify os.linesep vs. tfiles opened in text mode.Georg Brandl2007-05-111-3/+6
| | | | (backport)
* Remove an XXX that is unnecessary.Georg Brandl2007-05-111-1/+0
|
* Deprecate os.popen* and popen2 module in favor of the subprocess module. ↵Neal Norwitz2007-05-112-9/+13
| | | | (forgot the doc)
* Deprecate os.popen* and popen2 module in favor of the subprocess module.Neal Norwitz2007-05-119-30/+69
|
* Remove trailing whitespace in docstringNeal Norwitz2007-05-111-2/+0
|
* Fix typo in docstring (the module is popen2, not 3).Neal Norwitz2007-05-111-1/+1
|
* Don't ever report a failure when the sum of the reference count differencesNeal Norwitz2007-05-112-3/+4
| | | | | | | are zero. This should help reduce the false positives. The message about references leaking is maintained to provide as much info as possible rather than simply suppressing the message at the source.
* Fix a bug in test_c_api() that caused a negative refcount.Guido van Rossum2007-05-101-3/+3
|
* Backport checkin:Walter Dörwald2007-05-091-1/+1
| | | | | Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr() instead of memchr().
* Add markup for True/False. Will backportNeal Norwitz2007-05-091-4/+4
|
* Fix a bug in test.test_support.open_urlresource().Collin Winter2007-05-091-1/+1
| | | | | | | | | If the call to requires() doesn't precede the filesystem check, we get the following situation: 1. ./python Lib/test/regrtest.py test_foo # test needs urlfetch, not enabled, so skipped 2. ./python Lib/test/regrtest.py -u urlfetch test_foo # test runs 3. ./python Lib/test/regrtest.py test_foo # test runs (!) By moving the call to requires() *before* the filesystem check, the fact that fetched files are cached on the local disk becomes an implementation detail, rather than a semantics-changing point of note.
* As per Armin Rigo's suggestion, remove special handing from intobject.c to ↵Kristján Valur Jónsson2007-05-072-8/+15
| | | | deal with the peculiarities of classobject's implementation of the number protocol. The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present.
* Verify changes to the trunk go to the normal checkins listNeal Norwitz2007-05-071-1/+0
|
* Updates of recent changes to logging.Vinay Sajip2007-05-061-5/+16
|
* Bug #1713535: typo in logging example.Georg Brandl2007-05-051-1/+1
|
* Deprecate BaseException.message as per PEP 352.Brett Cannon2007-05-057-69/+148
|
* Oops, these tests do not run on Windows CE.Thomas Heller2007-05-041-15/+16
|
* Do not truncate 64-bit pointers to 32-bit integers.Thomas Heller2007-05-043-13/+46
| | | | Fixes SF #1703286, will backport to release25-maint.
* Minor fix of PCBuild8/_ctypes vcproj, moving include dir into the .vsprops file.Kristján Valur Jónsson2007-05-042-8/+12
|
* Update the pcbuild8 solution. Straightened out the _ctypes project by using ↵Kristján Valur Jónsson2007-05-044-68/+342
| | | | a .vsproj file and a masm64.rules file to avoid redundancy
* On 64-bit Windows, ffi_arg must be 8 bytes long. This fixes theThomas Heller2007-05-041-0/+4
| | | | | remaining crashes in the ctypes tests, when functions return float or double types.
* Fix some ctypes test crashes, when running with a debug PythonThomas Heller2007-05-043-4/+11
| | | | | version on win64 by using proper argtypes and restype function attributes.
* Revert compiler comment to AMD64 for x64/AMD64 builds.Kristján Valur Jónsson2007-05-041-1/+1
|
* Fix problems in x64 build that were discovered by the testsuite:Kristján Valur Jónsson2007-05-037-73/+36
| | | | | | | | | | | | - Reenable modules on x64 that had been disabled aeons ago for Itanium. - Cleared up confusion about compilers for 64 bit windows. There is only Itanium and x64. Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above. - Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms. - Fixed thread_nt.h. The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier. Anyway, win95 is no longer a target platform. - Itertools module used wrong constant to check for overflow in count() - PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member. - PyLong_FromSsize_t() incorrectly specified that the operand were unsigned. With these changes, the x64 passes the testsuite, for those modules present.
* Fix those parts in the testsuite that assumed that sys.maxint would cause ↵Kristján Valur Jónsson2007-05-035-12/+21
| | | | overflow on x64. Now the testsuite is well behaved on that platform.
* Fix pcbuild8 after recent overhaul: Added the version resource to ↵Kristján Valur Jónsson2007-05-036-5/+34
| | | | | | python26.dll. Adjust stacksize to 2Mb and made large address aware for 32 bits, and set stacksize to 3Mb for 64 bits. Todo: Set .dll optimized load addresses, and side-by-side packaging of the python26.dll.