- 10 May, 2019 1 kayıt (commit)
-
-
Pierre Glaser yazdı
The multiprocessing.resource_tracker replaces the multiprocessing.semaphore_tracker module. Other than semaphores, resource_tracker also tracks shared_memory segments. Patch by Pierre Glaser.
-
- 25 Nis, 2019 1 kayıt (commit)
-
-
Paul Monson yazdı
-
- 18 Nis, 2019 2 kayıt (commit)
-
-
Victor Stinner yazdı
Add a new _testinternalcapi module to test the internal C API. Move _Py_GetConfigsAsDict() function to the internal C API: _testembed now uses _testinternalcapi to access the function.
-
Paul Monson yazdı
-
- 17 Nis, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
Change PyAPI_FUNC(type), PyAPI_DATA(type) and PyMODINIT_FUNC macros of pyport.h when Py_BUILD_CORE_MODULE is defined. The Py_BUILD_CORE_MODULE define must be now be used to build a C extension as a dynamic library accessing Python internals: export the PyInit_xxx() function in DLL exports on Windows. Changes: * Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE now imply Py_BUILD_CORE directy in pyport.h. * ceval.c compilation now fails with an error if Py_BUILD_CORE is not defined, just to ensure that Python is build with the correct defines. * setup.py now compiles _pickle.c with Py_BUILD_CORE_MODULE define. * setup.py compiles _json.c with Py_BUILD_CORE_MODULE define, rather than Py_BUILD_CORE_BUILTIN define * PCbuild/pythoncore.vcxproj: Add Py_BUILD_CORE_BUILTIN define.
-
- 15 Nis, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 13 Nis, 2019 1 kayıt (commit)
-
-
Pablo Galindo yazdı
After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.
-
- 29 Mar, 2019 2 kayıt (commit)
-
-
Paul Monson yazdı
We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
-
Jeroen Demeyer yazdı
-
- 27 Mar, 2019 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 21 Mar, 2019 2 kayıt (commit)
-
-
Isuru Fernando yazdı
-
Jess yazdı
-
- 18 Mar, 2019 1 kayıt (commit)
-
-
Inada Naoki yazdı
-
- 15 Mar, 2019 1 kayıt (commit)
-
-
Eric Snow yazdı
-
- 07 Mar, 2019 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 04 Mar, 2019 1 kayıt (commit)
-
-
Victor Stinner yazdı
Revert: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617) (GH-12159) * Revert "bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)" This reverts commit bcfa450f. * Revert "bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062)" This reverts commit bda918bf. * Revert "bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024)" This reverts commit b05b711a. * Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617)" This reverts commit ef4ac967.
-
- 01 Mar, 2019 4 kayıt (commit)
-
-
Eric Snow yazdı
-
Pablo Galindo yazdı
Pgen is the oldest piece of technology in the CPython repository, building it requires various #if[n]def PGEN hacks in other parts of the code and it also depends more and more on CPython internals. This commit removes the old pgen C code and replaces it for a new version implemented in pure Python. This is a modified and adapted version of lib2to3/pgen2 that can generate grammar files compatibles with the current parser. This commit also eliminates all the #ifdef and code branches related to pgen, simplifying the code and making it more maintainable. The regen-grammar step now uses $(PYTHON_FOR_REGEN) that can be any version of the interpreter, so the new pgen code maintains compatibility with older versions of the interpreter (this also allows regenerating the grammar with the current CI solution that uses Python3.5). The new pgen Python module also makes use of the Grammar/Tokens file that holds the token specification, so is always kept in sync and avoids having to maintain duplicate token definitions.
-
Victor Stinner yazdı
* Add _PyArgv_Decode() function * Move _Py_ClearFileSystemEncoding() and _Py_SetFileSystemEncoding() to preconfig.c.
-
Victor Stinner yazdı
The whole coreconfig.h header is now excluded from Py_LIMITED_API. Move functions definitions into a new internal pycore_coreconfig.h header. * Move Include/coreconfig.h to Include/cpython/coreconfig.h * coreconfig.h header is now excluded from Py_LIMITED_API * Move functions to pycore_coreconfig.h
-
- 14 Şub, 2019 1 kayıt (commit)
-
-
Paul Monson yazdı
This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it.
-
- 02 Şub, 2019 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 10 Ock, 2019 1 kayıt (commit)
-
-
antektek yazdı
-
- 08 Ock, 2019 1 kayıt (commit)
-
-
Gregory Szorc yazdı
This module is built by _asyncio.vcxproj and does not need to be included in pythoncore.
-
- 22 Ara, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
"Include/token.h", "Lib/token.py" (containing now some data moved from "Lib/tokenize.py") and new files "Parser/token.c" (containing the code moved from "Parser/tokenizer.c") and "Doc/library/token-list.inc" (included in "Doc/library/token.rst") are now generated from "Grammar/Tokens" by "Tools/scripts/generate_token.py". The script overwrites files only if needed and can be used on the read-only sources tree. "Lib/symbol.py" is now generated by "Tools/scripts/generate_symbol_py.py" instead of been executable itself. Added new make targets "regen-token" and "regen-symbol" which are now dependencies of "regen-all". The documentation contains now strings for operators and punctuation tokens.
-
- 21 Ara, 2018 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 14 Ara, 2018 2 kayıt (commit)
-
-
Steve Dower yazdı
-
Victor Stinner yazdı
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
-
- 11 Ara, 2018 2 kayıt (commit)
-
-
Steve Dower yazdı
-
Steve Dower yazdı
Also adds the PC/layout script for generating layouts on Windows.
-
- 10 Ara, 2018 2 kayıt (commit)
-
-
Steve Dower yazdı
-
Jeremy Kloth yazdı
-
- 07 Ara, 2018 2 kayıt (commit)
-
-
Victor Stinner yazdı
This reverts commit 468a15aa.
-
Steve Dower yazdı
-
- 28 Kas, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Move tupleobject.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/tupleobject.h header file. Add cpython/ header files to Makefile.pre.in and pythoncore project of PCbuild.
-
- 25 Kas, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Move _PyTuple_ITEMS() to a new header file: Include/internal/pycore_tupleobject.h
-
- 23 Kas, 2018 2 kayıt (commit)
-
-
Victor Stinner yazdı
Include/*.h should be the "portable Python API", whereas Include/cpython/*.h should be the "CPython API": CPython implementation details. Changes: * Create Include/cpython/ subdirectory * "make install" now creates $prefix/include/cpython and copy Include/cpython/* to $prefix/include/cpython * Create Include/cpython/objimpl.h: move objimpl.h code surrounded by "#ifndef Py_LIMITED_API" to cpython/objimpl.h. * objimpl.h now includes cpython/objimpl.h * Windows installer (MSI) now also install Include/ subdirectories: Include/cpython/ and Include/internal/.
-
Victor Stinner yazdı
Add pycore_fileutils.h and pycore_object.h to Makefile.pre.in and to the pythoncore project of PCbuild/.
-
- 12 Kas, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Rename Include/internal/ headers: * pycore_hash.h -> pycore_pyhash.h * pycore_lifecycle.h -> pycore_pylifecycle.h * pycore_mem.h -> pycore_pymem.h * pycore_state.h -> pycore_pystate.h Add missing headers to Makefile.pre.in and PCbuild: * pycore_condvar.h. * pycore_hamt.h * pycore_pyhash.h
-
- 01 Kas, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
* And pycore_lifecycle.h and pycore_pathconfig.h headers to Include/internal/ * Move Py_BUILD_CORE specific code from coreconfig.h and pylifecycle.h to pycore_pathconfig.h and pycore_lifecycle.h * Move _Py_wstrlist_XXX() definitions and _PyPathConfig code from pycore_state.h to pycore_pathconfig.h * Move "Init" and "Fini" function definitions from pylifecycle.c to pycore_lifecycle.h.
-