- 25 May, 2019 1 kayıt (commit)
-
-
Batuhan Taşkaya yazdı
-
- 24 May, 2019 26 kayıt (commit)
-
-
Jason R. Coombs yazdı
Add importlib.metadata module as forward port of the standalone importlib_metadata.
-
Victor Stinner yazdı
catch_unraisable_exception() now also removes its 'unraisable' attribute at the context manager exit.
-
Victor Stinner yazdı
-
Pablo Galindo yazdı
-
Victor Stinner yazdı
-
Rémi Lapeyre yazdı
-
Victor Stinner yazdı
-
Steve Dower yazdı
-
Berker Peksag yazdı
-
E. M. Bray yazdı
Add also missing AC_MSG_RESULT for AC_MSG_CHECKING(MACHDEP).
-
Victor Stinner yazdı
-
Batuhan Taşkaya yazdı
-
Paul Monson yazdı
-
Batuhan Taşkaya yazdı
-
Batuhan Taşkaya yazdı
-
E. M. Bray yazdı
It is also possible to link against a library or executable with a statically linked libpython, but not both with the same DLL. In fact building a statically linked python is currently broken on Cygwin for other (related) reasons. The same problem applies to other POSIX-like layers over Windows (MinGW, MSYS) but Python's build system does not seem to attempt to support those platforms at the moment.
-
Victor Stinner yazdı
* Fix a possible reference leak in _PyErr_Print() if exception is NULL. * PyErr_BadInternalCall(): replace PyErr_Format() with _PyErr_SetString(). * Add pycore_pyerrors.h header file. * New functions: * _PyErr_Clear() * _PyErr_Fetch() * _PyErr_Print() * _PyErr_Restore() * _PyErr_SetObject() * _PyErr_SetString() * Add 'tstate' parameter to _PyEval_AddPendingCall().
-
Nick Sung yazdı
-
Victor Stinner yazdı
PyOS_AfterFork_Child(): _PyInterpreterState_DeleteExceptMain() must be called after _PyRuntimeState_ReInitThreads(). _PyRuntimeState_ReInitThreads() resets interpreters mutex after fork, mutex used by _PyInterpreterState_DeleteExceptMain().
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Add 'PyThreadState *tstate' parameter to errors.c functions to avoid relying on global variables (indirectly on _PyRuntime).
-
Victor Stinner yazdı
Remove main_thread and main_interp variables from signalmodule.c: reuse _PyRuntime which already track the main thread and the main interpreter. * Remove #include <sys/types.h> which became useless: getpid() call has been removed. * Add runtime argument to is_main() * is_main() now gets the interpreter from runtime.
-
Dan Rose yazdı
Previously, it was hard to tell whether a function should be awaited. It was also incorrect (per PEP 484) to put this in the type hint for coroutine functions. Added this info to the output of builtins.help and pydoc. https://bugs.python.org/issue36045
-
Xtreak yazdı
-
Cheryl Sabella yazdı
-
Petr Viktorin yazdı
bpo-34626: Document creating heap types from the C-API Add missing descriptions of PEP384's PyType_Spec and PyType_Slot, along with some introductory prose.
-
- 23 May, 2019 13 kayıt (commit)
-
-
Pablo Galindo yazdı
-
Batuhan Taşkaya yazdı
-
Matěj Cepl yazdı
``_thread.interrupt_main()`` now avoids setting the Python error status if the ``SIGINT`` signal is ignored or not handled by Python.
-
Batuhan Taşkaya yazdı
-
Batuhan Taşkaya yazdı
-
Batuhan Taşkaya yazdı
-
Steve Dower yazdı
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
-
Nick Coghlan yazdı
-
Damien Nadé yazdı
I've reported the issue on https://bugs.python.org/issue37008 and now I'm trying to bring a solution to this minor issue. I think it could be trivially backported to 3.7 branch. https://bugs.python.org/issue37008
-
David Carlier yazdı
-
Victor Stinner yazdı
* _PyPreConfig_InitCompatConfig() sets utf8_mode to 0. * Change Py_UTF8Mode default value to 0. * Fix _PyPreConfig_Copy(): copy also _config_init attrbibute. * _PyPreConfig_AsDict() exports _config_init * Fix _PyPreConfig_GetGlobalConfig(): use Py_UTF8Mode if it's greater than 0, even if utf8_mode >= 0. * Add unit tests on environment variables using Python API.
-
Victor Stinner yazdı
In development (-X dev) mode and in a debug build, IOBase finalizer of the _pyio module now logs the exception if the close() method fails. The exception is ignored silently by default in release build. test_io: test_error_through_destructor() now uses support.catch_unraisable_exception() rather than capturing stderr.
-
Victor Stinner yazdı
To embed Python into an application, a new --embed option must be passed to "python3-config --libs --embed" to get "-lpython3.8" (link the application to libpython). To support both 3.8 and older, try "python3-config --libs --embed" first and fallback to "python3-config --libs" (without --embed) if the previous command fails. Add a pkg-config "python-3.8-embed" module to embed Python into an application: "pkg-config python-3.8-embed --libs" includes "-lpython3.8". To support both 3.8 and older, try "pkg-config python-X.Y-embed --libs" first and fallback to "pkg-config python-X.Y --libs" (without --embed) if the previous command fails (replace "X.Y" with the Python version). On the other hand, "pkg-config python3.8 --libs" no longer contains "-lpython3.8". C extensions must not be linked to libpython (except on Android, case handled by the script); this change is backward incompatible on purpose. "make install" now also installs "python-3.8-embed.pc".
-