e8239b8 | Pablo Galindo | 20 January 2019, 18:57:56 UTC | Add information about DeprecationWarning for invalid escaped characters in the re module (GH-5255) | 20 January 2019, 18:57:56 UTC |
b2dc4a3 | Marc Schlaich | 20 January 2019, 18:47:42 UTC | bpo-35699: fix distuils cannot detect Build Tools 2017 anymore (GH-11495) | 20 January 2019, 18:47:42 UTC |
2cf1dda | Terry Jan Reedy | 18 January 2019, 22:05:40 UTC | bpo-35770: Fix off-by-1 error. (#11618) | 18 January 2019, 22:05:40 UTC |
7417622 | Anthony Sottile | 18 January 2019, 19:30:28 UTC | bpo-35733: Make isinstance(ast.Constant(boolean), ast.Num) be false. (GH-11547) | 18 January 2019, 19:30:28 UTC |
39ed289 | Terry Jan Reedy | 18 January 2019, 19:00:45 UTC | bpo-35770: IDLE macosx deletes Options => Configure IDLE. (GH-11614) It previously deleted Window => Zoom Height by mistake. (Zoom Height is now on the Options menu). On Mac, the settings dialog is accessed via Preferences on the IDLE menu. | 18 January 2019, 19:00:45 UTC |
478f829 | Ashwin Ramaswami | 18 January 2019, 15:49:16 UTC | bpo-21257: document http.client.parse_headers (GH-11443) Document http.client.parse_headers | 18 January 2019, 15:49:16 UTC |
34de2d3 | Christian Heimes | 18 January 2019, 15:09:30 UTC | 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 | Dong-hee Na | 18 January 2019, 09:50:47 UTC | bpo-35283: Update the docstring of threading.Thread.join method (GH-11596) | 18 January 2019, 09:50:47 UTC |
a902239 | Terry Jan Reedy | 18 January 2019, 07:09:53 UTC | 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 | Serhiy Storchaka | 18 January 2019, 05:47:48 UTC | bpo-34850: Emit a warning for "is" and "is not" with a literal. (GH-9642) | 18 January 2019, 05:47:48 UTC |
e55cf02 | Tal Einat | 18 January 2019, 02:26:06 UTC | bpo-35730: IDLE - test squeezer reload() by checking load_font() (GH-11585) | 18 January 2019, 02:26:06 UTC |
cf27c06 | Terry Jan Reedy | 18 January 2019, 00:00:51 UTC | 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 | Terry Jan Reedy | 17 January 2019, 23:44:13 UTC | bpo-34161: Update idlelib/NEWS.txt to 2019 Jan 17 (GH-11597) | 17 January 2019, 23:44:13 UTC |
17f05bb | Timo Furrer | 17 January 2019, 14:15:53 UTC | bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) | 17 January 2019, 14:15:53 UTC |
f1d8e7c | David H | 17 January 2019, 12:16:51 UTC | 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 | Dong-hee Na | 17 January 2019, 12:14:45 UTC | 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 | Slam | 17 January 2019, 11:52:17 UTC | 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 | Nick Coghlan | 17 January 2019, 10:41:29 UTC | 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 | Victor Stinner | 16 January 2019, 22:38:06 UTC | 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 | Victor Stinner | 16 January 2019, 14:26:20 UTC | 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 | Joannah Nanjekye | 16 January 2019, 13:29:26 UTC | bpo-35674: Add os.posix_spawnp() (GH-11554) Add a new os.posix_spawnp() function. | 16 January 2019, 13:29:26 UTC |
9daecf3 | Victor Stinner | 15 January 2019, 23:02:35 UTC | 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 | Christian Heimes | 15 January 2019, 22:47:42 UTC | 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 | Victor Stinner | 15 January 2019, 12:58:38 UTC | 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 | Serhiy Storchaka | 15 January 2019, 11:26:38 UTC | 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 | Victor Stinner | 15 January 2019, 11:13:48 UTC | 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 | Victor Stinner | 15 January 2019, 10:48:00 UTC | 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 | Henry Chen | 15 January 2019, 10:29:21 UTC | bpo-35738: Update the example for timer.Timer.repeat(). (GH-11559) Show correct number of repeats. | 15 January 2019, 10:29:21 UTC |
32ebd85 | Serhiy Storchaka | 15 January 2019, 08:55:40 UTC | 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 | Serhiy Storchaka | 15 January 2019, 08:53:18 UTC | bpo-35619: Improve support of custom data descriptors in help() and pydoc. (GH-11366) | 15 January 2019, 08:53:18 UTC |
6fe9c44 | Serhiy Storchaka | 14 January 2019, 10:58:37 UTC | bpo-34756: Silence only ImportError and AttributeError in sys.breakpointhook(). (GH-9457) | 14 January 2019, 10:58:37 UTC |
454b3d4 | MichaelSaah | 14 January 2019, 10:23:39 UTC | 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 | Terry Jan Reedy | 13 January 2019, 17:50:29 UTC | 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 | Tal Einat | 13 January 2019, 15:01:50 UTC | 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 | Anthony Sottile | 13 January 2019, 04:05:13 UTC | bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021) | 13 January 2019, 04:05:13 UTC |
1cffd0e | Alexey Izbyshev | 12 January 2019, 17:21:54 UTC | bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948) | 12 January 2019, 17:21:54 UTC |
d586ccb | Serhiy Storchaka | 12 January 2019, 08:30:35 UTC | 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 | Serhiy Storchaka | 12 January 2019, 08:12:24 UTC | bpo-35634: Raise an error when first passed kwargs contains duplicated keys. (GH-11438) | 12 January 2019, 08:12:24 UTC |
58159ef | Serhiy Storchaka | 12 January 2019, 07:46:50 UTC | bpo-35494: Improve syntax error messages for unbalanced parentheses in f-string. (GH-11161) | 12 January 2019, 07:46:50 UTC |
44cc482 | Serhiy Storchaka | 12 January 2019, 07:22:29 UTC | 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 | Serhiy Storchaka | 12 January 2019, 06:26:34 UTC | 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 | Serhiy Storchaka | 12 January 2019, 06:25:41 UTC | 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 | Ammar Askar | 12 January 2019, 06:23:41 UTC | 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 | Eric Snow | 11 January 2019, 21:26:55 UTC | 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 | Michael Felt | 11 January 2019, 18:17:03 UTC | 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 | Serhiy Storchaka | 11 January 2019, 16:01:42 UTC | 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 | Serhiy Storchaka | 11 January 2019, 14:01:14 UTC | bpo-35582: Argument Clinic: inline parsing code for positional parameters. (GH-11313) | 11 January 2019, 14:01:14 UTC |
5485085 | Victor Stinner | 11 January 2019, 13:35:14 UTC | 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 | Joannah Nanjekye | 11 January 2019, 13:19:57 UTC | 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 | Bo Bayles | 10 January 2019, 17:51:28 UTC | bpo-32146: Add documentation about frozen executables on Unix (GH-5850) | 10 January 2019, 17:51:28 UTC |
572168a | Joannah Nanjekye | 10 January 2019, 16:56:38 UTC | bpo-35702: Add new identifier time.CLOCK_UPTIME_RAW for macOS 10.12 (GH-11503) | 10 January 2019, 16:56:38 UTC |
89c4f90 | Zackery Spytz | 10 January 2019, 16:12:31 UTC | bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128) | 10 January 2019, 16:12:31 UTC |
c5dc60e | Pablo Galindo | 10 January 2019, 14:29:40 UTC | bpo-24746: Fix doctest failures when running the testsuite with -R (#11501) | 10 January 2019, 14:29:40 UTC |
fb2c346 | Victor Stinner | 10 January 2019, 10:24:40 UTC | 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 | Victor Stinner | 10 January 2019, 10:23:26 UTC | 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 | antektek | 10 January 2019, 00:19:29 UTC | bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177) | 10 January 2019, 00:19:29 UTC |
a306bdd | Miro Hrončok | 09 January 2019, 23:55:03 UTC | Distutils no longer needs to remain compatible with 2.3 (GH-11423) | 09 January 2019, 23:55:03 UTC |
91c6158 | Andre Delfino | 09 January 2019, 22:54:12 UTC | Update bugs.rst (GH-9648) | 09 January 2019, 22:54:12 UTC |
e394ba3 | Charles-Axel Dein | 09 January 2019, 22:52:10 UTC | bpo-35404: Clarify how to import _structure in email.message doc (GH-10886) | 09 January 2019, 22:52:10 UTC |
d6acf17 | Pablo Galindo | 09 January 2019, 21:43:24 UTC | Add example to the documentation for calling unittest.mock.patch with create=True (GH-11056) | 09 January 2019, 21:43:24 UTC |
ee65594 | Terry Jan Reedy | 09 January 2019, 15:44:07 UTC | bpo-35641: Move IDLE blurb to IDLE directory (#11479) | 09 January 2019, 15:44:07 UTC |
cbb1645 | Sanyam Khurana | 09 January 2019, 13:38:38 UTC | bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (#10639) | 09 January 2019, 13:38:38 UTC |
a234e14 | Victor Stinner | 08 January 2019, 13:23:09 UTC | 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 | Steve Dower | 08 January 2019, 10:38:01 UTC | 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 | Vladimir Matveev | 08 January 2019, 09:58:25 UTC | 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 | chrullrich | 08 January 2019, 02:57:29 UTC | bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849) | 08 January 2019, 02:57:29 UTC |
202d1bd | Pierre Glaser | 08 January 2019, 02:02:26 UTC | Remove spurious quote in Azure Pipelines script (GH-10763) | 08 January 2019, 02:02:26 UTC |
80fda71 | Victor Stinner | 08 January 2019, 01:46:59 UTC | 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 | Gregory Szorc | 08 January 2019, 01:27:18 UTC | 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 | Victor Stinner | 08 January 2019, 00:27:27 UTC | 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 | Victor Stinner | 07 January 2019, 22:55:57 UTC | 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 | Raymond Hettinger | 07 January 2019, 16:38:41 UTC | bpo-35664: Optimize operator.itemgetter (GH-11435) | 07 January 2019, 16:38:41 UTC |
3f7983a | Xtreak | 07 January 2019, 15:09:14 UTC | 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 | cclauss | 06 January 2019, 22:10:55 UTC | test_threading_local: add missing "import sys" (GH-8049) | 06 January 2019, 22:10:55 UTC |
11303dd | Cheryl Sabella | 06 January 2019, 20:55:52 UTC | 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 | Anthony Shaw | 06 January 2019, 20:31:29 UTC | bpo-35488: Add tests for ** glob matching in pathlib (GH-11171) | 06 January 2019, 20:31:29 UTC |
a5b7616 | Tal Einat | 06 January 2019, 08:10:34 UTC | remove doc-string declaration no longer used after AC conversion (GH-11444) | 06 January 2019, 08:10:34 UTC |
67ba547 | Vladimir Matveev | 05 January 2019, 20:44:59 UTC | bpo-23057: Use 'raise' to emulate ctrl-c in proactor tests (#11274) | 05 January 2019, 20:44:59 UTC |
31ec52a | Ville Skyttä | 04 January 2019, 14:14:32 UTC | 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 | Harmandeep Singh | 03 January 2019, 19:53:56 UTC | 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 | Emmanuel Arias | 03 January 2019, 07:47:58 UTC | bpo-35641: IDLE - format calltip properly when no docstring (GH-11415) | 03 January 2019, 07:47:58 UTC |
aff0ada | Terry Jan Reedy | 03 January 2019, 03:04:06 UTC | bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395) | 03 January 2019, 03:04:06 UTC |
e9a044e | Harmandeep Singh | 02 January 2019, 21:05:19 UTC | bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310) | 02 January 2019, 21:05:19 UTC |
d466c43 | Mickaël Schoentgen | 02 January 2019, 19:26:57 UTC | closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411) | 02 January 2019, 19:26:57 UTC |
9a69ae8 | Benjamin Peterson | 02 January 2019, 15:46:53 UTC | Bump copyright years to 2019. (GH-11404) | 02 January 2019, 15:46:53 UTC |
830ddc7 | Serhiy Storchaka | 02 January 2019, 12:49:25 UTC | 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 | Stefan Behnel | 02 January 2019, 12:22:06 UTC | 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 | animalize | 02 January 2019, 12:16:06 UTC | 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 | sth | 02 January 2019, 02:01:54 UTC | 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 | Suriyaa ✌️️ | 02 January 2019, 01:57:42 UTC | closes bpo-35630: Use code tag for 'python3' in 'README.rst' (GH-11394) | 02 January 2019, 01:57:42 UTC |
b4ea8bb | Cheryl Sabella | 31 December 2018, 20:06:35 UTC | 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 | Tal Einat | 31 December 2018, 15:12:08 UTC | bpo-20182: AC convert Python/sysmodule.c (GH-11328) | 31 December 2018, 15:12:08 UTC |
052b2df | Serhiy Storchaka | 31 December 2018, 12:15:16 UTC | 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 | Serhiy Storchaka | 31 December 2018, 07:56:21 UTC | bpo-35609: Remove examples for deprecated decorators in the abc module. (GH-11355) | 31 December 2018, 07:56:21 UTC |
7108aab | sth | 31 December 2018, 05:41:39 UTC | 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 | Sanyam Khurana | 31 December 2018, 05:14:47 UTC | bpo-35614: Fix pydoc help() on metaclasses (#11357) | 31 December 2018, 05:14:47 UTC |
1d300ce | Gregory P. Smith | 31 December 2018, 05:13:02 UTC | 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 | Gregory P. Smith | 31 December 2018, 04:17:57 UTC | 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 | Gregory P. Smith | 31 December 2018, 04:15:41 UTC | Fix typos in test_faulthandler skipIfs for ubsan. (GH-11386) | 31 December 2018, 04:15:41 UTC |
6f9bc72 | Jakub Kulík | 31 December 2018, 02:16:40 UTC | 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 |