Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | | Issue #11223: fix compiler warnings | Victor Stinner | 2011-04-20 | 1 | -0/+3 |
| | | | |||||
* | | | Close #11619: write_compiled_module() doesn't encode the filename | Victor Stinner | 2011-04-20 | 1 | -2/+24 |
| | | | | | | | | | | | | | | | Reimplement open_exclusive() using _wopen() to avoid encoding the filename to the filesystem encoding: use the Unicode version of the Windows API. | ||||
* | | | Issue #11223: Add threading._info() function providing informations about the | Victor Stinner | 2011-04-19 | 1 | -0/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | thread implementation. Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of test_threadsignals if a thread lock is implemented using a POSIX mutex and a POSIX condition variable. A POSIX condition variable cannot be interrupted by a signal (e.g. on Linux, the futex system call is restarted). | ||||
* | | | #5057: Merge with 3.2. | Ezio Melotti | 2011-04-15 | 1 | -0/+18 |
|\ \ \ | |/ / | |||||
| * | | #5057: Merge with 3.1. | Ezio Melotti | 2011-04-15 | 1 | -0/+18 |
| |\ \ | | |/ | |||||
| | * | Issue #5057: fix a bug in the peepholer that led to non-portable pyc files ↵ | Ezio Melotti | 2011-04-15 | 1 | -0/+18 |
| | | | | | | | | | | | | between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. "\U00012345"[0]). | ||||
* | | | merge 3.2 | Benjamin Peterson | 2011-04-12 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-04-12 | 1 | -0/+1 |
| |\ \ | | |/ | |||||
| | * | make assigning to a bytes literal a syntax error (closes #11506) | Benjamin Peterson | 2011-04-12 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #9904: fix and clarify some comments + fix indentation in symtable code | Eli Bendersky | 2011-04-10 | 1 | -4/+4 |
| | | | |||||
* | | | Issue9670: Merge backout from 3.2. | Ned Deily | 2011-04-09 | 1 | -12/+0 |
|\ \ \ | |/ / | |||||
| * | | Issue9670: Merge backout to 3.2. | Ned Deily | 2011-04-09 | 1 | -12/+0 |
| |\ \ | | |/ | |||||
| | * | Issue9670: Back out changeset 378b40d71175; test fails on other platforms | Ned Deily | 2011-04-09 | 1 | -12/+0 |
| | | | | | | | | | | | | and on OS X with pydebug. | ||||
* | | | Issue #9670: merge with current | Ned Deily | 2011-04-09 | 1 | -0/+12 |
|\ \ \ | |/ / | |||||
| * | | Issue #9670: merge with 3.2 | Ned Deily | 2011-04-09 | 1 | -0/+12 |
| |\ \ | | |/ | |||||
| | * | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-04-09 | 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 #8651: PyArg_Parse*() functions raise an OverflowError if the file | Victor Stinner | 2011-03-21 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1 bytes). | ||||
* | | | Removed 'or long integer' from bin, oct, and hex docstrings. | Alexander Belopolsky | 2011-04-07 | 1 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | Removed 'or long integer' from bin, oct, and hex docstrings. | Alexander Belopolsky | 2011-04-07 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error. | Victor Stinner | 2011-04-04 | 2 | -8/+8 |
| | | | |||||
* | | | Issue #10785: Store the filename as Unicode in the Python parser. | Victor Stinner | 2011-04-04 | 1 | -16/+24 |
| | | | |||||
* | | | Issue #11619: _PyImport_LoadDynamicModule() doesn't encode the path to bytes | Victor Stinner | 2011-04-04 | 2 | -17/+27 |
| | | | | | | | | | | | | on Windows. | ||||
* | | | Issue #11393: _Py_DumpTraceback() writes the header even if there is no frame | Victor Stinner | 2011-04-01 | 1 | -7/+7 |
| | | | |||||
* | | | Issue #11393: The fault handler handles also SIGABRT | Victor Stinner | 2011-04-01 | 1 | -0/+1 |
| | | |