508 Commits (013bb91aa304062bb65fe8951e2d263f2065ee56)

Author SHA1 Message Date
Victor Stinner 933538edde Issue #20526, #19466: Revert changes of issue #19466 which introduces a 12 years ago
Nick Coghlan d979e4335d Close #20500: Don't trigger PyObject_Str assertion at shutdown 12 years ago
Serhiy Storchaka 65fd0592fb Issue #2382: SyntaxError cursor "^" now is written at correct position in most 12 years ago
Victor Stinner 52ce3b04d0 Issue #19817: Fix print_exception(), clear the exception on error 12 years ago
Victor Stinner be0708f066 Closes #19831: Stop tracemalloc later at Python shutdown to be able to use 12 years ago
Victor Stinner ed3b0bca3e Issue #18874: Implement the PEP 454 (tracemalloc) 12 years ago
Christian Heimes 985ecdcfc2 ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. 12 years ago
Victor Stinner 2f5bbc6a12 pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get the size of 12 years ago
Victor Stinner 3f36a5736b Issue #19515: Remove identifiers duplicated in the same file. 12 years ago
Victor Stinner dcf17f8a55 Issue #19466: Fix typo. Patch written by Vajrasky Kok. 12 years ago
Victor Stinner 45956b9a33 Close #19466: Clear the frames of daemon threads earlier during the Python 12 years ago
Victor Stinner bd303c165b Issue #19512, #19515: remove shared identifiers, move identifiers where they 12 years ago
Victor Stinner efa7a0e155 print_error_text() doesn't encode the filename anymore 12 years ago
Victor Stinner ad14ccd047 Issue #19512: add _PyUnicode_CompareWithId() function 12 years ago
Victor Stinner 937114f704 print_exception(): don't encode the module name to UTF-8 12 years ago
Victor Stinner 090543736f Issue #19512: add some common identifiers to only create common strings once, 12 years ago
Victor Stinner 95701bdf40 Issue #19512: Add PyRun_InteractiveOneObject() function 12 years ago
Victor Stinner 4ee41c5839 Issue #19512: _print_total_refs() now uses an identifier to get "showrefcount" 12 years ago
Christian Heimes 49e61806f5 Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the 12 years ago
Nick Coghlan 1805a62f1f Issue #16129: Py_SetStandardStreamEncoding cleanups 12 years ago
Nick Coghlan 7d270ee05d Issue #16129: Add `Py_SetStandardStreamEncoding` 12 years ago
Antoine Pitrou 24201d497c Issue #18776: atexit callbacks now display their full traceback when they raise an exception. 12 years ago
Serhiy Storchaka bf28d2dcad Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional. 12 years ago
Antoine Pitrou 4879a963d4 Issue #18756: os.urandom() now uses a lazily-opened persistent file descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads. 13 years ago
Victor Stinner 55a1220bdb pythonrun.c: use MAXPATHLEN instead of PATH_MAX 13 years ago
Victor Stinner daf455554b Issue #18571: Implementation of the PEP 446: file descriptors and file handles 13 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Antoine Pitrou 7eaf3f7080 Issue #18808: Non-daemon threads are now automatically joined when a sub-interpreter is shutdown (it would previously dump a fatal error). 13 years ago
Christian Heimes ad73a9cf97 Issue #16400: Add command line option for isolated mode. 13 years ago
Antoine Pitrou 32d483c39b Fix style 13 years ago
Victor Stinner ba30883f60 Issue #18520: Fix initstdio(), handle PySys_SetObject() failure 13 years ago
Victor Stinner 62ce62a3a1 Issue #18520: initsite() is a little bit more verbose when import site fails 13 years ago
Victor Stinner 1c8f059019 Issue #18520: Add a new PyStructSequence_InitType2() function, same than 13 years ago
Victor Stinner d786ad55ef Issue #18520: Fix initsigs(), handle PyOS_InitInterrupts() error 13 years ago
Victor Stinner 26f91999b4 Close #18469: Replace PyDict_GetItemString() with _PyDict_GetItemId() in structseq.c 13 years ago
Victor Stinner 49fc8ece81 Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup() 13 years ago
Victor Stinner 51fa458d0a Issue #18203: Fix Py_Finalize(): destroy the GIL after the last call to 13 years ago
Antoine Pitrou 5f454a07a0 Issue #1545463: Global variables caught in reference cycles are now garbage-collected at shutdown. 13 years ago
Antoine Pitrou fd417cc54b Fix crash caused by 8c1385205a35 13 years ago
Brett Cannon 13853a67cf #17115: I hate you MS for not supporting C99. 13 years ago
Antoine Pitrou 957a23b088 Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again. 13 years ago
Brett Cannon 4c14b5de1c #17115,17116: Have modules initialize the __package__ and __loader__ 13 years ago
Benjamin Peterson fe1b22af0a ignore errors when trying to fetch sys.stdin.encoding (closes #17863) 13 years ago
Antoine Pitrou 208ac5cf65 Issue #17832: fix a compilation warning about a function prototype. 13 years ago
Ezio Melotti 1f8898a591 #17323: The "[X refs, Y blocks]" printed by debug builds has been disabled by default. It can be re-enabled with the `-X showrefcount` option. 13 years ago
Antoine Pitrou f9d0b1256f Issue #13390: New function :func:`sys.getallocatedblocks()` returns the number of memory blocks currently allocated. 13 years ago
Hynek Schlawack b271b3e188 Issue #15001: fix segfault on "del sys.modules['__main__']" 13 years ago
Hynek Schlawack 5c6b3e214c Issue #15001: fix segfault on "del sys.module['__main__']" 13 years ago
Andrew Svetlov 90c0eb28c5 Issue #16218: Support non ascii characters in python launcher. 13 years ago
Christian Heimes 6d29352cfd Issue #15895: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening. 13 years ago