cpython/Misc/NEWS.d/next/Core and Builtins
Sergey B Kirpichev 169e7138ab
gh-122234: fix accuracy issues for sum() (#122236)
* Use compensated summation for complex sums with floating-point items.
  This amends #121176.

* sum() specializations for floats and complexes now use
  PyLong_AsDouble() instead of PyLong_AsLongAndOverflow() and
  compensated summation as well.
2024-07-29 05:56:40 +02:00
..
2018-10-09-15-14-53.bpo-24766.c_C1Wc.rst bpo-24766: doc= argument to subclasses of property not handled correctly (GH-2487) 2024-06-10 08:55:49 +00:00
2022-07-22-15-56-35.gh-issue-95144.FZYWX-.rst gh-95144: Improve error message of `... in None` (GH-119888) 2024-07-12 16:34:17 +00:00
2023-10-14-23-05-40.gh-issue-84978.Z0t6dg.rst gh-84978: Add float.from_number() and complex.from_number() (GH-26827) 2024-07-15 16:07:00 +00:00
2024-01-15-21-51-26.gh-issue-114091.VOtSJl.rst gh-114091: Reword error message for unawaitable types (#114090) 2024-06-17 20:18:17 +05:30
2024-03-25-15-07-01.gh-issue-117195.OWakgD.rst GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220) 2024-05-23 11:06:10 +01:00
2024-04-08-13-49-02.gh-issue-117558.9lSEpR.rst gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631) 2024-05-28 12:01:37 +03:00
2024-04-27-18-36-46.gh-issue-115801.SVeHSy.rst gh-115801: Only allow sequence of strings as input for difflib.unified_diff (GH-118333) 2024-06-10 14:06:18 +03:00
2024-05-01-05-09-16.gh-issue-117139.t41w_D.rst gh-117139: Convert the evaluation stack to stack refs (#118450) 2024-06-27 03:10:43 +08:00
2024-05-07-16-57-56.gh-issue-118561.wNMKVd.rst Docs: Ensure no warnings are found in the NEWS file before a given line number (#119221) 2024-05-20 13:31:38 -06:00
2024-05-08-09-44-15.gh-issue-118767.iFF5F5.rst gh-118767: Improve tests and docs for bool(NotImplemented) (#118813) 2024-05-09 13:52:08 +00:00
2024-05-09-02-37-25.gh-issue-118750.7aLfT-.rst gh-118750: Asymptotically faster `int(string)` (#118751) 2024-05-18 19:19:57 -05:00
2024-05-09-19-47-12.gh-issue-117657.Vn0Yey.rst gh-117657: Fix data races reported by TSAN on `interp->threads.main` (#118865) 2024-05-10 09:59:14 -04:00
2024-05-10-19-54-18.gh-issue-118921.O4ztZG.rst gh-118921: Add `copy()` method for `FrameLocalsProxy` (#118923) 2024-05-10 15:53:10 -07:00
2024-05-11-21-44-17.gh-issue-118844.q2H_km.rst GH-118844: Fix build failures when combining --disable-gil with --enable-experimental-jit (GH-118935) 2024-05-11 16:19:31 -07:00
2024-05-15-12-15-58.gh-issue-119057.P3G9G2.rst gh-119057: Use better error messages for zero division (#119066) 2024-06-03 19:03:56 +03:00
2024-05-16-23-02-03.gh-issue-119049.qpd_S-.rst gh-119049: Fix incorrect display of warning which is constructed by C API (GH-119063) 2024-05-16 20:27:59 +00:00
2024-05-20-10-10-51.gh-issue-119180.35xqpu.rst gh-119180: PEP 649: Add __annotate__ attributes (#119209) 2024-05-22 04:38:12 +02:00
2024-05-20-14-57-39.gh-issue-118692.Qadm7F.rst gh-118692: Avoid creating unnecessary StopIteration instances for monitoring (#119216) 2024-05-21 20:42:51 +00:00
2024-05-21-09-46-51.gh-issue-119011.WOe3bu.rst gh-119011: `type.__type_params__` now return an empty tuple (#119296) 2024-05-28 18:12:58 +00:00
2024-05-21-11-27-14.gh-issue-119213.nxjxrt.rst gh-119213: Be More Careful About _PyArg_Parser.kwtuple Across Interpreters (gh-119331) 2024-05-22 09:57:52 -06:00
2024-05-21-12-17-02.gh-issue-119180.UNDUb9.rst gh-119180: Add LOAD_COMMON_CONSTANT opcode (#119321) 2024-05-22 00:46:39 +00:00
2024-05-22-06-22-47.gh-issue-119180.vZMiXm.rst gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
2024-05-22-12-49-03.gh-issue-119372.PXig1R.rst gh-119372: Recover inf's and zeros in _Py_c_quot (GH-119457) 2024-06-29 11:00:48 +03:00
2024-05-23-06-34-14.gh-issue-119395.z-Hsqb.rst gh-119311: Fix name mangling with PEP 695 generic classes (#119464) 2024-05-27 19:50:38 -07:00
2024-05-23-06-34-45.gh-issue-119311.2DBwKR.rst gh-119311: Fix name mangling with PEP 695 generic classes (#119464) 2024-05-27 19:50:38 -07:00
2024-05-23-20-17-37.gh-issue-119258.wZFIpt.rst gh-119258: Eliminate Type Guards in Tier 2 Optimizer with Watcher (GH-119365) 2024-06-08 17:41:45 +08:00
2024-05-24-21-04-00.gh-issue-119525.zLFLf1.rst gh-119525: Fix deadlock with `_PyType_Lookup` and the GIL (#119527) 2024-05-29 15:26:04 -04:00
2024-05-24-21-16-52.gh-issue-119369.qBThho.rst gh-119369: Fix deadlock during thread exit in free-threaded build (#119528) 2024-05-31 13:04:59 -04:00
2024-05-25-12-52-25.gh-issue-119560.wSlm8q.rst gh-119560: Drop an Invalid Assert in PyState_FindModule() (gh-119561) 2024-05-25 19:30:48 +00:00
2024-05-25-13-51-48.gh-issue-111999.L0q1gh.rst gh-111999: Fix the signature of str.format_map() (#119540) 2024-05-25 06:21:11 -07:00
2024-05-25-16-45-27.gh-issue-119548.pqF9Y6.rst gh-119548: Add a 'clear' command to the REPL (#119549) 2024-05-25 16:15:54 +00:00
2024-05-27-19-13-49.gh-issue-109218.-sdDg0.rst gh-109218: Deprecate weird cases in the complex() constructor (GH-119620) 2024-05-30 23:30:57 +03:00
2024-05-28-22-49-56.gh-issue-119689.VwLFD5.rst gh-119689: generate stack effect metadata for pseudo instructions (#119691) 2024-05-29 09:47:56 +00:00
2024-05-29-18-53-43.gh-issue-119740.zP2JNM.rst gh-119740: Remove deprecated trunc delegation (#119743) 2024-06-02 10:16:49 +01:00
2024-05-30-04-11-36.gh-issue-118934.fbDqve.rst gh-118934: Make PyEval_GetLocals return borrowed reference (#119769) 2024-07-16 12:17:47 -07:00
2024-05-30-23-01-00.gh-issue-119821.jPGfvt.rst gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822) 2024-05-31 14:05:24 -07:00
2024-05-31-08-23-41.gh-issue-119180.KL4VxZ.rst gh-119180: Lazily wrap annotations on classmethod and staticmethod (#119864) 2024-05-31 14:05:51 -07:00
2024-05-31-12-06-11.gh-issue-119842.tCGVsv.rst gh-119842: Honor PyOS_InputHook in the new REPL (GH-119843) 2024-06-04 20:32:43 +02:00
2024-06-02-06-12-35.gh-issue-119879.Jit951.rst gh-119879: str.find(): Utilize last character gap for two-way periodic needles (#119880) 2024-06-04 03:44:49 -04:00
2024-06-03-13-25-04.gh-issue-119724.EH1dkA.rst gh-119724: Revert "bpo-45759: Better error messages for non-matching 'elif'/'else' statements (#29513)" (#119974) 2024-06-03 18:10:15 -07:00
2024-06-03-13-48-44.gh-issue-119933.Kc0HG5.rst gh-119933: Improve ``SyntaxError`` message for invalid type parameters expressions (#119976) 2024-06-17 06:51:03 -07:00
2024-06-05-08-39-40.gh-issue-120080.DJFK11.rst gh-120080: Accept ``None`` as a valid argument for direct call of the ``int.__round__`` (#120088) 2024-06-07 10:03:28 +02:00
2024-06-05-10-32-44.gh-issue-120097.9S2klk.rst GH-120097: Make FrameLocalsProxy a mapping (#120101) 2024-06-19 17:54:13 +01:00
2024-06-05-18-29-18.gh-issue-93691.6OautB.rst gh-93691: fix too broad source locations of with-statement instructions (#120125) 2024-06-07 14:06:24 +01:00
2024-06-07-16-09-04.gh-issue-120225.kuYf9t.rst gh-120225: fix crash in compiler on empty block at end of exception handler (#120235) 2024-06-07 22:37:35 +01:00
2024-06-07-22-54-15.gh-issue-119726.D9EE-o.rst GH-119726: Deduplicate JIT trampolines for out-of-range jumps (GH-120250) 2024-06-18 18:27:02 -07:00
2024-06-09-19-13-38.gh-issue-119666.S0G4rZ.rst gh-119666: fix multiple class-scope comprehensions referencing __class__ (#120295) 2024-06-09 22:23:30 -04:00
2024-06-10-10-42-48.gh-issue-120298.napREA.rst Fix typos in documentation (GH-120440) 2024-06-13 09:37:21 +00:00
2024-06-10-15-07-16.gh-issue-120198.WW_pjO.rst gh-120198: Fix race condition when editing __class__ with an audit hook active (GH-120195) 2024-06-11 20:10:23 +01:00
2024-06-10-22-30-26.gh-issue-93691.68WOTS.rst gh-93691: fix too broad source locations of for statement iterators (#120330) 2024-06-12 12:53:19 +01:00
2024-06-11-12-47-54.gh-issue-120346.hhn_6X.rst Fix typos in documentation (GH-120440) 2024-06-13 09:37:21 +00:00
2024-06-11-17-56-12.gh-issue-120221.si9hM9.rst gh-120221: Deliver real singals on Ctrl-C and Ctrl-Z in the new REPL (#120354) 2024-06-11 20:20:25 +01:00
2024-06-12-13-47-25.gh-issue-120397.n-I_cc.rst gh-120397: Fix typo in NEWS entry (#120455) 2024-06-13 18:53:45 +02:00
2024-06-12-18-23-15.gh-issue-120380.edtqjq.rst gh-120380: fix Python implementation of `pickle.Pickler` for `bytes` and `bytearray` objects in protocol version 5. (GH-120422) 2024-06-21 14:22:38 +02:00
2024-06-12-18-50-29.gh-issue-120367.LmXx2y.rst gh-120367: fix removal of redundant NOPs and jumps after reordering hot-cold blocks (#120425) 2024-06-17 10:10:06 +00:00
2024-06-13-12-17-52.gh-issue-120384.w1UBGl.rst Fix typo in news document (GH-122209) 2024-07-24 06:49:58 +00:00
2024-06-14-07-52-00.gh-issue-120485.yy4K4b.rst gh-120485: Add an override of `allow_reuse_port` on classes subclassing `socketserver.TCPServer` (GH-120488) 2024-06-16 13:15:03 +01:00
2024-06-14-22-02-25.gh-issue-113993.MiA0vX.rst gh-113993: Allow interned strings to be mortal, and fix related issues (GH-120520) 2024-06-21 17:19:31 +02:00
2024-06-17-12-20-20.gh-issue-120507.94lz2J.rst GH-120507: Lower the `BEFORE_WITH` and `BEFORE_ASYNC_WITH` instructions. (#120640) 2024-06-18 12:17:46 +01:00
2024-06-18-21-34-30.gh-issue-120367.zDwffP.rst gh-120367: fix bug where compiler detects redundant jump after pseudo op replacement (#120714) 2024-06-18 22:09:23 +00:00
2024-06-18-22-41-05.gh-issue-120722.rS7tkE.rst gh-120722: Set position on RETURN_VALUE in lambda (#120724) 2024-06-19 05:56:36 -07:00
2024-06-19-01-58-54.gh-issue-120437.nCkIoI.rst gh-120437: Fix `_CHECK_STACK_SPACE` optimization problems introduced in gh-118322 (GH-120712) 2024-06-19 23:34:39 +08:00
2024-06-19-11-10-50.gh-issue-119462.DpcqSe.rst GH-119462: Enforce invariants of type versioning (GH-120731) 2024-06-19 17:38:45 +01:00
2024-06-19-19-54-35.gh-issue-120754.uF29sj.rst gh-120754: Reduce system calls in full-file FileIO.readall() case (#120755) 2024-07-04 09:17:00 +02:00
2024-06-19-21-34-21.gh-issue-98442.cqhjkN.rst gh-98442: fix locations of with statement's cleanup instructions (#120763) 2024-06-20 09:32:06 +01:00
2024-06-24-08-39-23.gh-issue-116017.-Bw2UY.rst GH-116017: Get rid of _COLD_EXITs (GH-120960) 2024-07-01 13:17:40 -07:00
2024-06-25-16-26-44.gh-issue-119726.WqvHxB.rst GH-119726: Use LDR for AArch64 trampolines (GH-121001) 2024-07-01 15:52:33 -07:00
2024-06-26-13-42-36.gh-issue-113433.xKAtLB.rst gh-113433: Automatically Clean Up Subinterpreters in Py_Finalize() (gh-121060) 2024-06-26 21:17:26 +00:00
2024-06-26-14-09-31.gh-issue-120838.nFeTL9.rst gh-113433: Automatically Clean Up Subinterpreters in Py_Finalize() (gh-121060) 2024-06-26 21:17:26 +00:00
2024-06-28-10-02-58.gh-issue-121115.EeSLfc.rst gh-121115: Skip __index__ in PyLong_AsNativeBytes by default (GH-121118) 2024-06-28 16:26:21 +01:00
2024-06-28-18-34-49.gh-issue-119726.Fjv_Ab.rst GH-119726: Emit AArch64 trampolines out-of-line (GH-121280) 2024-07-03 06:22:21 -07:00
2024-06-29-10-46-14.gh-issue-121130.Rj66Xs.rst gh-121130: Fix f-string format specifiers with debug expressions (#121150) 2024-07-16 19:57:22 +01:00
2024-06-30-03-48-10.gh-issue-121149.lLBMKe.rst gh-121149: improve accuracy of builtin sum() for complex inputs (gh-121176) 2024-07-05 10:01:05 -05:00
2024-07-04-23-38-30.gh-issue-121368.m3EF9E.rst gh-121368: Fix seq lock memory ordering in _PyType_Lookup (#121388) 2024-07-08 14:52:07 -04:00
2024-07-05-11-29-27.gh-issue-121288.lYKYYP.rst gh-121288: Make error message for index() methods consistent (GH-121395) 2024-07-05 10:50:45 -07:00
2024-07-08-02-24-55.gh-issue-121439.jDHod3.rst GH-121439: Allow PyTupleObjects with an ob_size of 20 in the free_list to be reused (gh-121428) 2024-07-10 07:48:25 +00:00
2024-07-08-10-31-08.gh-issue-121012.M5hHk-.rst GH-121012: Set index to -1 when list iterators become exhausted in tier 2 (GH-121483) 2024-07-08 14:20:13 +01:00
2024-07-08-17-15-14.gh-issue-121497.I8hMDC.rst gh-121497: Make Pyrepl respect correctly the history with input hook set (#121498) 2024-07-13 09:42:14 +00:00
2024-07-09-13-53-18.gh-issue-121499.rpp7il.rst gh-121499: Fix multi-line history rendering in the REPL (#121531) 2024-07-13 12:54:10 +02:00
2024-07-10-02-02-32.gh-issue-121562.8beIMi.rst gh-121562: optimized hex_from_char (#121563) 2024-07-14 10:05:35 +01:00
2024-07-10-15-43-54.gh-issue-117482.5WYaXR.rst gh-117482: Fix Builtin Types Slot Wrappers (gh-121602) 2024-07-11 20:20:14 +00:00
2024-07-12-18-18-44.gh-issue-121297.67VE7b.rst gh-121637: Syntax error for optimized-away incorrect await (#121656) 2024-07-22 14:12:43 -07:00
2024-07-13-12-27-31.gh-issue-121657.wgOYLw.rst gh-121657: Display correct error message for yield from outside of a function (GH-121680) 2024-07-13 17:14:39 +02:00
2024-07-15-16-26-32.gh-issue-121794.fhBtiQ.rst gh-121794: Don't set `ob_tid` to zero in fast-path dealloc (#121799) 2024-07-15 17:50:10 -04:00
2024-07-15-20-41-06.gh-issue-121814.oR2ixR.rst gh-121814: Only check f_trace_opcodes if Python frame exists (#121818) 2024-07-15 16:11:02 -07:00
2024-07-16-15-11-51.gh-issue-121795.xkIHrI.rst gh-121795: Improve performance of set membership testing from set arguments (#121796) 2024-07-22 10:05:23 -05:00
2024-07-16-18-23-22.gh-issue-121860.-FTauD.rst gh-121860: Fix crash when materializing managed dict (#121866) 2024-07-16 14:58:36 -04:00
2024-07-19-15-28-05.gh-issue-122026.sta2Ca.rst gh-122026: Fix identification of mismatched parentheses inside f-strings (#122028) 2024-07-19 19:08:08 +02:00
2024-07-21-01-23-54.gh-issue-122029.gKv-e2.rst gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072) 2024-07-23 15:25:26 -07:00
2024-07-23-11-57-36.gh-issue-122160.HSnrAP.rst GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164) 2024-07-25 16:24:29 +01:00
2024-07-23-23-59-04.gh-issue-122208.z8KHsY.rst gh-122208: Don't delivery PyDict_EVENT_ADDED until it can't fail (#122207) 2024-07-24 10:58:28 -07:00
2024-07-24-17-11-51.gh-issue-122234.VxsP_F.rst gh-122234: fix accuracy issues for sum() (#122236) 2024-07-29 05:56:40 +02:00
2024-07-24-22-39-07.gh-issue-122245.LVa9v8.rst gh-122245: Add test case of generic type with __debug__ (#122322) 2024-07-26 18:40:36 +00:00
2024-07-26-14-05-51.gh-issue-122300.SVIF-l.rst gh-122300: Preserve AST nodes for format specifiers with single elements (#122308) 2024-07-26 16:29:41 +00:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

README.rst

Put news entry `blurb`_ files for the *Core and Builtins* section in this directory.

.. _blurb: https://pypi.org/project/blurb/