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

sort by:
Revision Author Date Message Commit Date
2a348c4 Update .github/workflows/stale.yml Co-authored-by: Brett Cannon <brett@python.org> 02 July 2020, 19:40:15 UTC
57ac125 Update .github/workflows/stale.yml Co-authored-by: Brett Cannon <brett@python.org> 02 July 2020, 19:40:07 UTC
1f0341a Update .github/workflows/stale.yml Co-authored-by: Brett Cannon <brett@python.org> 02 July 2020, 19:39:22 UTC
e7e77bb Adding "stale" GitHub Action Added the "stale" GitHub action to the CPython repo. PR's older than 30 days will be labeld as stale using the "stale-pr" label. If needed, it can be configured to more than 30 days. I've added bedevere-bot's GitHub token to the repo's secret settings as ``BEDEVERE_GH_TOKEN`` Closes https://github.com/python/core-workflow/issues/372 30 June 2020, 23:04:46 UTC
1648c99 bpo-41161 Add news entry for libmpdec-2.5.0 (GH-21243) 30 June 2020, 18:58:57 UTC
bd4a3f2 bpo-39314: Closes parenthesis when autocompleting for functions that take no arguments (GH-20562) 30 June 2020, 13:48:15 UTC
0c4f0f3 bpo-40275: Use new test.support helper submodules in tests (GH-21169) 30 June 2020, 13:46:31 UTC
3ddc634 bpo-40275: Use new test.support helper submodules in tests (GH-21219) 30 June 2020, 13:46:06 UTC
3fa4799 Update FAQ release schedule and estimated users (GH-21180) Update FAQ to include: * The new yearly release schedule from PEP 602 * Estimated users from "tens of thousands" to "millions" 30 June 2020, 09:42:43 UTC
604d95e bpo-41100: fix _decimal for arm64 Mac OS (GH-21228) Patch by Lawrence Danna. 30 June 2020, 09:15:46 UTC
ba67d73 bpo-41142: Add support of non-ASCII paths for CAB files. (GH-21195) * The path to the CAB file can be non-ASCII. * Paths of added files can be non-ASCII. 30 June 2020, 08:56:03 UTC
694d31e bpo-41158: IDLE: rewrite the code for handling file encoding (GH-21215) 30 June 2020, 06:33:22 UTC
038dd0f bpo-36346: Raise DeprecationWarning when creating legacy Unicode (GH-20933) 30 June 2020, 06:26:56 UTC
349f76c bpo-36346: Prepare for removing the legacy Unicode C API (AC only). (GH-21223) 30 June 2020, 06:03:15 UTC
b333266 bpo-41123: Remove PyUnicode_AsUnicodeCopy (GH-21209) 30 June 2020, 03:23:07 UTC
2515a28 bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214) 30 June 2020, 00:18:22 UTC
dd8a93e bpo-23427: Add sys.orig_argv attribute (GH-20729) Add sys.orig_argv attribute: the list of the original command line arguments passed to the Python executable. Rename also PyConfig._orig_argv to PyConfig.orig_argv and document it. 29 June 2020, 22:49:03 UTC
2fb5f03 bpo-40924: Ensure importlib.resources.path returns an extant path (GH-20857) 29 June 2020, 20:59:22 UTC
e67f7db bpo-37999: Simplify the conversion code for %c, %d, %x, etc. (GH-20437) Since PyLong_AsLong() no longer use __int__, explicit call of PyNumber_Index() before it is no longer needed. 29 June 2020, 19:36:41 UTC
5b96370 Fix typo in Object/listobject.c (GH-21079) 29 June 2020, 18:56:56 UTC
b30ee26 bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface (GH-21033) The __hash__() methods of classes IPv4Interface and IPv6Interface had issue of generating constant hash values of 32 and 128 respectively causing hash collisions. The fix uses the hash() function to generate hash values for the objects instead of XOR operation 29 June 2020, 17:39:29 UTC
a3ad95d Update libmpdec license dates (GH-21216) 29 June 2020, 12:03:01 UTC
7f569c9 bpo-41048: mimetypes should read the rule file using UTF-8, not the locale encoding (GH-20998) 29 June 2020, 08:36:48 UTC
e4f1fe6 bpo-41123: Remove PyLong_FromUnicode() (GH-21204) 29 June 2020, 04:00:43 UTC
d9f2a13 bpo-41123: Remove PyUnicode_GetMax() (GH-21192) 29 June 2020, 01:46:51 UTC
8bea91b bpo-40874 Update the required libmpdec version for the decimal module (GH-21202) 28 June 2020, 20:01:01 UTC
04cdeb7 bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) Fix also a resource warning when store counts and module info. 28 June 2020, 10:34:22 UTC
cd3c2bd bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH-20796) 28 June 2020, 06:40:54 UTC
8ab77c6 bpo-41144: Fix IDLE open module error (#21182) Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 June 2020, 06:02:47 UTC
8df1016 bpo-38870: Extend subject of ast.unparse warnings (GH-21053) - Mention that some compiler optimizations might not roundtrip exactly (such as constant tuples and frozensets). - Add a warning about it might raise RecursionError on very complex expressions due to recursive unparsing aspect of ast.unparse 28 June 2020, 01:11:43 UTC
60eb9f1 bpo-39151: Simplify DFS in the assembler (GH-17733) 28 June 2020, 00:55:47 UTC
9d197c7 bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21021) 28 June 2020, 00:33:49 UTC
1f0f4ab bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054) This commit changes the parsing of f-string expressions with the new parser. The parser gets pre-fed with the location of the expression itself (not the f-string, which was what we were doing before). This allows us to completely skip the shifting of the AST nodes after the parsing is completed. 27 June 2020, 23:41:48 UTC
89e82c4 Add soft keywords to the documentation (GH-21185) 27 June 2020, 19:00:29 UTC
c8f29ad bpo-40769: Allow extra surrounding parentheses for invalid annotated assignment rule (GH-20387) 27 June 2020, 18:33:08 UTC
6dcbc24 bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) 27 June 2020, 17:47:00 UTC
9cfcdb7 Remove dead code from tracemalloc (GH-21029) tracemalloc_get_frame() checked filename == NULL two times in a row. Signed-off-by: Christian Heimes <christian@python.org> 27 June 2020, 12:13:47 UTC
20a7902 bpo-41123: Remove Py_UNICODE_str* functions (GH-21164) They are undocumented and deprecated since Python 3.3. 27 June 2020, 09:22:09 UTC
2f168c6 bpo-41100: clarify NEWS item about macOS 11 support (GH-21174) 27 June 2020, 08:44:56 UTC
2e0a920 bpo-41084: Adjust message when an f-string expression causes a SyntaxError (GH-21084) Prefix the error message with `fstring: `, when parsing an f-string expression throws a `SyntaxError`. 26 June 2020, 11:24:05 UTC
ef19bad Improve code organization for the random module (GH-21161) 26 June 2020, 00:03:50 UTC
4b85e60 bpo-41119: Output correct error message for list/tuple followed by colon (GH-21160) 25 June 2020, 23:22:36 UTC
6f8a6ee bpo-41103: Remove old buffer protocol support (#21117) They are deprecated since Python 3.0. 25 June 2020, 23:07:22 UTC
77ed29b Fix typo in functions.rst (GH-21131) 25 June 2020, 21:50:37 UTC
847f94f bpo-40275: Use new test.support helper submodules in tests (GH-21151) Use new test.support helper submodules in tests: * distutils tests * test_buffer * test_compile * test_filecmp * test_fileinput * test_readline * test_smtpnet * test_structmembers * test_tools 25 June 2020, 17:17:57 UTC
700cfa8 bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035) 25 June 2020, 14:56:31 UTC
8ea6353 BPO-41100: Support macOS 11 when building (GH-21113) 25 June 2020, 14:55:48 UTC
8d02f91 bpo-40939: run autoreconf to fix configure{,.ac} disparity (GH-21152) 25 June 2020, 14:46:44 UTC
06a40d7 bpo-40275: Use new test.support helper submodules in tests (GH-20824) 25 June 2020, 12:15:40 UTC
91698d8 bpo-40521: Optimize PyBytes_FromStringAndSize(str, 0) (GH-21142) Always create the empty bytes string singleton. Optimize PyBytes_FromStringAndSize(str, 0): it no longer has to check if the empty string singleton was created or not, it is always available. Add functions: * _PyBytes_Init() * bytes_get_empty(), bytes_new_empty() * bytes_create_empty_string_singleton() * unicode_create_empty_string_singleton() _Py_unicode_state: rename empty structure member to empty_string. 25 June 2020, 12:07:40 UTC
0f8ec1f bpo-41113: Fix test_warnings on non-Western locales. (GH-21143) 25 June 2020, 11:43:33 UTC
aad8f0e bpo-41112: Fix test_peg_generator on non-UTF-8 locales. (GH-21138) 25 June 2020, 11:31:30 UTC
589e8fe bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) 25 June 2020, 11:22:10 UTC
94eee69 bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136) 25 June 2020, 11:21:25 UTC
f7ba40b bpo-40275: Use new test.support helper submodules in tests (GH-20849) 25 June 2020, 10:38:51 UTC
5f190d2 bpo-39580: add check for CLI installation on macOS (GH-20271) Adds a simple check for whether or not the package is being installed in the GUI or using installer on the command line. This addresses an issue where CLI-based software management tools (such as Munki) unexpectedly open Finder windows into a GUI session during installation runs. 25 June 2020, 10:37:40 UTC
1931e64 Forward port macOS installer updates from 3.7/3.8/3.9 (GH-21132) 25 June 2020, 08:51:46 UTC
55939b1 bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126) * Fix support of non-ASCII names in functions OpenDatabase() and init_database(). * Fix support of non-ASCII SQL in method Database.OpenView(). 25 June 2020, 08:37:12 UTC
152f0b8 bpo-41002: Optimize HTTPResponse.read with a given amount (GH-20943) I've done the implementation for both non-chunked and chunked reads. I haven't benchmarked chunked reads because I don't currently have a convenient way to generate a high-bandwidth chunked stream, but I don't see any reason that it shouldn't enjoy the same benefits that the non-chunked case does. I've used the benchmark attached to the bpo bug to verify that performance now matches the unsized read case. Automerge-Triggered-By: @methane 25 June 2020, 06:30:21 UTC
cf18c9e bpo-40773: Fix rendering for 'retval' on the pdb page (GH-21081) Automerge-Triggered-By: @merwok 24 June 2020, 21:50:49 UTC
a7dc714 bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119) 24 June 2020, 16:46:30 UTC
33b79b1 bpo-41038: Fix non-ASCII string corruption in Win32 resource files (GH-20985) In absence of explicit declaration, resource compiler uses system codepage. When this codepage is DBCS or UTF-8, Python's copyright string is corrupted, because it contains copyright sign encoded as \xA9. The fix is to explicitly declare codepage 1252. 24 June 2020, 16:27:42 UTC
0430dfa bpo-40521: Always create the empty tuple singleton (GH-21116) Py_InitializeFromConfig() now always creates the empty tuple singleton as soon as possible. Optimize PyTuple_New(0): it no longer has to check if the empty tuple was created or not, it is always creatd. * Add tuple_create_empty_tuple_singleton() function. * Add tuple_get_empty() function. * Remove state parameter of tuple_alloc(). 24 June 2020, 13:21:54 UTC
80526f6 Fix typo in dataclasses module (GH-21109) Automerge-Triggered-By: @matrixise 24 June 2020, 10:46:52 UTC
6c6810d bpo-41094: Fix decoding errors with audit when open files. (GH-21095) 24 June 2020, 05:46:05 UTC
bf2e515 bpo-40707: Document that Popen.communicate sets the returncode attribute (GH-20283) 24 June 2020, 03:12:10 UTC
cde283d bpo-40521: Fix _PyContext_Fini() (GH-21103) Only clear _token_missing in the main interpreter. 24 June 2020, 01:21:15 UTC
2f9ada9 bpo-40521: Make Unicode latin1 singletons per interpreter (GH-21101) Each interpreter now has its own Unicode latin1 singletons. Remove "ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS" and "ifdef LATIN1_SINGLETONS": always enable latin1 singletons. Optimize unicode_result_ready(): only attempt to get a latin1 singleton for PyUnicode_1BYTE_KIND. 24 June 2020, 00:22:21 UTC
bbf36e8 bpo-41070: Simplify pyshellext.dll build (GH-21037) Replace MIDL-generated file with manual GUID definition. Use the same .def file for release and debug builds. Update setup build to support latest toolset 23 June 2020, 23:32:23 UTC
90ed8a6 bpo-40521: Optimize PyUnicode_New(0, maxchar) (GH-21099) Functions of unicodeobject.c, like PyUnicode_New(), no longer check if the empty Unicode singleton has been initialized or not. Consider that it is always initialized. The Unicode API must not be used before _PyUnicode_Init() or after _PyUnicode_Fini(). 23 June 2020, 22:34:07 UTC
f363d0a bpo-40521: Make empty Unicode string per interpreter (GH-21096) Each interpreter now has its own empty Unicode string singleton. 23 June 2020, 22:10:40 UTC
d051801 bpo-31938: Fix default-value signatures of several functions in the select module (GH-21066) 23 June 2020, 21:49:56 UTC
281cce1 bpo-40521: Make MemoryError free list per interpreter (GH-21086) Each interpreter now has its own MemoryError free list: it is not longer shared by all interpreters. Add _Py_exc_state structure and PyInterpreterState.exc_state member. Move also errnomap into _Py_exc_state. 23 June 2020, 20:55:46 UTC
2c6e4e9 bpo-41039: Simplify python3.dll build (GH-20989) Use linker comment #pragma and preprocessor for re-exporting stable API functions and variables. Module definition file, custom build targets and entry point code become unnecessary and can be removed. This change also fixes missing _PyErr_BadInternalCall export on x86. 23 June 2020, 19:33:23 UTC
4efc336 bpo-41054: Simplify resource compilation on Windows (GH-21004) Remove auto-generated resource header. Pass definitions required by resource files (ORIGINAL_FILENAME and FIELD3) directly to resource compiler. Remove unused MS_DLL_ID resource string and related dead code. 23 June 2020, 19:05:57 UTC
930f451 On path with known exact float, extract the double with the fast macro. (GH-21072) 23 June 2020, 18:45:25 UTC
fe2a48c bpo-41089: Filters and other issues in Visual Studio projects (GH-21070) * Add missing header files to pythoncore. * Add missing file filters ("Resource Files" in particular) to all projects. * Add new sub-filters for private headers in pythoncore and for 3rd party source files. * Add missing _zoneinfo configurations in pcbuild.sln. * Update bdist_wininst with the new zlib location. 23 June 2020, 18:41:49 UTC
f9bd05e bpo-40521: Empty frozenset is no longer a singleton (GH-21085) * Revert "bpo-40521: Make the empty frozenset per interpreter (GH-21068)" This reverts commit 261cfedf7657a515e04428bba58eba2a9bb88208. * bpo-40521: Empty frozensets are no longer singletons * Complete the removal of the frozenset singleton 23 June 2020, 15:42:55 UTC
522691c bpo-40521: Cleanup code of free lists (GH-21082) Add get_xxx_state() function to factorize duplicated code. 23 June 2020, 14:40:40 UTC
bc43f6e bpo-41065: Use zip-strict in zoneinfo (GH-21031) 23 June 2020, 14:21:26 UTC
30a8933 Call _PyWarnings_InitState() in subinterpreters (GH-21078) Py_InitializeFromConfig() now calls also _PyWarnings_InitState() in subinterpreters. 23 June 2020, 13:55:45 UTC
61b6492 bpo-36710: Pass tstate explicitly in abstract.c (GH-21075) In functions calling more than one PyErr function, get tstate and then pass it explicitly. 23 June 2020, 13:55:06 UTC
c41eed1 bpo-40521: Make bytes singletons per interpreter (GH-21074) Each interpreter now has its own empty bytes string and single byte character singletons. Replace STRINGLIB_EMPTY macro with STRINGLIB_GET_EMPTY() macro. 23 June 2020, 13:54:35 UTC
32f2eda bpo-40521: Remove freelist from collections.deque() (GH-21073) 23 June 2020, 13:50:15 UTC
1d3dad5 bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071) Fix integer overflow in the :meth:`array.array.index` method on 64-bit Windows for index larger than ``2**31``. 23 June 2020, 13:21:16 UTC
261cfed bpo-40521: Make the empty frozenset per interpreter (GH-21068) Each interpreter now has its own empty frozenset singleton. 23 June 2020, 12:07:52 UTC
b4e85ca bpo-40521: Make dict free lists per-interpreter (GH-20645) Each interpreter now has its own dict free list: * Move dict free lists into PyInterpreterState. * Move PyDict_MAXFREELIST define to pycore_interp.h * Add _Py_dict_state structure. * Add tstate parameter to _PyDict_ClearFreeList() and _PyDict_Fini(). * In debug mode, ensure that the dict free lists are not used after _PyDict_Fini() is called. * Remove "#ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS". 23 June 2020, 09:33:18 UTC
26a1ad1 Small clean-ups for the random module (GH-21038) 23 June 2020, 02:38:59 UTC
a16d697 Improve asyncio.loop.call_soon() documentation (GH-20883) * Add a glossary entry for the term "callback" * Link to it in loop.call_soon() and in the "Concurrency and Multithreading" section Co-authored-by: Kyle Stanley <aeros167@gmail.com> 23 June 2020, 02:16:00 UTC
c96d00e bpo-41078: Fix bltinmodule.c with Py_TRACE_REFS (GH-21058) Add pycore_object.h include to fix bltinmodule.c when Py_TRACE_REFS macro is defined. 22 June 2020, 16:02:49 UTC
1937edd bpo-1635741: Port _lzma module to multiphase initialization (GH-19382) 22 June 2020, 15:53:07 UTC
c45dbe9 bpo-41078: Add pycore_list.h internal header file (GH-21057) * Move _PyList_ITEMS() to pycore_list.h. * The C extension "_heapq" is now built with Py_BUILD_CORE_MODULE macro defined to access the internal C API. 22 June 2020, 15:39:32 UTC
384621c bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056) 22 June 2020, 15:27:35 UTC
9e27bc0 bpo-41005: Fixed perrmission error (GH-20936) * fixed issue 41005: webbrowser fails when xdg-settings cannot be executed Co-authored-by: KrishnaSai2020 <krishnasai.chivukula@gmal.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 22 June 2020, 09:06:07 UTC
36ff513 bpo-41068: Fix read after write in zipfile for non-ASCII files names. (GH-21040) 22 June 2020, 08:24:11 UTC
c88239f bpo-26407: Do not mask errors in csv. (GH-20536) Unexpected errors in calling the __iter__ method are no longer masked by TypeError in csv.reader(), csv.writer.writerow() and csv.writer.writerows(). 22 June 2020, 08:21:59 UTC
cafe1b6 bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537) Unexpected errors in calling the __iter__ method are no longer masked by TypeError in the "in" operator and functions operator.contains(), operator.indexOf() and operator.countOf(). 22 June 2020, 07:43:35 UTC
4901ea9 bpo-41061: Fix incorrect expressions in hashtable (GH-21028) Signed-off-by: Christian Heimes <christian@python.org> 22 June 2020, 07:41:48 UTC
d780fa7 bpo-41056: Fix a possible MemoryError leak within zoneinfo. (GH-21007) This was detected by our Coverity scan as a REVERSE_INULL issue. Automerge-Triggered-By: @gpshead 22 June 2020, 07:39:28 UTC
81328f3 bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity) (GH-21013) Reported by Coverity. (CID 1457554 RETURN_LOCAL) path0 is assigned as a pointer to this right before it goes out of scope. 22 June 2020, 07:27:20 UTC
back to top