Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove obsolete py3k comment. | Florent Xicluna | 2011-12-09 | 1 | -1/+0 |
| | |||||
* | Issue #7111: Python can now be run without a stdin, stdout or stderr stream. | Antoine Pitrou | 2011-11-28 | 1 | -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 Pitrou | 2011-11-26 | 1 | -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.c | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
| | |||||
* | Issue #13156: _PyGILState_Reinit(): Re-associate the auto thread state with the | Charles-François Natali | 2011-11-22 | 1 | -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 unicode | Antoine Pitrou | 2011-11-05 | 1 | -42/+41 |
| | | | | error handler in interactive mode (when calling into PyOS_Readline()). | ||||
* | Issue #13343: Fix a SystemError when a lambda expression uses a global | Amaury Forgeot d'Arc | 2011-11-04 | 1 | -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 Araujo | 2011-11-03 | 1 | -2/+4 |
| | |||||
* | Issue #10363: Deallocate global locks in Py_Finalize(). | Antoine Pitrou | 2011-10-30 | 2 | -10/+21 |
| | |||||
* | Remove unused variable. | Florent Xicluna | 2011-10-28 | 1 | -2/+1 |
| | |||||
* | Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵ | Nick Coghlan | 2011-10-23 | 1 | -2/+28 |
| | | | | metaclass inheritance. Patch by Daniel Urban. | ||||
* | Issue #7732: Don't open a directory as a file anymore while importing a | Victor Stinner | 2011-09-23 | 1 | -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 for | Barry Warsaw | 2011-09-20 | 1 | -1/+3 |
| | | | | finding the bug and providing a patch. | ||||
* | Fix the import machinery if there is an error on sys.path or sys.meta_path | Victor Stinner | 2011-09-15 | 1 | -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 threads | Victor Stinner | 2011-09-01 | 1 | -0/+2 |
| | |||||
* | accept bytes for the AST 'string' type | Benjamin Peterson | 2011-09-01 | 1 | -1/+1 |
| | | | | This is a temporary kludge and all is well in 3.3. | ||||
* | Fix style in code added by edba722f3b02 | Éric Araujo | 2011-07-26 | 1 | -3/+3 |
| | |||||
* | Issue #1813: Fix codec lookup under Turkish locales. | Antoine Pitrou | 2011-07-24 | 1 | -1/+1 |
| | |||||
* | None is ok for identifiers but not strings | Benjamin Peterson | 2011-07-22 | 1 | -10/+8 |
| | |||||
* | hardcode the old svn __version__ | Benjamin Peterson | 2011-07-22 | 1 | -2/+2 |
| | |||||
* | type check AST strings and identifiers | Benjamin Peterson | 2011-07-22 | 1 | -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 Peterson | 2011-07-15 | 1 | -0/+7 |
| | | | | | | (closes #11627) Patch from Andreas Stührk. | ||||
* | start out this branch always with filename NULL | Benjamin Peterson | 2011-07-05 | 1 | -1/+1 |
| | |||||
* | plug refleak | Benjamin Peterson | 2011-07-04 | 1 | -0/+1 |
| | |||||
* | Issue #12467: warnings: fix a race condition if a warning is emitted at | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
| | | | | shutdown, if globals()['__file__'] is None. | ||||
* | never retain a generator's caller's exception state on the generator after a ↵ | Benjamin Peterson | 2011-07-03 | 1 | -4/+36 |
| | | | | | | | yield/return This requires some trickery to properly save the exception state if the generator creates its own exception state. | ||||
* | merge heads | Benjamin Peterson | 2011-07-03 | 1 | -60/+153 |
|\ | |||||
| * | Removed some unused local variables. | Vinay Sajip | 2011-07-02 | 1 | -2/+0 |
| | | |||||
| * | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵ | Vinay Sajip | 2011-07-02 | 1 | -60/+155 |
| | | | | | | | | stream. | ||||
* | | restore a generator's caller's exception state both on yield and (last) return | Benjamin Peterson | 2011-07-03 | 1 | -4/+5 |
|/ | | | | | | This prevents generator exception state from leaking into the caller. Closes #12475. | ||||
* | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -6/+6 |
| | |||||
* | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
| | |||||
* | 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.1 | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | fix spacing | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 |
| | | |||||
* | | merge 3.1 | Benjamin Peterson | 2011-05-27 | 1 | -51/+51 |
|\ \ | |/ | |||||
| * | fix indentation | Benjamin Peterson | 2011-05-27 | 1 | -50/+50 |
| | | |||||
* | | (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.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 |
| | | |||||
* | | 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 #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 |
| | | |||||
* | | #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]). |