summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Branch mergeÉric Araujo2011-05-291-6/+10
|\
| * Merge doc touch-ups and fixes for #9831 and #9223 from 3.1Éric Araujo2011-05-281-6/+10
| |\
| | * Fix test_build_py when sys.dont_write_bytecode is true (#9831).Éric Araujo2011-05-281-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | The tests now pass all combinations of -O/-OO and -B. See also #7071 and #6292 for previous variations on the same theme. test_versionpredicate needs a skip when sys.flags.optimize is true, but I don’t know how to make that work with a DocTestSuite.
* | | Fix ProcessTestCasePOSIXPurePython to test the module from import whenGregory P. Smith2011-05-281-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _posixsubprocess doesn't exist rather than simply stubbing it out after the fact. This adds coverage for the RuntimeWarning as well as using the pure python _create_pipe instead of using _posixsubprocess.cloexec_pipe unintentionally with the pure python code. Ironically: I don't think any platform should ever actually _use_ the pure Python subprocess code on POSIX platforms anymore. This at least tests it properly in this stable branch. The pure python code for this is likely to be removed in 3.3.
* | | Issue #985064: Make plistlib more resilient to faulty input plists.Ned Deily2011-05-282-22/+63
|\ \ \ | | | | | | | | | | | | Patch by Mher Movsisyan.
| * | | Issue #985064: Make plistlib more resilient to faulty input plists.Ned Deily2011-05-282-22/+63
| | | | | | | | | | | | | | | | Patch by Mher Movsisyan.
* | | | Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-0/+32
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren)
| * | Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-0/+31
| |/ | | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren)
| * Branch mergeÉric Araujo2011-05-262-2/+2
| |\
* | \ Branch mergeÉric Araujo2011-05-262-2/+2
|\ \ \
| * \ \ Merge 3.1Éric Araujo2011-05-252-2/+2
| |\ \ \ | | | |/ | | |/|
| | * | Branch mergeÉric Araujo2011-05-252-2/+2
| | |\ \
| | | * | Fix display of html.parser.HTMLParser.feed docstringÉric Araujo2011-05-041-1/+1
| | | | |
| | | * | Add missing name in pkgutil.__all__Éric Araujo2011-05-021-1/+1
| | | | |
* | | | | (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()Victor Stinner2011-05-252-3/+10
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | returns None.
| * | | | Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-252-3/+10
| | | | |
* | | | | (Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead ofVictor Stinner2011-05-251-0/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | an IOError if the file is closed.
| * | | | Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError ifVictor Stinner2011-05-251-0/+2
| | | | | | | | | | | | | | | | | | | | the file is closed.
* | | | | (Merge 3.1) Issue #12057: Add tests for the HZ encodingVictor Stinner2011-05-243-0/+33
|\ \ \ \ \ | |/ / / /
| * | | | Issue #12057: Add tests for the HZ encodingVictor Stinner2011-05-243-0/+33
| | | | |
* | | | | Issue #12070: Fix the Makefile parser of the sysconfig module to handleVictor Stinner2011-05-242-12/+28
| | | | | | | | | | | | | | | | | | | | correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
* | | | | (Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs atVictor Stinner2011-05-241-0/+30
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | each call to their encode() method anymore, but continue to call the reset() method if the final argument is True.
| * | | | Issue #12100: Don't reset incremental encoders of CJK codecs at each call toVictor Stinner2011-05-241-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True.
* | | | | merge 3.1Benjamin Peterson2011-05-241-2/+0
|\ \ \ \ \ | |/ / / /
| * | | | backout 8b384de4e780, so a proper fix can be considered (#5715)Benjamin Peterson2011-05-241-2/+0
| | | | |
* | | | | merge 3.1Benjamin Peterson2011-05-241-1/+2
|\ \ \ \ \ | |/ / / /
| * | | | generally, sockets should be closed after they're usedBenjamin Peterson2011-05-241-1/+2
| | | | |
* | | | | Issue #5715: In socketserver, close the server socket in the child process.Charles-François Natali2011-05-241-1/+1
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Issue #5715: In socketserver, close the server socket in the child process.Charles-François Natali2011-05-241-1/+1
| |/ /
* | | #12074: remove the /0 when there are no failures.Ezio Melotti2011-05-231-2/+4
| | |
* | | merge headsBenjamin Peterson2011-05-231-5/+6
|\ \ \
| * | | Issue #12074: regrtest displays also the current number of failuresVictor Stinner2011-05-231-5/+6
| | | |
* | | | merge 3.1Benjamin Peterson2011-05-231-0/+1
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | correctly lookup __dir__Benjamin Peterson2011-05-231-0/+1
| | |
* | | Merge 3.1Victor Stinner2011-05-231-7/+6
|\ \ \ | |/ /
| * | test_codecs now removes the temporay file (created by the test)Victor Stinner2011-05-231-7/+6
| | |
| * | Issue #10801: Remove a debug print() from test_zipfileVictor Stinner2011-05-221-1/+0
| | |
* | | Issue #12138: fix use of transient_internet() in test_urllibnetAntoine Pitrou2011-05-221-77/+62
| | |
* | | Merge release branch after 3.2.1rc1.Georg Brandl2011-05-213-5/+5
|\ \ \
| * | | Bump to 3.2.1rc1.v3.2.1rc1Georg Brandl2011-05-152-2/+2
| | | |
| * | | Update pydoc topics and handle suspicious markup.Georg Brandl2011-05-151-3/+3
| | | |
* | | | test_pydoc: skip PydocServerTest if thread support is disabledVictor Stinner2011-05-201-0/+6
| | | |
* | | | (Merge 3.1) Issue #12124: zipimport doesn't keep a reference toVictor Stinner2011-05-191-17/+0
|\ \ \ \ | | |/ / | |/| | | | | | zlib.decompress() anymore to be able to unload the module.
| * | | Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-191-17/+0
| | | | | | | | | | | | | | | | to be able to unload the module.
| * | | Ooops, add the missing file of the backport of commit 33543b4e0e5d from PythonVictor Stinner2011-05-181-0/+0
| | | | | | | | | | | | | | | | | | | | 3.2 (#10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.)
| * | | Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, supportVictor Stinner2011-05-182-4/+33
| | | | | | | | | | | | | | | | | | | | different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.
* | | | Issue #12065: connect_ex() on an SSL socket now returns the original errnoAntoine Pitrou2011-05-182-11/+30
| | | | | | | | | | | | | | | | when the socket's timeout expires (it used to return None).
* | | | Issue #12096: Fix a race condition in test_threading.test_waitfor(). PatchVictor Stinner2011-05-171-1/+1
| | | | | | | | | | | | | | | | written by Charles-François Natali.
* | | | Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5Ronald Oussoren2011-05-171-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch IDLE will crash reliably on OSX when Tkinter is linked to TkCocoa 8.5.x. To reproduce: * Create a new file (script.py) with the following two lines: x = input('prompt: ') print(x) * Save the script * Run the script using the F5 keyboard shortcut (running from the menu works fine) The patch is a fairly crude hack, but we haven't found a better workaround for this Tk bug yet.
* | | | (merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to ↵Ronald Oussoren2011-05-171-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | "UTF-8" instead of "UTF8" On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale while "en_US.UTF8" is not. As the former works on Linux as well it is better to normalize to that value.