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 |
9e4861f | Serhiy Storchaka | 05 March 2019, 08:05:57 UTC | bpo-22831: Use "with" to avoid possible fd leaks in tests (part 1). (GH-10928) | 05 March 2019, 08:05:57 UTC |
b727239 | Martijn Pieters | 05 March 2019, 05:19:34 UTC | closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169) Methods are always bound, and `__self__` can no longer be `NULL` (`method_new()` and `PyMethod_New()` both explicitly check for this). Moreover, once a bound method is bound, it *stays* bound and won't be re-bound to something else, so the section in the datamodel that talks about accessing an methods in a different descriptor-binding context doesn't apply any more in Python 3. | 05 March 2019, 05:19:34 UTC |
0983fcd | NAKAMURA Osamu | 05 March 2019, 04:43:43 UTC | Doc: Use `option` word for command line interface. (GH-12142) For command line option, `option` is better than `parameter`. | 05 March 2019, 04:43:43 UTC |
6dcb542 | Victor Stinner | 05 March 2019, 01:44:12 UTC | bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173) The new function is now responsible to parse -E and -I command line arguments. | 05 March 2019, 01:44:12 UTC |
cad1f74 | Victor Stinner | 05 March 2019, 01:01:27 UTC | bpo-36142: Add _PyPreConfig structure (GH-12172) * Add _PyPreConfig structure * Move 'ignored' and 'use_environment' fields from _PyCoreConfig to _PyPreConfig * Add a new "_PyPreConfig preconfig;" field to _PyCoreConfig | 05 March 2019, 01:01:27 UTC |
7e9ce4c | Jules Lasne (jlasne) | 04 March 2019, 18:12:04 UTC | Fixed a missing . and a missing capital letter. (GH-12170) | 04 March 2019, 18:12:04 UTC |
b7bc283 | Christian Heimes | 04 March 2019, 15:45:41 UTC | bpo-36179: Fix ref leaks in _hashopenssl (GH-12158) Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in out-of-memory cases. Thanks to Charalampos Stratakis. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue36179 | 04 March 2019, 15:45:41 UTC |
800d5cd | Kevin Adler | 04 March 2019, 14:48:40 UTC | bpo-35198 Fix C++ extension compilation on AIX (GH-10437) For C++ extensions, distutils tries to replace the C compiler with the C++ compiler, but it assumes that C compiler is the first element after any environment variables set. On AIX, linking goes through ld_so_aix, so it is the first element and the compiler is the next element. Thus the replacement is faulty: ld_so_aix gcc ... -> g++ gcc ... Also, it assumed that self.compiler_cxx had only 1 element or that there were the same number of elements as the linker has and in the same order. This might not be the case, so instead concatenate everything together. | 04 March 2019, 14:48:40 UTC |
4d61e6e | Victor Stinner | 04 March 2019, 13:21:28 UTC | Revert: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617) (GH-12159) * Revert "bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)" This reverts commit bcfa450f210074e16feb761ae5b3e966a2532fcf. * Revert "bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062)" This reverts commit bda918bf65a88560ec453aaba0758a9c0d49b449. * Revert "bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024)" This reverts commit b05b711a2cef6c6c381e01069dedac372e0b9fb2. * Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617)" This reverts commit ef4ac967e2f3a9a18330cc6abe14adb4bc3d0465. | 04 March 2019, 13:21:28 UTC |
f4b0a1c | pxinwr | 04 March 2019, 09:02:06 UTC | bpo-31904: Add encoding support for VxWorks RTOS (GH-12051) Use UTF-8 as the system encoding on VxWorks. The main reason are: 1. The locale is frequently misconfigured. 2. Missing some functions to deal with locale in VxWorks C library. | 04 March 2019, 09:02:06 UTC |
8bc401a | Pablo Galindo | 04 March 2019, 07:26:13 UTC | Clean implementation of Parser/pgen and fix some style issues (GH-12156) | 04 March 2019, 07:26:13 UTC |
97c288d | Andrew Kuchling | 04 March 2019, 04:10:28 UTC | bpo-20906: Various revisions to the Unicode howto (#8394) * bpo-20906: Corrections & revisions to Unicode HOWTO * bpo-34484: don't describe range as a Private Use Area | 04 March 2019, 04:10:28 UTC |
45d75fa | Woko | 04 March 2019, 02:23:19 UTC | fix typo in configparser doc (GH-12154) | 04 March 2019, 02:23:19 UTC |
8b914d2 | Brennan D Baraban | 03 March 2019, 22:09:11 UTC | bpo-35899: Fix Enum handling of empty and weird strings (GH-11891) Co-authored-by: Maxwell <maxwellpxt@gmail.com> Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> https://bugs.python.org/issue35899 | 03 March 2019, 22:09:11 UTC |
8b50400 | Mark Williams | 03 March 2019, 17:42:25 UTC | bpo-36170: posix_spawn doesn't exist on 3.7 (GH-12143) The 3.8 docs claim that `os.posix_spawn` was introduced in 3.7, but it wasn't; it will be introduced in 3.8. | 03 March 2019, 17:42:25 UTC |
8c17d92 | Inada Naoki | 03 March 2019, 16:22:39 UTC | add missing break statement (GH-12147) Bug introduced by 848037c. | 03 March 2019, 16:22:39 UTC |
45d8d24 | native-api | 03 March 2019, 16:05:19 UTC | fixed duplicated method name of test_getuserbase() (GH-12140) | 03 March 2019, 16:05:19 UTC |
0a6a412 | Henry Chen | 03 March 2019, 14:35:24 UTC | bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996) | 03 March 2019, 14:35:24 UTC |
848037c | ngie-eign | 03 March 2019, 07:28:26 UTC | Use names SEEK_SET, etc instead of magic number (GH-12057) The previous code hardcoded `SEEK_SET`, etc. While it's very unlikely that these values will change, it's best to use the definitions to avoid there being mismatches in behavior with the code in the future. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com> | 03 March 2019, 07:28:26 UTC |
8589f14 | Alex Gaynor | 02 March 2019, 04:37:34 UTC | Remove some code which has been dead since 1994 (#12136) | 02 March 2019, 04:37:34 UTC |
4f19030 | Inada Naoki | 02 March 2019, 04:31:01 UTC | bpo-36103: change default buffer size of shutil.copyfileobj() (GH-12115) It is changed from 16KiB to 64KiB. The previous default value is used since 1990. coreutils chose 128 KiB as minimum buffer size for block device I/O. But shutil.copyfileobj() can be used for non block devices. So I choose more conservative value. As my quick benchmark, performance difference between 64KiB and 128 KiB is up to ~5%. On the other hand, performance difference between 32 KiB and 64 KiB can be more than 10% when file is fully buffered. This is why 64 KiB is rational value. | 02 March 2019, 04:31:01 UTC |
bcfa450 | Eric Snow | 01 March 2019, 23:50:31 UTC | bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003) | 01 March 2019, 23:50:31 UTC |
1f24a71 | Pablo Galindo | 01 March 2019, 23:34:44 UTC | bpo-35808: Retire pgen and use pgen2 to generate the parser (GH-11814) Pgen is the oldest piece of technology in the CPython repository, building it requires various #if[n]def PGEN hacks in other parts of the code and it also depends more and more on CPython internals. This commit removes the old pgen C code and replaces it for a new version implemented in pure Python. This is a modified and adapted version of lib2to3/pgen2 that can generate grammar files compatibles with the current parser. This commit also eliminates all the #ifdef and code branches related to pgen, simplifying the code and making it more maintainable. The regen-grammar step now uses $(PYTHON_FOR_REGEN) that can be any version of the interpreter, so the new pgen code maintains compatibility with older versions of the interpreter (this also allows regenerating the grammar with the current CI solution that uses Python3.5). The new pgen Python module also makes use of the Grammar/Tokens file that holds the token specification, so is always kept in sync and avoids having to maintain duplicate token definitions. | 01 March 2019, 23:34:44 UTC |
7eebbbd | Ned Deily | 01 March 2019, 22:53:50 UTC | bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031) Patch by Kevin Walzer. | 01 March 2019, 22:53:50 UTC |
4b219ce | Stéphane Wirtel | 01 March 2019, 20:40:54 UTC | bpo-36043: FileCookieJar supports os.PathLike (GH-11945) https://bugs.python.org/issue36043 | 01 March 2019, 20:40:54 UTC |
bda918b | Eric Snow | 01 March 2019, 20:15:45 UTC | bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062) This includes fixes to various _Py_atomic_* macros. | 01 March 2019, 20:15:45 UTC |
b05b711 | Eric Snow | 01 March 2019, 19:35:10 UTC | bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024) | 01 March 2019, 19:35:10 UTC |
cfe172d | Victor Stinner | 01 March 2019, 17:21:49 UTC | bpo-36146: Add TEST_EXTENSIONS to setup.py (GH-12129) Add TEST_EXTENSIONS constant to setup.py to allow to not build test extensions like _testcapi. Changes: * Add add_ldflags_cppflags() subfunction * Rename add_compiler_directories() to configure_compiler(). * Remove unused COMPILED_WITH_PYDEBUG constant. * Use self.add() rather than accessing directly self.extensions. * Remove module_enabled() function: check differently if curses extension is built or not. | 01 March 2019, 17:21:49 UTC |