summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Try to fix weird assertion error on the Fedora buildbot.Antoine Pitrou2013-10-121-3/+3
|
* Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".Antoine Pitrou2013-10-123-82/+82
| | | | ("make smelly" now clean)
* Don't export internal symbols ("make smelly")Antoine Pitrou2013-10-122-2/+2
|
* Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to ↵Antoine Pitrou2013-10-122-3549/+3466
| | | | 10%) smaller.
* Close #19199: Remove ``PyThreadState.tick_counter`` fieldVictor Stinner2013-10-092-2/+0
|
* Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵Antoine Pitrou2013-10-071-2/+2
|\ | | | | | | least one place so as to avoid regressions.
| * Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵Antoine Pitrou2013-10-071-2/+2
| | | | | | | | least one place so as to avoid regressions.
* | merge with 3.3Georg Brandl2013-10-061-2/+3
|\ \ | |/
| * Closes #15213: update comment for _PyOS_URandomGeorg Brandl2013-10-061-2/+3
| |
| * [issue19152] Revert 832579dbafd6.Eric Snow2013-10-031-210/+192
| |
| * [issue19152] Add ExtensionFileLoader.get_filename().Eric Snow2013-10-031-192/+210
| |
| * [issue19151] Fix docstring and use of _get_suppported_file_loaders() to ↵Eric Snow2013-10-031-2613/+2611
| | | | | | | | reflect 2-tuples.
* | [issue19152] Add ExtensionFileLoader.get_filename().Eric Snow2013-10-031-1348/+1362
| |
* | [issue19951] Fix docstring and use of _get_suppported_file_loaders() to ↵Eric Snow2013-10-031-1931/+1929
| | | | | | | | reflect 2-tuples.
* | merge 3.3 (#19098)Benjamin Peterson2013-09-271-2/+6
|\ \ | |/
| * don't scale compiler stack frames if the recursion limit is huge (closes #19098)Benjamin Peterson2013-09-271-2/+6
| |
* | Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.Serhiy Storchaka2013-09-131-8/+12
| |
* | Issue #18808: Thread.join() now waits for the underlying thread state to be ↵Antoine Pitrou2013-09-071-0/+5
| | | | | | | | | | | | destroyed before returning. This prevents unpredictable aborts in Py_EndInterpreter() when some non-daemon threads are still running.
* | Close #18954: Fix some typo in fileutils.c commentsVictor Stinner2013-09-071-3/+3
| | | | | | | | Patch written by Vajrasky Kok.
* | Issue #16826: Revert fix while Windows issues are being worked out.Meador Inge2013-09-041-3119/+3115
|\ \ | |/
| * Issue #16826: Revert fix while Windows issues are being worked out.Meador Inge2013-09-041-4206/+4201
| |
* | Issue #16826: Don't check for PYTHONCASEOK when using -E.Meador Inge2013-09-031-3115/+3119
|\ \ | |/ | | | | | | This commit fixes a regression that sneaked into Python 3.3 where importlib was not respecting -E when checking for the PYTHONCASEOK environment variable.
| * Issue #16826: Don't check for PYTHONCASEOK when using -E.Meador Inge2013-09-031-4201/+4206
| | | | | | | | | | This commit fixes a regression that sneaked into Python 3.3 where importlib was not respecting -E when checking for the PYTHONCASEOK environment variable.
* | Factor-out the common code for setting a KeyError.Raymond Hettinger2013-09-021-0/+14
| |
* | Issue #18756: os.urandom() now uses a lazily-opened persistent file ↵Antoine Pitrou2013-08-302-13/+43
| | | | | | | | descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads.
* | pythonrun.c: use MAXPATHLEN instead of PATH_MAXVictor Stinner2013-08-271-1/+1
| | | | | | | | PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-275-19/+334
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-274-6/+5
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-274-6/+5
| | | | | | | | error messages and comments.
* | Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-268-113/+268
| | | | | | | | filenames anymore on Windows.
* | Issue #18664, #18408: Rewrite PyErr_WriteUnraisable() to handle errorsVictor Stinner2013-08-261-40/+62
| | | | | | | | | | | | | | | | * Catch PyFile_WriteString() and PyFile_WriteObject() errors * Clear the current exception on _PyObject_GetAttrId() failure * Use PyUnicode_CompareWithASCIIString() and PyFile_WriteObject() instead of _PyUnicode_AsString() and strcmp() to avoid Unicode encoding error. stderr has a more tolerant error handler than utf-8/strict.
* | #18839: merge with 3.3.Ezio Melotti2013-08-261-1/+1
|\ \ | |/
| * #18839: document that sys.exit() will not accept a non-integer numeric value ↵Ezio Melotti2013-08-261-1/+1
| | | | | | | | as exit status.
* | Issue #18808: Non-daemon threads are now automatically joined when a ↵Antoine Pitrou2013-08-251-0/+3
| | | | | | | | sub-interpreter is shutdown (it would previously dump a fatal error).
* | remove support for compiling on systems without getcwd()Benjamin Peterson2013-08-241-83/+0
| | | | | | | | | | Do we need a fallback implementation of getcwd() from 1991 that claims to support "really old Unix systems"? I don't think so.
* | remove unused declarationVictor Stinner2013-08-221-3/+0
| |
* | Remove last bit of GNU pth threadChristian Heimes2013-08-161-177/+0
| | | | | | | | | | | | | | PEP 11: Name: Systems using --with-pth (GNU pth threads) Unsupported in: Python 3.2 Code removed in: Python 3.3
* | Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou2013-08-161-2/+6
|\ \ | |/ | | | | due to something else than /dev/urandom not existing.
| * Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou2013-08-161-2/+6
| | | | | | | | due to something else than /dev/urandom not existing.
| * Issue #15893: Remove dead codeVictor Stinner2013-07-271-5/+0
| |
* | Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-136-28/+28
| |
* | Issue #10241: Clear extension module dict copies at interpreter shutdown.Antoine Pitrou2013-08-102-0/+27
| | | | | | | | | | | | Patch by Neil Schemenauer, minimally modified. (re-apply after fix for tkinter-related crash)
* | Issue #16400: Add command line option for isolated mode.Christian Heimes2013-08-102-2/+5
| | | | | | | | | | | | | | | | | | | | -I Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the script’s directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. Further restrictions may be imposed to prevent the user from injecting malicious code.
* | Improve verbose reporting of shutdown phase by using the "public" module nameAntoine Pitrou2013-08-061-6/+7
| |
* | Issue #17934: Add a clear() method to frame objects, to help clean up ↵Antoine Pitrou2013-08-051-0/+2
| | | | | | | | expensive details (local variables) and break reference cycles.
* | Backout 62658d9d8926 (issue #10241): it causes a crash at shutdown when ↵Antoine Pitrou2013-08-022-27/+0
| | | | | | | | deallocating a Tkapp object.
* | Issue #10241: Clear extension module dict copies at interpreter shutdown.Antoine Pitrou2013-08-012-0/+27
| | | | | | | | Patch by Neil Schemenauer, minimally modified.
* | Issue #18214: Improve finalization of Python modules to avoid setting their ↵Antoine Pitrou2013-07-311-91/+68
| | | | | | | | globals to None, in most cases.
* | Fix styleAntoine Pitrou2013-07-301-2/+2
| |
* | Issue #15893: Improve error handling in main() and Py_FrozenMain()Victor Stinner2013-07-271-16/+23
| | | | | | | | | | | | * handle _PyMem_RawStrdup() failure * Py_FrozenMain() releases memory on error * Py_FrozenMain() duplicates the old locale, as done in main()