summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Removed a Windows 9x trick used before LoadLibraryExW.Brian Curtin2011-06-091-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 Peterson2011-06-061-137/+166
|
* some horrible preprocessing tricks to automatically update the tagBenjamin Peterson2011-06-031-2/+10
|
* bump ast versionBenjamin Peterson2011-05-291-2/+2
|
* unify TryExcept and TryFinally (closes #12199)Benjamin Peterson2011-05-294-137/+64
|
* Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-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 onNed Deily2011-05-281-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 onNed Deily2011-05-281-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.2Benjamin Peterson2011-05-271-2/+2
|\ \ \ | |/ /
| * | merge 3.1Benjamin Peterson2011-05-271-2/+2
| |\ \ | | |/
| | * fix spacingBenjamin Peterson2011-05-271-2/+2
| | |
* | | merge 3.2Benjamin Peterson2011-05-271-51/+51
|\ \ \ | |/ /
| * | merge 3.1Benjamin Peterson2011-05-271-51/+51
| |\ \ | | |/
| | * fix indentationBenjamin Peterson2011-05-271-50/+50
| | |
* | | bump ast versionBenjamin Peterson2011-05-271-2/+2
| | |
* | | reflect with statements with multiple items in the AST (closes #12106)Benjamin Peterson2011-05-274-79/+162
| | |
* | | Revert my commit 7ba176c2f558: "Avoid useless "++" at the end of functionsVictor Stinner2011-05-271-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 Peterson2011-05-272-18/+28
| | | | | | | | | | | | | | | | | | unmarshalling (#12190) This should reduce memory usage.
* | | remove unused string WILFE attributeBenjamin Peterson2011-05-271-16/+0
| | |
* | | print_exception(): handle correctly PyObject_GetAttrString() failureVictor Stinner2011-05-261-1/+1
| | | | | | | | | | | | Bug found by the Clang Static Analyzer.
* | | Avoid useless "++" at the end of functionsVictor Stinner2011-05-261-3/+3
| | | | | | | | | | | | Warnings found by the Clang Static Analyzer.
* | | Remove useless assignmentsVictor Stinner2011-05-261-4/+0
| | | | | | | | | | | | Warnings found by the the Clang Static Analyzer.
* | | make PyImport_ImportModuleLevel's first arg const like similiar functions ↵Benjamin Peterson2011-05-251-1/+1
| | | | | | | | | | | | (closes #12173)
* | | (Merge 3.2) Issue #11614: import __hello__ prints "Hello World!". Patch writtenVictor Stinner2011-05-161-8/+11
|\ \ \ | |/ / | | | | | | by Andreas Stührk.
| * | (Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch writtenVictor Stinner2011-05-161-8/+11
| |\ \ | | |/ | | | | | | by Andreas Stührk.
| | * Issue #11614: import __hello__ prints "Hello World!". Patch written by AndreasVictor Stinner2011-05-161-8/+11
| | | | | | | | | | | | Stührk.
* | | Merge #6498 fix from 3.2.Georg Brandl2011-05-151-1/+1
|\ \ \ | |/ /
| * | Merge #6498 fix from 3.1.Georg Brandl2011-05-151-1/+1
| |\ \ | | |/
| | * Closes #6498: fix several misspellings of "SystemExit" as "SystemError".Georg Brandl2011-05-151-1/+1
| | |
* | | _PyImport_LoadDynamicModule() encodes the module name explicitly to ASCIIVictor Stinner2011-05-071-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 defaultVictor Stinner2011-05-071-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 theAntoine Pitrou2011-05-043-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 theAntoine Pitrou2011-05-043-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 newVictor Stinner2011-04-262-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 Stinner2011-04-261-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_infoVictor Stinner2011-04-302-38/+69
| | |
* | | Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*Antoine Pitrou2011-04-271-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 Pitrou2011-04-271-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 Cea2011-04-201-56/+4
| |\ \ | | |/
| | * Up-port changeset 5cf8f6da8743 (closes #11890)Jesus Cea2011-04-201-56/+4
| | |
* | | Issue #10914: Initialize correctly the filesystem codec when creating a newVictor Stinner2011-04-262-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 Stinner2011-04-261-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 warningsVictor Stinner2011-04-201-0/+3
| | |
* | | Close #11619: write_compiled_module() doesn't encode the filenameVictor Stinner2011-04-201-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 theVictor Stinner2011-04-191-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 Melotti2011-04-151-0/+18
|\ \ \ | |/ /
| * | #5057: Merge with 3.1.Ezio Melotti2011-04-151-0/+18
| |\ \ | | |/
| | * Issue #5057: fix a bug in the peepholer that led to non-portable pyc files ↵Ezio Melotti2011-04-151-0/+18
| | | | | | | | | | | | between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. "\U00012345"[0]).
* | | merge 3.2Benjamin Peterson2011-04-121-0/+1
|\ \ \ | |/ /
| * | merge 3.1Benjamin Peterson2011-04-121-0/+1
| |\ \ | | |/