Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.2 | Benjamin Peterson | 2011-06-21 | 1 | -6/+6 |
|\ | |||||
| * | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -6/+6 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
| | | |||||
* | | call_find_module() handles dup() failure: raise an OSError exception | Victor Stinner | 2011-06-20 | 1 | -0/+4 |
| | | |||||
* | | find_module_path_list() fails if _Py_fopen() failed and raised an exception | Victor Stinner | 2011-06-20 | 1 | -0/+4 |
| | | | | | | | | (UnicodeEncodeError). | ||||
* | | bump magic for super closure change | Benjamin Peterson | 2011-06-20 | 1 | -1/+2 |
| | | |||||
* | | use a invalid name for the __class__ closure for super() (closes #12370) | Benjamin Peterson | 2011-06-20 | 2 | -9/+12 |
| | | | | | | | | | | This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4) | ||||
* | | Removed a Windows 9x trick used before LoadLibraryExW. | Brian Curtin | 2011-06-09 | 1 | -17/+8 |
| | | | | | | | | | | Windows 9x has long been unsupported and the result of GetFullPathName was not even being used in the first place. | ||||
* | | greatly improve argument parsing error messages (closes #12265) | Benjamin Peterson | 2011-06-06 | 1 | -137/+166 |
| | | |||||
* | | some horrible preprocessing tricks to automatically update the tag | Benjamin Peterson | 2011-06-03 | 1 | -2/+10 |
| | | |||||
* | | bump ast version | Benjamin Peterson | 2011-05-29 | 1 | -2/+2 |
| | | |||||
* | | unify TryExcept and TryFinally (closes #12199) | Benjamin Peterson | 2011-05-29 | 4 | -137/+64 |
| | | |||||
* | | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+12 |
|\ \ | |/ | | | | | | | | | 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 on | Ned Deily | 2011-05-28 | 1 | -0/+12 |
| |\ | | | | | | | | | | | | | | | | 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 on | Ned Deily | 2011-05-28 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
* | | | merge 3.2 | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | fix spacing | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2011-05-27 | 1 | -51/+51 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-05-27 | 1 | -51/+51 |
| |\ \ | | |/ | |||||
| | * | fix indentation | Benjamin Peterson | 2011-05-27 | 1 | -50/+50 |
| | | | |||||
* | | | bump ast version | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
| | | | |||||
* | | | reflect with statements with multiple items in the AST (closes #12106) | Benjamin Peterson | 2011-05-27 | 4 | -79/+162 |
| | | | |||||
* | | | Revert my commit 7ba176c2f558: "Avoid useless "++" at the end of functions | Victor Stinner | 2011-05-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Warnings found by the Clang Static Analyzer." Most people prefer ++ at the end of functions. | ||||
* | | | try to use the same str object for all code filenames when compiling or ↵ | Benjamin Peterson | 2011-05-27 | 2 | -18/+28 |
| | | | | | | | | | | | | | | | | | | unmarshalling (#12190) This should reduce memory usage. | ||||
* | | | remove unused string WILFE attribute | Benjamin Peterson | 2011-05-27 | 1 | -16/+0 |
| | | | |||||
* | | | print_exception(): handle correctly PyObject_GetAttrString() failure | Victor Stinner | 2011-05-26 | 1 | -1/+1 |
| | | | | | | | | | | | | Bug found by the Clang Static Analyzer. | ||||
* | | | Avoid useless "++" at the end of functions | Victor Stinner | 2011-05-26 | 1 | -3/+3 |
| | | | | | | | | | | | | Warnings found by the Clang Static Analyzer. | ||||
* | | | Remove useless assignments | Victor Stinner | 2011-05-26 | 1 | -4/+0 |
| | | | | | | | | | | | | Warnings found by the the Clang Static Analyzer. | ||||
* | | | make PyImport_ImportModuleLevel's first arg const like similiar functions ↵ | Benjamin Peterson | 2011-05-25 | 1 | -1/+1 |
| | | | | | | | | | | | | (closes #12173) | ||||
* | | | (Merge 3.2) Issue #11614: import __hello__ prints "Hello World!". Patch written | Victor Stinner | 2011-05-16 | 1 | -8/+11 |
|\ \ \ | |/ / | | | | | | | by Andreas Stührk. | ||||
| * | | (Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch written | Victor Stinner | 2011-05-16 | 1 | -8/+11 |
| |\ \ | | |/ | | | | | | | by Andreas Stührk. | ||||
| | * | Issue #11614: import __hello__ prints "Hello World!". Patch written by Andreas | Victor Stinner | 2011-05-16 | 1 | -8/+11 |
| | | | | | | | | | | | | Stührk. | ||||
* | | | Merge #6498 fix from 3.2. | Georg Brandl | 2011-05-15 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge #6498 fix from 3.1. | Georg Brandl | 2011-05-15 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Closes #6498: fix several misspellings of "SystemExit" as "SystemError". | Georg Brandl | 2011-05-15 | 1 | -1/+1 |
| | | | |||||
* | | | _PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII | Victor Stinner | 2011-05-07 | 1 | -15/+25 |
| | | | | | | | | | | | | | | | | | | The name must be encodable to ASCII because dynamic module must have a function called "PyInit_NAME", they are written in C, and the C language doesn't accept non-ASCII identifiers. | ||||
* | | | faulthandler: dump all threads by default | Victor Stinner | 2011-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set the default value of all_threads arguments to True * Py_FatalError() dumps all threads, instead of only the current thread Dump only the current thread is not reliable. In some cases, Python is unable to retrieve the state of the current thread and so is unable to dump the traceback. faulthandler keeps a reference to the interpreter and so is always able to dump the traceback of all threads. | ||||
* | | | Issue #1856: Avoid crashes and lockups when daemon threads run while the | Antoine Pitrou | 2011-05-04 | 3 | -6/+19 |
|\ \ \ | |/ / | | | | | | | | | | interpreter is shutting down; instead, these threads are now killed when they try to take the GIL. | ||||
| * | | Issue #1856: Avoid crashes and lockups when daemon threads run while the | Antoine Pitrou | 2011-05-04 | 3 | -6/+19 |
| | | | | | | | | | | | | | | | interpreter is shutting down; instead, these threads are now killed when they try to take the GIL. | ||||
| * | | Issue #10914: Initialize correctly the filesystem codec when creating a new | Victor Stinner | 2011-04-26 | 2 | -8/+16 |
| | | | | | | | | | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure. | ||||
| * | | Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0) | Victor Stinner | 2011-04-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | ... instead of PyErr_Print() because we don't need to set sys attributes, the sys module is destroyed just after printing the error. | ||||
* | | | Issue #11223: Replace threading._info() by sys.thread_info | Victor Stinner | 2011-04-30 | 2 | -38/+69 |
| | | | |||||
* | | | Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* | Antoine Pitrou | 2011-04-27 | 1 | -0/+17 |
|\ \ \ | |/ / | | | | | | | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali. | ||||
| * | | Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* | Antoine Pitrou | 2011-04-27 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali. | ||||
| * | | MERGE: Up-port changeset 5cf8f6da8743 (closes #11890) | Jesus Cea | 2011-04-20 | 1 | -56/+4 |
| |\ \ | | |/ | |||||
| | * | Up-port changeset 5cf8f6da8743 (closes #11890) | Jesus Cea | 2011-04-20 | 1 | -56/+4 |
| | | | |||||
* | | | Issue #10914: Initialize correctly the filesystem codec when creating a new | Victor Stinner | 2011-04-26 | 2 | -8/+16 |
| | | | | | | | | | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure. | ||||
* | | | Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0) | Victor Stinner | 2011-04-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | ... instead of PyErr_Print() because we don't need to set sys attributes, the sys module is destroyed just after printing the error. |