diff --git a/Misc/NEWS b/Misc/NEWS index b0c5f762895..8ec1f01462b 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -362,7 +362,7 @@ Core and Builtins - Issue #15027: The UTF-32 encoder is now 3x to 7x faster. -- Issue #23290: Optimize set_merge() for cases where the target is empty. +- Issue #23290: Optimize set_merge() for cases where the target is empty. (Contributed by Serhiy Storchaka.) - Issue #2292: PEP 448: Additional Unpacking Generalizations. @@ -917,7 +917,7 @@ Library unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier. -- Issue #23252: Added support for writing ZIP files to unseekable streams. +- Issue #23252: Added support for writing ZIP files to unseekable streams. - Issue #23647: Increase impalib's MAXLINE to accommodate modern mailbox sizes. @@ -1638,10 +1638,10 @@ Library - Issue #21650: Add an `--sort-keys` option to json.tool CLI. -- Issue #22824: Updated reprlib output format for sets to use set literals. +- Issue #22824: Updated reprlib output format for sets to use set literals. Patch contributed by Berker Peksag. -- Issue #22824: Updated reprlib output format for arrays to display empty +- Issue #22824: Updated reprlib output format for arrays to display empty arrays without an unnecessary empty list. Suggested by Serhiy Storchaka. - Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. @@ -1980,7 +1980,7 @@ Library - Issue #21448: Changed FeedParser feed() to avoid O(N**2) behavior when parsing long line. Original patch by Raymond Hettinger. -- Issue #22184: The functools LRU Cache decorator factory now gives an earlier +- Issue #22184: The functools LRU Cache decorator factory now gives an earlier and clearer error message when the user forgets the required parameters. - Issue #17923: glob() patterns ending with a slash no longer match non-dirs on @@ -2155,7 +2155,7 @@ Library - Issue #21719: Added the ``st_file_attributes`` field to os.stat_result on Windows. -- Issue #21832: Require named tuple inputs to be exact strings. +- Issue #21832: Require named tuple inputs to be exact strings. - Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails. Patch by Martin Dengler. @@ -2213,7 +2213,7 @@ Library error bubble up as this "bad data" appears in many real world zip files in the wild and is ignored by other zip tools. -- Issue #13742: Added "key" and "reverse" parameters to heapq.merge(). +- Issue #13742: Added "key" and "reverse" parameters to heapq.merge(). (First draft of patch contributed by Simon Sapin.) - Issue #21402: tkinter.ttk now works when default root window is not set. @@ -2244,7 +2244,7 @@ Library - Issue #21525: Most Tkinter methods which accepted tuples now accept lists too. -- Issue #22166: with the assistance of a new internal _codecs._forget_codec +- Issue #22166: With the assistance of a new internal _codecs._forget_codec helping function, test_codecs now clears the encoding caches to avoid the appearance of a reference leak @@ -2304,7 +2304,7 @@ Library Decimal.quantize() method in the Python version. It had never been present in the C version. -- Issue #21469: Reduced the risk of false positives in robotparser by +- Issue #21469: Reduced the risk of false positives in robotparser by checking to make sure that robots.txt has been read or does not exist prior to returning True in can_fetch(). @@ -2595,7 +2595,7 @@ IDLE - Issue #16233: A module browser (File : Class Browser, Alt+C) requires a editor window with a filename. When Class Browser is requested otherwise, from a shell, output window, or 'Untitled' editor, Idle no longer displays - an error box. It now pops up an Open Module box (Alt+M). If a valid name + an error box. It now pops up an Open Module box (Alt+M). If a valid name is entered and a module is opened, a corresponding browser is also opened. - Issue #4832: Save As to type Python files automatically adds .py to the @@ -3524,7 +3524,7 @@ Tools/Demos "{dirname}/clinic/{basename}.h". - Issue #20390: Argument Clinic's "class" directive syntax has been extended - with two new required arguments: "typedef" and "type_object". + with two new required arguments: "typedef" and "type_object". - Issue #20390: Argument Clinic: If __new__ or __init__ functions didn't use kwargs (or args), the PyArg_NoKeywords (or PyArg_NoPositional) calls @@ -4591,10 +4591,10 @@ Library - Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io module instead of the full locale module. -- Issue #18764: remove the 'print' alias for the PDB 'p' command so that it no +- Issue #18764: Remove the 'print' alias for the PDB 'p' command so that it no longer shadows the print function. -- Issue #19158: a rare race in BoundedSemaphore could allow .release() too +- Issue #19158: A rare race in BoundedSemaphore could allow .release() too often. - Issue #15805: Add contextlib.redirect_stdout().