summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix nonsensical name.Éric Araujo2011-05-311-28/+28
| | | | | | | The code used “long” to refer to a long option (e.g. --quiet), which was probably changed by 2to3 and not caught by the human operator, and then changed to “integer” by me to avoid shadowing without seeing the real obvious fix.
* Fix test name in debug messageÉric Araujo2011-05-311-2/+2
|
* displaying the faulty project name is a good ideaTarek Ziade2011-05-301-6/+8
|
* removed spurious outputTarek Ziade2011-05-301-1/+7
|
* Cleaned up the installer output behavior.Tarek Ziade2011-05-306-67/+86
| | | | | | This change also makes sure the logger handlers are not alterated after an installation. That also fixes the remaining environment alteration issue in test_packaging.
* cleanup packaging.databaseTarek Ziade2011-05-302-7/+4
|
* a resource module for 2 functions is overkill. database is the right place ↵Tarek Ziade2011-05-304-195/+171
| | | | for those
* Simplify line-oriented tests in test_bz2.Nadeem Vawda2011-05-301-14/+7
|
* Issue #1625: Add stream ordering test to test_bz2.Nadeem Vawda2011-05-291-0/+11
|
* Remove unused data from test_bz2.Nadeem Vawda2011-05-291-13/+6
| | | | | DATA_CRLF was used to test BZ2File's universal newline logic, which was removed in changeset ce63a5dcb0af. The tests themselves were removed in fbabdb0d7dd2.
* Miscellaneous cleanups to bz2 and test_bz2 following issue #1625.Nadeem Vawda2011-05-292-73/+22
| | | | | | | * In bz2.decompress(), concatenate partial results in a way that should be more friendly to other Python implementations * Remove redundant comments in test_bz2 * Use 'while True:' instead of 'while 1:'
* Issue #10736: Revert changeset de4d34a95603 as it causes failures withNed Deily2011-05-291-16/+4
| | | | old Apple-supplied Carbon Tk 8.4.
* Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9Ned Deily2011-05-291-4/+16
| | | | on Mac OS X. (Patch by Ronald Oussoren)
* Skip test_pipe2 on Linux kernels older than 2.6.27.Charles-François Natali2011-05-291-0/+4
|
* Issue #12196: Add pipe2() to the os module.Charles-François Natali2011-05-291-0/+25
|
* unify TryExcept and TryFinally (closes #12199)Benjamin Peterson2011-05-291-2/+2
|
* Branch mergeÉric Araujo2011-05-293-11/+17
|\
| * Port r86353 to packaging (#10359: “;” after function definition is ↵Éric Araujo2011-05-291-1/+1
| | | | | | | | invalid in ISO C)
| * Merge touch-ups and fixes for #9831 (+port fix to packaging) and #9223 from 3.2Éric Araujo2011-05-282-10/+16
| |\
| | * 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.
* | | | Issue #12196: Add PIPE_MAX_SIZE to test.support, constant larger than theCharles-François Natali2011-05-293-9/+13
| | | | | | | | | | | | | | | | underlying OS pipe buffer size.
* | | | follow on to the last commit, remove the final POSIXPurePythonTestCaseGregory P. Smith2011-05-281-1/+0
| | | | | | | | | | | | | | | | | | | | reference. (the difference between running test_subprocess.py directly rather than via regrtest.py)
* | | | The _posixsubprocess module is now required on POSIX.Gregory P. Smith2011-05-282-182/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the pure Python POSIX subprocess implementation. If non-CPython VMs (are there any for 3.x yet?) were somehow depending on this, they already have the exact same set of problems with Python code being executed after os.fork() that _posixsubprocess was written to deal with. They should implement an equivalent outside of Python.
* | | | 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 #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/+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
| |\ \ \ \
* | | | | | add some with syntax examplesBenjamin Peterson2011-05-271-0/+5
| |_|_|_|/ |/| | | |
* | | | | Revert my commit 3555cf6f9c98: "Issue #8796: codecs.open() calls the builtinVictor Stinner2011-05-272-118/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | open() function instead of using StreamReaderWriter. Deprecate StreamReader, StreamWriter, StreamReaderWriter, StreamRecoder and EncodedFile() of the codec module. Use the builtin open() function or io.TextIOWrapper instead." "It has not been approved !" wrote Marc-Andre Lemburg.
* | | | | try to use the same str object for all code filenames when compiling or ↵Benjamin Peterson2011-05-272-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unmarshalling (#12190) This should reduce memory usage.
* | | | | Merge headsNadeem Vawda2011-05-272-15/+158
|\ \ \ \ \
| * | | | | Issue #1625: BZ2File and bz2.decompress() now support multi-stream files.Nadeem Vawda2011-05-262-15/+158
| | | | | | | | | | | | | | | | | | | | | | | | Initial patch by Nir Aides.
* | | | | | Issue #8796: codecs.open() calls the builtin open() function instead of usingVictor Stinner2011-05-262-59/+118
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | StreamReaderWriter. Deprecate StreamReader, StreamWriter, StreamReaderWriter, StreamRecoder and EncodedFile() of the codec module. Use the builtin open() function or io.TextIOWrapper instead.
* | | | | Branch mergeÉric Araujo2011-05-264-20/+8
|\ \ \ \ \
| * \ \ \ \ Merge 3.2Éric Araujo2011-05-252-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
| | | | | | |
| * | | | | | Minor cleanup in sysconfig.Éric Araujo2011-05-252-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove outdated and unhelpful docstrings in test_sysconfig.
* | | | | | | Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available.Victor Stinner2011-05-251-0/+6
| | | | | | |
* | | | | | | Issue #12180: Fixed a few remaining errors in test_packaging when no threading.Tarek Ziade2011-05-254-7/+36
| | | | | | |
* | | | | | | (Merge 3.2) Issue #12175: RawIOBase.readall() now returns None if read()Victor Stinner2011-05-252-3/+10
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | returns None.
| * | | | | | (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()Victor Stinner2011-05-252-3/+10
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | | | | | | | returns None.