Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.6] bpo-30567: Fix refleak in sys.getwindowsversion (GH-1940) (#1970) | Serhiy Storchaka | 2017-06-06 | 1 | -4/+4 |
| | | | (cherry picked from commit 48fb766) | ||||
* | [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) | Ned Deily | 2017-03-04 | 1 | -3/+3 |
| | | | | | | | | | | | * bpo-27593: Get SCM build info from git instead of hg. (#446) sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower. (cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178) | ||||
* | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -2/+2 |
| | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | Issue #28616: merge from 3.5 | Ned Deily | 2016-11-04 | 1 | -1/+1 |
|\ | |||||
| * | Issue #28616: Correct help for sys.version_info releaselevel component. | Ned Deily | 2016-11-04 | 1 | -1/+1 |
| | | | | | | | | Patch by Anish Tambe. | ||||
| * | Issue #27932: Prevent memory leak in win32_ver(). | Steve Dower | 2016-09-18 | 1 | -0/+37 |
| | | |||||
* | | Issue #27932: Prevent memory leak in win32_ver(). | Steve Dower | 2016-09-18 | 1 | -4/+42 |
| | | |||||
* | | remove ceval timestamp support | Benjamin Peterson | 2016-09-09 | 1 | -30/+0 |
| | | |||||
* | | Issue #28003: Fix a compiler warning | Yury Selivanov | 2016-09-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 1 | -0/+119 |
| | | |||||
* | | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 1 | -2/+48 |
| | | |||||
* | | Issue #27355: Removed support for Windows CE. It was never finished, | Larry Hastings | 2016-09-05 | 1 | -5/+3 |
| | | | | | | | | and Windows CE is no longer a relevant platform for Python. | ||||
* | | Rename _PyObject_FastCall() to _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict() | ||||
* | | sys_pyfile_write_unicode() now uses fast call | Victor Stinner | 2016-08-19 | 1 | -7/+2 |
| | | | | | | | | Issue #27128. | ||||
* | | call_trampoline() now uses fast call | Victor Stinner | 2016-08-19 | 1 | -19/+10 |
| | | | | | | | | Issue #27128. | ||||
* | | - Issue #23968: Rename the platform directory from plat-$(MACHDEP) to | doko@ubuntu.com | 2016-06-14 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | plat-$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the platform specifc _sysconfigdata module into the platform directory and rename it to include the ABIFLAGS. | ||||
* | | Issue #17905: Do not guard locale include with HAVE_LANGINFO_H. | Stefan Krah | 2016-04-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
* | | Add PYTHONMALLOC env var | Victor Stinner | 2016-03-14 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26516: * Add PYTHONMALLOC environment variable to set the Python memory allocators and/or install debug hooks. * PyMem_SetupDebugHooks() can now also be used on Python compiled in release mode. * The PYTHONMALLOCSTATS environment variable can now also be used on Python compiled in release mode. It now has no effect if set to an empty string. * In debug mode, debug hooks are now also installed on Python memory allocators when Python is configured without pymalloc. | ||||
* | | Merge 3.5 | Victor Stinner | 2016-01-20 | 1 | -1/+1 |
|\ \ | |/ | | | | | Issue #26154: Add a new private _PyThreadState_UncheckedGet() function. | ||||
| * | Add _PyThreadState_UncheckedGet() | Victor Stinner | 2016-01-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which gets the current thread state, but don't call Py_FatalError() if it is NULL. Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to no more expose complex and private atomic types. Atomic types depends on the compiler or can even depend on compiler options. The new function _PyThreadState_UncheckedGet() allows to get the variable value without having to care of the exact implementation of atomic types. Changes: * Replace direct usage of the _PyThreadState_Current variable with a call to _PyThreadState_UncheckedGet(). * In pystate.c, replace direct usage of the _PyThreadState_Current variable with the PyThreadState_GET() macro for readability. * Document also PyThreadState_Get() in pystate.h | ||||
* | | Issue #20440: Cleaning up the code by using Py_SETREF. | Serhiy Storchaka | 2016-01-05 | 1 | -4/+1 |
| | | |||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -2/+4 |
| | | |||||
* | | sysmodule.c: reuse Py_STRINGIFY() macro | Victor Stinner | 2015-11-05 | 1 | -6/+2 |
|/ | |||||
* | sys.setrecursionlimit() now raises RecursionError | Victor Stinner | 2015-10-12 | 1 | -3/+26 |
| | | | | | | | Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new recursion limit is too low depending at the current recursion depth. Modify also the "lower-water mark" formula to make it monotonic. This mark is used to decide when the overflowed flag of the thread state is reset. | ||||
* | Issue 24017: Make PyEval_(Set|Get)CoroutineWrapper private | Yury Selivanov | 2015-06-01 | 1 | -3/+3 |
| | |||||
* | use our normal bracing style | Benjamin Peterson | 2015-05-12 | 1 | -1/+2 |
| | |||||
* | Issue #24017: Plug ref leak. | Yury Selivanov | 2015-05-12 | 1 | -2/+0 |
| | |||||
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -0/+47 |
| | |||||
* | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | 2015-03-30 | 1 | -1/+1 |
| | | | | Add _Py_fstat_noraise() function when a Python exception is not welcome. | ||||
* | Issue #23451: Update pyconfig.h for Windows to require Vista headers and ↵ | Steve Dower | 2015-03-02 | 1 | -0/+8 |
| | | | | remove unnecessary version checks. | ||||
* | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | 2015-02-21 | 1 | -2/+2 |
| | | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer. | ||||
* | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -1/+1 |
|\ | |||||
| * | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #22696: Add function :func:`sys.is_finalizing` to know about ↵ | Antoine Pitrou | 2014-12-07 | 1 | -0/+11 |
| | | | | | | | | interpreter shutdown. | ||||
* | | Issue #22869: Split pythonrun into two modules | Nick Coghlan | 2014-11-20 | 1 | -1/+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 #22193: Fixed integer overflow error in sys.getsizeof(). | Serhiy Storchaka | 2014-11-15 | 1 | -5/+10 |
| | | | | Fixed an error in _PySys_GetSizeOf declaration. | ||||
* | Issue #22193: Added private function _PySys_GetSizeOf() needed to implement | Serhiy Storchaka | 2014-08-14 | 1 | -32/+40 |
| | | | | some __sizeof__() methods. | ||||
* | Issue #21891: remove extraneous semicolon. | Ned Deily | 2014-07-01 | 1 | -1/+1 |
| | |||||
* | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵ | Antoine Pitrou | 2014-04-28 | 1 | -3/+10 |
| | | | | raises a TypeError. | ||||
* | undefine SET_SYS_FROM_STRING_BORROW after its done being used (closes #21089) | Benjamin Peterson | 2014-03-28 | 1 | -0/+1 |
| | |||||
* | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
|\ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
| | | |||||
* | | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 1 | -19/+0 |
| | | |||||
* | | Fix the C definition of the sys._debugmallocstats() function: the function has | Victor Stinner | 2013-12-19 | 1 | -1/+1 |
| | | | | | | | | no parameter | ||||
* | | Issue #16404: Add checks for return value of PyLong_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
| * | Issue #16404: Add checks for return value of PyLong_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -0/+4 |
| | | | | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
* | | Fixed leak in sys.flags initialization. | Serhiy Storchaka | 2013-12-17 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Fixed leak in sys.flags initialization. | Serhiy Storchaka | 2013-12-17 | 1 | -0/+1 |
| | | |||||
* | | Issue #14432: Remove the thread state field from the frame structure. Fix a | Victor Stinner | 2013-12-13 | 1 | -5/+3 |
| | | | | | | | | | | | | | | crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. |