summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* [Jython patch #1578658] Make distutils work for Jython, at least forAndrew M. Kuchling2006-12-103-2/+15
| | | | | | | pure-Python distributions. Patch by Supreet Sethi, slightly modified by adding the change to sysconfig.py.
* Add extra SHA testsAndrew M. Kuchling2006-11-201-2/+19
|
* Jython compatibility fix: if uu.decode() opened its output file, be sure to ↵Andrew M. Kuchling2006-11-191-0/+4
| | | | close it. (Need to forward-port this.)
* Security fix PSF-2005-001 for SimpleXMLRPCServer.py.Guido van Rossum2005-02-031-4/+28
|
* adding passing test. testing for g(*Nothing()) where Nothing is a ↵Samuele Pedroni2004-02-212-0/+26
| | | | user-defined iterator.
* use True/False for boolean valuesFred Drake2003-10-301-2/+2
|
* test_get_param_with_semis_in_quotes(): Test case for SF bug #794466.Barry Warsaw2003-09-031-0/+7
| | | | Backport candidate.
* A fix for parsing parameters when there are semicolons inside theBarry Warsaw2003-09-031-1/+18
| | | | | | | | | | | quotes. Fixes SF bug #794466, with the essential patch provided by Stuart D. Gathman. Specifically, _parseparam(), _get_params_preserve(): Use the parsing function that takes quotes into account, as given (essentially) in the bug report's test program. Backport candidate.
* Backporting email 2.5.4 fixes from the trunk.Barry Warsaw2003-08-194-9/+51
|
* make #! line more liberalSkip Montanaro2003-07-181-1/+1
|
* Backport of rhettinger's funcobject.c 2.63, bugfix for SF bug 753451Anthony Baxter2003-07-131-0/+8
| | | | | Check the argument of classmethod is callable. (prevents classmethod(classmethod(func)) from bombing out.
* Patch #764470: Fix marshalling of Faults.Martin v. Löwis2003-07-121-1/+4
|
* Patch #549151, rev4: redirect POST on 301 also.Martin v. Löwis2003-07-121-5/+5
|
* SF #764121, docstring for spawnlp incorrectNeal Norwitz2003-07-021-1/+1
|
* Fix SF bug #763023, difflib.py: ratio() zero division not caughtNeal Norwitz2003-07-011-3/+8
|
* Backport fix for SF bug 666219.Jeremy Hylton2003-06-301-0/+4
|
* backport of fix from 1.15 to make sure installed scripts have the read bitSkip Montanaro2003-06-271-1/+1
| | | | set.
* Fix for SF bug 620190: getargspec() doesn't understand methods.Jeremy Hylton2003-06-271-0/+2
|
* backport -uall,-resource stuffSkip Montanaro2003-06-211-25/+92
| | | | add sunos5 and hpux11 expected skips
* check getservbyname with several protocols, not just telnetSkip Montanaro2003-06-212-4/+12
|
* Patch #755987 (bug #755031): backport from trunk.Greg Ward2003-06-181-16/+14
|
* Backport 1.194:Neal Norwitz2003-06-161-0/+16
| | | | Add test for bug #751998.
* Treat empty dat/dir files as dumbdbm. Fixes #744687.Martin v. Löwis2003-06-141-3/+7
|
* copy and deepcopy builtin functions atomically. Fixes #746304.Martin v. Löwis2003-06-141-0/+3
| | | | Also backport 2.36 (deepcopy classes atomically).
* Patch #754340: Fix typo in redirect_request.Martin v. Löwis2003-06-141-1/+1
|
* Backport of my checkin to rev 1.46:Thomas Heller2003-06-121-1/+1
| | | | | | | | Fix for sf # 749210, wininst isn't build correctly after building zip. The problem was that subcommands were not reinitialized. Bugfix candidate, will backport myself.
* Patch #750595: Refer to type complex using builtin. Fixes #595837.Martin v. Löwis2003-06-071-3/+9
|
* Patch #746801: FreeBSD 4 expected failures, by Charles Swiger.Martin v. Löwis2003-06-071-0/+23
|
* Patch #749191: Delete commands in after_cancel.Martin v. Löwis2003-06-071-0/+6
|
* Backport from 2.3 trunk:Barry Warsaw2003-05-292-3/+7
| | | | | | | | _make_boundary(): Fix for SF bug #745478, broken boundary calculation in some locales. This code simplifies the boundary algorithm to use randint() which is what we wanted anyway. Bump package version to 2.5.3.
* Give the Windows socket wrapper function default values for its 'family'Tim Peters2003-05-291-1/+1
| | | | | | | | and 'type' arguments. This improves x-platform compatibility (e.g., on Unix systems socket() already supported these default arguments). No need to do anything here for 2.3 -- it already fixed this glitch in a different way.
* crash_in_get_sf736892(): A test of SF 736892, forcing function to actBarry Warsaw2003-05-291-0/+14
| | | | like an unbound method dumps core.
* Remove debug code from weakref_segfault().Guido van Rossum2003-05-291-3/+1
| | | | | Also move the call of the test to the top; the crash is caused by a double free.
* Add testcase for SF 742911.Guido van Rossum2003-05-291-0/+24
|
* The backport gets Fred's seal of approval:Barry Warsaw2003-05-282-5/+59
| | | | | | | | | | | | | | | | | | | SF 742860: WeakKeyDictionary __delitem__ uses iterkeys Someone review this, please! Final releases are getting close, Fred (the weakref guy) won't be around until Tuesday, and the pre-patch code can indeed raise spurious RuntimeErrors in the presence of threads or mutating comparison functions. See the bug report for my confusions: I can't see any reason for why __delitem__ iterated over the keys. The new one-liner implementation is much faster, can't raise RuntimeError, and should be better-behaved in all respects wrt threads. New tests test_weak_keyed_bad_delitem and test_weak_keyed_cascading_deletes fail before this patch. Backported the tests and the patch.
* Backport of 1.48: on Mac OS X don't use -R for runtime_library_dirs, useJack Jansen2003-05-231-0/+3
| | | | -L in stead. Fixes #723495.
* Backport fix for SF bug 692776.Jeremy Hylton2003-05-221-0/+24
| | | | | | Add a tp_new slot to function objects that handles the case of a function requiring a closure. Put the function type in the new module, rather than having a function new.function(). Add tests.
* Backport Jeremy's fix: req.method should be req.get_method.Raymond Hettinger2003-05-221-6/+8
|
* Backport fix for SF bug #741171: pdb crashes when enabling a non-existing ↵Andrew M. Kuchling2003-05-221-2/+22
| | | | breakpoint
* Backport fix for SF bug 734869 and sundry compiler cleanups.Jeremy Hylton2003-05-222-0/+2
|
* GNUTranslations._parse(): Backport of fix for SF bug #658233, whereBarry Warsaw2003-05-201-6/+13
| | | | | | continuation lines in .po metadata caused a crash. Also, export more symbols from __all__.
* Patch #499513: use readline() instead of readlines(). Removed theMartin v. Löwis2003-05-201-16/+6
| | | | | | unnecessary redirection limit code which is already in FancyURLopener. Backport of 1.12.
* SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous passwordMartin v. Löwis2003-05-201-14/+9
| | | | | | | | Instead of sending the real user and host, use "anonymous@" (i.e. no host name at all!) as the default anonymous FTP password. This avoids privacy violations. Backport of 1.62, 1.63.
* minor fix, jython-only. Don't asssume stdout to save is the ur-stdout.Samuele Pedroni2003-05-171-1/+2
|
* beefed up version: jython support, covers now fixed differences between ↵Samuele Pedroni2003-05-171-10/+103
| | | | CPython/Jython.
* Backport fix for compile_command("",symbol="eval") raising syntax error ↵Samuele Pedroni2003-05-161-1/+2
| | | | about "pass". Now returns None.
* Backporting email 2.5.2 fixes.Barry Warsaw2003-05-084-7/+20
|
* Backport better fix for newurl as suggested by Jim Jewett in SF bugJeremy Hylton2003-05-051-2/+2
| | | | #730963.
* Backport fix for SF #723831: urlopen() raises URLError.Jeremy Hylton2003-05-051-15/+17
|
* file_truncate(): Backported 2.3 code so that file.truncate(n) works onTim Peters2003-04-301-15/+30
| | | | | | Windows when n is too big to fit in a 32-bit int. This was a hole in 2.2's large file support on Windows, and turns out it's a bad hole at least for ZODB.