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

sort by:
Revision Author Date Message Commit Date
478f829 bpo-21257: document http.client.parse_headers (GH-11443) Document http.client.parse_headers 18 January 2019, 15:49:16 UTC
34de2d3 bpo-35045: Accept TLSv1 default in min max test (GH-11510) Make ssl tests less strict and also accept TLSv1 as system default. The changes unbreaks test_min_max_version on Fedora 29. Signed-off-by: Christian Heimes <christian@python.org> 18 January 2019, 15:09:30 UTC
36d9e9a bpo-35283: Update the docstring of threading.Thread.join method (GH-11596) 18 January 2019, 09:50:47 UTC
a902239 bpo-35769: Change IDLE's name for new files from 'Untitled' to 'untitled' (GH-11602) 'Untitled' violates the PEP 8 standard for .py files 18 January 2019, 07:09:53 UTC
3bcbedc bpo-34850: Emit a warning for "is" and "is not" with a literal. (GH-9642) 18 January 2019, 05:47:48 UTC
e55cf02 bpo-35730: IDLE - test squeezer reload() by checking load_font() (GH-11585) 18 January 2019, 02:26:06 UTC
cf27c06 bpo-23156: Remove obsolete tix install directions (GH-11595) Tix was deprecated in 3.6 and the doc is wrong. New users should use ttk. 18 January 2019, 00:00:51 UTC
56c1605 bpo-34161: Update idlelib/NEWS.txt to 2019 Jan 17 (GH-11597) 17 January 2019, 23:44:13 UTC
17f05bb bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) 17 January 2019, 14:15:53 UTC
f1d8e7c bpo-35701: Added __weakref__ slot to uuid.UUID (GH-11570) Added test for weakreferencing a uuid.UUID object. 17 January 2019, 12:16:51 UTC
89669ff bpo-35283: Add deprecation warning for Thread.isAlive (GH-11454) Add a deprecated warning for the threading.Thread.isAlive() method. 17 January 2019, 12:14:45 UTC
97e1299 Fixes typo in asyncio.queue doc (GH-11581) Typo fix for method doc, I'm pretty sure coro is meant, because there's no consumer threads for thread-unsafe queue. Most probably this piece of doc was copied from `queue.Queue` There's not BPO bug for this, afaik. 17 January 2019, 11:52:17 UTC
cee29b4 bpo-35486: Note Py3.6 import system API requirement change (GH-11540) While the introduction of ModuleNotFoundError was fully backwards compatible on the import API consumer side, folks providing alternative implementations of `__import__` need to make an update to be forward compatible with clients that start relying on the new subclass. https://bugs.python.org/issue35486 17 January 2019, 10:41:29 UTC
8c34956 Revert "bpo-35537: subprocess can now use os.posix_spawnp (GH-11579)" (GH-11582) This reverts commit 07858894689047c77f9c12ddc061d30681368d19. 16 January 2019, 22:38:06 UTC
0785889 bpo-35537: subprocess can now use os.posix_spawnp (GH-11579) The subprocess module can now use the os.posix_spawnp() function, if it is available, to locate the program in the PATH. 16 January 2019, 14:26:20 UTC
92b8322 bpo-35674: Add os.posix_spawnp() (GH-11554) Add a new os.posix_spawnp() function. 16 January 2019, 13:29:26 UTC
9daecf3 bpo-35537: subprocess uses os.posix_spawn in some cases (GH-11452) The subprocess module can now use the os.posix_spawn() function in some cases for better performance. Currently, it is only used on macOS and Linux (using glibc 2.24 or newer) if all these conditions are met: * executable path contains a directory * close_fds=False * preexec_fn, pass_fds, cwd, stdin, stdout, stderr and start_new_session parameters are not set Co-authored-by: Joannah Nanjekye <nanjekyejoannah@gmail.com> 15 January 2019, 23:02:35 UTC
a37f524 bpo-35746: Fix segfault in ssl's cert parser (GH-11569) Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL distribution points with empty DP or URI correctly. A malicious or buggy certificate can result into segfault. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue35746 15 January 2019, 22:47:42 UTC
c9f872b bpo-23846: Fix ProactorEventLoop._write_to_self() (GH-11566) asyncio.ProactorEventLoop now catchs and logs send errors when the self-pipe is full: BaseProactorEventLoop._write_to_self() now catchs and logs OSError exceptions, as done by BaseSelectorEventLoop._write_to_self(). 15 January 2019, 12:58:38 UTC
3607ef4 bpo-35742: Fix test_envar_unimportable in test_builtin. (GH-11561) Handle the case of an empty module name in PYTHONBREAKPOINT. Fixes a regression introduced in bpo-34756. 15 January 2019, 11:26:38 UTC
b91140f bpo-11555: Enhance IocpProactor.close() log again (GH-11563) Add repr(self) to the log to display the number of pending overlapped in the log. 15 January 2019, 11:13:48 UTC
b1e4573 bpo-34323: Enhance IocpProactor.close() log (GH-11555) IocpProactor.close() now uses time to decide when to log: wait 1 second before the first log, then log every second. Log also the number of seconds since close() was called. 15 January 2019, 10:48:00 UTC
06f8b57 bpo-35738: Update the example for timer.Timer.repeat(). (GH-11559) Show correct number of repeats. 15 January 2019, 10:29:21 UTC
32ebd85 bpo-29707: Document that os.path.ismount() is not able to reliable detect bind mounts. (GH-11238) 15 January 2019, 08:55:40 UTC
efcf82f bpo-35619: Improve support of custom data descriptors in help() and pydoc. (GH-11366) 15 January 2019, 08:53:18 UTC
6fe9c44 bpo-34756: Silence only ImportError and AttributeError in sys.breakpointhook(). (GH-9457) 14 January 2019, 10:58:37 UTC
454b3d4 bpo-35066: _dateime.datetime.strftime copies trailing '%' (GH-10692) Previously, calling the strftime() method on a datetime object with a trailing '%' in the format string would result in an exception. However, this only occured when the datetime C module was being used; the python implementation did not match this behavior. Datetime is now PEP-399 compliant, and will not throw an exception on a trailing '%'. 14 January 2019, 10:23:39 UTC
5bb146a bpo-35730: Disable IDLE test_reload assertion. (GH-11543) IDLE's test_squeezer.SqueezerTest.test_reload, added for issue 35196, failed on both Gentoo buildbots. 13 January 2019, 17:50:29 UTC
39a33e9 bpo-35196: Optimize Squeezer's write() interception (GH-10454) The new functionality of Squeezer.reload() is also tested, along with some general re-working of the tests in test_squeezer.py. 13 January 2019, 15:01:50 UTC
995d9b9 bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021) 13 January 2019, 04:05:13 UTC
1cffd0e bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948) 12 January 2019, 17:21:54 UTC
d586ccb bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276) Format characters "%s" and "%V" in PyUnicode_FromFormat() and "%s" in PyBytes_FromFormat() no longer read memory past the limit if precision is specified. 12 January 2019, 08:30:35 UTC
f1ec3ce bpo-35634: Raise an error when first passed kwargs contains duplicated keys. (GH-11438) 12 January 2019, 08:12:24 UTC
58159ef bpo-35494: Improve syntax error messages for unbalanced parentheses in f-string. (GH-11161) 12 January 2019, 07:46:50 UTC
44cc482 bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516) Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat() with empty result. 12 January 2019, 07:22:29 UTC
d0d3e99 bpo-35719: Optimize multi-argument math functions. (GH-11527) Use the fast call convention for math functions atan2(), copysign(), hypot() and remainder() and inline unpacking arguments. This sped up them by 1.3--2.5 times. 12 January 2019, 06:26:34 UTC
7934266 bpo-35582: Inline arguments tuple unpacking in handwritten code. (GH-11524) Inline PyArg_UnpackTuple() and _PyArg_UnpackStack() in performance sensitive code in the builtins and operator modules. 12 January 2019, 06:25:41 UTC
cb08a71 bpo-34838: Use subclass_of for math.dist. (GH-9659) Argument clinic now generates fast inline code for positional parsing, so the manually implemented type check in math.dist can be removed. 12 January 2019, 06:23:41 UTC
fdf282d bpo-35423: Stop using the "pending calls" machinery for signals. (gh-10972) This change separates the signal handling trigger in the eval loop from the "pending calls" machinery. There is no semantic change and the difference in performance is insignificant. The change makes both components less confusing. It also eliminates the risk of changes to the pending calls affecting signal handling. This is particularly relevant for some upcoming pending calls changes I have in the works. 11 January 2019, 21:26:55 UTC
a909460 bpo-34569: Fix subinterpreter 32-bit ABI, pystate.c/_new_long_object() (gh-9127) This fixes ShareableTypeTests.test_int() in Lib/test/test__xxsubinterpreters.py. 11 January 2019, 18:17:03 UTC
2a39d25 bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520) Use _PyArg_CheckPositional() and inlined code instead of PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters are positional and use the "object" converter. 11 January 2019, 16:01:42 UTC
4fa9591 bpo-35582: Argument Clinic: inline parsing code for positional parameters. (GH-11313) 11 January 2019, 14:01:14 UTC
5485085 bpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489) Fix memory leaks in asyncio ProactorEventLoop on overlapped operation failures. Changes: * Implement the tp_traverse slot in the _overlapped.Overlapped type to help to break reference cycles and identify referrers in the garbage collector. * Always clear overlapped on failure: not only set type to TYPE_NOT_STARTED, but release also resources. 11 January 2019, 13:35:14 UTC
fd7d539 bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517) Document that the time.CLOCK_MONOTONIC_RAW constant is now also available on macOS 10.12. Co-authored-by: Ricardo Fraile <rfraile@rfraile.eu> 11 January 2019, 13:19:57 UTC
bab4bbb bpo-32146: Add documentation about frozen executables on Unix (GH-5850) 10 January 2019, 17:51:28 UTC
572168a bpo-35702: Add new identifier time.CLOCK_UPTIME_RAW for macOS 10.12 (GH-11503) 10 January 2019, 16:56:38 UTC
89c4f90 bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128) 10 January 2019, 16:12:31 UTC
c5dc60e bpo-24746: Fix doctest failures when running the testsuite with -R (#11501) 10 January 2019, 14:29:40 UTC
fb2c346 asyncio: __del__() keep reference to warnings.warn (GH-11491) * asyncio: __del__() keep reference to warnings.warn The __del__() methods of asyncio classes now keep a strong reference to the warnings.warn() to be able to display the ResourceWarning warning in more cases. Ensure that the function remains available if instances are destroyed late during Python shutdown (while module symbols are cleared). * Rename warn parameter to _warn "_warn" name is a hint that it's not the regular warnings.warn() function. 10 January 2019, 10:24:40 UTC
9b07681 IocpProactor: prevent modification if closed (GH-11494) * _wait_for_handle(), _register() and _unregister() methods of IocpProactor now raise an exception if closed * Add "closed" to IocpProactor.__repr__() * Simplify IocpProactor.close() 10 January 2019, 10:23:26 UTC
6aedfa6 bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177) 10 January 2019, 00:19:29 UTC
a306bdd Distutils no longer needs to remain compatible with 2.3 (GH-11423) 09 January 2019, 23:55:03 UTC
91c6158 Update bugs.rst (GH-9648) 09 January 2019, 22:54:12 UTC
e394ba3 bpo-35404: Clarify how to import _structure in email.message doc (GH-10886) 09 January 2019, 22:52:10 UTC
d6acf17 Add example to the documentation for calling unittest.mock.patch with create=True (GH-11056) 09 January 2019, 21:43:24 UTC
ee65594 bpo-35641: Move IDLE blurb to IDLE directory (#11479) 09 January 2019, 15:44:07 UTC
cbb1645 bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (#10639) 09 January 2019, 13:38:38 UTC
a234e14 bpo-32710: Fix leak in Overlapped_WSASend() (GH-11469) Fix a memory leak in asyncio in the ProactorEventLoop when ReadFile() or WSASend() overlapped operation fail immediately: release the internal buffer. 08 January 2019, 13:23:09 UTC
872bd2b bpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport restrictions (GH-11465) Also adds extra steps to the CI build for Windows on Azure Pipelines to validate that the various layouts at least execute. 08 January 2019, 10:38:01 UTC
c24c6c2 bpo-35568: add 'raise_signal' function (GH-11335) As in title, expose C `raise` function as `raise_function` in `signal` module. Also drop existing `raise_signal` in `_testcapi` module and replace all usages with new function. https://bugs.python.org/issue35568 08 January 2019, 09:58:25 UTC
e61cc48 bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849) 08 January 2019, 02:57:29 UTC
202d1bd Remove spurious quote in Azure Pipelines script (GH-10763) 08 January 2019, 02:02:26 UTC
80fda71 bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462) bpo-32622, bpo-35682: Fix asyncio.ProactorEventLoop.sendfile(): don't attempt to set the result of an internal future if it's already done. Fix asyncio _ProactorBasePipeTransport._force_close(): don't set the result of _empty_waiter if it's already done. 08 January 2019, 01:46:59 UTC
fbf5068 bpo-35642: Remove asynciomodule.c from pythoncore.vcxproj (GH-11410) This module is built by _asyncio.vcxproj and does not need to be included in pythoncore. 08 January 2019, 01:27:18 UTC
ddd7c42 bpo-33717: pythoninfo logs information of all clocks (GH-11460) test.pythoninfo now logs information of all clocks, not only time.time() and time.perf_counter(). 08 January 2019, 00:27:27 UTC
df8e1fb bpo-32710: test_asyncio: test_sendfile reset policy (GH-11461) test_asyncio/test_sendfile.py now resets the event loop policy using tearDownModule() as done in other tests, to prevent a warning when running tests on Windows. 07 January 2019, 22:55:57 UTC
2d53bed bpo-35664: Optimize operator.itemgetter (GH-11435) 07 January 2019, 16:38:41 UTC
3f7983a bpo-35560: Remove assertion from format(float, "n") (GH-11288) Fix an assertion error in format() in debug build for floating point formatting with "n" format, zero padding and small width. Release build is not impacted. Patch by Karthikeyan Singaravelan. 07 January 2019, 15:09:14 UTC
a0bb51e test_threading_local: add missing "import sys" (GH-8049) 06 January 2019, 22:10:55 UTC
11303dd bpo-35660: Fix imports in idlelib.window (#11434) * bpo-35660: IDLE: Remove * import from window.py * sys was being imported through the *, so also added an import sys. * Update 2019-01-04-19-14-29.bpo-35660.hMxI7N.rst Anyone who wants details can check the issue, where I added the point about the sys import bug. 06 January 2019, 20:55:52 UTC
83da926 bpo-35488: Add tests for ** glob matching in pathlib (GH-11171) 06 January 2019, 20:31:29 UTC
a5b7616 remove doc-string declaration no longer used after AC conversion (GH-11444) 06 January 2019, 08:10:34 UTC
67ba547 bpo-23057: Use 'raise' to emulate ctrl-c in proactor tests (#11274) 05 January 2019, 20:44:59 UTC
31ec52a bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396) https://bugs.python.org/issue35631 04 January 2019, 14:14:32 UTC
47a2fce bpo-31450: Remove documentation mentioning that subprocess's child_traceback is available with the parent process (GH-11422) 03 January 2019, 19:53:56 UTC
ab54b9a bpo-35641: IDLE - format calltip properly when no docstring (GH-11415) 03 January 2019, 07:47:58 UTC
aff0ada bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395) 03 January 2019, 03:04:06 UTC
e9a044e bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) 02 January 2019, 21:05:19 UTC
d466c43 closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) 02 January 2019, 19:26:57 UTC
9a69ae8 Bump copyright years to 2019. (GH-11404) 02 January 2019, 15:46:53 UTC
830ddc7 Revert "bpo-35603: Escape table header of make_table output that can cause potential XSS. (GH-11341)" (GH-11356) This reverts commit 78de01198b047347abc5e458851bb12c48429e24. 02 January 2019, 12:49:25 UTC
3a374e0 bpo-35588: Speed up mod, divmod and floordiv operations for Fraction type (#11322) * bpo-35588: Implement mod and divmod operations for Fraction type by spelling out the numerator/denominator calculation, instead of instantiating and normalising Fractions along the way. This speeds up '%' and divmod() by 2-3x. * bpo-35588: Also reimplement Fraction.__floordiv__() using integer operations to make it ~4x faster. * Improve code formatting. Co-Authored-By: scoder <stefan_ml@behnel.de> * bpo-35588: Fix return type of divmod(): the result of the integer division should be an integer. * bpo-35588: Further specialise __mod__() and inline the original helper function _flat_divmod() since it's no longer reused. * bpo-35588: Add some tests with large numerators and/or denominators. * bpo-35588: Use builtin "divmod()" function for implementing __divmod__() in order to simplify the implementation, even though performance results are mixed. * Rremove accidentally added empty line. * bpo-35588: Try to provide more informative output on test failures. * bpo-35588: Improve wording in News entry. Co-Authored-By: scoder <stefan_ml@behnel.de> * Remove stray space. 02 January 2019, 12:22:06 UTC
a1d1425 bpo-35636: Remove redundant check in unicode_hash(). (GH-11402) _Py_HashBytes() does the check for empty string. 02 January 2019, 12:16:06 UTC
f8b5344 closes bpo-35623: Fix integer overflow when sorting large lists (GH-11380) There is already a `Py_ssize_t i` defined at function scope that is used for similar loops. By removing the local `int i` declaration that `i` is used, which has the appropriate type. 02 January 2019, 02:01:54 UTC
7e3fb40 closes bpo-35630: Use code tag for 'python3' in 'README.rst' (GH-11394) 02 January 2019, 01:57:42 UTC
b4ea8bb bpo-35598: IDLE - Globalize some config_key objects (GH-11392) Move translate_key() and constant tuples to module level. Inline the remnant one-line function. 31 December 2018, 20:06:35 UTC
ede0b6f bpo-20182: AC convert Python/sysmodule.c (GH-11328) 31 December 2018, 15:12:08 UTC
052b2df bpo-32492: Tweak _collections._tuplegetter. (GH-11367) * Replace the docstrings cache with sys.intern(). * Improve tests. * Unify names of tp_descr_get and tp_descr_set functions. 31 December 2018, 12:15:16 UTC
5c117dd bpo-35609: Remove examples for deprecated decorators in the abc module. (GH-11355) 31 December 2018, 07:56:21 UTC
7108aab Fix typo in test module usage message (GH-11374) A minor typo in the output of `python -m test -h`. A space was missing in between two words. howmuch -> how much 31 December 2018, 05:41:39 UTC
b539cef bpo-35614: Fix pydoc help() on metaclasses (#11357) 31 December 2018, 05:14:47 UTC
1d300ce bpo-35214: Annotate posix calls for clang MSan. (#11389) It doesn't know the details of a few less common libc functions. 31 December 2018, 05:13:02 UTC
e5796c4 bpo-35214: Skip test_io tests that'd cause a huge malloc under msan (#11385) * skip test_constructor under msan. * fix the others as well. * reuse existing related news entry. * typo fix 31 December 2018, 04:17:57 UTC
d6f45b2 Fix typos in test_faulthandler skipIfs for ubsan. (GH-11386) 31 December 2018, 04:15:41 UTC
6f9bc72 bpo-35550: Fix incorrect Solaris define guards (GH-11275) Python source code uses on several places ifdef sun or defined(sun) without the underscores, which is not standard compliant and shouldn't be used. Defines should check for __sun instead. Reference: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#Solaris https://bugs.python.org/issue35550 31 December 2018, 02:16:40 UTC
30e0232 Cleanup test_faulthandler sanitizer skip logic. (GH-11381) Also skip the same tests when using the undefined behavior sanitizer as they much with the output. Updates a regex in another test to use multi-line mode so that the ubsan buildbot should pass again rather than also adding a skip to that one. 31 December 2018, 02:09:26 UTC
c7e2191 Dead code removal from _hashopenssl. (GH-11379) HASH_OBJ_CONSTRUCTOR has always been defined as 0 since I created hashlib in Python 2.5. Delete all code associated with it. 31 December 2018, 01:54:53 UTC
b474e67 bpo-35214: MSan workarounds for socket, time, and test_faulthandler. (GH-11375) Add Clang Memory Sanitizer build instrumentation to work around false positives from the socket and time modules as well as skipping a couple test_faulthandler tests. 31 December 2018, 01:05:36 UTC
387512c bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) Use crypt_r() when available instead of crypt() in the crypt module. As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer. 30 December 2018, 23:42:32 UTC
1b29c03 Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369) `set_child_watcher()` *sets* the watcher. 30 December 2018, 22:01:28 UTC
back to top