summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix the import machinery if there is an error on sys.path or sys.meta_pathVictor Stinner2011-09-151-4/+4
| | | | | | find_module() now raises a RuntimeError, instead of ImportError, on an error on sys.path or sys.meta_path because load_package() and import_submodule() returns None and clear the exception if a ImportError occurred.
* Remove unused variable if Python is build without threadsVictor Stinner2011-09-011-0/+2
|
* accept bytes for the AST 'string' typeBenjamin Peterson2011-09-011-1/+1
| | | | This is a temporary kludge and all is well in 3.3.
* Fix style in code added by edba722f3b02Éric Araujo2011-07-261-3/+3
|
* Issue #1813: Fix codec lookup under Turkish locales.Antoine Pitrou2011-07-241-1/+1
|
* None is ok for identifiers but not stringsBenjamin Peterson2011-07-221-10/+8
|
* hardcode the old svn __version__Benjamin Peterson2011-07-221-2/+2
|
* type check AST strings and identifiersBenjamin Peterson2011-07-221-4/+21
| | | | This is related to a21829180423 as well as #12609 and #12610.
* catch nasty exception classes with __new__ that doesn't return a exception ↵Benjamin Peterson2011-07-151-0/+7
| | | | | | (closes #11627) Patch from Andreas Stührk.
* start out this branch always with filename NULLBenjamin Peterson2011-07-051-1/+1
|
* plug refleakBenjamin Peterson2011-07-041-0/+1
|
* Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner2011-07-041-1/+1
| | | | shutdown, if globals()['__file__'] is None.
* never retain a generator's caller's exception state on the generator after a ↵Benjamin Peterson2011-07-031-4/+36
| | | | | | | yield/return This requires some trickery to properly save the exception state if the generator creates its own exception state.
* merge headsBenjamin Peterson2011-07-031-60/+153
|\
| * Removed some unused local variables.Vinay Sajip2011-07-021-2/+0
| |
| * Closes #12291: Fixed bug which was found when doing multiple loads from one ↵Vinay Sajip2011-07-021-60/+155
| | | | | | | | stream.
* | restore a generator's caller's exception state both on yield and (last) returnBenjamin Peterson2011-07-031-4/+5
|/ | | | | | This prevents generator exception state from leaking into the caller. Closes #12475.
* fix indentationBenjamin Peterson2011-06-211-6/+6
|
* fix indentationBenjamin Peterson2011-06-211-1/+1
|
* 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.1Benjamin Peterson2011-05-271-2/+2
|\ \ | |/
| * fix spacingBenjamin Peterson2011-05-271-2/+2
| |
* | merge 3.1Benjamin Peterson2011-05-271-51/+51
|\ \ | |/
| * fix indentationBenjamin Peterson2011-05-271-50/+50
| |
* | (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.1.Georg Brandl2011-05-151-1/+1
|\ \ | |/
| * Closes #6498: fix several misspellings of "SystemExit" as "SystemError".Georg Brandl2011-05-151-1/+1
| |
* | 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 #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
| |
* | #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.1Benjamin Peterson2011-04-121-0/+1
|\ \ | |/
| * make assigning to a bytes literal a syntax error (closes #11506)Benjamin Peterson2011-04-121-0/+1
| |
* | Issue9670: Merge backout to 3.2.Ned Deily2011-04-091-12/+0
|\ \ | |/
| * Issue9670: Back out changeset 378b40d71175; test fails on other platformsNed Deily2011-04-091-12/+0
| | | | | | | | and on OS X with pydebug.
* | Issue #9670: merge with 3.2Ned Deily2011-04-091-0/+12
|\ \ | |/
| * Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-04-091-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 fileVictor Stinner2011-03-211-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 Belopolsky2011-04-071-3/+3
| |
* | sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was notVictor Stinner2011-03-311-2/+3
| | | | | | | | called yet: detect bootstrap (startup) issues earlier.
* | Issue #11618: Fix the timeout logic in threading.Lock.acquire() underAntoine Pitrou2011-03-301-59/+8
| | | | | | | | Windows.
* | Fix #11586: typo in initfsencoding()Victor Stinner2011-03-201-1/+1
| | | | | | | | Patch written by Ray Allen.