- 19 Mar, 2019 7 kayıt (commit)
-
-
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 8 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ı
-
Yasser A yazdı
Be explicit that timedelta division converts an overall duration to the interval units given by the denominator.
-
- 15 Mar, 2019 8 kayıt (commit)
-
-
Eric Snow yazdı
-
Eric Snow yazdı
-
Eric Snow yazdı
-
Stéphane Wirtel yazdı
-
Victor Stinner yazdı
The function has no return value. Fix the following warning on Windows: python\ceval.c(180): warning C4098: 'PyEval_InitThreads': 'void' function returning a value
-
Victor Stinner yazdı
If argv is empty, add an empty string.
-
Victor Stinner yazdı
Replace messy _Py_wstrlist_xxx() functions with a new clean _PyWstrList structure and new _PyWstrList_xxx() functions. Changes: * Add _PyCoreConfig.use_module_search_paths to decide if _PyCoreConfig.module_search_paths should be computed or not, to support empty search path list. * _PyWstrList_Clear() sets length to 0 and items to NULL, whereas _Py_wstrlist_clear() only freed memory. * _PyWstrList_Append() returns an int, whereas _Py_wstrlist_append() returned _PyInitError. * _PyWstrList uses Py_ssize_t for the length, instead of int. * Replace (int, wchar_t**) with _PyWstrList in: * _PyPreConfig * _PyCoreConfig * _PyPreCmdline * _PyCmdline * Replace "int orig_argv; wchar_t **orig_argv;" with "_PyWstrList orig_argv". * _PyCmdline and _PyPreCmdline now also copy wchar_argv. * Rename _PyArgv_Decode() to _PyArgv_AsWstrList(). * PySys_SetArgvEx() now pass the fixed (argc, argv) to _PyPathConfig_ComputeArgv0() (don't pass negative argc or NULL argv). * _PyOS_GetOpt() uses Py_ssize_t
-
Victor Stinner yazdı
Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
-