summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1210377: close bsddb cursor correctly after NotFoundError.Georg Brandl2006-02-201-1/+4
|
* Detect Win64 builds.Martin v. Löwis2006-02-201-10/+39
|
* Let the SDK setup override distutils logic.Martin v. Löwis2006-02-201-15/+25
|
* Bug #1101233: fix test_fcntl on netbsd2 platform.Georg Brandl2006-02-201-1/+1
|
* Bug #1413790: zipfile now sanitizes absolute archive names that areGeorg Brandl2006-02-202-3/+15
| | | | not allowed by the specs.
* Whitespace normalization.Tim Peters2006-02-191-2/+2
|
* Repair new test failures on Windows due toTim Peters2006-02-191-4/+4
| | | | | implicit assumptions that there's no difference between text and binary modes.
* Fix the encodings package codec search function to only searchMarc-André Lemburg2006-02-192-3/+14
| | | | | | inside its own package. Fixes problem reported in patch #1433198. Add codec search function for codec test codec.
* Patch #1215184: FileInput now can be given an opening hook which canGeorg Brandl2006-02-192-7/+59
| | | | be used to control how files are opened.
* Patch #1212287: fileinput.input() now has a mode parameter forGeorg Brandl2006-02-192-11/+34
| | | | specifying the file mode input files should be opened with.
* Patch #1215184: fileinput now has a fileno() function for getting theGeorg Brandl2006-02-192-3/+37
| | | | current file number.
* Patch #1349274: gettext.install() now optionally installs additionalGeorg Brandl2006-02-192-3/+21
| | | | translation functions other than _() in the builtin namespace.
* Patch #1337756: fileinput now accepts Unicode filenames.Georg Brandl2006-02-192-1/+11
|
* test_gopher(): Squash another deprecationTim Peters2006-02-191-0/+5
| | | | warning about gopherlib.
* Add a unit test for bug fix #1396678.Georg Brandl2006-02-192-6/+11
|
* Bug #1396678: a closed bsddb.DB raises AttributeError on repr().Georg Brandl2006-02-191-1/+4
| | | | It now returns "{}". Is that the correct solution?
* This fixes test _locale failing on macteagle (Mac OS 10.4 AFAIK).Neal Norwitz2006-02-191-3/+5
| | | | | | | | | Google for: eu_ES decimal point shows that BSD locales had the eu_ES decimal point as a single quote (') instead of a comma (,). This was seems to have been fixed 15 months ago, but it's not on our Mac and presumably others. So skip this broken locale.
* Patch #1426648: urllib proxy_bypass brokenGeorg Brandl2006-02-181-3/+10
|
* This should get test_timeout to pass when running on any python.org host. ↵Neal Norwitz2006-02-181-0/+5
| | | | Will backport
* Patch #1373643: The chunk module can now read chunks larger thanGeorg Brandl2006-02-181-1/+1
| | | | two gigabytes.
* Suppress new deprecation warnings when running theTim Peters2006-02-184-1/+16
| | | | | | | | | | | test suite. For urllib2, move the import of gopherlib into the only function that uses it: users (including the test suite) certainly shouldn't see a deprecation warning just because they import urllib2! If they actually use gopher_open(), fine, _then_ they should see a deprecation warning.
* Changed the new deprecation warning to show theTim Peters2006-02-181-1/+2
| | | | | code _importing_ gopherlib instead of gopherlib's call to warnings.warn.
* Whitespace normalization.Tim Peters2006-02-181-2/+0
|
* Move test case for HTTP response dict to httplib.Georg Brandl2006-02-172-5/+5
|
* Move "httpresponses" dict from urllib2 to httplib where it belongs.Georg Brandl2006-02-173-59/+61
|
* Patch #1417555: SimpleHTTPServer now returns Last-Modified headers.Georg Brandl2006-02-172-4/+7
|
* Add deprecation warning to modules deprecated since 2000.Georg Brandl2006-02-171-0/+3
|
* Bug #1430298: It is now possible to send a mail with an emptyGeorg Brandl2006-02-171-1/+4
| | | | return address using smtplib.
* The names of lambda functions are now properly displayed in pydoc.Georg Brandl2006-02-171-1/+1
|
* Merge ssize_t branch.Martin v. Löwis2006-02-151-1/+3
|
* New test code failed to close the file. This causedTim Peters2006-02-141-13/+12
| | | | | | | | | | test_file to fail on Windows in reality (can't delete a still-open file), but a new bare "except:" hid that test_file failed on Windows, and leaving behind the still-open TESTFN caused a cascade of bogus failures in later tests. So, close the file, and stop hiding failure to unlink.
* SF patch #1397960: When mixing file-iteration andThomas Wouters2006-02-121-1/+111
| | | | | | | readline/readlines/read/readinto, loudly break by raising ValueError, rather than silently deliver data out of order or hitting EOF prematurely. Probably not a bugfix candidate, even though it affects no 'working' code.
* Renamed _length_cue() to __length_hint__(). See:Armin Rigo2006-02-112-2/+6
| | | | http://mail.python.org/pipermail/python-dev/2006-February/060524.html
* Added function name to LogRecord.Vinay Sajip2006-02-091-5/+8
|
* Propagate exceptions from shutdown() if raiseExceptions is not set.Vinay Sajip2006-02-091-6/+14
| | | | Added 'extra' keyword argument handling to logging calls, as discussed on python-dev.
* Added lock acquisition/release around shared data structure manipulationVinay Sajip2006-02-091-19/+34
|
* Port relevant patches for SF 1409455 to the trunk for email 3.0/Python 2.5.Barry Warsaw2006-02-085-8/+20
| | | | Will port to Python 2.4.
* Added the cProfile module.Armin Rigo2006-02-086-66/+554
| | | | | | | | | | | | | | | | | | | | | | | Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter. With further editing by Michael Hudson and myself. History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof * Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper. * pstats.py updated to display cProfile's caller/callee timings if available. * setup.py and NEWS updated. * documentation updates in the profiler section: - explain the differences between the three profilers that we have now - profile and cProfile can use a unified documentation, like (c)Pickle - mention that hotshot is "for specialized usage" now - removed references to the "old profiler" that no longer exists * test updates: - extended test_profile to cover delicate cases like recursion - added tests for the caller/callee displays - added test_cProfile, performing the same tests for cProfile * TO-DO: - cProfile gives a nicer name to built-in, particularly built-in methods, which could be backported to profile. - not tested on Windows recently!
* Removed defensive test in Handler.closeVinay Sajip2006-02-071-4/+3
|
* Saved and restored logging._handlerList at the same time as saving/restoring ↵Vinay Sajip2006-02-071-0/+4
| | | | logging._handlers.
* Patch #1412872: zipfile: use correct system type on unixy systems.Martin v. Löwis2006-02-051-2/+6
|
* Get test_logging to not hang when running under regrtest.py -R ::Neal Norwitz2006-02-052-5/+6
| | | | | | | | | | | | | | Not sure why/how _handlers/_handlerList is out of sync. This could indicate a deeper problem. In test_logging, the only absolutely necessary change to get working was tcpserver.abort = 1. But we don't want to wait infinitely to join the threads, so give a 2.0 second timeout. There doesn't appear to be a need for a local abort variable in serve_until_stopped, so just use the instance member. Note the problem is only on HEAD, not in 2.4.
* Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the sameNeal Norwitz2006-02-052-2/+13
| | | | | | | | | | | on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
* Resolves SF bug #1423972.Barry Warsaw2006-02-041-2/+4
|
* Fix typoNeal Norwitz2006-02-041-1/+1
|
* parsedate_tz(): Minor cleanup.Barry Warsaw2006-02-032-3/+11
| | | | | Port from Python 2.3/email 2.5: Add a test for the tm_yday field is 1 in the return of parsedate().
* Patch #1413711: Certain patterns of differences were making difflibGustavo Niemeyer2006-01-312-17/+31
| | | | | touch the recursion limit. The applied patch inlines the recursive __helper method in a non-recursive way.
* fix test import for use in standalone pybsddb project bsddb3 module as wellGregory P. Smith2006-01-291-1/+6
| | | | as python builtin bsddb.
* Whitespace normalization.Tim Peters2006-01-291-1/+1
|
* Try a number of ports, in case 9020 is already in use.Martin v. Löwis2006-01-291-3/+14
|