b4e85ca | Victor Stinner | 23 June 2020, 09:33:18 UTC | 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 | Raymond Hettinger | 23 June 2020, 02:38:59 UTC | Small clean-ups for the random module (GH-21038) | 23 June 2020, 02:38:59 UTC |
a16d697 | Roger Iyengar | 23 June 2020, 02:16:00 UTC | 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 | Victor Stinner | 22 June 2020, 16:02:49 UTC | 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 | Dong-hee Na | 22 June 2020, 15:53:07 UTC | bpo-1635741: Port _lzma module to multiphase initialization (GH-19382) | 22 June 2020, 15:53:07 UTC |
c45dbe9 | Victor Stinner | 22 June 2020, 15:39:32 UTC | 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 | Victor Stinner | 22 June 2020, 15:27:35 UTC | bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056) | 22 June 2020, 15:27:35 UTC |
9e27bc0 | Krishna Chivukula | 22 June 2020, 09:06:07 UTC | 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 | Serhiy Storchaka | 22 June 2020, 08:24:11 UTC | bpo-41068: Fix read after write in zipfile for non-ASCII files names. (GH-21040) | 22 June 2020, 08:24:11 UTC |
c88239f | Serhiy Storchaka | 22 June 2020, 08:21:59 UTC | 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 | Serhiy Storchaka | 22 June 2020, 07:43:35 UTC | 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 | Christian Heimes | 22 June 2020, 07:41:48 UTC | 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 | Gregory P. Smith | 22 June 2020, 07:39:28 UTC | 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 | Gregory P. Smith | 22 June 2020, 07:27:20 UTC | 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 |
6f79838 | Joannah Nanjekye | 21 June 2020, 23:59:43 UTC | Skip tests to fix bot (GH-20777) Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com> | 21 June 2020, 23:59:43 UTC |
564cd18 | Lysandros Nikolaou | 21 June 2020, 23:47:46 UTC | bpo-40939: Rename PyPegen* functions to PyParser* (GH-21016) Rename PyPegen* functions to PyParser*, so that we can remove the old set of PyParser* functions that were using the old parser. | 21 June 2020, 23:47:46 UTC |
6989af0 | Dong-hee Na | 21 June 2020, 09:44:58 UTC | bpo-41052: Opt out serialization/deserialization for _random.Random (GH-21002) | 21 June 2020, 09:44:58 UTC |
f9bab74 | Serhiy Storchaka | 21 June 2020, 08:11:17 UTC | bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006) | 21 June 2020, 08:11:17 UTC |
19fcffa | Serhiy Storchaka | 21 June 2020, 08:07:50 UTC | bpo-41058: Use source file encoding in pdb.find_function(). (GH-21010) | 21 June 2020, 08:07:50 UTC |
6c4e0bd | Lysandros Nikolaou | 21 June 2020, 02:18:01 UTC | bpo-41060: Avoid SEGFAULT when calling GET_INVALID_TARGET in the grammar (GH-21020) `GET_INVALID_TARGET` might unexpectedly return `NULL`, which if not caught will cause a SEGFAULT. Therefore, this commit introduces a new inline function `RAISE_SYNTAX_ERROR_INVALID_TARGET` that always checks for `GET_INVALID_TARGET` returning NULL and can be used in the grammar, replacing the long C ternary operation used till now. | 21 June 2020, 02:18:01 UTC |
3ccb96c | Gregory P. Smith | 20 June 2020, 22:06:48 UTC | bpo-41056: Use the fildes converter for fd to please Coverity. (GH-21011) There are a bunch of other fd: int uses in this file, I expect many if not all of them would be better off using the fildes converter. This particular one was flagged by Coverity as it presumably flags fpathconf as not accepting negative fds. I'd expect the other fd's to have been flagged as well otherwise. I'm marking this one as skip news as it really is a no-op. | 20 June 2020, 22:06:48 UTC |
eb0d5c3 | Gregory P. Smith | 20 June 2020, 19:15:03 UTC | bpo-41056: Fix a NULL pointer dereference on MemoryError within the ssl module. (GH-21009) Detected by Coverity. | 20 June 2020, 19:15:03 UTC |
314858e | Lysandros Nikolaou | 20 June 2020, 18:07:25 UTC | bpo-40939: Remove the old parser (Part 2) (GH-21005) Remove some remaining files and Makefile targets for the old parser | 20 June 2020, 18:07:25 UTC |
55460ee | Batuhan Taskaya | 20 June 2020, 17:40:06 UTC | bpo-41044: Generate valid PEG python parsers for opt+seq rules (GH-20995) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 20 June 2020, 17:40:06 UTC |
af157fa | Brian Rutledge | 20 June 2020, 17:10:25 UTC | Add link to .pypirc specification (GH-20680) Related to https://github.com/pypa/twine/issues/638 and https://github.com/pypa/packaging.python.org/issues/730, I wrote a spec based on the one that was removed in https://github.com/python/cpython/pull/13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.html#the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy. Automerge-Triggered-By: @jaraco | 20 June 2020, 17:10:25 UTC |
861efc6 | Lysandros Nikolaou | 20 June 2020, 12:57:27 UTC | bpo-40958: Avoid 'possible loss of data' warning on Windows (GH-20970) | 20 June 2020, 12:57:27 UTC |
344c2a7 | Vincent Férotin | 20 June 2020, 12:55:05 UTC | bpo-41024: doc: Explicitly mention use of 'enum.Enum' as a valid container for '… (GH-20964) …choices' argument of 'argparse.ArgumentParser.add_argument'. Here's a short first proposal of doc. enhancement addressing [bpo-41024](). Automerge-Triggered-By: @csabella | 20 June 2020, 12:55:05 UTC |
9355868 | Serhiy Storchaka | 20 June 2020, 08:10:31 UTC | bpo-41043: Escape literal part of the path for glob(). (GH-20994) | 20 June 2020, 08:10:31 UTC |
a041e11 | Serhiy Storchaka | 19 June 2020, 21:06:07 UTC | bpo-41040: Fix test_modulefinder. (GH-20991) | 19 June 2020, 21:06:07 UTC |
59cf853 | Ram Rachum | 19 June 2020, 20:39:22 UTC | bpo-40636: Documentation for zip-strict (#20961) | 19 June 2020, 20:39:22 UTC |
3358da4 | Victor Stinner | 19 June 2020, 16:01:20 UTC | bpo-38377: Fix skip_if_broken_multiprocessing_synchronize() on macOS (GH-20984) skip_if_broken_multiprocessing_synchronize() only attempts for create a semaphore on Linux to fix multiprocessing test_resource_tracker_reused() on macOS. | 19 June 2020, 16:01:20 UTC |
ec68918 | Dong-hee Na | 19 June 2020, 15:56:13 UTC | bpo-40077: Convert _bz2 module to use PyType_FromSpec (GH-20960) | 19 June 2020, 15:56:13 UTC |
8a0fe7b | Christian Heimes | 19 June 2020, 14:11:02 UTC | Improve blake2 comment for Victor (GH-20981) Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran | 19 June 2020, 14:11:02 UTC |
66a65ba | Jürgen Gmach | 19 June 2020, 11:57:30 UTC | Improve readability of `formataddr` docstring (GH-20963) For me as a non native English speaker, the sentence with its embedded clause was very hard to understand. modified: Lib/email/utils.py Automerge-Triggered-By: @csabella | 19 June 2020, 11:57:30 UTC |
310f6aa | Guido van Rossum | 19 June 2020, 10:16:57 UTC | bpo-40636: PEP 618: add strict parameter to zip() (GH-20921) zip() now supports PEP 618's strict parameter, which raises a ValueError if the arguments are exhausted at different lengths. Patch by Brandt Bucher. Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> Co-authored-by: Ram Rachum <ram@rachum.com> | 19 June 2020, 10:16:57 UTC |
37bb289 | Victor Stinner | 19 June 2020, 09:45:31 UTC | bpo-40943: PY_SSIZE_T_CLEAN required for '#' formats (GH-20784) The PY_SSIZE_T_CLEAN macro must now be defined to use PyArg_ParseTuple() and Py_BuildValue() "#" formats: "es#", "et#", "s#", "u#", "y#", "z#", "U#" and "Z#". See the PEP 353. Update _testcapi.test_buildvalue_issue38913(). | 19 June 2020, 09:45:31 UTC |
01ece63 | Lysandros Nikolaou | 18 June 2020, 23:10:43 UTC | bpo-40334: Produce better error messages on invalid targets (GH-20106) The following error messages get produced: - `cannot delete ...` for invalid `del` targets - `... is an illegal 'for' target` for invalid targets in for statements - `... is an illegal 'with' target` for invalid targets in with statements Additionally, a few `cut`s were added in various places before the invocation of the `invalid_*` rule, in order to speed things up. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 18 June 2020, 23:10:43 UTC |
d906f0e | Pablo Galindo | 18 June 2020, 22:23:40 UTC | Update CODEOWNERS to account for the new parser location (GH-20971) | 18 June 2020, 22:23:40 UTC |
8a64cea | Serhiy Storchaka | 18 June 2020, 19:08:27 UTC | bpo-38144: Add the root_dir and dir_fd parameters in glob.glob(). (GH-16075) | 18 June 2020, 19:08:27 UTC |
8f192d1 | Bar Harel | 18 June 2020, 14:18:58 UTC | bpo-40884: Added defaults parameter for logging.Formatter (GH-20668) Docs and tests are underway. Automerge-Triggered-By: @vsajip | 18 June 2020, 14:18:58 UTC |
ddbeb2f | Victor Stinner | 18 June 2020, 12:53:19 UTC | bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) On Linux, skip tests using multiprocessing if the current user cannot create a file in /dev/shm/ directory. Add the skip_if_broken_multiprocessing_synchronize() function to the test.support module. | 18 June 2020, 12:53:19 UTC |
2c2a4f3 | Victor Stinner | 17 June 2020, 23:20:51 UTC | bpo-41006: What's New: less => fewer modules (GH-20955) Typo spotted by Eric V. Smith ;-) | 17 June 2020, 23:20:51 UTC |
1bf7959 | Victor Stinner | 17 June 2020, 23:11:46 UTC | bpo-41006: Remove init_sys_streams() hack (GH-20954) The encodings.latin_1 module is no longer imported at startup. Now it is only imported when it is the filesystem encoding or the stdio encoding. | 17 June 2020, 23:11:46 UTC |
4c18fc8 | Victor Stinner | 17 June 2020, 21:58:58 UTC | bpo-41006: Document the runpy optimization (GH-20953) | 17 June 2020, 21:58:58 UTC |
9e09849 | Victor Stinner | 17 June 2020, 21:15:59 UTC | bpo-41006: importlib.util no longer imports typing (GH-20938) Create importlib._abc submodule to avoid importing typing when importlib.util is imported. Move Loader ABC into importlib._abc. | 17 June 2020, 21:15:59 UTC |
236a0f5 | stratakis | 17 June 2020, 17:26:08 UTC | bpo-40637: Do not emit warnings for disabled builtin hashes (GH-20937) test_hashlib emits some warnings when it cannot find some hashes as it assumes they failed to compile. Since we can disable hashes through configure, we emit the warnings only in the case that we did not intentionaly disable them. Automerge-Triggered-By: @tiran | 17 June 2020, 17:26:08 UTC |
98ce7b1 | Victor Stinner | 17 June 2020, 17:11:50 UTC | bpo-41006: pkgutil imports lazily re (GH-20939) The pkgutil module now imports lazily the re module to speedup Python startup time. | 17 June 2020, 17:11:50 UTC |
7824cc0 | Victor Stinner | 17 June 2020, 17:10:47 UTC | bpo-41006: collections imports lazily heap (GH-20940) The collections module now imports lazily the heapq modules in the Counter.most_common() method to speedup Python startup time. | 17 June 2020, 17:10:47 UTC |
bb6ec14 | Christian Heimes | 17 June 2020, 17:09:10 UTC | bpo-41009: fix requires_OS_version() class decorator (GH-20942) Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran | 17 June 2020, 17:09:10 UTC |
8362893 | Victor Stinner | 17 June 2020, 16:07:13 UTC | bpo-41003: Fix test_copyreg when numpy is installed (GH-20935) Fix test_copyreg when numpy is installed: test.pickletester now saves/restores warnings.filters when importing numpy, to ignore filters installed by numpy. Add the save_restore_warnings_filters() function to the test.support.warnings_helper module. | 17 June 2020, 16:07:13 UTC |
8e34e92 | Inada Naoki | 17 June 2020, 14:43:01 UTC | bpo-36346: Make unicodeobject.h C89 compatible (GH-20934) | 17 June 2020, 14:43:01 UTC |
07923f3 | Victor Stinner | 17 June 2020, 12:23:04 UTC | bpo-35059: Enhance _PyObject_GC_TRACK() macros (GH-20931) * Rename _PyObject_GC_TRACK_impl() to _PyObject_GC_TRACK() * Rename _PyObject_GC_UNTRACK_impl() to _PyObject_GC_UNTRACK() * Omit filename and lineno parameters if NDEBUG is defined. | 17 June 2020, 12:23:04 UTC |
2c4928d | Inada Naoki | 17 June 2020, 11:09:44 UTC | bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (GH-20878) Co-authored-by: Kyle Stanley <aeros167@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> | 17 June 2020, 11:09:44 UTC |
818f5b5 | Eric Snow | 17 June 2020, 00:24:40 UTC | bpo-32604: Clean up test.support.interpreters. (gh-20926) There were some minor adjustments needed and a few tests were missing. https://bugs.python.org/issue32604 | 17 June 2020, 00:24:40 UTC |
c4862e3 | Dong-hee Na | 16 June 2020, 16:41:23 UTC | bpo-1635741: Port _gdbm module to multiphase initialization (GH-20920) | 16 June 2020, 16:41:23 UTC |
51c5896 | Pablo Galindo | 16 June 2020, 15:49:43 UTC | bpo-40958: Avoid buffer overflow in the parser when indexing the current line (GH-20875) | 16 June 2020, 15:49:43 UTC |
fcc60e4 | Victor Stinner | 16 June 2020, 15:29:50 UTC | bpo-40989: Make _PyTraceMalloc_NewReference() internal (GH-20915) Make the _PyTraceMalloc_NewReference() function fully internal: remove it from the public C API and don't export it anymore. | 16 June 2020, 15:29:50 UTC |
fc710ee | Victor Stinner | 16 June 2020, 15:27:30 UTC | bpo-40993: Don't run Travis CI coverage on PRs (GH-20916) C and Python coverage jobs of Travis CI are no longer run on pull requests, only on branches like master. | 16 June 2020, 15:27:30 UTC |
e0bec69 | Pablo Galindo | 16 June 2020, 01:13:33 UTC | Remove old comment in string_parser.c (GH-20906) | 16 June 2020, 01:13:33 UTC |
de4304d | Zackery Spytz | 16 June 2020, 00:56:27 UTC | bpo-19569: Add a macro to suppress deprecation warnings (GH-9004) Co-authored-by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> | 16 June 2020, 00:56:27 UTC |
113e2b0 | Lysandros Nikolaou | 16 June 2020, 00:27:33 UTC | bpo-40985: Show correct SyntaxError text when last line has a LINECONT (GH-20888) When a file ends with a line that contains a line continuation character the text of the emitted SyntaxError is empty, contrary to the old parser, where the error text contained the text of the last line. | 16 June 2020, 00:27:33 UTC |
8666356 | David Szotten | 15 June 2020, 23:53:57 UTC | closes bpo-28557: error message for bad raw readinto (GH-7496) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 15 June 2020, 23:53:57 UTC |
04fc4f2 | Victor Stinner | 15 June 2020, 23:28:07 UTC | bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) The PyObject_INIT() and PyObject_INIT_VAR() macros become aliases to, respectively, PyObject_Init() and PyObject_InitVar() functions. Rename _PyObject_INIT() and _PyObject_INIT_VAR() static inline functions to, respectively, _PyObject_Init() and _PyObject_InitVar(), and move them to pycore_object.h. Remove their return value: their return type becomes void. The _datetime module is now built with the Py_BUILD_CORE_MODULE macro defined. Remove an outdated comment on _Py_tracemalloc_config. | 15 June 2020, 23:28:07 UTC |
7ab92d5 | Victor Stinner | 15 June 2020, 22:54:44 UTC | bpo-36020: Require vsnprintf() to build Python (GH-20899) The C99 functions snprintf() and vsnprintf() are now required to build Python. PyOS_snprintf() and PyOS_vsnprintf() no longer call Py_FatalError(). Previously, they called Py_FatalError() on a buffer overflow on platforms which don't provide vsnprintf(). | 15 June 2020, 22:54:44 UTC |
e822e37 | Victor Stinner | 15 June 2020, 19:59:47 UTC | bpo-36020: Remove snprintf macro in pyerrors.h (GH-20889) On Windows, #include "pyerrors.h" no longer defines "snprintf" and "vsnprintf" macros. PyOS_snprintf() and PyOS_vsnprintf() should be used to get portable behavior. Replace snprintf() calls with PyOS_snprintf() and replace vsnprintf() calls with PyOS_vsnprintf(). | 15 June 2020, 19:59:47 UTC |
5f79f46 | Xavier Fernandez | 15 June 2020, 19:16:48 UTC | bpo-38488: Upgrade bundled versions of pip & setuptools (GH-20491) | 15 June 2020, 19:16:48 UTC |
4a3a682 | Krzysztof Konopko | 15 June 2020, 17:28:46 UTC | bpo-40448: ensurepip: Do not use cache (GH-19812) ensurepip optionally installs or upgrades 'pip' and 'setuptools' using the version of those modules bundled with Python. The internal PIP installation routine by default temporarily uses its cache, if it exists. This is undesirable as Python builds and installations may be independent of the user running the build, whilst PIP cache location is dependent on the user's environment and outside of the build environment. At the same time, there's no value in using the cache while installing bundled modules. This change disables PIP caching when used in ensurepip. | 15 June 2020, 17:28:46 UTC |
bf69a8f | Dong-hee Na | 15 June 2020, 16:20:54 UTC | bpo-1635741: Port _dbm module to multiphase initialization (GH-20848) | 15 June 2020, 16:20:54 UTC |
d8cf351 | roger | 15 June 2020, 14:58:54 UTC | bpo-34226: fix cgi.parse_multipart without content_length (GH-8530) In Python 3.7 the behavior of parse_multipart changed requiring CONTENT-LENGTH header, this fix remove this header as required and fix FieldStorage read_lines_to_outerboundary, by not using limit when it's negative, since by default it's -1 if not content-length and keeps substracting what was read from the file object. Also added a test case for this problem. | 15 June 2020, 14:58:54 UTC |
e2d47a0 | Victor Stinner | 15 June 2020, 14:27:47 UTC | bpo-40910: PyConfig_Clear() clears _orig_argv (GH-20886) bpo-40910, bpo-40953: PyConfig_Clear() clears _orig_argv. | 15 June 2020, 14:27:47 UTC |
fb61c42 | Pablo Galindo | 15 June 2020, 13:23:43 UTC | Improve readability and style in parser files (GH-20884) | 15 June 2020, 13:23:43 UTC |
794e7d1 | Niklas Fiekas | 15 June 2020, 12:33:48 UTC | bpo-29782: Consolidate _Py_Bit_Length() (GH-20739) In GH-2866, _Py_Bit_Length() was added to pymath.h for lack of a better location. GH-20518 added a more appropriate header file for bit utilities. It also shows how to properly use intrinsics. This allows reconsidering bpo-29782. * Move the function to the new header. * Changed return type to match __builtin_clzl() and reviewed usage. * Use intrinsics where available. * Pick a fallback implementation suitable for inlining. | 15 June 2020, 12:33:48 UTC |
25f38d7 | Rémi Lapeyre | 15 June 2020, 08:03:07 UTC | bpo-40836: Add docstring to logging.fatal() and logging.Logger.fatal() (GH-20563) Automerge-Triggered-By: @vsajip | 15 June 2020, 08:03:07 UTC |
5fc4f8a | Pablo Galindo | 15 June 2020, 03:33:33 UTC | Fix trailing whitespace in keyword.py (GH-20881) | 15 June 2020, 03:33:33 UTC |
78319e3 | Pablo Galindo | 15 June 2020, 02:55:15 UTC | Include soft keywords in keyword.py (GH-20877) | 15 June 2020, 02:55:15 UTC |
10c3b21 | Pablo Galindo | 15 June 2020, 01:05:20 UTC | bpo-40890: Fix compiler warning in dictobject.c (GH-20876) | 15 June 2020, 01:05:20 UTC |
714217f | kevin seelbach | 14 June 2020, 17:23:47 UTC | Fixes dead links to Django's logging config docs (GH-20823) Fixes two outdated URLs to point at the current "stable" version of Django's logging documentation. Automerge-Triggered-By: @vsajip | 14 June 2020, 17:23:47 UTC |
8f04a84 | Fantix King | 14 June 2020, 07:43:57 UTC | bpo-30064: Fix slow asyncio sock test (GH-20868) Using a log2n way to fill a much smaller buffer, and receiving in a cleaner way with EOF. The failing test was reproducible using the following command thanks to @aeros : ```bash ./python -m test test_asyncio.test_sock_lowlevel --match test_sock_client_racing -j100 -F -v ``` According to test results, we may still need to bump the timeout: https://github.com/python/cpython/blob/5aad027db9618f22f6fa2274e05dd50f928d2ed7/Lib/test/test_asyncio/test_sock_lowlevel.py#L256-L257 | 14 June 2020, 07:43:57 UTC |
5aad027 | Raymond Hettinger | 14 June 2020, 02:17:28 UTC | Some reformatting (suggested by Black) and minor factoring. (GH-20865) | 14 June 2020, 02:17:28 UTC |
d71ab4f | Raymond Hettinger | 13 June 2020, 22:55:52 UTC | bpo-40855: Fix ignored mu and xbar parameters (GH-20835) | 13 June 2020, 22:55:52 UTC |
dea3223 | Zackery Spytz | 13 June 2020, 17:35:08 UTC | bpo-37674: Tweak imp module deprecation note in the docs (GH-20480) | 13 June 2020, 17:35:08 UTC |
9db5b8d | Raymond Hettinger | 13 June 2020, 16:46:47 UTC | Minor code clean-ups (GH-20838) | 13 June 2020, 16:46:47 UTC |
9672912 | Christian Heimes | 13 June 2020, 15:57:22 UTC | bpo-40957: Fix refleak in _Py_fopen_obj() (GH-20827) Signed-off-by: Christian Heimes <christian@python.org> | 13 June 2020, 15:57:22 UTC |
29c1172 | An Long | 13 June 2020, 12:26:01 UTC | bpo-40834: Fix truncate when sending str object with channel (GH-20555) | 13 June 2020, 12:26:01 UTC |
1c209e3 | Hai Shi | 13 June 2020, 06:58:12 UTC | Remove redundant var in PyErr_NewException() (GH-20850) | 13 June 2020, 06:58:12 UTC |
b3e6783 | Steve (Gadget) Barnes | 12 June 2020, 23:19:34 UTC | bpo-37556 Extend help to include latest overrides (GH-14701) Modify the help in cpython/PC/launcher.c to show users that "latest" can be overridden by shebang, PY_PYTHON[n] or py.ini files. Also show that script [args] is optional by enclosing in square brackets. Automerge-Triggered-By: @zooba | 12 June 2020, 23:19:34 UTC |
a6ac239 | Antoine | 12 June 2020, 22:50:18 UTC | Minor change on threading.Thread.native_id documentation. (GH-18129) Remove duplication in `threading.Thread.native_id` documentation, so resulting documentation is more consistent with the `threading.Thread.ident`. Issue initially raised [here](https://github.com/python/python-docs-fr/pull/1122#discussion_r369236634) (in French). No issue associated to this PR. Automerge-Triggered-By: @csabella | 12 June 2020, 22:50:18 UTC |
80d827c | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 12 June 2020, 20:46:36 UTC | bpo-40164: Update Windows OpenSSL to 1.1.1g (GH-20834) | 12 June 2020, 20:46:36 UTC |
08b1bba | Christian Heimes | 12 June 2020, 18:54:03 UTC | bpo-40964: disable remote IMAP tests (GH-20836) Remote host cyrus.andrew.cmu.edu is blocking incoming connections and is causing test suite to fail. Signed-off-by: Christian Heimes <christian@python.org> | 12 June 2020, 18:54:03 UTC |
3ee0e48 | Dennis Sweeney | 12 June 2020, 17:19:25 UTC | bpo-40890: Add `mapping` property to dict views (GH-20749) | 12 June 2020, 17:19:25 UTC |
0d3350d | Christian Heimes | 12 June 2020, 16:18:43 UTC | bpo-40955: Fix memory leak in subprocess module (GH-20825) ``` Direct leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f008bf19667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667) #1 0x7f007a0bee4a in subprocess_fork_exec /home/heimes/dev/python/cpython/Modules/_posixsubprocess.c:774 #2 0xe0305b in cfunction_call Objects/methodobject.c:546 ``` Signed-off-by: Christian Heimes <christian@python.org> | 12 June 2020, 16:18:43 UTC |
e2fb8a2 | Géry Ogam | 12 June 2020, 12:54:29 UTC | Update lexical_analysis.rst (GH-17508) Use Sphinx role markup for `str.format`. Automerge-Triggered-By: @csabella | 12 June 2020, 12:54:29 UTC |
2145c8c | native-api | 12 June 2020, 06:20:11 UTC | bpo-33944: site: Add site-packages tracing in verbose mode (GH-12110) | 12 June 2020, 06:20:11 UTC |
ddef3bd | Dong-hee Na | 12 June 2020, 02:26:00 UTC | bpo-40950: Port nis module to multiphase initialization (GH-20811) | 12 June 2020, 02:26:00 UTC |
756180b | Pablo Galindo | 12 June 2020, 00:55:35 UTC | bpo-40939: Clean and adapt the peg_generator directory after deleting the old parser (GH-20822) | 12 June 2020, 00:55:35 UTC |
b4282dd | Pablo Galindo | 11 June 2020, 23:51:44 UTC | Remove unnecessary grammar decorations and change header (GH-20819) | 11 June 2020, 23:51:44 UTC |
60c2a81 | MARK SCHWAB | 11 June 2020, 19:04:13 UTC | bpo-40626: Support HDF5 in mimetypes (GH-20042) Add hdf5 with .h5 file extension See 'Recommendations' section for mime types from the HDF group: https://www.hdfgroup.org/2018/06/citations-for-hdf-data-and-software/ Patch by Mark Schwab. | 11 June 2020, 19:04:13 UTC |
46398fb | kernc | 11 June 2020, 18:03:29 UTC | bpo-29620: iterate over a copy of sys.modules (GH-4800) unittest.TestCase.assertWarns no longer raises a RuntimeException when accessing a module's ``__warningregistry__`` causes importation of a new module, or when a new module is imported in another thread. Patch by Kernc. | 11 June 2020, 18:03:29 UTC |
436b648 | Pablo Galindo | 11 June 2020, 17:08:05 UTC | bpo-40939: Remove some extra references to PYTHONOLDPARSER (GH-20815) Automerge-Triggered-By: @pablogsal | 11 June 2020, 17:08:05 UTC |
1ed83ad | Pablo Galindo | 11 June 2020, 16:30:46 UTC | bpo-40939: Remove the old parser (GH-20768) This commit removes the old parser, the deprecated parser module, the old parser compatibility flags and environment variables and all associated support code and documentation. | 11 June 2020, 16:30:46 UTC |