Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
f5f336a bpo-36356: pymain_free() calls _PyRuntime_Finalize() (GH-12435) Ensure that _PyRuntime_Finalize() is always call. This change fix a few memory leaks when running "python3 -V". 19 March 2019, 13:53:58 UTC
fecc4f2 bpo-36356: Release Unicode interned strings on Valgrind (#12431) 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 19 March 2019, 13:20:29 UTC
a712679 bpo-36333, bpo-36356: Fix _PyEval_FiniThreads() (GH-12432) _PyEval_FiniThreads() now free the pending lock. 19 March 2019, 13:19:38 UTC
29198ea bpo-8677: use PY_SSIZE_T_CLEAN in sqlite (GH-12434) Modules/_sqlite/cursor.c uses "y#" format. It didn't declare PY_SSIZE_T_CLEAN, but the argument is Py_ssize_t already. 19 March 2019, 13:10:18 UTC
943395f bpo-36333: Fix leak _PyRuntimeState_Fini (GH-12400) 19 March 2019, 10:51:32 UTC
e130a07 bpo-36356: Fix memory leak in _PyPreConfig_Read() (GH-12425) _PyPreConfig_Read() now free 'old_old' at exit. 19 March 2019, 10:50:25 UTC
5f1e8b4 Add docstrings to the arithmetic methods in NormalDist() (GH-12426) 19 March 2019, 05:24:15 UTC
714c60d bpo-36324: Add inv_cdf() to statistics.NormalDist() (GH-12377) 19 March 2019, 03:17:14 UTC
faddaed bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c (GH-12423) * Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c. * Pass string length to functions modifying strings. 19 March 2019, 01:58:14 UTC
5f9cf23 bpo-36301: Error if decoding pybuilddir.txt fails (GH-12422) 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. 19 March 2019, 00:46:25 UTC
7b14f0c bpo-36352: Add error handling to getpath.c (GH-12421) Replace Py_FatalError() with _PyInitError to let the caller handle the fatal error. 18 March 2019, 22:54:59 UTC
c183444 bpo-36301: Fix Py_Main() memory leaks (GH-12420) 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> 18 March 2019, 21:24:28 UTC
a10d426 bpo-36292: Mark unreachable code as such in long bitwise ops (GH-12333) 18 March 2019, 17:59:20 UTC
f7b57df bpo-36320: Switch typing.NamedTuple from OrderedDict to regular dict (GH-12396) Also, deprecate the *_field_types* attributes which duplicated the information in *\__annotations__*. https://bugs.python.org/issue36320 18 March 2019, 16:53:56 UTC
1be0d11 bpo-36352: Clarify fileutils.h documentation (GH-12406) 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. 18 March 2019, 16:47:26 UTC
72c7b37 bpo-36235: Enhance distutils test_customize_compiler() (GH-12403) The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler(). 18 March 2019, 16:19:02 UTC
9e06d2b bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381) 18 March 2019, 16:10:29 UTC
0c9258a bpo-36332: Allow compile() to handle AST objects with assignment expressions (GH-12398) 18 March 2019, 13:51:53 UTC
2ddc7f6 bpo-30040: optimize inserting into empty dict (GH-12307) 18 March 2019, 11:38:33 UTC
09a9f17 bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py (#12385) * bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py * Add the blurb entry 18 March 2019, 10:47:55 UTC
74ae50e bpo-36307: Travis: upgrade to Xenial environment (GH-12356) 18 March 2019, 10:44:58 UTC
b4b97af Fix typo in _PyObject_FastCallDict documentation (GH-12383) 18 March 2019, 10:07:53 UTC
23581c0 bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) 18 March 2019, 07:27:39 UTC
6a16b18 bpo-36297: remove "unicode_internal" codec (GH-12342) 18 March 2019, 06:44:11 UTC
6fb544d Fix "catchs" typos in NEWS entries (GH-12364) 17 March 2019, 23:48:21 UTC
dc69f69 Fix typo in unittest.mock documentation: manger -> manager (GH-12352) 17 March 2019, 23:34:22 UTC
f683f46 bpo-34745: Fix asyncio sslproto memory issues (GH-12386) * 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 17 March 2019, 22:51:10 UTC
06e1e68 bpo-34160: Update news entry for XML order attributes (#12335) 16 March 2019, 23:44:56 UTC
0bb5e75 bpo-23216: IDLE: Add docstrings to search modules (GH-12141) 16 March 2019, 23:29:33 UTC
7c99454 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 16 March 2019, 22:34:24 UTC
962bdea bpo-35715: Liberate return value of _process_worker (GH-11514) 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. 16 March 2019, 22:28:51 UTC
9c68543 Update the seealso entries for namedtuple() (GH-12373) * 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. 16 March 2019, 19:53:23 UTC
5927cfd Minor grammar fix in docs (GH-12371) 16 March 2019, 18:16:29 UTC
1b0393d bpo-36127: Fix compiler warning in _PyArg_UnpackKeywords(). (GH-12353) 16 March 2019, 17:45:00 UTC
f40b4a0 bpo-36138: Clarify docs about converting datetime.timedelta to scalars. (GH-12137) Be explicit that timedelta division converts an overall duration to the interval units given by the denominator. 16 March 2019, 03:56:58 UTC
d2fdd1f bpo-36124: Add PyInterpreterState.dict. (gh-12132) 15 March 2019, 23:47:43 UTC
c11183c bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (gh-12359) 15 March 2019, 22:35:46 UTC
842a2f0 bpo-33608: Deal with pending calls relative to runtime shutdown. (gh-12246) 15 March 2019, 21:47:51 UTC
7c4fcb6 Add the meaning of the returned value of PyTypeObject.tp_init (GH-12325) 15 March 2019, 16:18:36 UTC
e3f4070 bpo-33608: Fix PyEval_InitThreads() warning (GH-12346) 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 15 March 2019, 15:04:20 UTC
6259976 bpo-36301: _PyCoreConfig_Read() ensures that argv is not empty (GH-12347) If argv is empty, add an empty string. 15 March 2019, 15:03:23 UTC
74f6568 bpo-36301: Add _PyWstrList structure (GH-12343) 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 15 March 2019, 14:08:05 UTC
86082c2 bpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236) 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> 15 March 2019, 13:57:52 UTC
65f64b1 bpo-36272: Logging now propagates RecursionError (GH-12312) 15 March 2019, 06:53:34 UTC
1c668d1 Correct the heading levels (GH-12338) 15 March 2019, 04:46:31 UTC
b420428 Document actual string.punctuation value. (GH-12270) 14 March 2019, 19:28:31 UTC
53c2935 Fix typo duplicate period in a docstring in the zipfile module. (GH-12326) 14 March 2019, 19:26:25 UTC
3fe7fa3 bpo-30040: update news entry (GH-12324) This optimization is not only for space, but also for speed. 14 March 2019, 09:54:09 UTC
41f0b78 Simplify overlap() formula for case where variances are equal (GH-12323) 14 March 2019, 09:25:26 UTC
3191391 bpo-36127: Argument Clinic: inline parsing code for keyword parameters. (GH-12058) 14 March 2019, 08:32:22 UTC
2c0d3f4 bpo-36254: Fix yet one invalid use of %d in format string in C. (GH-12318) 14 March 2019, 08:06:05 UTC
f2f55e7 bpo-36282: Improved error message for too much positional arguments. (GH-12310) 13 March 2019, 21:03:22 UTC
d53fe5f bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) 13 March 2019, 20:59:55 UTC
10f8ce6 bpo-36280: Add Constant.kind field (GH-12295) The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals. The 'r' (raw) prefix is ignored. Does not apply to f-strings. This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on). WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka https://bugs.python.org/issue36280 13 March 2019, 20:00:46 UTC
8b5bdda bpo-31904: Adapt the _signal module to VxWorks RTOS (GH-12304) Limited signal fields in VxWorks. 13 March 2019, 17:18:25 UTC
9776b06 bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) Fix an unlikely memory leak on conversion from string to float in the function _Py_dg_strtod() used by float(str), complex(str), pickle.load(), marshal.load(), etc. Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label: rewrite memory management in this function to always release all memory before exiting the function. Initialize variables to NULL, and set them to NULL after calling Bfree() at the "cont:" label. Note: Bfree(NULL) is well defined: it does nothing. 13 March 2019, 16:55:01 UTC
86900a4 Fix stepping into a frame without a __name__ (GH-12064) 13 March 2019, 03:57:09 UTC
839b925 bpo-35661: Fix failing test on buildbot (GH-12297) 13 March 2019, 00:15:47 UTC
26c910c bpo-36174: Update nuget authoring for new license field. (GH-12300) 12 March 2019, 23:48:17 UTC
20843a9 Correct minor edit to news entry. (GH-12298) 12 March 2019, 23:44:20 UTC
8ef864d bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294) 12 March 2019, 22:15:26 UTC
f45813d Minor edits to news entries (ported from 3.7) (GH-12293) 12 March 2019, 16:21:22 UTC
25ec4a4 bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) 12 March 2019, 15:39:57 UTC
410aea1 canonicalize "Inada Naoki" in ACKS and 3.8 News (GH-12286) 12 March 2019, 08:27:43 UTC
f2a1867 bpo-30040: new empty dict uses key-sharing dict (GH-1080) Sizeof new empty dict becomes 72 bytes from 240 bytes (amd64). It is same size to empty dict created by dict.clear(). 12 March 2019, 08:25:44 UTC
fc06a19 bpo-35892: Fix mode() and add multimode() (#12089) 12 March 2019, 07:43:27 UTC
3e93643 bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103) This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise. 12 March 2019, 03:29:04 UTC
1ceb3a3 bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848) 12 March 2019, 03:21:25 UTC
d9bd8ec Doc: Fix inconsistency in multiprocessing (GH-12273) 11 March 2019, 13:54:48 UTC
876e82b bpo-36234: Add more tests to PosixUidGidTests (GH-12234) test_posix.PosixUidGidTests: * Add tests for invalid uid/gid type (str) * Add UID_OVERFLOW and GID_OVERFLOW constants to replace (1 << 32) Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com> 11 March 2019, 12:57:53 UTC
cc353a0 Various refinements to the NormalDist examples and recipes (GH-12272) 11 March 2019, 06:43:33 UTC
491ef53 bpo-36176: Fix IDLE autocomplete & calltip popup colors. (#12262) Prevent conflicts with Linux dark themes (and slightly darken calltip background). 11 March 2019, 00:18:40 UTC
0e1f1f0 bpo-35647: Fix path check in cookiejar (#11436) * Refactor cookie path check as per RFC 6265 * Add tests for prefix match of path * Add news entry * Fix set_ok_path and refactor tests * Use slice for last letter 10 March 2019, 17:12:28 UTC
1aeeaeb bpo-21314: Add a FAQ entry about positional only parameters (GH-10641) 10 March 2019, 11:30:11 UTC
11205b8 Fix padding on asyncio.IncompleteReadError docs (GH-12258) 10 March 2019, 11:02:17 UTC
8b91eda bpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). (GH-12252) 10 March 2019, 10:29:14 UTC
ca7fe50 bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) Don't send cookies of domain A without Domain attribute to domain B when domain A is a suffix match of domain B while using a cookiejar with `http.cookiejar.DefaultCookiePolicy` policy. Patch by Karthikeyan Singaravelan. 10 March 2019, 02:09:48 UTC
738c19f closes bpo-33376: Update to Unicode 12.0.0. (GH-12256) 10 March 2019, 00:25:55 UTC
0411411 Rework integer overflow path in math.prod and add more tests (GH-11809) The overflow check was relying on undefined behaviour as it was using the result of the multiplication to do the check, and once the overflow has already happened, any operation on the result is undefined behaviour. Some extra checks that exercise code paths related to this are also added. 09 March 2019, 19:18:08 UTC
62fa51f Fix typos and improve grammar in threading.Barrier docstrings (GH-12210) 09 March 2019, 17:38:05 UTC
1b304f9 Remove d_initial from the parser as it is unused (GH-12212) d_initial, the first state of a particular DFA in the parser has always been initialized to 0 in the old pgen as well as the new pgen. As this value is not used and the first state of each DFA is assumed to be the first element in the array representing it, remove d_initial from the parser to reduce complexity. 09 March 2019, 15:35:50 UTC
d70a359 Make a documentation link target more specific (GH-12249) 09 March 2019, 08:42:23 UTC
8479a34 bpo-33608: Make sure locks in the runtime are properly re-created. (gh-12245) 09 March 2019, 06:44:33 UTC
5be45a6 bpo-33608: Minor cleanup related to pending calls. (gh-12247) 09 March 2019, 05:47:07 UTC
7bda9de Simplify DISPATCH by hoisting eval_breaker ahead of time. (gh-12243) 09 March 2019, 00:25:54 UTC
d5a70c6 bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440) 08 March 2019, 22:01:27 UTC
2aab5d3 Fix the Py_atomic_* macros. (#12240) The macros were working only because our usage happened to parse correctly. Changing that usage (e.g. with pointers) would break the macros. This fixes that. 08 March 2019, 19:06:56 UTC
ab9b31f bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690) 08 March 2019, 18:58:00 UTC
8a1bab9 bpo-34162: Add entries for idlelib/NEWS.txt (#12232) 08 March 2019, 08:04:32 UTC
f2320b3 Fix typo (double 'the') in CODEOWNERS (GH-12227) 08 March 2019, 01:09:40 UTC
495da29 bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) This adds a `feature_version` flag to `ast.parse()` (documented) and `compile()` (hidden) that allow tweaking the parser to support older versions of the grammar. In particular if `feature_version` is 5 or 6, the hacks for the `async` and `await` keyword from PEP 492 are reinstated. (For 7 or higher, these are unconditionally treated as keywords, but they are still special tokens rather than `NAME` tokens that the parser driver recognizes.) https://bugs.python.org/issue35975 07 March 2019, 20:38:08 UTC
bf94cc7 bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074) 07 March 2019, 18:20:13 UTC
2f8f564 bpo-36108: Avoid failing the build on race condition in clean (GH-12217) 07 March 2019, 17:09:15 UTC
14bab7a NormalDist.overlap() only needs one example (GH-12218) 07 March 2019, 16:54:31 UTC
16e6f7d bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201) 07 March 2019, 16:02:26 UTC
1f58f4f Refine statistics.NormalDist documentation and improve test coverage (GH-12208) 07 March 2019, 07:23:55 UTC
318d537 bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149) 07 March 2019, 06:59:40 UTC
e942e7b Fix the documentation for set.copy() (GH-12176) Remove 's' mention as there's no argument. 07 March 2019, 05:23:21 UTC
ecc161d bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204) 07 March 2019, 05:16:41 UTC
dc07894 bpo-36139: Fix mmap_object_dealloc(): hold the GIL to call PyMem_Free() (GH-12199) 06 March 2019, 17:08:31 UTC
back to top