Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22836: Merge exception reporting from 3.5 | Martin Panter | 2016-02-28 | 1 | -1/+7 |
|\ | |||||
| * | Issue #22836: Keep exception reports sensible despite errors | Martin Panter | 2016-02-28 | 1 | -1/+7 |
| | | |||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -4/+4 |
| | | | | | | | | private functions. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
| | | |||||
* | | Issue #15989: Fixed some scarcely probable integer overflows. | Serhiy Storchaka | 2015-09-06 | 1 | -5/+5 |
|/ | | | | It is very unlikely that they can occur in real code for now. | ||||
* | Issue #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 1 | -2/+7 |
| | |||||
* | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -4/+1 |
| | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied. | ||||
* | Issue #19428: Handle PyMarshal_Read*() errors in run_pyc_file() | Victor Stinner | 2015-03-18 | 1 | -2/+6 |
| | | | | Detect also earlier PyMarshal_Read*() errors in zipimport. | ||||
* | Closes #22869: Move PyOS_CheckStack back to pythonrun.c | Zachary Ware | 2014-11-22 | 1 | -0/+37 |
| | |||||
* | Issue #22869: Remove duplicate stack check from pythonrun.c | Steve Dower | 2014-11-22 | 1 | -37/+0 |
| | |||||
* | Issue #22869: Split pythonrun into two modules | Nick Coghlan | 2014-11-20 | 1 | -1471/+1 |
| | | | | | | | - interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags | ||||
* | Issue #20597, #21274: Remove unused definition of PATH_MAX on GNU/Hurd, | Victor Stinner | 2014-11-05 | 1 | -4/+0 |
| | | | | MAXPATHLEN is now preferred. | ||||
* | Issue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is | Victor Stinner | 2014-11-05 | 1 | -1/+0 |
| | | | | now preferred. Patch written by Jeffrey Armstrong. | ||||
* | Issue #22043: _PyTime_Init() now checks if the system clock works. | Victor Stinner | 2014-08-29 | 1 | -1/+2 |
| | | | | | | | | | Other changes: * The whole _PyTime API is private (not defined if Py_LIMITED_API is set) * _PyTime_gettimeofday_info() also returns -1 on error * Simplify PyTime_gettimeofday(): only use clock_gettime(CLOCK_REALTIME) or gettimeofday() on UNIX. Don't fallback to ftime() or time() anymore. | ||||
* | Issue #22156: Fix "comparison between signed and unsigned integers" compiler | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
| | | | | warnings in the Python/ subdirectory. | ||||
* | Issue #21425: Fix flushing of standard streams in the interactive interpreter. | Antoine Pitrou | 2014-05-11 | 1 | -1/+2 |
|\ | |||||
| * | Issue #21425: Fix flushing of standard streams in the interactive interpreter. | Antoine Pitrou | 2014-05-11 | 1 | -1/+2 |
| | | |||||
* | | - Merge 3.4 | doko@ubuntu.com | 2014-04-17 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Fixes for KFreeBSD and the Hurd: | doko@ubuntu.com | 2014-04-17 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD. | ||||
| * | Issue #20526, #19466: Revert changes of issue #19466 which introduces a | Victor Stinner | 2014-02-13 | 1 | -15/+5 |
| | | | | | | | | | | regression: don't clear anymore the state of Python threads early during the Python shutdown. | ||||
* | | Issue #19977, #19036: Always include <locale.h> in pythonrun.c | Victor Stinner | 2014-03-18 | 1 | -1/+1 |
| | | | | | | | | to get LC_CTYPE constant on Windows. | ||||
* | | Issue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale), | Victor Stinner | 2014-03-18 | 1 | -1/+10 |
| | | | | | | | | | | :py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the ``surrogateescape`` error handler, instead of the ``strict`` error handler. | ||||
* | | Issue #20526, #19466: Revert changes of issue #19466 which introduces a | Victor Stinner | 2014-02-13 | 1 | -15/+5 |
|/ | | | | | regression: don't clear anymore the state of Python threads early during the Python shutdown. | ||||
* | Close #20500: Don't trigger PyObject_Str assertion at shutdown | Nick Coghlan | 2014-02-09 | 1 | -0/+5 |
| | |||||
* | Issue #2382: SyntaxError cursor "^" now is written at correct position in most | Serhiy Storchaka | 2014-01-21 | 1 | -2/+12 |
|\ | | | | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters. | ||||
| * | Issue #2382: SyntaxError cursor "^" now is written at correct position in most | Serhiy Storchaka | 2014-01-21 | 1 | -2/+12 |
| | | | | | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters. | ||||
* | | Issue #19817: Fix print_exception(), clear the exception on error | Victor Stinner | 2013-12-09 | 1 | -3/+5 |
| | | |||||
* | | Closes #19831: Stop tracemalloc later at Python shutdown to be able to use | Victor Stinner | 2013-12-01 | 1 | -0/+5 |
| | | | | | | | | | | | | tracemalloc in objects destructor Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini(). | ||||
* | | Issue #18874: Implement the PEP 454 (tracemalloc) | Victor Stinner | 2013-11-23 | 1 | -0/+4 |
| | | |||||
* | | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. | Christian Heimes | 2013-11-20 | 1 | -0/+3 |
| | | | | | | | | Python now uses SipHash24 on all major platforms. | ||||
* | | (Merge 3.3) pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get | Victor Stinner | 2013-11-15 | 1 | -2/+3 |
|\ \ | |/ | | | | | | | the size of the env_home buffer, not PATH_MAX+1. env_home is declared using MAXPATHLEN+1, and PATH_MAX is not declared on IRIX. | ||||
| * | pythonrun.c: fix Py_GetPythonHome(), use Py_ARRAY_LENGTH() to get the size of | Victor Stinner | 2013-11-15 | 1 | -2/+3 |
| | | | | | | | | | | the env_home buffer, not PATH_MAX+1. env_home is declared using MAXPATHLEN+1, and PATH_MAX is not declared on IRIX. | ||||
* | | Issue #19515: Remove identifiers duplicated in the same file. | Victor Stinner | 2013-11-12 | 1 | -4/+2 |
| | | | | | | | | Patch written by Andrei Dorian Duma. | ||||
* | | Issue #19466: Fix typo. Patch written by Vajrasky Kok. | Victor Stinner | 2013-11-12 | 1 | -1/+1 |
| | | |||||
* | | Close #19466: Clear the frames of daemon threads earlier during the Python | Victor Stinner | 2013-11-12 | 1 | -5/+15 |
| | | | | | | | | | | shutdown to call objects destructors. So "unclosed file" resource warnings are now corretly emitted for daemon threads. | ||||
* | | Issue #19512, #19515: remove shared identifiers, move identifiers where they | Victor Stinner | 2013-11-07 | 1 | -25/+20 |
| | | | | | | | | | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file. | ||||
* | | print_error_text() doesn't encode the filename anymore | Victor Stinner | 2013-11-07 | 1 | -27/+35 |
| | | | | | | | | | | | | Use aslo PyUnicode_FromFormat() to format the line so only one call to PyFile_WriteObject() is needed. tb_displayline() of Python/traceback.c has similar implementation. | ||||
* | | Issue #19512: add _PyUnicode_CompareWithId() function | Victor Stinner | 2013-11-06 | 1 | -1/+2 |
| | | | | | | | | | | | | | | _PyUnicode_CompareWithId() is faster than PyUnicode_CompareWithASCIIString() when both strings are equal and interned. Add also _PyId_builtins identifier for "builtins" common string. | ||||
* | | print_exception(): don't encode the module name to UTF-8 | Victor Stinner | 2013-11-06 | 1 | -3/+2 |
| | | | | | | | | Replace _PyUnicode_AsString()+strcmp() with PyUnicode_CompareWithASCIIString(). | ||||
* | | Issue #19512: add some common identifiers to only create common strings once, | Victor Stinner | 2013-11-06 | 1 | -22/+37 |
| | | | | | | | | | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter. | ||||
* | | Issue #19512: Add PyRun_InteractiveOneObject() function | Victor Stinner | 2013-11-06 | 1 | -29/+82 |
| | | | | | | | | | | Only decode the filename once. PyRun_InteractiveOneObject() uses an identifier for "<string>" string, so the byte string is only decoded once. | ||||
* | | Issue #19512: _print_total_refs() now uses an identifier to get "showrefcount" | Victor Stinner | 2013-11-06 | 1 | -6/+4 |
| | | | | | | | | key from sys._xoptions | ||||
* | | Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the | Christian Heimes | 2013-10-22 | 1 | -0/+4 |
|\ \ | |/ | | | | | Python executable and not removed by the linker's optimizer. | ||||
| * | Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the | Christian Heimes | 2013-10-22 | 1 | -0/+4 |
| | | | | | | | | Python executable and not removed by the linker's optimizer. | ||||
* | | Issue #16129: Py_SetStandardStreamEncoding cleanups | Nick Coghlan | 2013-10-18 | 1 | -4/+9 |
| | | | | | | | | | | | | | | | | | | - don't call PyErr_NoMemory with interpreter is not initialised - note that it's OK to call _PyMem_RawStrDup here - don't include this in the limited API - capitalise "IO" - be explicit that a non-zero return indicates an error - include versionadded marker in docs | ||||
* | | Issue #16129: Add `Py_SetStandardStreamEncoding` | Nick Coghlan | 2013-10-17 | 1 | -16/+65 |
| | | | | | | | | | | | | | | | | | | | | | | This new pre-initialization API allows embedding applications like Blender to force a particular encoding and error handler for the standard IO streams. Also refactors Modules/_testembed.c to let us start testing multiple embedding scenarios. (Initial patch by Bastien Montagne) | ||||
* | | Issue #18776: atexit callbacks now display their full traceback when they ↵ | Antoine Pitrou | 2013-10-13 | 1 | -0/+10 |
|\ \ | |/ | | | | | raise an exception. | ||||
| * | Issue #18776: atexit callbacks now display their full traceback when they ↵ | Antoine Pitrou | 2013-10-13 | 1 | -0/+10 |
| | | | | | | | | raise an exception. | ||||
* | | Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional. | Serhiy Storchaka | 2013-09-13 | 1 | -8/+12 |
| | | |||||
* | | Issue #18756: os.urandom() now uses a lazily-opened persistent file ↵ | Antoine Pitrou | 2013-08-30 | 1 | -0/+1 |
| | | | | | | | | descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads. |