summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15020: The program name used to search for Python's path is now ↵Antoine Pitrou2012-07-051-0/+4
| | | | "python3" under Unix, not "python".
* don't leak if the __class__ closure is setBenjamin Peterson2012-06-021-4/+2
|
* Issue #14761: Fix potential leak on an error case in the import machinery.Antoine Pitrou2012-05-091-1/+2
|
* Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.Larry Hastings2012-05-081-0/+1
|
* mangle keyword-only argname when loading defaults (closes #14607)Benjamin Peterson2012-04-171-1/+5
|
* move outside WITH_THREAD conditionalBenjamin Peterson2012-04-131-2/+2
|
* take linkage def outside of WITH_THREAD conditional (closes #14569)Benjamin Peterson2012-04-131-4/+3
|
* fix parse_syntax_error to clean up its resourcesBenjamin Peterson2012-04-031-20/+31
|
* Fix typo when "PyObject*" was changed to "identifier"Kristján Valur Jónsson2012-03-231-1/+1
|
* this should technicaly be identifierBenjamin Peterson2012-03-221-1/+1
|
* check for NULLBenjamin Peterson2012-03-221-1/+2
|
* check by equality for __future__ not identity (closes #14378)Benjamin Peterson2012-03-221-8/+2
|
* Fixes Issue #14331: Use significantly less stack space when importing modules byGregory P. Smith2012-03-181-39/+127
| | | | allocating path buffers on the heap instead of the stack.
* Issue #14184: Increase the default stack size for secondary threads onNed Deily2012-03-131-8/+12
| | | | Mac OS X to prevent interpreter crashes when compiled on 10.7.
* kill this disabled codeBenjamin Peterson2012-03-121-6/+0
|
* use correct naming conventionBenjamin Peterson2012-03-121-2/+2
|
* Issue #14177: marshal.loads() now raises TypeError when given an unicode string.Antoine Pitrou2012-03-031-4/+4
| | | | Patch by Guilherme Gonçalves.
* Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-4/+4
| | | | (other than a bytes object).
* Issue #14084: Fix a file descriptor leak when importing a module with a bad ↵Antoine Pitrou2012-02-221-1/+3
| | | | encoding.
* In find_module(), do not silence fileno() and dup() errors.Antoine Pitrou2012-02-221-0/+2
|
* Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-212-2/+10
| | | | earliest point.
* merge 3.2Benjamin Peterson2012-02-211-4/+8
|\
| * ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-4/+8
| |
| * Fix typo in conditional.Georg Brandl2012-02-201-1/+1
| |
* | Fix typo in conditional.Georg Brandl2012-02-201-1/+1
| |
* | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-203-2/+314
|\ \ | |/ | | | | | | | | | | | | | | 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-203-2/+314
| | | | | | | | | | | | | | | | | | 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.
* | Document absoluteness of sys.executablePetri Lehtinen2012-02-021-1/+1
| | | | | | | | Closes #13402.
* | Port import fixes from 2.7.Antoine Pitrou2012-01-251-10/+10
| |
* | Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou2012-01-241-7/+4
| | | | | | | | modification time doesn't fit in a 32-bit timestamp.
* | Issue #13722: Avoid silencing ImportErrors when initializing the codecs ↵Antoine Pitrou2012-01-181-9/+0
| | | | | | | | registry.
* | Fix the builtin module initialization code to store the init function for ↵Antoine Pitrou2012-01-181-0/+4
| | | | | | | | future reinitialization.
* | Fix a memory leak when initializing the standard I/O streams.Antoine Pitrou2012-01-181-1/+2
| |
* | Issue #13629: Renumber the tokens in token.h to match the ↵Meador Inge2012-01-161-15/+15
| | | | | | | | _PyParser_TokenNames indexes.
* | fold into one if statementBenjamin Peterson2012-01-121-3/+1
| |
* | fix formattingBenjamin Peterson2012-01-031-1/+1
| |
* | add another year to glorious PSF IPBenjamin Peterson2012-01-011-1/+1
| |
* | Remove obsolete py3k comment.Florent Xicluna2011-12-091-1/+0
| |
* | Issue #7111: Python can now be run without a stdin, stdout or stderr stream.Antoine Pitrou2011-11-281-15/+16
| | | | | | | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object).
* | Issue #13444: When stdout has been closed explicitly, we should not attempt ↵Antoine Pitrou2011-11-261-2/+18
| | | | | | | | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue.
* | Issue #13436: commit regenerated Python-ast.cAmaury Forgeot d'Arc2011-11-221-5/+1
| |
* | Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with theCharles-François Natali2011-11-221-4/+5
| | | | | | | | | | | | TLS key only if the thread that called fork() had an associated auto thread state (this might not be the case for example for a thread created outside of Python calling into a subinterpreter).
* | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicodeAntoine Pitrou2011-11-051-42/+41
| | | | | | | | error handler in interactive mode (when calling into PyOS_Readline()).
* | Issue #13343: Fix a SystemError when a lambda expression uses a globalAmaury Forgeot d'Arc2011-11-041-0/+3
| | | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None)
* | Add signatures to the docstring of functions added to imp by PEP 3147Éric Araujo2011-11-031-2/+4
| |
* | Issue #10363: Deallocate global locks in Py_Finalize().Antoine Pitrou2011-10-302-10/+21
| |
* | Remove unused variable.Florent Xicluna2011-10-281-2/+1
| |
* | Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵Nick Coghlan2011-10-231-2/+28
| | | | | | | | metaclass inheritance. Patch by Daniel Urban.
* | Issue #7732: Don't open a directory as a file anymore while importing aVictor Stinner2011-09-231-1/+8
| | | | | | | | | | module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead.
* | - Issue #13021: Missing decref on an error path. Thanks to Suman Saha forBarry Warsaw2011-09-201-1/+3
| | | | | | | | finding the bug and providing a patch.