- 19 Mar, 2019 16 kayıt (commit)
-
-
Victor Stinner yazdı
Calling _PyRuntime_Initialize() after _PyRuntime_Finalize() now re-initializes _PyRuntime structure. Previously, _PyRuntime_Initialize() did nothing in that case.
-
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
* _PyPathConfig_ComputeSysPath0() now returns 0 if argv is empty. * Cleanup also _PyPathConfig_ComputeSysPath0() code: move variables definitions closer to where they are used.
-
Pablo Galindo yazdı
-
Victor Stinner yazdı
At Python initialization, the current directory is no longer prepended to sys.path if it has been removed. Rename _PyPathConfig_ComputeArgv0() to _PyPathConfig_ComputeSysPath0() to avoid confusion between argv[0] and sys.path[0].
-
Victor Stinner yazdı
Ensure that _PyRuntime_Finalize() is always call. This change fix a few memory leaks when running "python3 -V".
-
Victor Stinner yazdı
When Python is compiled with Valgrind support, release Unicode interned strings at exit in _PyUnicode_Fini(). * Rename _Py_ReleaseInternedUnicodeStrings() to unicode_release_interned() and make it private. * unicode_release_interned() is now called from _PyUnicode_Fini(): it must be called with a running Python thread state for TRASHCAN, it cannot be called from pymain_free(). * Don't display statistics on interned strings at exit anymore
-
Victor Stinner yazdı
_PyEval_FiniThreads() now free the pending lock.
-
Inada Naoki yazdı
Modules/_sqlite/cursor.c uses "y#" format. It didn't declare PY_SSIZE_T_CLEAN, but the argument is Py_ssize_t already.
-
Stéphane Wirtel yazdı
-
btharper yazdı
_PyPreConfig_Read() now free 'old_old' at exit.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
* Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c. * Pass string length to functions modifying strings.
-
Victor Stinner yazdı
Python initialization now fails if decoding pybuilddir.txt configuration file fails at startup. _PyPathConfig_Calculate() now reports memory allocation failure and decoding error on decoding pybuilddir.txt content from UTF-8/surrogateescape.
-
- 18 Mar, 2019 14 kayıt (commit)
-
-
Victor Stinner yazdı
Replace Py_FatalError() with _PyInitError to let the caller handle the fatal error.
-
Victor Stinner yazdı
bpo-36301, bpo-36333: * Fix memory allocator used by _PyPathConfig_ClearGlobal(): force the default allocator. * _PyPreConfig_ReadFromArgv(): free init_ctype_locale memory. * pymain_main(): call pymain_free() on init error Co-Authored-By:
Stéphane Wirtel <stephane@wirtel.be>
-
stratakis yazdı
-
Raymond Hettinger yazdı
Also, deprecate the *_field_types* attributes which duplicated the information in *\__annotations__*. https://bugs.python.org/issue36320
-
Victor Stinner yazdı
The last parameter of _Py_wreadlink(), _Py_wrealpath() and _Py_wgetcwd() is a length, not a size: number of characters including the trailing NUL character. Enhance also documentation of error conditions.
-
Victor Stinner yazdı
The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler().
-
Stéphane Wirtel yazdı
-
Pablo Galindo yazdı
-
Inada Naoki yazdı
-
Stéphane Wirtel yazdı
* bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py * Add the blurb entry
-
CAM Gerlach yazdı
-
Rémi Lapeyre yazdı
-
Raymond Hettinger yazdı
-
Inada Naoki yazdı
-
- 17 Mar, 2019 3 kayıt (commit)
-
-
Harmon yazdı
-
Joan Massich yazdı
-
Fantix King yazdı
* Fix handshake timeout leak in asyncio/sslproto Refs MagicStack/uvloop#222 * Break circular ref _SSLPipe <-> SSLProtocol * bpo-34745: Fix asyncio ssl memory leak * Break circular ref SSLProtocol <-> UserProtocol * Add NEWS entry
-
- 16 Mar, 2019 7 kayıt (commit)
-
-
Diego Rojas yazdı
-
Cheryl Sabella yazdı
-
Pablo Galindo yazdı
bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool (#11488) * bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool * Use self-pipe pattern to avoid polling for changes * Refactor some variable names and add comments * Restore timeout and poll * Use reader object only on wait() * Recompute worker sentinels every time * Remove timeout and use change notifier * Refactor some methods to be overloaded by the ThreadPool, document the cache class and fix typos
-
Dave Chevell yazdı
ProcessPoolExecutor workers will hold the return value of their last task in memory until the next task is received. Since the return value has already been propagated to the parent process's Future (or has been discarded by this point), the object can be safely released.
-
Raymond Hettinger yazdı
* Replace external recipe link with a link to the dataclasses module. * Highlight the class definition syntax for typing.NamedTuple and add an example for clarity.
-
Raymond Hettinger yazdı
-
Serhiy Storchaka yazdı
-