summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-2015-47/+200
|\ \ | |/ | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-2013-39/+184
| | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | Test for issue #13500Jesus Cea2012-02-191-0/+29
| |
* | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-182-7/+12
|\ \ | |/ | | | | upon malformed POST request.
| * Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-1/+4
| | | | | | | | upon malformed POST request.
| * Revert fix for #13807 mistakenly applied in this branch.Vinay Sajip2012-02-031-1/+1
| |
* | Fix a variable scoping error in an sqlite3 testPetri Lehtinen2012-02-171-0/+1
| | | | | | | | Closes #11689.
* | Issue #13878: Fix random test_sched failures.Charles-François Natali2012-02-161-8/+9
| |
* | don't use assertSameElements.Gregory P. Smith2012-02-161-1/+1
| |
* | Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.Gregory P. Smith2012-02-162-6/+101
| |
* | Issue #13913: Another fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-2/+2
| |
* | Issue #13913: Fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-1/+1
| |
* | Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body().Antoine Pitrou2012-02-151-0/+40
| | | | | | | | Patch by Hynek Schlawack.
* | Fix test failure for shared builds caused by #1326113 fixÉric Araujo2012-02-151-1/+2
| |
* | Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-152-8/+7
| |
* | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵Antoine Pitrou2012-02-142-7/+65
| | | | | | | | | | | | sending MODE READER, and only sends it if not already in READER mode. Patch by Hynek Schlawack.
* | Issue #13979: Fix ctypes.util.find_library ldconfig regexMeador Inge2012-02-141-18/+1
| |
* | import re for the previous commit.Gregory P. Smith2012-02-141-0/+1
| |
* | re.escape os.sep so that \ is interpreted properly in the regex.Gregory P. Smith2012-02-141-2/+3
| |
* | Issue #13930: fix a / to use os.sep so that the test works on Windows.Gregory P. Smith2012-02-141-2/+4
| |
* | Fix an index and clean up comments.Ezio Melotti2012-02-132-2/+2
| |
* | Improve handling of declarations in HTMLParser.Ezio Melotti2012-02-132-29/+51
| |
* | Fix htmlparser tests to always use the right collector.Ezio Melotti2012-02-131-2/+26
| |
* | #13993: HTMLParser is now able to handle broken end tags when strict=False.Ezio Melotti2012-02-132-17/+68
| |
* | fix whitespace normalization before pushing.Gregory P. Smith2012-02-121-5/+5
| |
* | Issue #13930: Adds ability for 2to3 to write its output to a differentGregory P. Smith2012-02-124-14/+233
| | | | | | | | | | | | | | | | | | directory tree instead of overwriting the input files. Adds three command line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix. Feature backports into stable release branches for 2to3 are allowed by a special exemption: http://mail.python.org/pipermail/python-dev/2011-December/115089.html
* | Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotesPetri Lehtinen2012-02-122-22/+36
| | | | | | | | Closes #9750
* | Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵Antoine Pitrou2012-02-122-6/+61
| | | | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack.
* | Fix distutils.filelist.FileList under Windows (#13193).Éric Araujo2012-02-121-4/+2
| | | | | | | | | | | | | | | | The code used to call os.path.join to build a regex but without escaping the backslash, which lead to test failures on Windows. Antoine Pitrou fixed it in 0a94e2f807c7 by enhancing the code to accept both / and \, with proper escaping, but in my opinion this goes against the distutils feature freeze, hence this change.
* | Issue #13989: Document that GzipFile does not support text mode.Nadeem Vawda2012-02-111-4/+7
| | | | | | | | Also, give a more helpful error message when opened with an invalid mode string.
* | Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, buildingNed Deily2012-02-101-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Distutils-based packages with C extension modules may fail because Apple has removed gcc-4.2, the version used to build python.org 64-bit/32-bit Pythons. If the user does not explicitly override the default C compiler by setting the CC environment variable, Distutils will now attempt to compile extension modules with clang if gcc-4.2 is required but not found. Also as a convenience, if the user does explicitly set CC, substitute its value as the default compiler in the Distutils LDSHARED configuration variable for OS X. (Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u SDK, neither of which are available in Xcode 4. This change does not attempt to override settings to support their use with Xcode 4.)
* | #13960: HTMLParser is now able to handle broken comments when strict=False.Ezio Melotti2012-02-102-1/+54
| |
* | Skip test_threading.test_reinit_tls_after_fork() on platforms where fork()Charles-François Natali2012-02-081-0/+1
| | | | | | | | can't be called reliably from a worker thread.
* | Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Petri Lehtinen2012-02-061-0/+22
| | | | | | | | ProgrammingError now.
* | Issue #10881: Fix test_site failure with OS X framework builds.Ned Deily2012-02-051-10/+13
| |
* | Issue 964437 Make IDLE help window non-modal.Terry Jan Reedy2012-02-052-11/+64
| | | | | | | | Patch by Guilherme Polo and Roger Serwy.
* | #13933 refine patch using 'new' builtinTerry Jan Reedy2012-02-051-4/+2
| |
* | Branch mergeÉric Araujo2012-02-053-1/+21
|\ \
| * | Really make bztar support in shutil conditional.Éric Araujo2012-02-051-1/+0
| | | | | | | | | | | | | | | This dict entry is added a few lines after if the bzip2 module is available, but removing this line was forgotten.
| * | Stop ignoring RPMs in distutils' upload command (#2945).Éric Araujo2012-01-152-0/+21
| | | | | | | | | | | | | | | | | | | | | Bug reported by Hartmut Goebel and patch contributed by Carl Robben. Carl tested the fix and we have a buildbot with rpm installed, so I’m committing even though I could not run this test (but I do understand the changed code :)
* | | Issue #12142: Fixed reference cycle when importing ctypesMeador Inge2012-02-051-1/+1
| | |
* | | Issue #13933: IDLE auto-complete did not work with some importedNed Deily2012-02-041-2/+2
| | | | | | | | | | | | module, like hashlib. (Patch by Roger Serwy)
* | | Fix failing test on big-endian machines (issue #13806).Antoine Pitrou2012-02-041-8/+23
| | |
* | | Issue #8184: Fix a potential file descriptor leak when aCharles-François Natali2012-02-041-4/+8
| | | | | | | | | | | | multiprocessing.Connection socket can't be bound.
* | | remove unused importBenjamin Peterson2012-02-041-1/+0
| | |
* | | Issue #13861: Prevent test_apropos* test case failures in test_pydoc.Ned Deily2012-02-031-2/+2
| | |
* | | Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.Ned Deily2012-02-031-2/+8
| | |
* | | Merge.Charles-François Natali2012-02-021-0/+23
|\ \ \
| * | | Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fixCharles-François Natali2012-02-021-0/+23
| | | | | | | | | | | | | | | | | | | | a random deadlock when fork() is called in a multithreaded process in debug mode, and make PyOS_AfterFork() more robust.
* | | | Document absoluteness of sys.executablePetri Lehtinen2012-02-021-0/+3
|/ / / | | | | | | | | | Closes #13402.