9e06d2b | Stéphane Wirtel | 18 March 2019, 16:10:29 UTC | bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381) | 18 March 2019, 16:10:29 UTC |
0c9258a | Pablo Galindo | 18 March 2019, 13:51:53 UTC | bpo-36332: Allow compile() to handle AST objects with assignment expressions (GH-12398) | 18 March 2019, 13:51:53 UTC |
2ddc7f6 | Inada Naoki | 18 March 2019, 11:38:33 UTC | bpo-30040: optimize inserting into empty dict (GH-12307) | 18 March 2019, 11:38:33 UTC |
09a9f17 | Stéphane Wirtel | 18 March 2019, 10:47:55 UTC | 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 | CAM Gerlach | 18 March 2019, 10:44:58 UTC | bpo-36307: Travis: upgrade to Xenial environment (GH-12356) | 18 March 2019, 10:44:58 UTC |
b4b97af | Rémi Lapeyre | 18 March 2019, 10:07:53 UTC | Fix typo in _PyObject_FastCallDict documentation (GH-12383) | 18 March 2019, 10:07:53 UTC |
23581c0 | Raymond Hettinger | 18 March 2019, 07:27:39 UTC | bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) | 18 March 2019, 07:27:39 UTC |
6a16b18 | Inada Naoki | 18 March 2019, 06:44:11 UTC | bpo-36297: remove "unicode_internal" codec (GH-12342) | 18 March 2019, 06:44:11 UTC |
6fb544d | Harmon | 17 March 2019, 23:48:21 UTC | Fix "catchs" typos in NEWS entries (GH-12364) | 17 March 2019, 23:48:21 UTC |
dc69f69 | Joan Massich | 17 March 2019, 23:34:22 UTC | Fix typo in unittest.mock documentation: manger -> manager (GH-12352) | 17 March 2019, 23:34:22 UTC |
f683f46 | Fantix King | 17 March 2019, 22:51:10 UTC | 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 | Diego Rojas | 16 March 2019, 23:44:56 UTC | bpo-34160: Update news entry for XML order attributes (#12335) | 16 March 2019, 23:44:56 UTC |
0bb5e75 | Cheryl Sabella | 16 March 2019, 23:29:33 UTC | bpo-23216: IDLE: Add docstrings to search modules (GH-12141) | 16 March 2019, 23:29:33 UTC |
7c99454 | Pablo Galindo | 16 March 2019, 22:34:24 UTC | 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 | Dave Chevell | 16 March 2019, 22:28:51 UTC | 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 | Raymond Hettinger | 16 March 2019, 19:53:23 UTC | 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 | Raymond Hettinger | 16 March 2019, 18:16:29 UTC | Minor grammar fix in docs (GH-12371) | 16 March 2019, 18:16:29 UTC |
1b0393d | Serhiy Storchaka | 16 March 2019, 17:45:00 UTC | bpo-36127: Fix compiler warning in _PyArg_UnpackKeywords(). (GH-12353) | 16 March 2019, 17:45:00 UTC |
f40b4a0 | Yasser A | 16 March 2019, 03:56:58 UTC | 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 | Eric Snow | 15 March 2019, 23:47:43 UTC | bpo-36124: Add PyInterpreterState.dict. (gh-12132) | 15 March 2019, 23:47:43 UTC |
c11183c | Eric Snow | 15 March 2019, 22:35:46 UTC | bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (gh-12359) | 15 March 2019, 22:35:46 UTC |
842a2f0 | Eric Snow | 15 March 2019, 21:47:51 UTC | bpo-33608: Deal with pending calls relative to runtime shutdown. (gh-12246) | 15 March 2019, 21:47:51 UTC |
7c4fcb6 | Stéphane Wirtel | 15 March 2019, 16:18:36 UTC | Add the meaning of the returned value of PyTypeObject.tp_init (GH-12325) | 15 March 2019, 16:18:36 UTC |
e3f4070 | Victor Stinner | 15 March 2019, 15:04:20 UTC | 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 | Victor Stinner | 15 March 2019, 15:03:23 UTC | 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 | Victor Stinner | 15 March 2019, 14:08:05 UTC | 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 | Victor Stinner | 15 March 2019, 13:57:52 UTC | 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 | Rémi Lapeyre | 15 March 2019, 06:53:34 UTC | bpo-36272: Logging now propagates RecursionError (GH-12312) | 15 March 2019, 06:53:34 UTC |
1c668d1 | Raymond Hettinger | 15 March 2019, 04:46:31 UTC | Correct the heading levels (GH-12338) | 15 March 2019, 04:46:31 UTC |
b420428 | Andre Delfino | 14 March 2019, 19:28:31 UTC | Document actual string.punctuation value. (GH-12270) | 14 March 2019, 19:28:31 UTC |
53c2935 | nick sung | 14 March 2019, 19:26:25 UTC | Fix typo duplicate period in a docstring in the zipfile module. (GH-12326) | 14 March 2019, 19:26:25 UTC |
3fe7fa3 | Inada Naoki | 14 March 2019, 09:54:09 UTC | 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 | Raymond Hettinger | 14 March 2019, 09:25:26 UTC | Simplify overlap() formula for case where variances are equal (GH-12323) | 14 March 2019, 09:25:26 UTC |
3191391 | Serhiy Storchaka | 14 March 2019, 08:32:22 UTC | bpo-36127: Argument Clinic: inline parsing code for keyword parameters. (GH-12058) | 14 March 2019, 08:32:22 UTC |
2c0d3f4 | Serhiy Storchaka | 14 March 2019, 08:06:05 UTC | bpo-36254: Fix yet one invalid use of %d in format string in C. (GH-12318) | 14 March 2019, 08:06:05 UTC |
f2f55e7 | Serhiy Storchaka | 13 March 2019, 21:03:22 UTC | bpo-36282: Improved error message for too much positional arguments. (GH-12310) | 13 March 2019, 21:03:22 UTC |
d53fe5f | Serhiy Storchaka | 13 March 2019, 20:59:55 UTC | bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) | 13 March 2019, 20:59:55 UTC |
10f8ce6 | Guido van Rossum | 13 March 2019, 20:00:46 UTC | 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 | pxinwr | 13 March 2019, 17:18:25 UTC | bpo-31904: Adapt the _signal module to VxWorks RTOS (GH-12304) Limited signal fields in VxWorks. | 13 March 2019, 17:18:25 UTC |
9776b06 | Victor Stinner | 13 March 2019, 16:55:01 UTC | 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 | Anthony Sottile | 13 March 2019, 03:57:09 UTC | Fix stepping into a frame without a __name__ (GH-12064) | 13 March 2019, 03:57:09 UTC |
839b925 | Cheryl Sabella | 13 March 2019, 00:15:47 UTC | bpo-35661: Fix failing test on buildbot (GH-12297) | 13 March 2019, 00:15:47 UTC |
26c910c | Steve Dower | 12 March 2019, 23:48:17 UTC | bpo-36174: Update nuget authoring for new license field. (GH-12300) | 12 March 2019, 23:48:17 UTC |
20843a9 | Ned Deily | 12 March 2019, 23:44:20 UTC | Correct minor edit to news entry. (GH-12298) | 12 March 2019, 23:44:20 UTC |
8ef864d | Steve Dower | 12 March 2019, 22:15:26 UTC | bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294) | 12 March 2019, 22:15:26 UTC |
f45813d | Ned Deily | 12 March 2019, 16:21:22 UTC | Minor edits to news entries (ported from 3.7) (GH-12293) | 12 March 2019, 16:21:22 UTC |
25ec4a4 | Anthony Sottile | 12 March 2019, 15:39:57 UTC | bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) | 12 March 2019, 15:39:57 UTC |
410aea1 | Inada Naoki | 12 March 2019, 08:27:43 UTC | canonicalize "Inada Naoki" in ACKS and 3.8 News (GH-12286) | 12 March 2019, 08:27:43 UTC |
f2a1867 | Inada Naoki | 12 March 2019, 08:25:44 UTC | 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 | Raymond Hettinger | 12 March 2019, 07:43:27 UTC | bpo-35892: Fix mode() and add multimode() (#12089) | 12 March 2019, 07:43:27 UTC |
3e93643 | Daniel Hahler | 12 March 2019, 03:29:04 UTC | 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 | Lisa Roach | 12 March 2019, 03:21:25 UTC | bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848) | 12 March 2019, 03:21:25 UTC |
d9bd8ec | Julien Palard | 11 March 2019, 13:54:48 UTC | Doc: Fix inconsistency in multiprocessing (GH-12273) | 11 March 2019, 13:54:48 UTC |
876e82b | Victor Stinner | 11 March 2019, 12:57:53 UTC | 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 | Raymond Hettinger | 11 March 2019, 06:43:33 UTC | Various refinements to the NormalDist examples and recipes (GH-12272) | 11 March 2019, 06:43:33 UTC |
491ef53 | Terry Jan Reedy | 11 March 2019, 00:18:40 UTC | 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 | Xtreak | 10 March 2019, 17:12:28 UTC | 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 | Lysandros Nikolaou | 10 March 2019, 11:30:11 UTC | bpo-21314: Add a FAQ entry about positional only parameters (GH-10641) | 10 March 2019, 11:30:11 UTC |
11205b8 | Andre Delfino | 10 March 2019, 11:02:17 UTC | Fix padding on asyncio.IncompleteReadError docs (GH-12258) | 10 March 2019, 11:02:17 UTC |
8b91eda | sth | 10 March 2019, 10:29:14 UTC | bpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). (GH-12252) | 10 March 2019, 10:29:14 UTC |
ca7fe50 | Xtreak | 10 March 2019, 02:09:48 UTC | 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 | Benjamin Peterson | 10 March 2019, 00:25:55 UTC | closes bpo-33376: Update to Unicode 12.0.0. (GH-12256) | 10 March 2019, 00:25:55 UTC |
0411411 | Pablo Galindo | 09 March 2019, 19:18:08 UTC | 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 | Carl Bordum Hansen | 09 March 2019, 17:38:05 UTC | Fix typos and improve grammar in threading.Barrier docstrings (GH-12210) | 09 March 2019, 17:38:05 UTC |
1b304f9 | tyomitch | 09 March 2019, 15:35:50 UTC | 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 | Raymond Hettinger | 09 March 2019, 08:42:23 UTC | Make a documentation link target more specific (GH-12249) | 09 March 2019, 08:42:23 UTC |
8479a34 | Eric Snow | 09 March 2019, 06:44:33 UTC | bpo-33608: Make sure locks in the runtime are properly re-created. (gh-12245) | 09 March 2019, 06:44:33 UTC |
5be45a6 | Eric Snow | 09 March 2019, 05:47:07 UTC | bpo-33608: Minor cleanup related to pending calls. (gh-12247) | 09 March 2019, 05:47:07 UTC |
7bda9de | Eric Snow | 09 March 2019, 00:25:54 UTC | Simplify DISPATCH by hoisting eval_breaker ahead of time. (gh-12243) | 09 March 2019, 00:25:54 UTC |
d5a70c6 | Cheryl Sabella | 08 March 2019, 22:01:27 UTC | bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440) | 08 March 2019, 22:01:27 UTC |
2aab5d3 | Eric Snow | 08 March 2019, 19:06:56 UTC | 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 | Anthony Sottile | 08 March 2019, 18:58:00 UTC | bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690) | 08 March 2019, 18:58:00 UTC |
8a1bab9 | Terry Jan Reedy | 08 March 2019, 08:04:32 UTC | bpo-34162: Add entries for idlelib/NEWS.txt (#12232) | 08 March 2019, 08:04:32 UTC |
f2320b3 | Benedikt Werner | 08 March 2019, 01:09:40 UTC | Fix typo (double 'the') in CODEOWNERS (GH-12227) | 08 March 2019, 01:09:40 UTC |
495da29 | Guido van Rossum | 07 March 2019, 20:38:08 UTC | 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 | Zackery Spytz | 07 March 2019, 18:20:13 UTC | bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074) | 07 March 2019, 18:20:13 UTC |
2f8f564 | Steve Dower | 07 March 2019, 17:09:15 UTC | bpo-36108: Avoid failing the build on race condition in clean (GH-12217) | 07 March 2019, 17:09:15 UTC |
14bab7a | Raymond Hettinger | 07 March 2019, 16:54:31 UTC | NormalDist.overlap() only needs one example (GH-12218) | 07 March 2019, 16:54:31 UTC |
16e6f7d | Steve Dower | 07 March 2019, 16:02:26 UTC | bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201) | 07 March 2019, 16:02:26 UTC |
1f58f4f | Raymond Hettinger | 07 March 2019, 07:23:55 UTC | Refine statistics.NormalDist documentation and improve test coverage (GH-12208) | 07 March 2019, 07:23:55 UTC |
318d537 | Raymond Hettinger | 07 March 2019, 06:59:40 UTC | bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149) | 07 March 2019, 06:59:40 UTC |
e942e7b | Andre Delfino | 07 March 2019, 05:23:21 UTC | Fix the documentation for set.copy() (GH-12176) Remove 's' mention as there's no argument. | 07 March 2019, 05:23:21 UTC |
ecc161d | Emmanuel Arias | 07 March 2019, 05:16:41 UTC | bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204) | 07 March 2019, 05:16:41 UTC |
dc07894 | Davide Rizzo | 06 March 2019, 17:08:31 UTC | bpo-36139: Fix mmap_object_dealloc(): hold the GIL to call PyMem_Free() (GH-12199) | 06 March 2019, 17:08:31 UTC |
edad38e | Jeremy Kloth | 06 March 2019, 16:54:12 UTC | bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010) Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t. | 06 March 2019, 16:54:12 UTC |
bb9593a | Davide Rizzo | 06 March 2019, 15:52:34 UTC | closes bpo-36139: release GIL around munmap(). (GH-12073) | 06 March 2019, 15:52:34 UTC |
b71e28e | Emmanuel Arias | 06 March 2019, 14:35:35 UTC | bpo-36209: Fix typo on hashlib error message (GH-12194) | 06 March 2019, 14:35:35 UTC |
25d13f3 | Victor Stinner | 06 March 2019, 11:51:53 UTC | bpo-36142: PYTHONMALLOC overrides PYTHONDEV (GH-12191) bpo-34247, bpo-36142: The PYTHONMALLOC environment variable has the priority over PYTHONDEV env var and "-X dev" command line option. For example, PYTHONMALLOC=malloc PYTHONDEVMODE=1 sets the memory allocators to "malloc" (and not to "debug"). Add an unit test. | 06 March 2019, 11:51:53 UTC |
01e0f43 | Pradyun Gedam | 06 March 2019, 11:42:21 UTC | bpo-35807: Upgrade ensurepip bundled pip and setuptools (GH-12189) * Update pip to 19.0.3 * Update setuptools to 40.8.0 | 06 March 2019, 11:42:21 UTC |
18ee50d | Raymond Hettinger | 06 March 2019, 10:31:14 UTC | Add more tests for pdf() and cdf() (GH-12190) | 06 March 2019, 10:31:14 UTC |
4fffd38 | Victor Stinner | 06 March 2019, 00:44:31 UTC | bpo-36142: _PyPreConfig_Read() sets LC_CTYPE (GH-12188) * _PyPreConfig_Read() now sets temporarily LC_CTYPE to the user preferred locale, as _PyPreConfig_Write() will do permanentely. * Fix _PyCoreConfig_Clear(): clear run_xxx attributes * _Py_SetArgcArgv() doesn't have to be exported * _PyCoreConfig_SetGlobalConfig() no longer applies preconfig | 06 March 2019, 00:44:31 UTC |
c656e25 | Victor Stinner | 06 March 2019, 00:13:43 UTC | bpo-36142: Add _PyPreConfig_SetAllocator() (GH-12187) * _PyPreConfig_Write() now reallocates the pre-configuration with the new memory allocator. * It is no longer needed to force the "default raw memory allocator" to clear pre-configuration and core configuration. Simplify the code. * _PyPreConfig_Write() now does nothing if called after Py_Initialize(): no longer check if the allocator is the same. * Remove _PyMem_GetDebugAllocatorsName(): dev mode sets again allocator to "debug". | 06 March 2019, 00:13:43 UTC |
7d2ef3e | Victor Stinner | 05 March 2019, 23:36:56 UTC | bpo-36142: _PyPreConfig_Write() sets the allocator (GH-12186) * _PyPreConfig_Write() now sets the memory allocator. * _PyPreConfig_Write() gets a return type: _PyInitError. * _Py_InitializeCore() now reads and writes the pre-configuration (set the memory allocator, configure the locale) before reading and writing the core configuration. | 05 March 2019, 23:36:56 UTC |
a9df651 | Victor Stinner | 05 March 2019, 22:31:54 UTC | bpo-36142: Add _PyMem_GetDebugAllocatorsName() (GH-12185) The development mode now uses the effective name of the debug memory allocator ("pymalloc_debug" or "malloc_debug"). So the name doesn't change after setting the memory allocator. | 05 March 2019, 22:31:54 UTC |
d8b3a98 | Serhiy Storchaka | 05 March 2019, 18:42:06 UTC | bpo-36187: Remove NamedStore. (GH-12167) NamedStore has been replaced with Store. The difference between NamedStore and Store is handled when precess the NamedExpr node one level upper. | 05 March 2019, 18:42:06 UTC |
adfffc7 | Serhiy Storchaka | 05 March 2019, 16:41:09 UTC | Fix the C function signature for _collections._tuplegetter.__reduce__. (GH-12180) Correctly fixes bpo-36197. | 05 March 2019, 16:41:09 UTC |
b35be4b | Victor Stinner | 05 March 2019, 16:37:44 UTC | bpo-36142: Add _PyPreConfig.allocator (GH-12181) * Move 'allocator' and 'dev_mode' fields from _PyCoreConfig to _PyPreConfig. * Fix InitConfigTests of test_embed: dev_mode sets allocator to "debug", add a new tests for env vars with dev mode enabled. | 05 March 2019, 16:37:44 UTC |
359a2f3 | Stéphane Wirtel | 05 March 2019, 15:10:53 UTC | bpo-33012: Fix compilation warnings in memoryobject.c and _collectionsmodule.c (GH-12179) Cast function pointers to (void(*)(void)) before casting to (PyCFunction) to make "warning: cast between incompatible function types" false alarm quiet. | 05 March 2019, 15:10:53 UTC |
5a02e0d | Victor Stinner | 05 March 2019, 11:32:09 UTC | bpo-36142: Add _PyPreConfig.utf8_mode (GH-12174) * Move following fields from _PyCoreConfig to _PyPreConfig: * coerce_c_locale * coerce_c_locale_warn * legacy_windows_stdio * utf8_mode * _PyPreConfig_ReadFromArgv() is now responsible to choose the filesystem encoding * _PyPreConfig_Write() now sets the LC_CTYPE locale | 05 March 2019, 11:32:09 UTC |
5b10b98 | Serhiy Storchaka | 05 March 2019, 08:06:26 UTC | bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) | 05 March 2019, 08:06:26 UTC |