Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 2 | -0/+34 |
|\ | |||||
| * | Fix typo. | Georg Brandl | 2012-02-20 | 1 | -1/+1 |
| | | |||||
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 2 | -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 Brandl | 2012-02-20 | 2 | -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 Pitrou | 2012-02-20 | 1 | -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 Pitrou | 2012-02-20 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | unicode strings. Patch by Catalin Iacob. | ||||
* | | | add generic implementation of a __dict__ descriptor for C types | Benjamin Peterson | 2012-02-20 | 1 | -0/+4 |
| | | | |||||
* | | | Issue #14043: Speed up importlib's _FileFinder by at least 8x, and add a new ↵ | Antoine Pitrou | 2012-02-20 | 1 | -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 Peterson | 2012-02-19 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer | Charles-François Natali | 2012-02-18 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | upon malformed POST request. | ||||
| * | | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer | Charles-François Natali | 2012-02-18 | 1 | -0/+3 |
| |\ \ | | |/ | | | | | | | upon malformed POST request. | ||||
| | * | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer | Charles-François Natali | 2012-02-18 | 1 | -0/+3 |
| | | | | | | | | | | | | upon malformed POST request. | ||||
* | | | Merge branch '3.2' | Petri Lehtinen | 2012-02-17 | 1 | -0/+2 |
|\ \ \ | |/ / | | | | | | | Closes #11689. | ||||
| * | | Fix a variable scoping error in an sqlite3 test | Petri Lehtinen | 2012-02-17 | 1 | -0/+2 |
| | | | | | | | | | | | | Closes #11689. | ||||
* | | | Have importlib use os.replace() for atomic renaming. | Brett Cannon | 2012-02-17 | 1 | -0/+2 |
| | | | | | | | | | | | | Closes issue #13961. Thanks to Charles-François Natali for the patch. | ||||
* | | | Merge | Brett Cannon | 2012-02-16 | 1 | -2/+2 |
|\ \ \ | |||||
| * \ \ | Merge branch '3.2' | Petri Lehtinen | 2012-02-16 | 1 | -2/+2 |
| |\ \ \ | | |/ / | | | | | | | | | Closes #13995. | ||||
| | * | | sqlite3: Fix documentation errors concerning Cursor.rowcount | Petri Lehtinen | 2012-02-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Closes #13995. | ||||
* | | | | importlib.__import__() now raises ValueError when level < 0. | Brett Cannon | 2012-02-16 | 1 | -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. Smith | 2012-02-16 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | NEWS entry for previous commit. | Gregory P. Smith | 2012-02-16 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert(). | Antoine Pitrou | 2012-02-15 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert(). | Antoine Pitrou | 2012-02-15 | 1 | -0/+2 |
| | | | |||||
* | | | Merge branch '3.2' | Petri Lehtinen | 2012-02-15 | 2 | -0/+4 |
|\ \ \ | |/ / | | | | | | | Issue #13491. | ||||
| * | | Issue #13491: Fix many errors in sqlite3 documentation | Petri Lehtinen | 2012-02-15 | 2 | -0/+4 |
| | | | | | | | | | | | | Initial patch by Johannes Vogel. | ||||
* | | | Fix parsing of packaging’s build_ext --libraries option (#1326113) | Éric Araujo | 2012-02-15 | 1 | -2/+3 |
| | | | |||||
* | | | Merge fixes for #1326113 and #12297 from 3.2 | Éric Araujo | 2012-02-15 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Fix parsing of build_ext --libraries option (#1326113) | Éric Araujo | 2012-02-15 | 1 | -0/+3 |
| | | | |||||
* | | | Move NEWS entry to correct section. | Antoine Pitrou | 2012-02-15 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #13020: Fix a reference leak when allocating a structsequence object ↵ | Antoine Pitrou | 2012-02-15 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | | | | | | | fails. Patch by Suman Saha. | ||||
| * | | Issue #13020: Fix a reference leak when allocating a structsequence object ↵ | Antoine Pitrou | 2012-02-15 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | fails. Patch by Suman Saha. | ||||
* | | | Issue #13015: Fix a possible reference leak in defaultdict.__repr__. | Antoine Pitrou | 2012-02-15 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | Patch by Suman Saha. | ||||
| * | | Issue #13015: Fix a possible reference leak in defaultdict.__repr__. | Antoine Pitrou | 2012-02-15 | 1 | -0/+3 |
| | | | | | | | | | | | | Patch by Suman Saha. | ||||
* | | | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵ | Antoine Pitrou | 2012-02-14 | 1 | -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 Pitrou | 2012-02-14 | 1 | -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 regex | Meador Inge | 2012-02-14 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #13988: cElementTree is deprecated and the _elementtree accelerator is ↵ | Florent Xicluna | 2012-02-13 | 1 | -0/+3 |
| | | | | | | | | | | | | automatically used whenever available. | ||||
* | | | #13993: merge with 3.2. | Ezio Melotti | 2012-02-13 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | #13993: HTMLParser is now able to handle broken end tags when strict=False. | Ezio Melotti | 2012-02-13 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #13930: Adds ability for 2to3 to write its output to a different | Gregory P. Smith | 2012-02-12 | 1 | -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 different | Gregory P. Smith | 2012-02-12 | 1 | -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 Lehtinen | 2012-02-12 | 2 | -0/+5 |
|\ \ \ | |/ / | | | | | | | Closes #9750 | ||||
| * | | Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes | Petri Lehtinen | 2012-02-12 | 2 | -0/+5 |
| | | | | | | | | | | | | Closes #9750 | ||||
* | | | Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵ | Antoine Pitrou | 2012-02-12 | 1 | -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 Pitrou | 2012-02-12 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack. | ||||
* | | | Port the fix for #13193 to packaging | Éric Araujo | 2012-02-12 | 1 | -1/+2 |
| | | | |||||
* | | | Merge fixes for #13193 and FAQ from 3.2 | Éric Araujo | 2012-02-12 | 1 | -3/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix distutils.filelist.FileList under Windows (#13193). | Éric Araujo | 2012-02-12 | 1 | -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 Vawda | 2012-02-11 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #13989: Document that GzipFile does not support text mode. | Nadeem Vawda | 2012-02-11 | 1 | -0/+3 |
| | | | | | | | | | | | | Also, give a more helpful error message when opened with an invalid mode string. |