summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Backport 1.13 through 1.15, after getting a begging letter from a certainAnthony Baxter2003-12-181-5/+7
| | | | | | | | | | | BDFL <wink> The fullmodname() function chopped off the first character if the module existed in the current directory. Open results files, which contain binary pickles, in binary mode. Remove fallback code that tries to read marshal data from a results file, since this module never writes marshal data.
* Backported from the trunk, on Raymond's request:Thomas Heller2003-12-041-0/+2
| | | | SF bug #849662. Dramatically, improve comparison speed for "if shl == None".
* Version number and release date for IDLE, the version now is 1.0.2.Thomas Heller2003-12-042-2/+2
|
* backport:Guido van Rossum2003-12-031-2/+2
| | | | | | | | Reduce the size of Big String and Big Binary tests to 2**14 (minus one for Big String). This should make the tests pass on Win98SE. Note that the docs only promise lengths up to 2048. Unfortunately this no longer tests for the segfault I was seeing earlier, but I'm confident I've nailed that one. :-) Fixes SF 852281.
* Revert previous checkin. It was meant for another branch.Jeremy Hylton2003-12-021-3/+1
|
* To find the curses extension as a DLL (on OS/2), we need to adjust theAndrew MacIntyre2003-12-021-0/+15
| | | | | | library search path to include the extension directory. Without this, the curses_panel extension can't find the curses extension/DLL, which exports some curses symbols to it.
* use same compiler switches as core for extensionsAndrew MacIntyre2003-12-021-2/+2
|
* A hack: Disable import of re, because sre doesn't compile right.Jeremy Hylton2003-12-021-1/+3
| | | | DON'T MERGE THIS CHANGE TO THE TRUNK.
* Convert path objects to strings in askdirectory. Fixes #852314.Martin v. Löwis2003-12-011-0/+6
|
* Add testcases for _winreg segfault (SF 851056).Guido van Rossum2003-11-301-1/+3
|
* backport:Anthony Baxter2003-11-301-1/+1
| | | | | Fix a bug discovered by Kalle Svensson: comparing sys.maxint to 2**32-1 makes no sense. Use 2**31-1 instead.
* See SF #848614: distutils' msvccompiler now tries to detect that MSVC6Thomas Heller2003-11-281-0/+10
| | | | | is installed but the registry settings are incomplete because the gui has never been run.
* Fix a typo introduced at Rev 1.19.8.2Kurt B. Kaiser2003-11-251-1/+1
| | | | M IOBinding.py
* Backport:Kurt B. Kaiser2003-11-243-2/+27
| | | | | | | | | | | | | | - After an exception, run.py was not setting the exception vector. Noam Raphael suggested correcting this so pdb's postmortem pm() would work. IDLEfork Patch 844675 Update NEWS and include some items missed in IDLE1.0b2. Bump the version. Modified Files: Tag: release23-maint NEWS.txt idlever.py run.py
* test_guess_all_types(): Use a more robust test for checking thatBarry Warsaw2003-11-231-4/+7
| | | | | | | | | | guess_all_extensions() returns (at least) what we expect. As Jeff Epler suggests in http://mail.python.org/pipermail/python-dev/2003-September/038264.html We use a set to test the results. This fixes the test when test_urllib2 is run before test_mimetypes.
* Reverted from rev 1.45.6.1 to rev 1.45: deep recursion is still part ofTim Peters2003-11-221-9/+7
| | | | | | | | | | | sre in 2.3, and the backport of the 2.4 version of the tests should not have been done. It got confused because someone else checked a bad change into _sre.c that caused the tests that are *supposed* to raise a recursion exception to stop doing so on some (most?) platforms. test_re passes again on Windows now. Until the bad change to _sre gets fixed, it will fail on platforms other than Windows and FreeBSD, either by "Test Failed", or by bad consequences of C stack overflow.
* SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters2003-11-201-0/+205
| | | | | | | | Also SF patch 843455. This is a critical bugfix, backported from 2.4 development. I don't intend to backport beyond 2.3 maint. The bugs this fixes have been there since weakrefs were introduced.
* Backport checkin:Walter Dörwald2003-11-201-4/+4
| | | | Fix typo fix.
* Backport checkin:Walter Dörwald2003-11-191-4/+4
| | | | Fix typos.
* __init__(): The docstring was incorrect regarding how header wrappingBarry Warsaw2003-11-191-5/+4
| | | | | | gets done when maxheaderlen <> 0. The header really gets wrapped via the email.Header.Header class, which has a more sophisticated algorithm than just splitting on semi-colons.
* Backport of fix for [ 765456 ]: testAFakeZlib failed on platforms that useJust van Rossum2003-11-181-0/+7
| | | | | a statically linked zlib module, but since the problem it tests can't exist on these systems, simply skip it then.
* SF #841977 - modulefinder fails to find extension modules in packagesThomas Heller2003-11-141-1/+6
| | | | | | | | | | | The find_all_submodules() method in modulefinder only looks for *.py, *.pyc, and *.pyo files. Python extension modules are only found if they are referenced in import statements somewhere. This patch uses the actual list from imp.get_suffixes(). Backported to release-maint23.
* subtype_dealloc(): A more complete fix for critical bug 840829 +Tim Peters2003-11-131-0/+19
| | | | | | | | expanded the test case with a piece that needs the more-complete fix. I don't intend to backport this beyond 2.3 maint. It's a critical bugfix, and should be backported to 2.2, 2.1, ..., if more releases in those lines get made.
* Backport of fix for SF bug 840829, memory corruption in some cases ofTim Peters2003-11-131-0/+20
| | | | | | | | weakref callbacks. This is a critical bugfix. It's already been fixed on the trunk (2.4 development). I don't intend to backport it to the 22 line, but if a 2.2.4 ever gets released, this should be in it.
* Improve backwards compatibility code to handle True/False.Raymond Hettinger2003-11-121-0/+4
|
* SF bug #835457: Small typo in logging documentationRaymond Hettinger2003-11-081-1/+1
|
* Overallocate target buffer for normalization more early. Fixes #834676.Martin v. Löwis2003-11-061-0/+3
|
* On RH10, the PIE additions to gcc mean that id() can sometimes be a veryAnthony Baxter2003-11-063-3/+14
| | | | | large 32 bit int, which comes out as a negative int. Workaround this to prevent warnings from the test suite and the std lib.
* On RH10, the PIE additions to gcc mean that id() can sometimes be a veryAnthony Baxter2003-11-062-3/+10
| | | | | large 32 bit int, which comes out as a negative int. Workaround this to prevent warnings from the test suite.
* get tests working again. partial backport of 1.46 - I fixed theAnthony Baxter2003-11-041-7/+9
| | | | | | recursive tests that used to fail, but left test_re_groupref_exists disabled, as it fails on the release23-maint branch. Maybe something else needs to be backported?
* backport of 1.56Anthony Baxter2003-11-041-44/+96
| | | | | | Apply patch 823328 -- support for rfc 2617 digestion authentication. This fixes the current (broken) digest auth code.
* fix comments/docstring problems related to SF bug # 821818Alex Martelli2003-11-021-10/+16
|
* fixed wrong error checking on fcntl call as per SF bug # 821896Alex Martelli2003-11-021-2/+3
|
* fixed obvious bug in _send_header as per SF bug #831271Alex Martelli2003-11-021-3/+2
|
* Patch #830858: Correct the number of is-functions.Martin v. Löwis2003-10-311-0/+4
|
* Patch #785689: Use basename in usage.Martin v. Löwis2003-10-311-1/+1
|
* SF #775057, fix IDLE problem in about dialogNeal Norwitz2003-10-281-1/+3
| | | | If the file doesn't exist, the code to display an error message was broken
* Patch #817854: Add missing operations for SSLFile. Fixes #792101.Martin v. Löwis2003-10-271-0/+25
|
* [Backport fix for bug #822668] gzip filesize should be written out mod 2**32Andrew M. Kuchling2003-10-241-1/+1
|
* Backport checkin:Walter Dörwald2003-10-241-0/+12
| | | | | | | | Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap(). charmaptranslate_makespace() allocates more memory than required for the next replacement but didn't remember that fact, so memory size was growing exponentially every time a replacement string is longer that one character. This fixes SF bug #828737.
* Patch #813200: Quote executable path on Windows. Fixes #811082.Martin v. Löwis2003-10-231-2/+10
|
* Make both items() methods return lists; one had changed to return anFred Drake2003-10-211-5/+4
| | | | | iterator where it probably shouldn't have. Closes SF bug #818861.
* Backport checkin:Walter Dörwald2003-10-2021-23/+23
| | | | | Fix a bunch of typos in documentation, docstrings and comments. (From SF patch #810751)
* Revert previous checkin, as it breaks on Unix.Martin v. Löwis2003-10-181-6/+2
|
* Patch #813200: Properly quote executable on Windows. Fixes #811082.Martin v. Löwis2003-10-181-2/+6
|
* Backport of rev. 1.6 and 1.7 from head.Brett Cannon2003-10-141-20/+23
| | | | | | 1.6 was docstring clean-up. 1.7 was a fix for bug #780461 (platform.mac_ver() failing under OS X) and was flagged as a backport candidate.
* BaseServer, TCPServer: Fixed typo in class docstring.Barry Warsaw2003-10-091-2/+2
|
* Patch #817329: Use SC_OPEN_MAX to determine MAXFD.Martin v. Löwis2003-10-061-1/+4
|
* SF bug #812202: randint is always evenRaymond Hettinger2003-10-052-8/+73
| | | | | | | | | * Extend rangrange() to return meaningful results when the range is larger than 2**53. Only applies to the MersenneTwister. WichmannHill was left alone in the absence of a proof showing how multiple calls could be combined to produce long bit streams. * WichmannHill was missing from __all__.
* Adopt Christian Stork's suggested argument order for quantifier examples.Raymond Hettinger2003-10-051-11/+11
| | | | Adopt Jeremy Fincher's suggested function name, "any", instead of "some".