summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-202-0/+34
|\
| * Fix typo.Georg Brandl2012-02-201-1/+1
| |
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-202-0/+34
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 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-202-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #14040: Remove rarely used file name suffixes for C extensions (under ↵Antoine Pitrou2012-02-201-0/+3
| | | | | | | | | | | | | | | | | | POSIX mainly). This will improve import performance a bit (especially under importlib).
* | | Issue #13641: Decoding functions in the base64 module now accept ASCII-only ↵Antoine Pitrou2012-02-201-0/+3
| | | | | | | | | | | | | | | | | | unicode strings. Patch by Catalin Iacob.
* | | add generic implementation of a __dict__ descriptor for C typesBenjamin Peterson2012-02-201-0/+4
| | |
* | | Issue #14043: Speed up importlib's _FileFinder by at least 8x, and add a new ↵Antoine Pitrou2012-02-201-0/+3
| | | | | | | | | | | | | | | | | | importlib.invalidate_caches() function. importlib is now often faster than imp.find_module() at finding modules.
* | | allow arbitrary attributes on classmethod and staticmethod (closes #14051)Benjamin Peterson2012-02-191-0/+3
| | |
* | | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-0/+3
|\ \ \ | |/ / | | | | | | upon malformed POST request.
| * | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-0/+3
| |\ \ | | |/ | | | | | | upon malformed POST request.
| | * Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-0/+3
| | | | | | | | | | | | upon malformed POST request.
* | | Merge branch '3.2'Petri Lehtinen2012-02-171-0/+2
|\ \ \ | |/ / | | | | | | Closes #11689.
| * | Fix a variable scoping error in an sqlite3 testPetri Lehtinen2012-02-171-0/+2
| | | | | | | | | | | | Closes #11689.
* | | Have importlib use os.replace() for atomic renaming.Brett Cannon2012-02-171-0/+2
| | | | | | | | | | | | Closes issue #13961. Thanks to Charles-François Natali for the patch.
* | | MergeBrett Cannon2012-02-161-2/+2
|\ \ \
| * \ \ Merge branch '3.2'Petri Lehtinen2012-02-161-2/+2
| |\ \ \ | | |/ / | | | | | | | | Closes #13995.
| | * | sqlite3: Fix documentation errors concerning Cursor.rowcountPetri Lehtinen2012-02-161-2/+2
| | | | | | | | | | | | | | | | Closes #13995.
* | | | importlib.__import__() now raises ValueError when level < 0.Brett Cannon2012-02-161-0/+3
|/ / / | | | | | | | | | | | | This is to bring it more in line with what PEP 328 set out to do with removing ambiguous absolute/relative import semantics.
* | | Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.Gregory P. Smith2012-02-161-0/+2
|\ \ \ | |/ /
| * | NEWS entry for previous commit.Gregory P. Smith2012-02-161-0/+2
| | |
* | | Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().Antoine Pitrou2012-02-151-0/+2
|\ \ \ | |/ /
| * | Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().Antoine Pitrou2012-02-151-0/+2
| | |
* | | Merge branch '3.2'Petri Lehtinen2012-02-152-0/+4
|\ \ \ | |/ / | | | | | | Issue #13491.
| * | Issue #13491: Fix many errors in sqlite3 documentationPetri Lehtinen2012-02-152-0/+4
| | | | | | | | | | | | Initial patch by Johannes Vogel.
* | | Fix parsing of packaging’s build_ext --libraries option (#1326113)Éric Araujo2012-02-151-2/+3
| | |
* | | Merge fixes for #1326113 and #12297 from 3.2Éric Araujo2012-02-151-0/+3
|\ \ \ | |/ /
| * | Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-151-0/+3
| | |
* | | Move NEWS entry to correct section.Antoine Pitrou2012-02-151-3/+3
| | |
* | | Issue #13020: Fix a reference leak when allocating a structsequence object ↵Antoine Pitrou2012-02-151-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | fails. Patch by Suman Saha.
| * | Issue #13020: Fix a reference leak when allocating a structsequence object ↵Antoine Pitrou2012-02-151-0/+3
| | | | | | | | | | | | | | | | | | fails. Patch by Suman Saha.
* | | Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-0/+3
|\ \ \ | |/ / | | | | | | Patch by Suman Saha.
| * | Issue #13015: Fix a possible reference leak in defaultdict.__repr__.Antoine Pitrou2012-02-151-0/+3
| | | | | | | | | | | | Patch by Suman Saha.
* | | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵Antoine Pitrou2012-02-141-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | sending MODE READER, and only sends it if not already in READER mode. Patch by Hynek Schlawack.
| * | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵Antoine Pitrou2012-02-141-0/+4
| | | | | | | | | | | | | | | | | | 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-0/+3
| | |
* | | Issue #13988: cElementTree is deprecated and the _elementtree accelerator is ↵Florent Xicluna2012-02-131-0/+3
| | | | | | | | | | | | automatically used whenever available.
* | | #13993: merge with 3.2.Ezio Melotti2012-02-131-0/+3
|\ \ \ | |/ /
| * | #13993: HTMLParser is now able to handle broken end tags when strict=False.Ezio Melotti2012-02-131-0/+3
| | |
* | | Issue #13930: Adds ability for 2to3 to write its output to a differentGregory P. Smith2012-02-121-0/+9
|\ \ \ | |/ / | | | | | | | | | directory tree instead of overwriting the input files. Adds three command line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.
| * | Issue #13930: Adds ability for 2to3 to write its output to a differentGregory P. Smith2012-02-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge branch '3.2'Petri Lehtinen2012-02-122-0/+5
|\ \ \ | |/ / | | | | | | Closes #9750
| * | Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotesPetri Lehtinen2012-02-122-0/+5
| | | | | | | | | | | | Closes #9750
* | | Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵Antoine Pitrou2012-02-121-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack.
| * | Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵Antoine Pitrou2012-02-121-0/+4
| | | | | | | | | | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack.
* | | Port the fix for #13193 to packagingÉric Araujo2012-02-121-1/+2
| | |
* | | Merge fixes for #13193 and FAQ from 3.2Éric Araujo2012-02-121-3/+1
|\ \ \ | |/ /
| * | Fix distutils.filelist.FileList under Windows (#13193).Éric Araujo2012-02-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge: #13989: Document that GzipFile does not support text mode.Nadeem Vawda2012-02-111-0/+3
|\ \ \ | |/ /
| * | Issue #13989: Document that GzipFile does not support text mode.Nadeem Vawda2012-02-111-0/+3
| | | | | | | | | | | | Also, give a more helpful error message when opened with an invalid mode string.