Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32030: Add more options to _PyCoreConfig (#4485) | Victor Stinner | 2017-11-21 | 1 | -1/+5 |
| | | | | | | Py_Main() now handles two more -X options: * -X showrefcount: new _PyCoreConfig.show_ref_count field * -X showalloccount: new _PyCoreConfig.show_alloc_count field | ||||
* | bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160) | xdegaye | 2017-11-12 | 1 | -18/+42 |
| | |||||
* | Add the const qualifier to "char *" variables that refer to literal strings. ↵ | Serhiy Storchaka | 2017-11-11 | 1 | -1/+1 |
| | | | | (#4370) | ||||
* | bpo-30817: Fix PyErr_PrintEx() when no memory (#2526) | xdegaye | 2017-10-23 | 1 | -3/+9 |
| | |||||
* | bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014) | Zane Bitter | 2017-10-17 | 1 | -3/+18 |
| | |||||
* | bpo-30860: Fix a refleak. (#3567) | Eric Snow | 2017-09-14 | 1 | -1/+4 |
| | | | | | Resolves bpo-31420. (This was accidentally reverted when in #3565.) | ||||
* | bpo-31404: Revert "remove modules from Py_InterpreterState (#1638)" (#3565) | Eric Snow | 2017-09-14 | 1 | -4/+1 |
| | | | PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted. | ||||
* | bpo-30860: Fix a refleak. (#3506) | Eric Snow | 2017-09-12 | 1 | -1/+4 |
| | | | | | | | | | | | | | | * Drop warnoptions from PyInterpreterState. * Drop xoptions from PyInterpreterState. * Don't set warnoptions and _xoptions again. * Decref after adding to sys.__dict__. * Drop an unused macro. * Check sys.xoptions *before* we delete it. | ||||
* | bpo-30860: Consolidate stateful runtime globals. (#3397) | Eric Snow | 2017-09-08 | 1 | -0/+1 |
| | | | | | | | * group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py). | ||||
* | bpo-22257: Private C-API for main interpreter initialization (PEP 432). (#1729) | Eric Snow | 2017-05-24 | 1 | -2/+8 |
| | | | (patch by Nick Coghlan) | ||||
* | bpo-29556: Remove unused #include <langinfo.h> (#98) | Yen Chi Hsuan | 2017-02-15 | 1 | -4/+0 |
| | | | | | | bltinmodule.c: Added in b744ba1 and no longer necessary since d64e8a7 posixmodule.c: Added in d1cd4d4 and no longer necessary since efb00c0 pythonrun.c: Added in 73d538b and no longer necessary since d600951 sysmodule.c: Added in 5467d4c and no longer necessary since a2c17c5 | ||||
* | Issue #25677: Merge SyntaxError caret positioning from 3.6 | Martin Panter | 2016-12-19 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25677: Merge SyntaxError caret positioning from 3.5 | Martin Panter | 2016-12-19 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #25677: Correct syntax error caret for indented blocks. | Martin Panter | 2016-12-11 | 1 | -1/+1 |
| | | | | | | | | | | | | Based on patch by Michael Layzell. | ||||
* | | | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 1 | -3/+3 |
|/ / | | | | | | | UTF-8 represenatation of Unicode objects. | ||||
* | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -4/+4 |
| | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
| * | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
* | | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-06 | 1 | -2/+2 |
| | | | | | | | | Directly pass NULL rather than an empty string. | ||||
* | | Rename _PyObject_FastCall() to _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict() | ||||
* | | PyErr_PrintEx() now uses fast call | Victor Stinner | 2016-08-19 | 1 | -3/+7 |
| | | | | | | | | Issue #27128. | ||||
* | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | | 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 |
| | |