# Copyright (C) 2001-2018, Python Software Foundation # For licence information, see README file. # msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-09-23 16:16+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: whatsnew/changelog.rst:5 msgid "Changelog" msgstr "" #: ../build/NEWS:5 msgid "Python next" msgstr "" #: ../build/NEWS:7 msgid "*Release date: XXXX-XX-XX*" msgstr "" #: ../build/NEWS:10 ../build/NEWS:88 ../build/NEWS:243 ../build/NEWS:504 #: ../build/NEWS:1173 ../build/NEWS:1583 ../build/NEWS:1816 ../build/NEWS:2073 #: ../build/NEWS:2441 ../build/NEWS:3019 ../build/NEWS:3379 ../build/NEWS:4532 #: ../build/NEWS:4894 ../build/NEWS:5338 ../build/NEWS:5848 ../build/NEWS:6190 #: ../build/NEWS:6558 ../build/NEWS:6974 ../build/NEWS:8890 ../build/NEWS:9649 #: ../build/NEWS:10187 ../build/NEWS:10492 ../build/NEWS:10754 #: ../build/NEWS:13734 ../build/NEWS:13846 ../build/NEWS:14059 #: ../build/NEWS:14250 ../build/NEWS:14460 ../build/NEWS:14704 #: ../build/NEWS:15023 ../build/NEWS:15327 ../build/NEWS:15927 #: ../build/NEWS:16216 ../build/NEWS:18306 ../build/NEWS:18643 #: ../build/NEWS:18960 ../build/NEWS:19409 ../build/NEWS:19890 #: ../build/NEWS:20242 ../build/NEWS:20266 ../build/NEWS:20590 #: ../build/NEWS:20620 ../build/NEWS:20684 ../build/NEWS:20798 #: ../build/NEWS:20922 ../build/NEWS:21190 ../build/NEWS:21699 #: ../build/NEWS:21937 ../build/NEWS:22157 ../build/NEWS:22460 #: ../build/NEWS:23794 ../build/NEWS:23855 ../build/NEWS:24247 #: ../build/NEWS:24938 ../build/NEWS:24959 ../build/NEWS:25716 #: ../build/NEWS:25734 ../build/NEWS:26257 ../build/NEWS:26292 #: ../build/NEWS:26320 ../build/NEWS:26412 ../build/NEWS:26499 #: ../build/NEWS:26604 ../build/NEWS:26647 ../build/NEWS:26923 #: ../build/NEWS:27158 ../build/NEWS:27344 ../build/NEWS:27483 msgid "Core and Builtins" msgstr "" #: ../build/NEWS:12 msgid "" "`bpo-44297 `__: Make sure that the line " "number is set when entering a comprehension scope. Ensures that backtraces " "inclusing generator expressions show the correct line number." msgstr "" #: ../build/NEWS:16 msgid "" "`bpo-44368 `__: Improve syntax errors " "for invalid \"as\" targets. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:19 ../build/NEWS:245 msgid "" "`bpo-43667 `__: Improve Unicode support " "in non-UTF locales on Oracle Solaris. This issue does not affect other " "Solaris systems." msgstr "" #: ../build/NEWS:23 ../build/NEWS:119 ../build/NEWS:286 ../build/NEWS:635 #: ../build/NEWS:1265 ../build/NEWS:1648 ../build/NEWS:1872 ../build/NEWS:2146 #: ../build/NEWS:2543 ../build/NEWS:3099 ../build/NEWS:3719 ../build/NEWS:4590 #: ../build/NEWS:4978 ../build/NEWS:5465 ../build/NEWS:5925 ../build/NEWS:6288 #: ../build/NEWS:6635 ../build/NEWS:7291 ../build/NEWS:9054 ../build/NEWS:9718 #: ../build/NEWS:10262 ../build/NEWS:10556 ../build/NEWS:11308 #: ../build/NEWS:13716 ../build/NEWS:13749 ../build/NEWS:13877 #: ../build/NEWS:14085 ../build/NEWS:14276 ../build/NEWS:14481 #: ../build/NEWS:14779 ../build/NEWS:15100 ../build/NEWS:15425 #: ../build/NEWS:16015 ../build/NEWS:16674 ../build/NEWS:18343 #: ../build/NEWS:18689 ../build/NEWS:19055 ../build/NEWS:19379 #: ../build/NEWS:19481 ../build/NEWS:19937 ../build/NEWS:19972 #: ../build/NEWS:20334 ../build/NEWS:20637 ../build/NEWS:20719 #: ../build/NEWS:20822 ../build/NEWS:20992 ../build/NEWS:21327 #: ../build/NEWS:21745 ../build/NEWS:21954 ../build/NEWS:22038 #: ../build/NEWS:22055 ../build/NEWS:22197 ../build/NEWS:22223 #: ../build/NEWS:22273 ../build/NEWS:22745 ../build/NEWS:22868 #: ../build/NEWS:22978 ../build/NEWS:23068 ../build/NEWS:23800 #: ../build/NEWS:23818 ../build/NEWS:23906 ../build/NEWS:24378 #: ../build/NEWS:24692 ../build/NEWS:24703 ../build/NEWS:25097 #: ../build/NEWS:25129 ../build/NEWS:25241 ../build/NEWS:25295 #: ../build/NEWS:25364 ../build/NEWS:25802 ../build/NEWS:26240 #: ../build/NEWS:26267 ../build/NEWS:26305 ../build/NEWS:26325 #: ../build/NEWS:26432 ../build/NEWS:26526 ../build/NEWS:26622 #: ../build/NEWS:26697 ../build/NEWS:26955 ../build/NEWS:27178 #: ../build/NEWS:27351 ../build/NEWS:27709 msgid "Library" msgstr "" #: ../build/NEWS:25 msgid "" "`bpo-44466 `__: The :mod:`faulthandler` " "module now detects if a fatal error occurs during a garbage collector " "collection. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:28 msgid "" "`bpo-44458 `__: ``BUFFER_BLOCK_SIZE`` is " "now declared static, to avoid linking collisions when bz2, lmza or zlib are " "statically linked." msgstr "" #: ../build/NEWS:31 msgid "" "`bpo-44434 `__: _thread." "start_new_thread() no longer calls PyThread_exit_thread() explicitly at the " "thread exit, the call was redundant. On Linux with the glibc, pthread_exit() " "aborts the whole process if dlopen() fails to open libgcc_s.so file (ex: " "EMFILE error). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:37 msgid "" "`bpo-44395 `__: Fix :meth:`~email." "message.MIMEPart.as_string` to pass unixfrom properly. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:40 msgid "" "`bpo-44077 `__: It's now possible to " "receive the type of service (ToS), a.k.a. differentiated services (DS), a.k." "a. differenciated services code point (DSCP) and excplicit congestion " "notification (ECN) IP header fields with ``socket.IP_RECVTOS``." msgstr "" #: ../build/NEWS:45 msgid "" "`bpo-43024 `__: Improve the help " "signature of :func:`traceback.print_exception`, :func:`traceback." "format_exception` and :func:`traceback.format_exception_only`." msgstr "" #: ../build/NEWS:50 ../build/NEWS:171 ../build/NEWS:357 ../build/NEWS:971 #: ../build/NEWS:1432 ../build/NEWS:1712 ../build/NEWS:1982 ../build/NEWS:2335 #: ../build/NEWS:2779 ../build/NEWS:3245 ../build/NEWS:4204 ../build/NEWS:4751 #: ../build/NEWS:5195 ../build/NEWS:5653 ../build/NEWS:6057 ../build/NEWS:6481 #: ../build/NEWS:6797 ../build/NEWS:8140 ../build/NEWS:9444 ../build/NEWS:9910 #: ../build/NEWS:10387 ../build/NEWS:10629 ../build/NEWS:12815 #: ../build/NEWS:13790 ../build/NEWS:14000 ../build/NEWS:14150 #: ../build/NEWS:14368 ../build/NEWS:14613 ../build/NEWS:14938 #: ../build/NEWS:15278 ../build/NEWS:15761 ../build/NEWS:16104 #: ../build/NEWS:17712 ../build/NEWS:18466 ../build/NEWS:18822 #: ../build/NEWS:19219 ../build/NEWS:19617 ../build/NEWS:20189 #: ../build/NEWS:20509 ../build/NEWS:20665 ../build/NEWS:20768 #: ../build/NEWS:22136 ../build/NEWS:22396 ../build/NEWS:23581 #: ../build/NEWS:24141 ../build/NEWS:24817 ../build/NEWS:25567 #: ../build/NEWS:26131 ../build/NEWS:26384 ../build/NEWS:26583 #: ../build/NEWS:26894 ../build/NEWS:29094 msgid "Documentation" msgstr "" #: ../build/NEWS:52 msgid "" "`bpo-13814 `__: In the Design FAQ, " "answer \"Why don't generators support the with statement?\"" msgstr "" #: ../build/NEWS:56 ../build/NEWS:185 ../build/NEWS:379 ../build/NEWS:994 #: ../build/NEWS:1447 ../build/NEWS:1721 ../build/NEWS:1991 ../build/NEWS:2344 #: ../build/NEWS:2791 ../build/NEWS:3266 ../build/NEWS:4246 ../build/NEWS:4768 #: ../build/NEWS:5209 ../build/NEWS:5672 ../build/NEWS:6082 ../build/NEWS:6811 #: ../build/NEWS:8244 ../build/NEWS:9492 ../build/NEWS:9945 ../build/NEWS:10401 #: ../build/NEWS:10640 ../build/NEWS:12980 ../build/NEWS:14015 #: ../build/NEWS:14169 ../build/NEWS:14385 ../build/NEWS:14637 #: ../build/NEWS:14951 ../build/NEWS:15283 ../build/NEWS:15767 #: ../build/NEWS:17760 ../build/NEWS:18504 ../build/NEWS:18617 #: ../build/NEWS:18842 ../build/NEWS:19232 ../build/NEWS:19629 #: ../build/NEWS:20211 ../build/NEWS:20522 ../build/NEWS:20773 #: ../build/NEWS:20908 ../build/NEWS:21179 ../build/NEWS:21609 #: ../build/NEWS:21882 ../build/NEWS:22145 ../build/NEWS:22408 #: ../build/NEWS:23599 ../build/NEWS:24159 ../build/NEWS:24822 #: ../build/NEWS:24943 ../build/NEWS:25590 ../build/NEWS:26155 #: ../build/NEWS:26399 ../build/NEWS:26576 ../build/NEWS:26885 #: ../build/NEWS:27114 ../build/NEWS:27324 ../build/NEWS:29134 msgid "Tests" msgstr "" #: ../build/NEWS:58 msgid "" "`bpo-44287 `__: Fix asyncio test_popen() " "of test_windows_utils by using a longer timeout. Use military grade battle-" "tested :data:`test.support.SHORT_TIMEOUT` timeout rather than a hardcoded " "timeout of 10 seconds: it's 30 seconds by default, but it is made longer on " "slow buildbots. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:64 msgid "" "`bpo-44451 `__: Reset " "``DeprecationWarning`` filters in ``test.test_importlib.test_metadata_api." "APITests.test_entry_points_by_index`` to avoid ``StopIteration`` error if " "``DeprecationWarnings`` are ignored." msgstr "" #: ../build/NEWS:69 ../build/NEWS:199 ../build/NEWS:391 ../build/NEWS:1017 #: ../build/NEWS:1456 ../build/NEWS:1727 ../build/NEWS:2001 ../build/NEWS:2366 #: ../build/NEWS:2826 ../build/NEWS:3282 ../build/NEWS:4297 ../build/NEWS:4777 #: ../build/NEWS:5235 ../build/NEWS:5688 ../build/NEWS:6091 ../build/NEWS:6495 #: ../build/NEWS:6866 ../build/NEWS:8414 ../build/NEWS:9528 ../build/NEWS:9999 #: ../build/NEWS:10414 ../build/NEWS:13147 ../build/NEWS:13802 #: ../build/NEWS:14024 ../build/NEWS:14175 ../build/NEWS:14395 #: ../build/NEWS:14642 ../build/NEWS:14971 ../build/NEWS:15794 #: ../build/NEWS:16114 ../build/NEWS:17823 ../build/NEWS:18512 #: ../build/NEWS:18622 ../build/NEWS:18857 ../build/NEWS:19249 #: ../build/NEWS:19385 ../build/NEWS:19645 ../build/NEWS:20169 #: ../build/NEWS:20253 ../build/NEWS:20544 ../build/NEWS:20609 #: ../build/NEWS:20781 ../build/NEWS:20899 ../build/NEWS:21168 #: ../build/NEWS:21623 ../build/NEWS:21909 ../build/NEWS:22106 #: ../build/NEWS:22425 ../build/NEWS:23642 ../build/NEWS:24197 #: ../build/NEWS:24868 ../build/NEWS:25613 ../build/NEWS:26168 #: ../build/NEWS:26228 ../build/NEWS:26245 ../build/NEWS:26487 #: ../build/NEWS:26592 ../build/NEWS:27105 ../build/NEWS:27319 #: ../build/NEWS:27454 ../build/NEWS:28985 msgid "Build" msgstr "" #: ../build/NEWS:71 msgid "" "`bpo-43298 `__: Improved error message " "when building without a Windows SDK installed." msgstr "" #: ../build/NEWS:75 ../build/NEWS:398 ../build/NEWS:1026 ../build/NEWS:1478 #: ../build/NEWS:1750 ../build/NEWS:2027 ../build/NEWS:2850 ../build/NEWS:3289 #: ../build/NEWS:4318 ../build/NEWS:4787 ../build/NEWS:5247 ../build/NEWS:5705 #: ../build/NEWS:6096 ../build/NEWS:6876 ../build/NEWS:8486 ../build/NEWS:9551 #: ../build/NEWS:10060 ../build/NEWS:10428 ../build/NEWS:10673 #: ../build/NEWS:13265 ../build/NEWS:13809 ../build/NEWS:14192 #: ../build/NEWS:14400 ../build/NEWS:14647 ../build/NEWS:14986 #: ../build/NEWS:15292 ../build/NEWS:15827 ../build/NEWS:17935 #: ../build/NEWS:18532 ../build/NEWS:18863 ../build/NEWS:19274 #: ../build/NEWS:19651 ../build/NEWS:20225 ../build/NEWS:20474 #: ../build/NEWS:20604 ../build/NEWS:20894 ../build/NEWS:21135 #: ../build/NEWS:21665 ../build/NEWS:21897 ../build/NEWS:22418 #: ../build/NEWS:22434 ../build/NEWS:23705 ../build/NEWS:24210 #: ../build/NEWS:24853 ../build/NEWS:25672 ../build/NEWS:25704 #: ../build/NEWS:25722 ../build/NEWS:26179 ../build/NEWS:27468 #: ../build/NEWS:29281 msgid "Windows" msgstr "" #: ../build/NEWS:77 msgid "" "`bpo-41299 `__: Fix 16ms jitter when " "using timeouts in :mod:`threading`, such as with :meth:`threading.Lock." "acquire` or :meth:`threading.Condition.wait`." msgstr "" #: ../build/NEWS:83 msgid "Python 3.10.0 beta 3" msgstr "" #: ../build/NEWS:85 msgid "*Release date: 2021-06-17*" msgstr "" #: ../build/NEWS:90 msgid "" "`bpo-44409 `__: Fix error location " "information for tokenizer errors raised on initialization of the tokenizer. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:93 msgid "" "`bpo-44396 `__: Fix a possible crash in " "the tokenizer when raising syntax errors for unclosed strings. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:96 msgid "" "`bpo-44349 `__: Fix an edge case when " "displaying text from files with encoding in syntax errors. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:99 msgid "" "`bpo-44335 `__: Fix a regression when " "identifying incorrect characters in syntax errors. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:102 msgid "" "`bpo-44304 `__: Fix a crash in the :mod:" "`sqlite3` module that happened when the garbage collector clears :class:" "`sqlite.Statement` objects. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:106 msgid "" "`bpo-44305 `__: Improve error message " "for ``try`` blocks without ``except`` or ``finally`` blocks. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:109 msgid "" "`bpo-43833 `__: Emit a deprecation " "warning if the numeric literal is immediately followed by one of keywords: " "and, else, for, if, in, is, or. Raise a syntax error with more informative " "message if it is immediately followed by other keyword or identifier." msgstr "" #: ../build/NEWS:114 msgid "" "`bpo-11105 `__: When compiling :class:" "`ast.AST` objects with recursive references through :func:`compile`, the " "interpreter doesn't crash anymore instead it raises a :exc:`RecursionError`." msgstr "" #: ../build/NEWS:121 msgid "" "`bpo-42972 `__: The _thread.RLock type " "now fully implement the GC protocol: add a traverse function and the :const:" "`Py_TPFLAGS_HAVE_GC` flag. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:125 msgid "" "`bpo-44422 `__: The :func:`threading." "enumerate` function now uses a reentrant lock to prevent a hang on reentrant " "call. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:128 msgid "" "`bpo-44389 `__: Fix deprecation of :data:" "`ssl.OP_NO_TLSv1_3`" msgstr "" #: ../build/NEWS:130 msgid "" "`bpo-44362 `__: Improve :mod:`ssl` " "module's deprecation messages, error reporting, and documentation for " "deprecations." msgstr "" #: ../build/NEWS:133 msgid "" "`bpo-44342 `__: [Enum] Change pickling " "from by-value to by-name." msgstr "" #: ../build/NEWS:135 msgid "" "`bpo-44356 `__: [Enum] Allow multiple " "data-type mixins if they are all the same." msgstr "" #: ../build/NEWS:138 msgid "" "`bpo-44351 `__: Restore back :func:" "`parse_makefile` in :mod:`distutils.sysconfig` because it behaves " "differently than the similar implementation in :mod:`sysconfig`." msgstr "" #: ../build/NEWS:142 msgid "" "`bpo-44242 `__: Remove missing flag " "check from Enum creation and move into a ``verify`` decorator." msgstr "" #: ../build/NEWS:145 msgid "" "`bpo-44246 `__: In ``importlib." "metadata``, restore compatibility in the result from ``Distribution." "entry_points`` (``EntryPoints``) to honor expectations in older " "implementations and issuing deprecation warnings for these cases: A. " "``EntryPoints`` objects are once again mutable, allowing for ``sort()`` " "and other list-based mutation operations. Avoid deprecation warnings by " "casting to a mutable sequence (e.g. ``list(dist.entry_points).sort()``). " "B. ``EntryPoints`` results once again allow for access by index. To avoid " "deprecation warnings, cast the result to a Sequence first (e.g. " "``tuple(dist.entry_points)[0]``)." msgstr "" #: ../build/NEWS:155 msgid "" "`bpo-44246 `__: In importlib.metadata." "entry_points, de-duplication of distributions no longer requires loading the " "full metadata for PathDistribution objects, improving entry point loading " "performance by ~10x." msgstr "" #: ../build/NEWS:160 msgid "" "`bpo-43853 `__: Improve :mod:`sqlite3` " "error handling: ``sqlite3_value_text()`` errors that set ``SQLITE_NOMEM`` " "now raise :exc:`MemoryError`. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:164 msgid "" "`bpo-43318 `__: Fix a bug where :mod:" "`pdb` does not always echo cleared breakpoints." msgstr "" #: ../build/NEWS:167 msgid "" "`bpo-37022 `__: :mod:`pdb` now displays " "exceptions from ``repr()`` with its ``p`` and ``pp`` commands." msgstr "" #: ../build/NEWS:173 msgid "" "`bpo-44392 `__: Added a new section in " "the C API documentation for types used in type hinting. Documented " "``Py_GenericAlias`` and ``Py_GenericAliasType``." msgstr "" #: ../build/NEWS:177 msgid "" "`bpo-38291 `__: Mark ``typing.io`` and " "``typing.re`` as deprecated since Python 3.8 in the documentation. They were " "never properly supported by type checkers." msgstr "" #: ../build/NEWS:181 msgid "" "`bpo-44322 `__: Document that " "SyntaxError args have a details tuple and that details are adjusted for " "errors in f-string field replacement expressions." msgstr "" #: ../build/NEWS:187 msgid "" "`bpo-44363 `__: Account for address " "sanitizer in test_capi. test_capi now passes when run GCC address sanitizer." msgstr "" #: ../build/NEWS:190 msgid "" "`bpo-43921 `__: Fix test_ssl." "test_wrong_cert_tls13(): use ``suppress_ragged_eofs=False``, since " "``read()`` can raise :exc:`ssl.SSLEOFError` on Windows. Patch by Victor " "Stinner." msgstr "" #: ../build/NEWS:194 msgid "" "`bpo-43921 `__: Fix " "test_pha_required_nocert() of test_ssl: catch two more EOF cases (when the " "``recv()`` method returns an empty string). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:201 msgid "" "`bpo-44381 `__: The Windows build now " "accepts :envvar:`EnableControlFlowGuard` set to ``guard`` to enable CFG." msgstr "" #: ../build/NEWS:205 ../build/NEWS:410 ../build/NEWS:1083 ../build/NEWS:1484 #: ../build/NEWS:1760 ../build/NEWS:2041 ../build/NEWS:2882 ../build/NEWS:3309 #: ../build/NEWS:4382 ../build/NEWS:5264 ../build/NEWS:5733 ../build/NEWS:6116 #: ../build/NEWS:6508 ../build/NEWS:6890 ../build/NEWS:8626 ../build/NEWS:9572 #: ../build/NEWS:10121 ../build/NEWS:10440 ../build/NEWS:10689 #: ../build/NEWS:13411 ../build/NEWS:13814 ../build/NEWS:14044 #: ../build/NEWS:14202 ../build/NEWS:14418 ../build/NEWS:14671 #: ../build/NEWS:15847 ../build/NEWS:16133 ../build/NEWS:18002 #: ../build/NEWS:18542 ../build/NEWS:18896 ../build/NEWS:19288 #: ../build/NEWS:19665 ../build/NEWS:20140 ../build/NEWS:20466 #: ../build/NEWS:21580 ../build/NEWS:21853 ../build/NEWS:22064 #: ../build/NEWS:22334 ../build/NEWS:23471 ../build/NEWS:24780 #: ../build/NEWS:24948 ../build/NEWS:25514 ../build/NEWS:26034 #: ../build/NEWS:26367 ../build/NEWS:26879 ../build/NEWS:28902 msgid "IDLE" msgstr "" #: ../build/NEWS:207 msgid "" "`bpo-40128 `__: Mostly fix completions " "on macOS when not using tcl/tk 8.6.11 (as with 3.9). The added " "update_idletask call should be harmless and possibly helpful otherwise." msgstr "" #: ../build/NEWS:211 msgid "" "`bpo-33962 `__: Move the indent space " "setting from the Font tab to the new Windows tab. Patch by Mark Roseman and " "Terry Jan Reedy." msgstr "" #: ../build/NEWS:214 msgid "" "`bpo-40468 `__: Split the settings " "dialog General tab into Windows and Shell/ED tabs. Move help sources, which " "extend the Help menu, to the Extensions tab. Make space for new options and " "shorten the dialog. The latter makes the dialog better fit small screens." msgstr "" #: ../build/NEWS:220 ../build/NEWS:433 ../build/NEWS:1101 ../build/NEWS:1491 #: ../build/NEWS:1767 ../build/NEWS:2055 ../build/NEWS:2408 ../build/NEWS:2904 #: ../build/NEWS:3322 ../build/NEWS:4415 ../build/NEWS:4825 ../build/NEWS:5286 #: ../build/NEWS:5759 ../build/NEWS:6131 ../build/NEWS:6519 ../build/NEWS:6906 #: ../build/NEWS:8754 ../build/NEWS:9595 ../build/NEWS:10133 #: ../build/NEWS:10476 ../build/NEWS:13632 ../build/NEWS:13722 #: ../build/NEWS:14438 ../build/NEWS:15008 ../build/NEWS:15305 #: ../build/NEWS:15898 ../build/NEWS:16160 ../build/NEWS:18230 #: ../build/NEWS:18605 ../build/NEWS:18938 ../build/NEWS:19358 #: ../build/NEWS:20163 ../build/NEWS:20492 ../build/NEWS:20660 #: ../build/NEWS:21161 ../build/NEWS:21600 ../build/NEWS:22099 #: ../build/NEWS:22440 ../build/NEWS:23744 ../build/NEWS:24219 #: ../build/NEWS:24808 ../build/NEWS:27147 ../build/NEWS:27462 #: ../build/NEWS:29065 msgid "C API" msgstr "" #: ../build/NEWS:222 msgid "" "`bpo-43795 `__: The list in :ref:`stable-" "abi-list` now shows the public name :c:struct:`PyFrameObject` rather than " "``_frame``. The non-existing entry ``_node`` no longer appears in the list." msgstr "" #: ../build/NEWS:226 msgid "" "`bpo-44378 `__: :c:func:`Py_IS_TYPE` no " "longer uses :c:func:`Py_TYPE` to avoid a compiler warning: no longer cast " "``const PyObject*`` to ``PyObject*``. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:232 msgid "Python 3.10.0 beta 2" msgstr "" #: ../build/NEWS:234 msgid "*Release date: 2021-05-31*" msgstr "" #: ../build/NEWS:237 ../build/NEWS:448 ../build/NEWS:1151 ../build/NEWS:1576 #: ../build/NEWS:1810 ../build/NEWS:2434 ../build/NEWS:3008 ../build/NEWS:3358 #: ../build/NEWS:4526 ../build/NEWS:4879 ../build/NEWS:5331 ../build/NEWS:5837 #: ../build/NEWS:6540 ../build/NEWS:6925 ../build/NEWS:8875 ../build/NEWS:9631 #: ../build/NEWS:10175 ../build/NEWS:10705 ../build/NEWS:14236 #: ../build/NEWS:14454 ../build/NEWS:16182 ../build/NEWS:18633 #: ../build/NEWS:19400 ../build/NEWS:19863 ../build/NEWS:19965 #: ../build/NEWS:22031 ../build/NEWS:22050 ../build/NEWS:22215 #: ../build/NEWS:22266 ../build/NEWS:22861 ../build/NEWS:22972 #: ../build/NEWS:23062 ../build/NEWS:23771 ../build/NEWS:23830 #: ../build/NEWS:24685 ../build/NEWS:24698 ../build/NEWS:25089 #: ../build/NEWS:25122 ../build/NEWS:25234 ../build/NEWS:25289 #: ../build/NEWS:25358 msgid "Security" msgstr "" #: ../build/NEWS:239 msgid "" "`bpo-44022 `__: mod:`http.client` now " "avoids infinitely reading potential HTTP headers after a ``100 Continue`` " "status response from the server." msgstr "" #: ../build/NEWS:248 msgid "" "`bpo-44232 `__: Fix a regression in :" "func:`type` when a metaclass raises an exception. The C function :c:func:" "`type_new` must properly report the exception when a metaclass constructor " "raises an exception and the winner class is not the metaclass. Patch by " "Victor Stinner." msgstr "" #: ../build/NEWS:253 msgid "" "`bpo-44201 `__: Avoid side effects of " "checking for specialized syntax errors in the REPL that was causing it to " "ask for extra tokens after a syntax error had been detected. Patch by Pablo " "Galindo" msgstr "" #: ../build/NEWS:257 msgid "" "`bpo-44184 `__: Fix a crash at Python " "exit when a deallocator function removes the last strong reference to a heap " "type. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:260 msgid "" "`bpo-44180 `__: The parser doesn't " "report generic syntax errors that happen in a position further away that the " "one it reached in the first pass. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:264 msgid "" "`bpo-44168 `__: Fix error message in the " "parser involving keyword arguments with invalid expressions. Patch by Pablo " "Galindo" msgstr "" #: ../build/NEWS:267 msgid "" "`bpo-44143 `__: Fixed a crash in the " "parser that manifest when raising tokenizer errors when an existing " "exception was present. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:271 msgid "" "`bpo-44114 `__: Fix incorrect " "dictkeys_reversed and dictitems_reversed function signatures in C code, " "which broke webassembly builds." msgstr "" #: ../build/NEWS:274 msgid "" "`bpo-43149 `__: Corrent the syntax error " "message regarding multiple exception types to not refer to \"exception groups" "\". Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:277 msgid "" "`bpo-44056 `__: Syntax errors when " "default ``except`` is not the last ``except`` are reported with the correct " "location. Patch by Mark Shannon." msgstr "" #: ../build/NEWS:280 msgid "" "`bpo-43822 `__: The parser will " "prioritize tokenizer errors over custom syntax errors when raising " "exceptions. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:283 msgid "" "`bpo-28146 `__: Fix a confusing error " "message in :func:`str.format`." msgstr "" #: ../build/NEWS:288 msgid "" "`bpo-44254 `__: On Mac, give turtledemo " "button text a color that works on both light or dark background. " "Programmers cannot control the latter." msgstr "" #: ../build/NEWS:291 msgid "" "`bpo-38693 `__: Prefer f-strings to ``." "format`` in importlib.resources." msgstr "" #: ../build/NEWS:293 msgid "" "`bpo-33693 `__: Importlib.metadata now " "prefers f-strings to .format." msgstr "" #: ../build/NEWS:295 msgid "" "`bpo-44241 `__: Incorporate minor tweaks " "from importlib_metadata 4.1: SimplePath protocol, support for Metadata 2.2." msgstr "" #: ../build/NEWS:298 msgid "" "`bpo-44210 `__: Make importlib.metadata." "_meta.PackageMetadata public." msgstr "" #: ../build/NEWS:300 msgid "" "`bpo-43643 `__: Declare readers." "MultiplexedPath.name as a property per the spec." msgstr "" #: ../build/NEWS:303 msgid "" "`bpo-33433 `__: For IPv4 mapped IPv6 " "addresses (:rfc:`4291` Section 2.5.5.2), the :mod:`ipaddress.IPv6Address." "is_private` check is deferred to the mapped IPv4 address. This solves a bug " "where public mapped IPv4 addresses were considered private by the IPv6 check." msgstr "" #: ../build/NEWS:308 msgid "" "`bpo-44145 `__: :mod:`hmac` computations " "were not releasing the GIL while calling the OpenSSL ``HMAC_Update`` C API " "(a new feature in 3.9). This unintentionally prevented parallel computation " "as other :mod:`hashlib` algorithms support." msgstr "" #: ../build/NEWS:313 msgid "" "`bpo-37788 `__: Fix a reference leak " "when a Thread object is never joined." msgstr "" #: ../build/NEWS:315 msgid "" "`bpo-38908 `__: Subclasses of ``typing." "Protocol`` which only have data variables declared will now raise a " "``TypeError`` when checked with ``isinstance`` unless they are decorated " "with :func:`runtime_checkable`. Previously, these checks passed silently. " "Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:320 msgid "" "`bpo-44098 `__: ``typing.ParamSpec`` " "will no longer be found in the ``__parameters__`` of most :mod:`typing` " "generics except in valid use locations specified by :pep:`612`. This " "prevents incorrect usage like ``typing.List[P][int]``. This change means " "incorrect usage which may have passed silently in 3.10 beta 1 and earlier " "will now error." msgstr "" #: ../build/NEWS:326 msgid "" "`bpo-44089 `__: Allow subclassing ``csv." "Error`` in 3.10 (it was allowed in 3.9 and earlier but was disallowed in " "early versions of 3.10)." msgstr "" #: ../build/NEWS:329 msgid "" "`bpo-44059 `__: Register the SerenityOS " "Browser in the :mod:`webbrowser` module." msgstr "" #: ../build/NEWS:332 msgid "" "`bpo-36515 `__: The :mod:`hashlib` " "module no longer does unaligned memory accesses when compiled for ARM " "platforms." msgstr "" #: ../build/NEWS:335 msgid "" "`bpo-44018 `__: random.seed() no longer " "mutates bytearray inputs." msgstr "" #: ../build/NEWS:337 msgid "" "`bpo-38352 `__: Add ``IO``, " "``BinaryIO``, ``TextIO``, ``Match``, and ``Pattern`` to ``typing.__all__``. " "Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:340 msgid "" "`bpo-43972 `__: When :class:`http.server." "SimpleHTTPRequestHandler` sends a ``301 (Moved Permanently)`` for a " "directory path not ending with `/`, add a ``Content-Length: 0`` header. This " "improves the behavior for certain clients." msgstr "" #: ../build/NEWS:345 msgid "" "`bpo-28528 `__: Fix a bug in :mod:`pdb` " "where :meth:`~pdb.Pdb.checkline` raises :exc:`AttributeError` if it is " "called after :meth:`~pdb.Pdb.reset`." msgstr "" #: ../build/NEWS:348 msgid "" "`bpo-43650 `__: Fix :exc:`MemoryError` " "in :func:`shutil.unpack_archive` which fails inside :func:`shutil." "_unpack_zipfile` on large files. Patch by Igor Bolshakov." msgstr "" #: ../build/NEWS:352 msgid "" "`bpo-41730 `__: ``DeprecationWarning`` " "is now raised when importing :mod:`tkinter.tix`, which has been deprecated " "in documentation since Python 3.6." msgstr "" #: ../build/NEWS:359 msgid "" "`bpo-42392 `__: Document the deprecation " "and removal of the ``loop`` parameter for many functions and classes in :mod:" "`asyncio`." msgstr "" #: ../build/NEWS:362 msgid "" "`bpo-44195 `__: Corrected references to " "``TraversableResources`` in docs. There is no ``TraversableReader``." msgstr "" #: ../build/NEWS:365 msgid "" "`bpo-41963 `__: Document that " "``ConfigParser`` strips off comments when reading configuration files." msgstr "" #: ../build/NEWS:368 msgid "" "`bpo-44072 `__: Correct where in the " "numeric ABC hierarchy ``**`` support is added, i.e., in numbers.Complex, not " "numbers.Integral." msgstr "" #: ../build/NEWS:371 msgid "" "`bpo-43558 `__: Add the remark to :mod:" "`dataclasses` documentation that the :meth:`__init__` of any base class has " "to be called in :meth:`__post_init__`, along with a code example." msgstr "" #: ../build/NEWS:375 msgid "" "`bpo-44025 `__: Clarify when '_' in " "match statements is a keyword, and when not." msgstr "" #: ../build/NEWS:381 msgid "" "`bpo-31904 `__: Ignore error string case " "in test_py_compile ``test_file_not_exists()``." msgstr "" #: ../build/NEWS:384 msgid "" "`bpo-42083 `__: Add test to check that " "``PyStructSequence_NewType`` accepts a ``PyStructSequence_Desc`` with " "``doc`` field set to ``NULL``." msgstr "" #: ../build/NEWS:387 msgid "" "`bpo-35753 `__: Fix crash in doctest " "when doctest parses modules that include unwrappable functions by skipping " "those functions." msgstr "" #: ../build/NEWS:393 msgid "" "`bpo-41282 `__: Fix broken ``make " "install`` that caused standard library extension modules to be unnecessarily " "and incorrectly rebuilt during the install phase of cpython." msgstr "" #: ../build/NEWS:400 msgid "" "`bpo-42686 `__: Build :mod:`sqlite3` " "with math functions enabled. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:404 ../build/NEWS:1056 ../build/NEWS:1755 ../build/NEWS:2034 #: ../build/NEWS:2389 ../build/NEWS:2859 ../build/NEWS:3304 ../build/NEWS:4361 #: ../build/NEWS:4799 ../build/NEWS:5254 ../build/NEWS:5728 ../build/NEWS:6883 #: ../build/NEWS:8605 ../build/NEWS:9565 ../build/NEWS:10113 #: ../build/NEWS:13375 ../build/NEWS:14037 ../build/NEWS:14197 #: ../build/NEWS:14409 ../build/NEWS:14666 ../build/NEWS:14997 #: ../build/NEWS:15842 ../build/NEWS:18537 ../build/NEWS:18888 #: ../build/NEWS:19283 msgid "macOS" msgstr "" #: ../build/NEWS:406 msgid "" "`bpo-43109 `__: Allow --with-lto " "configure option to work with Apple-supplied Xcode or Command Line Tools." msgstr "" #: ../build/NEWS:412 msgid "" "`bpo-41611 `__: Avoid uncaught " "exceptions in ``AutoCompleteWindow.winconfig_event()``." msgstr "" #: ../build/NEWS:415 msgid "" "`bpo-41611 `__: Fix IDLE sometimes " "freezing upon tab-completion on macOS." msgstr "" #: ../build/NEWS:417 msgid "" "`bpo-44010 `__: Highlight the new :ref:" "`match ` statement's :ref:`soft keywords `: :keyword:" "`match`, :keyword:`case `, and :keyword:`_ `. " "However, this highlighting is not perfect and will be incorrect in some rare " "cases, including some ``_``-s in ``case`` patterns." msgstr "" #: ../build/NEWS:423 msgid "" "`bpo-44026 `__: Include interpreter's " "typo fix suggestions in message line for NameErrors and AttributeErrors. " "Patch by E. Paine." msgstr "" #: ../build/NEWS:427 ../build/NEWS:2399 ../build/NEWS:2894 ../build/NEWS:4812 #: ../build/NEWS:5274 ../build/NEWS:5747 ../build/NEWS:8729 ../build/NEWS:9589 #: ../build/NEWS:10128 ../build/NEWS:10469 ../build/NEWS:13593 #: ../build/NEWS:14215 ../build/NEWS:14432 ../build/NEWS:14692 #: ../build/NEWS:15298 ../build/NEWS:15886 ../build/NEWS:18199 #: ../build/NEWS:18587 ../build/NEWS:18928 ../build/NEWS:19351 #: ../build/NEWS:19837 ../build/NEWS:20205 ../build/NEWS:20599 #: ../build/NEWS:20673 ../build/NEWS:21658 ../build/NEWS:22128 #: ../build/NEWS:22448 ../build/NEWS:23723 ../build/NEWS:24841 #: ../build/NEWS:25688 ../build/NEWS:26217 ../build/NEWS:26904 #: ../build/NEWS:27123 ../build/NEWS:27331 ../build/NEWS:29242 msgid "Tools/Demos" msgstr "" #: ../build/NEWS:429 msgid "" "`bpo-44074 `__: Make patchcheck " "automatically detect the correct base branch name (previously it was " "hardcoded to 'master')" msgstr "" #: ../build/NEWS:435 msgid "" "`bpo-43795 `__: The undocumented " "function :c:func:`Py_FrozenMain` is removed from the Limited API." msgstr "" #: ../build/NEWS:438 msgid "" "`bpo-43795 `__: :c:func:" "`PyCodec_Unregister` is now properly exported as a function in the Windows " "Stable ABI DLL." msgstr "" #: ../build/NEWS:443 msgid "Python 3.10.0 beta 1" msgstr "" #: ../build/NEWS:445 msgid "*Release date: 2021-05-03*" msgstr "" #: ../build/NEWS:450 msgid "" "`bpo-43434 `__: Creating :class:`sqlite3." "Connection` objects now also produces ``sqlite3.connect`` and ``sqlite3." "connect/handle`` :ref:`auditing events `. Previously these events " "were only produced by :func:`sqlite3.connect` calls. Patch by Erlend E. " "Aasland." msgstr "" #: ../build/NEWS:455 msgid "" "`bpo-43998 `__: The :mod:`ssl` module " "sets more secure cipher suites defaults. Ciphers without forward secrecy and " "with SHA-1 MAC are disabled by default. Security level 2 prohibits weak RSA, " "DH, and ECC keys with less than 112 bits of security. :class:`~ssl." "SSLContext` defaults to minimum protocol version TLS 1.2. Settings are based " "on Hynek Schlawack's research." msgstr "" #: ../build/NEWS:462 msgid "" "`bpo-43882 `__: The presence of newline " "or tab characters in parts of a URL could allow some forms of attacks." msgstr "" #: ../build/NEWS:465 msgid "" "Following the controlling specification for URLs defined by WHATWG :func:" "`urllib.parse` now removes ASCII newlines and tabs from URLs, preventing " "such attacks." msgstr "" #: ../build/NEWS:469 msgid "" "`bpo-43472 `__: Ensures interpreter-" "level audit hooks receive the ``cpython.PyInterpreterState_New`` event when " "called through the ``_xxsubinterpreters`` module." msgstr "" #: ../build/NEWS:473 msgid "" "`bpo-43362 `__: Fix invalid free in " "_sha3 module. The issue was introduced in 3.10.0a1. Python 3.9 and earlier " "are not affected." msgstr "" #: ../build/NEWS:476 msgid "" "`bpo-43762 `__: Add audit events for :" "func:`sqlite3.connect/handle`, :meth:`sqlite3.Connection." "enable_load_extension`, and :meth:`sqlite3.Connection.load_extension`. Patch " "by Erlend E. Aasland." msgstr "" #: ../build/NEWS:480 msgid "" "`bpo-43756 `__: Add new audit event " "``glob.glob/2`` to incorporate the new *root_dir* and *dir_fd* arguments " "added to :func:`glob.glob` and :func:`glob.iglob`." msgstr "" #: ../build/NEWS:484 msgid "" "`bpo-36384 `__: :mod:`ipaddress` module " "no longer accepts any leading zeros in IPv4 address strings. Leading zeros " "are ambiguous and interpreted as octal notation by some libraries. For " "example the legacy function :func:`socket.inet_aton` treats leading zeros as " "octal notatation. glibc implementation of modern :func:`~socket.inet_pton` " "does not accept any leading zeros. For a while the :mod:`ipaddress` module " "used to accept ambiguous leading zeros." msgstr "" #: ../build/NEWS:492 msgid "" "`bpo-43075 `__: Fix Regular Expression " "Denial of Service (ReDoS) vulnerability in :class:`urllib.request." "AbstractBasicAuthHandler`. The ReDoS-vulnerable regex has quadratic worst-" "case complexity and it allows cause a denial of service when identifying " "crafted invalid RFCs. This ReDoS issue is on the client side and needs " "remote attackers to control the HTTP server." msgstr "" #: ../build/NEWS:498 msgid "" "`bpo-42800 `__: Audit hooks are now " "fired for frame.f_code, traceback.tb_frame, and generator code/frame " "attribute access." msgstr "" #: ../build/NEWS:501 msgid "" "`bpo-37363 `__: Add audit events to the :" "mod:`http.client` module." msgstr "" #: ../build/NEWS:506 msgid "" "`bpo-43977 `__: Prevent classes being " "both a sequence and a mapping when pattern matching." msgstr "" #: ../build/NEWS:509 msgid "" "`bpo-43977 `__: Use :c:member:" "`~PyTypeObject.tp_flags` on the class object to determine if the subject is " "a sequence or mapping when pattern matching. Avoids the need to import :mod:" "`collections.abc` when pattern matching." msgstr "" #: ../build/NEWS:513 msgid "" "`bpo-43892 `__: Restore proper " "validation of complex literal value patterns when parsing :keyword:`!match` " "blocks." msgstr "" #: ../build/NEWS:516 msgid "" "`bpo-43933 `__: Set frame.f_lineno to " "the line number of the 'with' kweyword when executing the call to " "``__exit__``." msgstr "" #: ../build/NEWS:519 msgid "" "`bpo-43933 `__: If the current position " "in a frame has no line number then set the f_lineno attribute to None, " "instead of -1, to conform to PEP 626. This should not normally be possible, " "but might occur in some unusual circumstances." msgstr "" #: ../build/NEWS:524 msgid "" "`bpo-43963 `__: Importing the :mod:" "`_signal` module in a subinterpreter has no longer side effects." msgstr "" #: ../build/NEWS:527 msgid "" "`bpo-42739 `__: The internal " "representation of line number tables is changed to not use sentinels, and an " "explicit length parameter is added to the out of process API function " "``PyLineTable_InitAddressRange``. This makes the handling of line number " "tables more robust in some circumstances." msgstr "" #: ../build/NEWS:532 msgid "" "`bpo-43908 `__: Make :mod:`re` types " "immutable. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:534 msgid "" "`bpo-43908 `__: Make the :class:`array." "array` type immutable. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:537 msgid "" "`bpo-43901 `__: Change class and module " "objects to lazy-create empty annotations dicts on demand. The annotations " "dicts are stored in the object's __dict__ for backwards compatibility." msgstr "" #: ../build/NEWS:541 msgid "" "`bpo-43892 `__: Match patterns now use " "new dedicated AST nodes (``MatchValue``, ``MatchSingleton``, " "``MatchSequence``, ``MatchStar``, ``MatchMapping``, ``MatchClass``) rather " "than reusing expression AST nodes. ``MatchAs`` and ``MatchOr`` are now " "defined as pattern nodes rather than as expression nodes. Patch by Nick " "Coghlan." msgstr "" #: ../build/NEWS:547 msgid "" "`bpo-42725 `__: Usage of ``await``/" "``yield``/``yield from`` and named expressions within an annotation is now " "forbidden when PEP 563 is activated." msgstr "" #: ../build/NEWS:551 msgid "" "`bpo-43754 `__: When performing " "structural pattern matching (:pep:`634`), captured names are now left " "unbound until the *entire* pattern has matched successfully." msgstr "" #: ../build/NEWS:555 msgid "" "`bpo-42737 `__: Annotations for complex " "targets (everything beside simple names) no longer cause any runtime effects " "with ``from __future__ import annotations``." msgstr "" #: ../build/NEWS:559 msgid "" "`bpo-43914 `__: :exc:`SyntaxError` " "exceptions raised by the intepreter will highlight the full error range of " "the expression that consistutes the syntax error itself, instead of just " "where the problem is detected. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:564 msgid "" "`bpo-38605 `__: Revert making ``from " "__future__ import annotations`` the default. This follows the Steering " "Council decision to postpone PEP 563 changes to at least Python 3.11. See " "the original email for more information regarding the decision: https://mail." "python.org/archives/list/python-dev@python.org/thread/" "CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:571 msgid "" "`bpo-43475 `__: Hashes of NaN values now " "depend on object identity. Formerly, they always hashed to 0 even though " "NaN values are not equal to one another. Having the same hash for unequal " "values caused pile-ups in hash tables." msgstr "" #: ../build/NEWS:576 msgid "" "`bpo-43859 `__: Improve the error " "message for :exc:`IndentationError` exceptions. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:579 msgid "" "`bpo-41323 `__: Constant tuple folding " "in bytecode optimizer now reuses tuple in constant table." msgstr "" #: ../build/NEWS:582 msgid "" "`bpo-43846 `__: Data stack usage is much " "reduced for large literal and call expressions." msgstr "" #: ../build/NEWS:585 msgid "" "`bpo-38530 `__: When printing :exc:" "`NameError` raised by the interpreter, :c:func:`PyErr_Display` will offer " "suggestions of similar variable names in the function that the exception was " "raised from. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:589 msgid "" "`bpo-43823 `__: Improve syntax errors " "for invalid dictionary literals. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:592 msgid "" "`bpo-43822 `__: Improve syntax errors in " "the parser for missing commas between expressions. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:595 msgid "" "`bpo-43798 `__: :class:`ast.alias` nodes " "now include source location metadata attributes e.g. lineno, col_offset." msgstr "" #: ../build/NEWS:598 msgid "" "`bpo-43797 `__: Improve ``SyntaxError`` " "error messages for invalid comparisons. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:601 msgid "" "`bpo-43760 `__: Move the flag for " "checking whether tracing is enabled to the C stack, from the heap. Should " "speed up dispatch in the interpreter." msgstr "" #: ../build/NEWS:604 msgid "" "`bpo-43682 `__: Static methods (:func:" "`@staticmethod `) and class methods (:func:`@classmethod " "`) now inherit the method attributes (``__module__``, " "``__name__``, ``__qualname__``, ``__doc__``, ``__annotations__``) and have a " "new ``__wrapped__`` attribute. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:610 msgid "" "`bpo-43751 `__: Fixed a bug where " "``anext(ait, default)`` would erroneously return None." msgstr "" #: ../build/NEWS:613 msgid "" "`bpo-42128 `__: :data:`~object." "__match_args__` is no longer allowed to be a list." msgstr "" #: ../build/NEWS:616 msgid "" "`bpo-43683 `__: Add GEN_START opcode. " "Marks start of generator, including async, or coroutine and handles sending " "values to a newly created generator or coroutine." msgstr "" #: ../build/NEWS:620 msgid "" "`bpo-43105 `__: Importlib now resolves " "relative paths when creating module spec objects from file locations." msgstr "" #: ../build/NEWS:623 msgid "" "`bpo-43682 `__: Static methods (:func:" "`@staticmethod `) are now callable as regular functions. Patch " "by Victor Stinner." msgstr "" #: ../build/NEWS:626 msgid "" "`bpo-42609 `__: Prevented crashes in the " "AST validator and optimizer when compiling some absurdly long expressions " "like ``\"+0\"*1000000``. :exc:`RecursionError` is now raised instead." msgstr "" #: ../build/NEWS:630 msgid "" "`bpo-38530 `__: When printing :exc:" "`AttributeError`, :c:func:`PyErr_Display` will offer suggestions of similar " "attribute names in the object that the exception was raised from. Patch by " "Pablo Galindo" msgstr "" #: ../build/NEWS:637 msgid "" "`bpo-44015 `__: In @dataclass(), raise a " "TypeError if KW_ONLY is specified more than once." msgstr "" #: ../build/NEWS:640 msgid "" "`bpo-25478 `__: Added a *total()* method " "to collections.Counter() to compute the sum of the counts." msgstr "" #: ../build/NEWS:643 msgid "" "`bpo-43733 `__: Change :class:`netrc." "netrc` to use UTF-8 encoding before using locale encoding." msgstr "" #: ../build/NEWS:646 msgid "" "`bpo-43979 `__: Removed an unnecessary " "list comprehension before looping from :func:`urllib.parse.parse_qsl`. " "Patch by Christoph Zwerschke and Dong-hee Na." msgstr "" #: ../build/NEWS:650 msgid "" "`bpo-43993 `__: Update bundled pip to " "21.1.1." msgstr "" #: ../build/NEWS:652 msgid "" "`bpo-43957 `__: [Enum] Deprecate " "``TypeError`` when non-member is used in a containment check; In 3.12 " "``True`` or ``False`` will be returned instead, and containment will return " "``True`` if the value is either a member of that enum or one of its members' " "value." msgstr "" #: ../build/NEWS:657 msgid "" "`bpo-42904 `__: For backwards " "compatbility with previous minor versions of Python, if :func:`typing." "get_type_hints` receives no namespace dictionary arguments, :func:`typing." "get_type_hints` will search through the global then local namespaces during " "evaluation of stringized type annotations (string forward references) inside " "a class." msgstr "" #: ../build/NEWS:663 msgid "" "`bpo-43945 `__: [Enum] Deprecate non-" "standard mixin format() behavior: in 3.12 the enum member, not the member's " "value, will be used for format() calls." msgstr "" #: ../build/NEWS:666 msgid "" "`bpo-41139 `__: Deprecate undocumented " "``cgi.log()`` API." msgstr "" #: ../build/NEWS:668 msgid "" "`bpo-43937 `__: Fixed the :mod:`turtle` " "module working with non-default root window." msgstr "" #: ../build/NEWS:671 msgid "" "`bpo-43930 `__: Update bundled pip to " "21.1 and setuptools to 56.0.0" msgstr "" #: ../build/NEWS:673 msgid "" "`bpo-43907 `__: Fix a bug in the pure-" "Python pickle implementation when using protocol 5, where bytearray " "instances that occur several time in the pickled object graph would " "incorrectly unpickle into repeated copies of the bytearray object." msgstr "" #: ../build/NEWS:678 msgid "" "`bpo-43926 `__: In ``importlib." "metadata``, provide a uniform interface to ``Description``, allow for any " "field to be encoded with multiline values, remove continuation lines from " "multiline values, and add a ``.json`` property for easy access to the PEP " "566 JSON-compatible form. Sync with ``importlib_metadata 4.0``." msgstr "" #: ../build/NEWS:684 msgid "" "`bpo-43920 `__: OpenSSL 3.0.0: :meth:" "`~ssl.SSLContext.load_verify_locations` now returns a consistent error " "message when cadata contains no valid certificate." msgstr "" #: ../build/NEWS:688 msgid "" "`bpo-43607 `__: :mod:`urllib` can now " "convert Windows paths with ``\\\\?\\`` prefixes into URL paths." msgstr "" #: ../build/NEWS:691 msgid "" "`bpo-43817 `__: Add :func:`inspect." "get_annotations`, which safely computes the annotations defined on an " "object. It works around the quirks of accessing the annotations from " "various types of objects, and makes very few assumptions about the object " "passed in. :func:`inspect.get_annotations` can also correctly un-stringize " "stringized annotations." msgstr "" #: ../build/NEWS:697 msgid "" ":func:`inspect.signature`, :func:`inspect.from_callable`, and :func:`inspect." "from_function` now call :func:`inspect.get_annotations` to retrieve " "annotations. This means :func:`inspect.signature` and :func:`inspect." "from_callable` can now un-stringize stringized annotations, too." msgstr "" #: ../build/NEWS:703 msgid "" "`bpo-43284 `__: platform.win32_ver " "derives the windows version from sys.getwindowsversion().platform_version " "which in turn derives the version from kernel32.dll (which can be of a " "different version than Windows itself). Therefore change the platform." "win32_ver to determine the version using the platform module's _syscmd_ver " "private function to return an accurate version." msgstr "" #: ../build/NEWS:710 msgid "" "`bpo-42854 `__: The :mod:`ssl` module " "now uses ``SSL_read_ex`` and ``SSL_write_ex`` internally. The functions " "support reading and writing of data larger than 2 GB. Writing zero-length " "data no longer fails with a protocol violation error." msgstr "" #: ../build/NEWS:715 msgid "" "`bpo-42333 `__: Port ``_ssl`` extension " "module to multiphase initialization." msgstr "" #: ../build/NEWS:717 msgid "" "`bpo-43880 `__: :mod:`ssl` now raises " "DeprecationWarning for OP_NO_SSL/TLS* options, old TLS versions, old " "protocols, and other features that have been deprecated since Python 3.6, " "3.7, or OpenSSL 1.1.0." msgstr "" #: ../build/NEWS:721 msgid "" "`bpo-41559 `__: :pep:`612` is now " "implemented purely in Python; builtin ``types.GenericAlias`` objects no " "longer include ``typing.ParamSpec`` in ``__parameters__`` (with the " "exception of ``collections.abc.Callable``\\ 's ``GenericAlias``). This means " "previously invalid uses of ``ParamSpec`` (such as ``list[P]``) which worked " "in earlier versions of Python 3.10 alpha, will now raise ``TypeError`` " "during substitution." msgstr "" #: ../build/NEWS:728 msgid "" "`bpo-43867 `__: The :mod:" "`multiprocessing` ``Server`` class now explicitly catchs :exc:`SystemExit` " "and closes the client connection in this case. It happens when the ``Server." "serve_client()`` method reachs the end of file (EOF)." msgstr "" #: ../build/NEWS:733 msgid "" "`bpo-40443 `__: Remove unused imports: " "pyclbr no longer uses copy, and typing no longer uses ast. Patch by Victor " "Stinner." msgstr "" #: ../build/NEWS:736 msgid "" "`bpo-43820 `__: Remove an unneeded copy " "of the namespace passed to dataclasses.make_dataclass()." msgstr "" #: ../build/NEWS:739 msgid "" "`bpo-43787 `__: Add ``__iter__()`` " "method to :class:`bz2.BZ2File`, :class:`gzip.GzipFile`, and :class:`lzma." "LZMAFile`. It makes iterating them about 2x faster. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:743 msgid "" "`bpo-43680 `__: Deprecate io.OpenWrapper " "and _pyio.OpenWrapper: use io.open and _pyio.open instead. Until Python 3.9, " "_pyio.open was not a static method and builtins.open was set to OpenWrapper " "to not become a bound method when set to a class variable. _io.open is a " "built-in function whereas _pyio.open is a Python function. In Python 3.10, " "_pyio.open() is now a static method, and builtins.open() is now io.open()." msgstr "" #: ../build/NEWS:750 msgid "" "`bpo-43680 `__: The Python :func:`_pyio." "open` function becomes a static method to behave as :func:`io.open` built-in " "function: don't become a bound method when stored as a class variable. It " "becomes possible since static methods are now callable in Python 3.10. " "Moreover, :func:`_pyio.OpenWrapper` becomes a simple alias to :func:`_pyio." "open`. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:757 msgid "" "`bpo-41515 `__: Fix :exc:`KeyError` " "raised in :func:`typing.get_type_hints` due to synthetic modules that don't " "appear in ``sys.modules``." msgstr "" #: ../build/NEWS:760 msgid "" "`bpo-43776 `__: When :class:`subprocess." "Popen` args are provided as a string or as :class:`pathlib.Path`, the Popen " "instance repr now shows the right thing." msgstr "" #: ../build/NEWS:764 msgid "" "`bpo-42248 `__: [Enum] ensure exceptions " "raised in ``_missing__`` are released" msgstr "" #: ../build/NEWS:766 msgid "" "`bpo-43744 `__: fix issue with enum " "member name matching the start of a private variable name" msgstr "" #: ../build/NEWS:769 msgid "" "`bpo-43772 `__: Fixed the return value " "of ``TypeVar.__ror__``. Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:772 msgid "" "`bpo-43764 `__: Add match_args parameter " "to @dataclass decorator to allow suppression of __match_args__ generation." msgstr "" #: ../build/NEWS:775 msgid "" "`bpo-43799 `__: OpenSSL 3.0.0: define " "``OPENSSL_API_COMPAT`` 1.1.1 to suppress deprecation warnings. Python " "requires OpenSSL 1.1.1 APIs." msgstr "" #: ../build/NEWS:778 msgid "" "`bpo-43478 `__: Mocks can no longer be " "used as the specs for other Mocks. As a result, an already-mocked object " "cannot have an attribute mocked using ``autospec=True`` or be the subject of " "a ``create_autospec(...)`` call. This can uncover bugs in tests since these " "Mock-derived Mocks will always pass certain tests (e.g. :func:`isinstance`) " "and builtin assert functions (e.g. assert_called_once_with) will " "unconditionally pass." msgstr "" #: ../build/NEWS:785 msgid "" "`bpo-43794 `__: Add :data:`ssl." "OP_IGNORE_UNEXPECTED_EOF` constants (OpenSSL 3.0.0)" msgstr "" #: ../build/NEWS:788 msgid "" "`bpo-43785 `__: Improve ``bz2.BZ2File`` " "performance by removing the RLock from BZ2File. This makes BZ2File thread " "unsafe in the face of multiple simultaneous readers or writers, just like " "its equivalent classes in :mod:`gzip` and :mod:`lzma` have always been. " "Patch by Inada Naoki." msgstr "" #: ../build/NEWS:793 msgid "" "`bpo-43789 `__: OpenSSL 3.0.0: Don't " "call the password callback function a second time when first call has " "signaled an error condition." msgstr "" #: ../build/NEWS:796 msgid "" "`bpo-43788 `__: The header files for :" "mod:`ssl` error codes are now OpenSSL version-specific. Exceptions will now " "show correct reason and library codes. The ``make_ssl_data.py`` script has " "been rewritten to use OpenSSL's text file with error codes." msgstr "" #: ../build/NEWS:801 msgid "" "`bpo-43766 `__: Implement :pep:`647` in " "the :mod:`typing` module by adding :data:`TypeGuard`." msgstr "" #: ../build/NEWS:804 msgid "" "`bpo-25264 `__: :func:`os.path.realpath` " "now accepts a *strict* keyword-only argument. When set to ``True``, :exc:" "`OSError` is raised if a path doesn't exist or a symlink loop is encountered." msgstr "" #: ../build/NEWS:808 msgid "" "`bpo-43780 `__: In ``importlib." "metadata``, incorporate changes from importlib_metadata 3.10: Add mtime-" "based caching during distribution discovery. Flagged use of dict result from " "``entry_points()`` as deprecated." msgstr "" #: ../build/NEWS:813 msgid "" "`bpo-47383 `__: The ``P.args`` and ``P." "kwargs`` attributes of :class:`typing.ParamSpec` are now instances of the " "new classes :class:`typing.ParamSpecArgs` and :class:`typing." "ParamSpecKwargs`, which enables a more useful ``repr()``. Patch by Jelle " "Zijlstra." msgstr "" #: ../build/NEWS:818 msgid "" "`bpo-43731 `__: Add an ``encoding`` " "parameter :func:`logging.fileConfig()`." msgstr "" #: ../build/NEWS:820 msgid "" "`bpo-43712 `__: Add ``encoding`` and " "``errors`` parameters to :func:`fileinput.input` and :class:`fileinput." "FileInput`." msgstr "" #: ../build/NEWS:823 msgid "" "`bpo-38659 `__: A ``simple_enum`` " "decorator is added to the ``enum`` module to convert a normal class into an " "Enum. ``test_simple_enum`` added to test simple enums against a " "corresponding normal Enum. Standard library modules updated to use " "``simple_enum``." msgstr "" #: ../build/NEWS:828 msgid "" "`bpo-43764 `__: Fix an issue where :data:" "`~object.__match_args__` generation could fail for some :mod:`dataclasses`." msgstr "" #: ../build/NEWS:831 msgid "" "`bpo-43752 `__: Fix :mod:`sqlite3` " "regression for zero-sized blobs with converters, where ``b\"\"`` was " "returned instead of ``None``. The regression was introduced by GH-24723. " "Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:835 msgid "" "`bpo-43655 `__: :mod:`tkinter` dialog " "windows are now recognized as dialogs by window managers on macOS and X " "Window." msgstr "" #: ../build/NEWS:838 msgid "" "`bpo-43723 `__: The following " "``threading`` methods are now deprecated and should be replaced:" msgstr "" #: ../build/NEWS:841 msgid "``currentThread`` => :func:`threading.current_thread`" msgstr "" #: ../build/NEWS:843 msgid "``activeCount`` => :func:`threading.active_count`" msgstr "" #: ../build/NEWS:845 msgid "``Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" msgstr "" #: ../build/NEWS:847 msgid "``Event.isSet`` => :meth:`threading.Event.is_set`" msgstr "" #: ../build/NEWS:849 msgid "``Thread.setName`` => :attr:`threading.Thread.name`" msgstr "" #: ../build/NEWS:851 msgid "``thread.getName`` => :attr:`threading.Thread.name`" msgstr "" #: ../build/NEWS:853 msgid "``Thread.isDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" #: ../build/NEWS:855 msgid "``Thread.setDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" #: ../build/NEWS:857 msgid "Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:859 msgid "" "`bpo-2135 `__: Deprecate find_module() " "and find_loader() implementations in importlib and zipimport." msgstr "" #: ../build/NEWS:862 msgid "" "`bpo-43534 `__: :func:`turtle.textinput` " "and :func:`turtle.numinput` create now a transient window working on behalf " "of the canvas window." msgstr "" #: ../build/NEWS:865 msgid "" "`bpo-43532 `__: Add the ability to " "specify keyword-only fields to dataclasses. These fields will become keyword-" "only arguments to the generated __init__." msgstr "" #: ../build/NEWS:868 msgid "" "`bpo-43522 `__: Fix problem with :attr:" "`~ssl.SSLContext.hostname_checks_common_name`. OpenSSL does not copy " "hostflags from *struct SSL_CTX* to *struct SSL*." msgstr "" #: ../build/NEWS:872 msgid "" "`bpo-8978 `__: Improve error message for :" "func:`tarfile.open` when :mod:`lzma` / :mod:`bz2` are unavailable. Patch by " "Anthony Sottile." msgstr "" #: ../build/NEWS:875 msgid "" "`bpo-42967 `__: Allow :class:`bytes` " "``separator`` argument in ``urllib.parse.parse_qs`` and ``urllib.parse." "parse_qsl`` when parsing :class:`str` query strings. Previously, this raised " "a ``TypeError``." msgstr "" #: ../build/NEWS:879 msgid "" "`bpo-43296 `__: Improve :mod:`sqlite3` " "error handling: ``sqlite3_value_blob()`` errors that set ``SQLITE_NOMEM`` " "now raise :exc:`MemoryError`. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:883 msgid "" "`bpo-43312 `__: New functions :func:" "`sysconfig.get_preferred_scheme` and :func:`sysconfig.get_default_scheme` " "are added to query a platform for its preferred \"user\", \"home\", and " "\"prefix\" (default) scheme names." msgstr "" #: ../build/NEWS:887 msgid "" "`bpo-43265 `__: Improve :meth:`sqlite3." "Connection.backup` error handling. The error message for non-existant target " "database names is now ``unknown database `` instead of ``SQL " "logic error``. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:892 msgid "" "`bpo-41282 `__: Install schemes in :mod:" "`distutils.command.install` are now loaded from :mod:`sysconfig`." msgstr "" #: ../build/NEWS:895 msgid "" "`bpo-41282 `__: :mod:`distutils." "sysconfig` has been merged to :mod:`sysconfig`." msgstr "" #: ../build/NEWS:897 msgid "" "`bpo-43176 `__: Fixed processing of a " "dataclass that inherits from a frozen dataclass with no fields. It is now " "correctly detected as an error." msgstr "" #: ../build/NEWS:900 msgid "" "`bpo-43080 `__: :mod:`pprint` now has " "support for :class:`dataclasses.dataclass`. Patch by Lewis Gaul." msgstr "" #: ../build/NEWS:903 msgid "" "`bpo-39950 `__: Add `pathlib.Path." "hardlink_to()` method that supersedes `link_to()`. The new method has the " "same argument order as `symlink_to()`." msgstr "" #: ../build/NEWS:906 msgid "" "`bpo-42904 `__: :func:`typing." "get_type_hints` now checks the local namespace of a class when evaluating :" "pep:`563` annotations inside said class." msgstr "" #: ../build/NEWS:909 msgid "" "`bpo-42269 `__: Add ``slots`` parameter " "to ``dataclasses.dataclass`` decorator to automatically generate " "``__slots__`` for class. Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:913 msgid "" "`bpo-39529 `__: Deprecated use of :func:" "`asyncio.get_event_loop` without running event loop. Emit deprecation " "warning for :mod:`asyncio` functions which implicitly create a :class:" "`~asyncio.Future` or :class:`~asyncio.Task` objects if there is no running " "event loop and no explicit *loop* argument is passed: :func:`~asyncio." "ensure_future`, :func:`~asyncio.wrap_future`, :func:`~asyncio.gather`, :func:" "`~asyncio.shield`, :func:`~asyncio.as_completed` and constructors of :class:" "`~asyncio.Future`, :class:`~asyncio.Task`, :class:`~asyncio.StreamReader`, :" "class:`~asyncio.StreamReaderProtocol`." msgstr "" #: ../build/NEWS:923 msgid "" "`bpo-18369 `__: Certificate and " "PrivateKey classes were added to the ssl module. Certificates and keys can " "now be loaded from memory buffer, too." msgstr "" #: ../build/NEWS:926 msgid "" "`bpo-41486 `__: Use a new output buffer " "management code for :mod:`bz2` / :mod:`lzma` / :mod:`zlib` modules, and add " "``.readall()`` function to ``_compression.DecompressReader`` class. These " "bring some performance improvements. Patch by Ma Lin." msgstr "" #: ../build/NEWS:931 msgid "" "`bpo-31870 `__: The :func:`ssl." "get_server_certificate` function now has a *timeout* parameter." msgstr "" #: ../build/NEWS:934 msgid "" "`bpo-41735 `__: Fix thread locks in zlib " "module may go wrong in rare case. Patch by Ma Lin." msgstr "" #: ../build/NEWS:937 msgid "" "`bpo-36470 `__: Fix dataclasses with " "``InitVar``\\s and :func:`~dataclasses.replace()`. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:940 msgid "" "`bpo-40849 `__: Expose " "X509_V_FLAG_PARTIAL_CHAIN ssl flag" msgstr "" #: ../build/NEWS:942 msgid "" "`bpo-35114 `__: :func:`ssl.RAND_status` " "now returns a boolean value (as documented) instead of ``1`` or ``0``." msgstr "" #: ../build/NEWS:945 msgid "" "`bpo-39906 `__: :meth:`pathlib.Path." "stat` and :meth:`~pathlib.Path.chmod` now accept a *follow_symlinks* keyword-" "only argument for consistency with corresponding functions in the :mod:`os` " "module." msgstr "" #: ../build/NEWS:949 msgid "" "`bpo-39899 `__: :func:`os.path." "expanduser()` now refuses to guess Windows home directories if the basename " "of current user's home directory does not match their username." msgstr "" #: ../build/NEWS:953 msgid "" ":meth:`pathlib.Path.expanduser()` and :meth:`~pathlib.Path.home()` now " "consistently raise :exc:`RuntimeError` exception when a home directory " "cannot be resolved. Previously a :exc:`KeyError` exception could be raised " "on Windows when the ``\"USERNAME\"`` environment variable was unset." msgstr "" #: ../build/NEWS:958 msgid "" "`bpo-36076 `__: Added SNI support to :" "func:`ssl.get_server_certificate`." msgstr "" #: ../build/NEWS:960 msgid "" "`bpo-38490 `__: Covariance, Pearson's " "correlation, and simple linear regression functionality was added to " "statistics module. Patch by Tymoteusz Wołodźko." msgstr "" #: ../build/NEWS:963 msgid "" "`bpo-33731 `__: Provide a locale." "localize() function, which converts a normalized number string into a locale " "format." msgstr "" #: ../build/NEWS:966 msgid "" "`bpo-32745 `__: Fix a regression in the " "handling of ctypes' :data:`ctypes.c_wchar_p` type: embedded null characters " "would cause a :exc:`ValueError` to be raised. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:973 msgid "" "`bpo-43987 `__: Add \"Annotations Best " "Practices\" document as a new HOWTO." msgstr "" #: ../build/NEWS:975 msgid "" "`bpo-43977 `__: Document the new :const:" "`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` type flags." msgstr "" #: ../build/NEWS:978 msgid "" "`bpo-43959 `__: The documentation on the " "PyContextVar C-API was clarified." msgstr "" #: ../build/NEWS:980 msgid "" "`bpo-43938 `__: Update dataclasses " "documentation to express that FrozenInstanceError is derived from " "AttributeError." msgstr "" #: ../build/NEWS:983 msgid "" "`bpo-43778 `__: Fix the Sphinx " "glossary_search extension: create the _static/ sub-directory if it doesn't " "exist." msgstr "" #: ../build/NEWS:986 msgid "" "`bpo-43755 `__: Update documentation to " "reflect that unparenthesized lambda expressions can no longer be the " "expression part in an ``if`` clause in comprehensions and generator " "expressions since Python 3.9." msgstr "" #: ../build/NEWS:990 msgid "" "`bpo-43739 `__: Fixing the example code " "in Doc/extending/extending.rst to declare and initialize the pmodule " "variable to be of the right type." msgstr "" #: ../build/NEWS:996 msgid "" "`bpo-43961 `__: Fix test_logging." "test_namer_rotator_inheritance() on Windows: use :func:`os.replace` rather " "than :func:`os.rename`. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1000 msgid "" "`bpo-43842 `__: Fix a race condition in " "the SMTP test of test_logging. Don't close a file descriptor (socket) from a " "different thread while asyncore.loop() is polling the file descriptor. Patch " "by Victor Stinner." msgstr "" #: ../build/NEWS:1004 msgid "" "`bpo-43843 `__: :mod:`test.libregrtest` " "now marks a test as ENV_CHANGED (altered the execution environment) if a " "thread raises an exception but does not catch it. It sets a hook on :func:" "`threading.excepthook`. Use ``--fail-env-changed`` option to mark the test " "as failed. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1010 msgid "" "`bpo-43811 `__: Tests multiple OpenSSL " "versions on GitHub Actions. Use ccache to speed up testing." msgstr "" #: ../build/NEWS:1013 msgid "" "`bpo-43791 `__: OpenSSL 3.0.0: Disable " "testing of legacy protocols TLS 1.0 and 1.1. Tests are failing with " "TLSV1_ALERT_INTERNAL_ERROR." msgstr "" #: ../build/NEWS:1019 msgid "" "`bpo-43567 `__: Improved generated code " "refresh (AST/tokens/opcodes/keywords) on Windows." msgstr "" #: ../build/NEWS:1022 msgid "" "`bpo-43669 `__: Implement :pep:`644`. " "Python now requires OpenSSL 1.1.1 or newer." msgstr "" #: ../build/NEWS:1028 msgid "" "`bpo-35306 `__: Adds additional " "arguments to :func:`os.startfile` function." msgstr "" #: ../build/NEWS:1030 msgid "" "`bpo-43538 `__: Avoid raising errors " "from :meth:`pathlib.Path.exists()` when passed an invalid filename." msgstr "" #: ../build/NEWS:1033 msgid "" "`bpo-38822 `__: Fixed :func:`os.stat` " "failing on inaccessible directories with a trailing slash, rather than " "falling back to the parent directory's metadata. This implicitly affected :" "func:`os.path.exists` and :func:`os.path.isdir`." msgstr "" #: ../build/NEWS:1038 msgid "" "`bpo-26227 `__: Fixed decoding of host " "names in :func:`socket.gethostbyaddr` and :func:`socket.gethostbyname_ex`." msgstr "" #: ../build/NEWS:1041 msgid "" "`bpo-40432 `__: Updated pegen " "regeneration script on Windows to find and use Python 3.8 or higher. Prior " "to this, pegen regeneration already required 3.8 or higher, but the script " "may have used lower versions of Python." msgstr "" #: ../build/NEWS:1045 msgid "" "`bpo-43745 `__: Actually updates Windows " "release to OpenSSL 1.1.1k. Earlier releases were mislabelled and actually " "included 1.1.1i again." msgstr "" #: ../build/NEWS:1048 msgid "" "`bpo-43652 `__: Update Tcl and Tk to " "8.6.11 in Windows installer." msgstr "" #: ../build/NEWS:1050 msgid "" "`bpo-43492 `__: Upgrade Windows " "installer to use SQLite 3.35.5." msgstr "" #: ../build/NEWS:1052 msgid "" "`bpo-30555 `__: Fix ``WindowsConsoleIO`` " "errors in the presence of fd redirection. Patch by Segev Finer." msgstr "" #: ../build/NEWS:1058 msgid "" "`bpo-42119 `__: Fix check for macOS SDK " "paths when building Python. Narrow search to match contents of SDKs, namely " "only files in ``/System/Library``, ``/System/IOSSupport``, and ``/usr`` " "other than ``/usr/local``. Previously, anything under ``/System`` was " "assumed to be in an SDK which causes problems with the new file system " "layout in 10.15+ where user file systems may appear to be mounted under ``/" "System``. Paths in ``/Library`` were also incorrectly treated as SDK " "locations." msgstr "" #: ../build/NEWS:1066 msgid "" "`bpo-43568 `__: Drop support for " "MACOSX_DEPLOYMENT_TARGET < 10.3" msgstr "" #: ../build/NEWS:1068 msgid "" "`bpo-44009 `__: Provide \"python3.x-" "intel64\" executable to allow reliably forcing macOS universal2 framework " "builds to run under Rosetta 2 Intel-64 emulation on Apple Silicon Macs. " "This can be useful for testing or when universal2 wheels are not yet " "available." msgstr "" #: ../build/NEWS:1073 msgid "" "`bpo-43851 `__: Build SQLite with " "``SQLITE_OMIT_AUTOINIT`` on macOS. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1076 msgid "" "`bpo-43492 `__: Update macOS installer " "to use SQLite 3.35.4." msgstr "" #: ../build/NEWS:1078 msgid "" "`bpo-42235 `__: ``Mac/BuildScript/build-" "installer.py`` will now use \"--enable-optimizations\" and ``--with-lto`` " "when building on macOS 10.15 or later." msgstr "" #: ../build/NEWS:1085 msgid "" "`bpo-37903 `__: Add mouse actions to the " "shell sidebar. Left click and optional drag selects one or more lines, as " "with the editor line number sidebar. Right click after selecting raises a " "context menu with 'copy with prompts'. This zips together prompts from the " "sidebar with lines from the selected text." msgstr "" #: ../build/NEWS:1091 msgid "" "`bpo-43981 `__: Fix reference leak in " "test_squeezer. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:1093 msgid "" "`bpo-37892 `__: Indent IDLE Shell input " "with spaces instead of tabs" msgstr "" #: ../build/NEWS:1095 msgid "" "`bpo-43655 `__: IDLE dialog windows are " "now recognized as dialogs by window managers on macOS and X Window." msgstr "" #: ../build/NEWS:1098 msgid "" "`bpo-37903 `__: IDLE's shell now shows " "prompts in a separate side-bar." msgstr "" #: ../build/NEWS:1103 msgid "" "`bpo-43916 `__: Add a new :c:data:" "`Py_TPFLAGS_DISALLOW_INSTANTIATION` type flag to disallow creating type " "instances. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1106 msgid "" "`bpo-43774 `__: Remove the now unused " "``PYMALLOC_DEBUG`` macro. Debug hooks on memory allocators are now installed " "by default if Python is built in debug mode (if ``Py_DEBUG`` macro is " "defined). Moreover, they can now be used on Python build in release mode " "(ex: using ``PYTHONMALLOC=debug`` environment variable)." msgstr "" #: ../build/NEWS:1112 msgid "" "`bpo-43962 `__: " "_PyInterpreterState_IDIncref() now calls _PyInterpreterState_IDInitref() and " "always increments id_refcount. Previously, calling _xxsubinterpreters." "get_current() could create an id_refcount inconsistency when a " "_xxsubinterpreters.InterpreterID object was deallocated. Patch by Victor " "Stinner." msgstr "" #: ../build/NEWS:1118 msgid "" "`bpo-28254 `__: Add new C-API functions " "to control the state of the garbage collector: :c:func:`PyGC_Enable()`, :c:" "func:`PyGC_Disable()`, :c:func:`PyGC_IsEnabled()`, corresponding to the " "functions in the :mod:`gc` module." msgstr "" #: ../build/NEWS:1123 msgid "" "`bpo-43908 `__: Introduce :const:" "`Py_TPFLAGS_IMMUTABLETYPE` flag for immutable type objects, and modify :c:" "func:`PyType_Ready` to set it for static types. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1127 msgid "" "`bpo-43795 `__: :c:func:`PyMem_Calloc` " "is now available in the limited C API (``Py_LIMITED_API``)." msgstr "" #: ../build/NEWS:1130 msgid "" "`bpo-43868 `__: :c:func:" "`PyOS_ReadlineFunctionPointer` is no longer exported by limited C API " "headers and by ``python3.dll`` on Windows. Like any function that takes " "``FILE*``, it is not part of the stable ABI." msgstr "" #: ../build/NEWS:1134 msgid "" "`bpo-43795 `__: Stable ABI and limited " "API definitions are generated from a central manifest (:pep:`652`)." msgstr "" #: ../build/NEWS:1137 msgid "" "`bpo-43753 `__: Add the :c:func:" "`Py_Is(x, y) ` function to test if the *x* object is the *y* object, " "the same as ``x is y`` in Python. Add also the :c:func:`Py_IsNone`, :c:func:" "`Py_IsTrue`, :c:func:`Py_IsFalse` functions to test if an object is, " "respectively, the ``None`` singleton, the ``True`` singleton or the " "``False`` singleton. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1146 msgid "Python 3.10.0 alpha 7" msgstr "" #: ../build/NEWS:1148 msgid "*Release date: 2021-04-05*" msgstr "" #: ../build/NEWS:1153 msgid "" "`bpo-42988 `__: CVE-2021-3426: Remove " "the ``getfile`` feature of the :mod:`pydoc` module which could be abused to " "read arbitrary files on the disk (directory traversal vulnerability). " "Moreover, even source code of Python modules can contain sensitive data like " "passwords. Vulnerability reported by David Schwörer." msgstr "" #: ../build/NEWS:1159 msgid "" "`bpo-43285 `__: :mod:`ftplib` no longer " "trusts the IP address value returned from the server in response to the PASV " "command by default. This prevents a malicious FTP server from using the " "response to probe IPv4 address and port combinations on the client network." msgstr "" #: ../build/NEWS:1164 msgid "" "Code that requires the former vulnerable behavior may set a " "``trust_server_pasv_ipv4_address`` attribute on their :class:`ftplib.FTP` " "instances to ``True`` to re-enable it." msgstr "" #: ../build/NEWS:1168 msgid "" "`bpo-43439 `__: Add audit hooks for :" "func:`gc.get_objects`, :func:`gc.get_referrers` and :func:`gc." "get_referents`. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1175 msgid "" "`bpo-27129 `__: Update CPython bytecode " "magic number." msgstr "" #: ../build/NEWS:1177 msgid "" "`bpo-43672 `__: Raise ImportWarning when " "calling find_loader()." msgstr "" #: ../build/NEWS:1179 msgid "" "`bpo-43660 `__: Fix crash that happens " "when replacing ``sys.stderr`` with a callable that can remove the object " "while an exception is being printed. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1183 msgid "" "`bpo-27129 `__: The bytecode interpreter " "uses instruction, rather byte, offsets internally. This reduces the number " "of EXTENDED_ARG instructions needed and streamlines instruction dispatch a " "bit." msgstr "" #: ../build/NEWS:1187 msgid "" "`bpo-40645 `__: Fix reference leak in " "the :mod:`_hashopenssl` extension. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1190 msgid "" "`bpo-42134 `__: Calls to find_module() " "by the import system now raise ImportWarning." msgstr "" #: ../build/NEWS:1193 msgid "" "`bpo-41064 `__: Improve the syntax error " "for invalid usage of double starred elements ('**') in f-strings. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:1196 msgid "" "`bpo-43575 `__: Speed up calls to " "``map()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:1199 msgid "" "`bpo-42137 `__: The import system now " "prefers using ``__spec__`` for ``ModuleType.__repr__`` over " "``module_repr()``." msgstr "" #: ../build/NEWS:1202 msgid "" "`bpo-43452 `__: Added micro-" "optimizations to ``_PyType_Lookup()`` to improve cache lookup performance in " "the common case of cache hits." msgstr "" #: ../build/NEWS:1205 msgid "" "`bpo-43555 `__: Report the column offset " "for :exc:`SyntaxError` for invalid line continuation characters. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:1208 msgid "" "`bpo-43517 `__: Fix misdetection of " "circular imports when using ``from pkg.mod import attr``, which caused false " "positives in non-trivial multi-threaded code." msgstr "" #: ../build/NEWS:1212 msgid "" "`bpo-43497 `__: Emit SyntaxWarnings for " "assertions with tuple constants, this is a regression introduced in python3.7" msgstr "" #: ../build/NEWS:1215 msgid "" "`bpo-39316 `__: Tracing now has correct " "line numbers for attribute accesses when the the attribute is on a different " "line from the object. Improves debugging and profiling for multi-line method " "chains." msgstr "" #: ../build/NEWS:1219 msgid "" "`bpo-35883 `__: Python no longer fails " "at startup with a fatal error if a command line argument contains an invalid " "Unicode character. The :c:func:`Py_DecodeLocale` function now escapes byte " "sequences which would be decoded as Unicode characters outside the [U+0000; U" "+10ffff] range." msgstr "" #: ../build/NEWS:1224 msgid "" "`bpo-43410 `__: Fix a bug that was " "causing the parser to crash when emiting syntax errors when reading input " "from stdin. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:1227 msgid "" "`bpo-43406 `__: Fix a possible race " "condition where ``PyErr_CheckSignals`` tries to execute a non-Python signal " "handler." msgstr "" #: ../build/NEWS:1230 msgid "" "`bpo-42128 `__: Add ``__match_args__`` " "to :c:type:`structsequence` based classes. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1233 msgid "" "`bpo-43390 `__: CPython now sets the " "``SA_ONSTACK`` flag in ``PyOS_setsig`` for the VM's default signal " "handlers. This is friendlier to other in-process code that an extension " "module or embedding use could pull in (such as Golang's cgo) where tiny " "thread stacks are the norm and ``sigaltstack()`` has been used to provide " "for signal handlers. This is a no-op change for the vast majority of " "processes that don't use sigaltstack." msgstr "" #: ../build/NEWS:1240 msgid "" "`bpo-43287 `__: Speed up calls to " "``filter()`` by using the :pep:`590` ``vectorcall`` calling convention. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:1243 msgid "" "`bpo-37448 `__: Add a radix tree based " "memory map to track in-use obmalloc arenas. Use to replace the old " "implementation of address_in_range(). The radix tree approach makes it easy " "to increase pool sizes beyond the OS page size. Boosting the pool and arena " "size allows obmalloc to handle a significantly higher percentage of requests " "from its ultra-fast paths." msgstr "" #: ../build/NEWS:1249 msgid "" "It also has the advantage of eliminating the memory unsanitary behavior of " "the previous address_in_range(). The old address_in_range() was marked with " "the annotations _Py_NO_SANITIZE_ADDRESS, _Py_NO_SANITIZE_THREAD, and " "_Py_NO_SANITIZE_MEMORY. Those annotations are no longer needed." msgstr "" #: ../build/NEWS:1254 msgid "" "To disable the radix tree map, set a preprocessor flag as follows: `-" "DWITH_PYMALLOC_RADIX_TREE=0`." msgstr "" #: ../build/NEWS:1257 msgid "Co-authored-by: Tim Peters " msgstr "" #: ../build/NEWS:1259 msgid "" "`bpo-29988 `__: Only handle asynchronous " "exceptions and requests to drop the GIL when returning from a call or on the " "back edges of loops. Makes sure that :meth:`__exit__` is always called in " "with statements, even for interrupts." msgstr "" #: ../build/NEWS:1267 msgid "" "`bpo-43720 `__: Document various stdlib " "deprecations in imp, pkgutil, and importlib.util for removal in Python 3.12." msgstr "" #: ../build/NEWS:1270 msgid "" "`bpo-43433 `__: :class:`xmlrpc.client." "ServerProxy` no longer ignores query and fragment in the URL of the server." msgstr "" #: ../build/NEWS:1273 msgid "" "`bpo-31956 `__: The :meth:`~array.array." "index` method of :class:`array.array` now has optional *start* and *stop* " "parameters." msgstr "" #: ../build/NEWS:1276 msgid "" "`bpo-40066 `__: Enum: adjust ``repr()`` " "to show only enum and member name (not value, nor angle brackets) and " "``str()`` to show only member name. Update and improve documentation to " "match." msgstr "" #: ../build/NEWS:1280 msgid "" "`bpo-42136 `__: Deprecate all " "module_repr() methods found in importlib as their use is being phased out by " "Python 3.12." msgstr "" #: ../build/NEWS:1283 msgid "" "`bpo-35930 `__: Raising an exception " "raised in a \"future\" instance will create reference cycles." msgstr "" #: ../build/NEWS:1286 msgid "" "`bpo-41369 `__: Finish updating the " "vendored libmpdec to version 2.5.1. Patch by Stefan Krah." msgstr "" #: ../build/NEWS:1289 msgid "" "`bpo-43422 `__: Revert the _decimal C " "API which was added in `bpo-41324 `__." msgstr "" #: ../build/NEWS:1291 msgid "" "`bpo-43577 `__: Fix deadlock when using :" "class:`ssl.SSLContext` debug callback with :meth:`ssl.SSLContext." "sni_callback`." msgstr "" #: ../build/NEWS:1294 msgid "" "`bpo-43571 `__: It's now possible to " "create MPTCP sockets with IPPROTO_MPTCP" msgstr "" #: ../build/NEWS:1296 msgid "" "`bpo-43542 `__: ``image/heic`` and " "``image/heif`` were added to :mod:`mimetypes`." msgstr "" #: ../build/NEWS:1299 msgid "" "`bpo-40645 `__: The :mod:`hmac` module " "now uses OpenSSL's HMAC implementation when digestmod argument is a hash " "name or builtin hash function." msgstr "" #: ../build/NEWS:1302 msgid "" "`bpo-43510 `__: Implement :pep:`597`: " "Add ``EncodingWarning`` warning, ``-X warn_default_encoding`` option, :" "envvar:`PYTHONWARNDEFAULTENCODING` environment variable and ``encoding=" "\"locale\"`` argument value." msgstr "" #: ../build/NEWS:1306 msgid "" "`bpo-43521 `__: ``ast.unparse`` can now " "render NaNs and empty sets." msgstr "" #: ../build/NEWS:1308 msgid "" "`bpo-42914 `__: :func:`pprint.pprint` " "gains a new boolean ``underscore_numbers`` optional argument to emit " "integers with thousands separated by an underscore character for improved " "readability (for example ``1_000_000`` instead of ``1000000``)." msgstr "" #: ../build/NEWS:1313 msgid "" "`bpo-41361 `__: :meth:`~collections." "deque.rotate` calls are now slightly faster due to faster argument parsing." msgstr "" #: ../build/NEWS:1316 msgid "" "`bpo-43423 `__: :func:`subprocess." "communicate` no longer raises an IndexError when there is an empty stdout or " "stderr IO buffer during a timeout on Windows." msgstr "" #: ../build/NEWS:1320 msgid "" "`bpo-27820 `__: Fixed long-standing bug " "of smtplib.SMTP where doing AUTH LOGIN with initial_response_ok=False will " "fail." msgstr "" #: ../build/NEWS:1323 msgid "" "The cause is that SMTP.auth_login _always_ returns a password if provided " "with a challenge string, thus non-compliant with the standard for AUTH LOGIN." msgstr "" #: ../build/NEWS:1327 msgid "Also fixes bug with the test for smtpd." msgstr "" #: ../build/NEWS:1329 msgid "" "`bpo-43445 `__: Add frozen modules to :" "data:`sys.stdlib_module_names`. For example, add ``\"_frozen_importlib\"`` " "and ``\"_frozen_importlib_external\"`` names." msgstr "" #: ../build/NEWS:1333 msgid "" "`bpo-43245 `__: Add keyword arguments " "support to ``ChainMap.new_child()``." msgstr "" #: ../build/NEWS:1335 msgid "" "`bpo-29982 `__: Add optional parameter " "*ignore_cleanup_errors* to :func:`tempfile.TemporaryDirectory` and allow " "multiple :func:`cleanup` attempts. Contributed by C.A.M. Gerlach." msgstr "" #: ../build/NEWS:1339 msgid "" "`bpo-43428 `__: Include changes from " "`importlib_metadata 3.7 `_:" msgstr "" #: ../build/NEWS:1342 msgid "Performance enhancements to distribution discovery." msgstr "" #: ../build/NEWS:1344 msgid "``entry_points`` only returns unique distributions." msgstr "" #: ../build/NEWS:1346 msgid "" "Introduces new ``EntryPoints`` object for containing a set of entry points " "with convenience methods for selecting entry points by group or name. " "``entry_points`` now returns this object if selection parameters are " "supplied but continues to return a dict object for compatibility. Users are " "encouraged to rely on the selection interface. The dict object result is " "likely to be deprecated in the future." msgstr "" #: ../build/NEWS:1353 msgid "" "Added packages_distributions function to return a mapping of packages to the " "distributions that provide them." msgstr "" #: ../build/NEWS:1356 msgid "" "`bpo-43332 `__: Improves the networking " "efficiency of :mod:`http.client` when using a proxy via :meth:" "`~HTTPConnection.set_tunnel`. Fewer small send calls are made during " "connection setup." msgstr "" #: ../build/NEWS:1360 msgid "" "`bpo-43420 `__: Improve performance of :" "class:`fractions.Fraction` arithmetics for large components. Contributed by " "Sergey B. Kirpichev." msgstr "" #: ../build/NEWS:1363 msgid "" "`bpo-43356 `__: Allow passing a signal " "number to ``_thread.interrupt_main()``." msgstr "" #: ../build/NEWS:1365 msgid "" "`bpo-43399 `__: Fix ``ElementTree." "extend`` not working on iterators when using the Python implementation" msgstr "" #: ../build/NEWS:1368 msgid "" "`bpo-43369 `__: Improve :mod:`sqlite3` " "error handling: If ``sqlite3_column_text()`` and ``sqlite3_column_blob()`` " "set ``SQLITE_NOMEM``, :exc:`MemoryError` is now raised. Patch by Erlend E. " "Aasland." msgstr "" #: ../build/NEWS:1373 msgid "" "`bpo-43368 `__: Fix a regression " "introduced in GH-24562, where an empty bytestring was fetched as ``None`` " "instead of ``b''`` in :mod:`sqlite3`. Patch by Mariusz Felisiak." msgstr "" #: ../build/NEWS:1377 msgid "" "`bpo-41282 `__: Fixed stacklevel of " "``DeprecationWarning`` emitted from ``import distutils``." msgstr "" #: ../build/NEWS:1380 msgid "" "`bpo-42129 `__: ``importlib.resources`` " "now honors namespace packages, merging resources from each location in the " "namespace as introduced in ``importlib_resources`` 3.2 and including " "incidental changes through 5.0.3." msgstr "" #: ../build/NEWS:1385 msgid "" "`bpo-43295 `__: :meth:`datetime.datetime." "strptime` now raises ``ValueError`` instead of ``IndexError`` when matching " "``'z'`` with the ``%z`` format specifier." msgstr "" #: ../build/NEWS:1389 msgid "" "`bpo-43125 `__: Return empty string if " "base64mime.body_encode receive empty bytes" msgstr "" #: ../build/NEWS:1392 msgid "" "`bpo-43084 `__: :func:`curses.window." "enclose` returns now ``True`` or ``False`` (as was documented) instead of " "``1`` or ``0``." msgstr "" #: ../build/NEWS:1395 msgid "" "`bpo-42994 `__: Add MIME types for opus, " "AAC, 3gpp and 3gpp2" msgstr "" #: ../build/NEWS:1397 msgid "" "`bpo-14678 `__: Add an " "invalidate_caches() method to the zipimport.zipimporter class to support " "importlib.invalidate_caches(). Patch by Desmond Cheong." msgstr "" #: ../build/NEWS:1400 msgid "" "`bpo-42782 `__: Fail fast in :func:" "`shutil.move()` to avoid creating destination directories on failure." msgstr "" #: ../build/NEWS:1403 msgid "" "`bpo-40066 `__: Enum's `repr()` and " "`str()` have changed: `repr()` is now *EnumClass.MemberName* and `str()` is " "*MemberName*. Additionally, stdlib Enum's whose contents are available as " "module attributes, such as `RegexFlag.IGNORECASE`, have their `repr()` as " "*module.name*, e.g. `re.IGNORECASE`." msgstr "" #: ../build/NEWS:1409 msgid "" "`bpo-26053 `__: Fixed bug where the :mod:" "`pdb` interactive run command echoed the args from the shell command line, " "even if those have been overridden at the pdb prompt." msgstr "" #: ../build/NEWS:1413 msgid "" "`bpo-24160 `__: Fixed bug where " "breakpoints did not persist across multiple debugger sessions in :mod:" "`pdb`'s interactive mode." msgstr "" #: ../build/NEWS:1416 msgid "" "`bpo-40701 `__: When the :data:`tempfile." "tempdir` global variable is set to a value of type bytes, it is now handled " "consistently. Previously exceptions could be raised from some tempfile APIs " "when the directory did not already exist in this situation. Also ensures " "that the :func:`tempfile.gettempdir()` and :func:`tempfile.gettempdirb()` " "functions *always* return ``str`` and ``bytes`` respectively." msgstr "" #: ../build/NEWS:1423 msgid "" "`bpo-39342 `__: Expose " "``X509_V_FLAG_ALLOW_PROXY_CERTS`` as :data:`~ssl.VERIFY_ALLOW_PROXY_CERTS` " "to allow proxy certificate validation as explained in https://www.openssl." "org/docs/man1.1.1/man7/proxy-certificates.html." msgstr "" #: ../build/NEWS:1428 msgid "" "`bpo-31861 `__: Add builtins.aiter and " "builtins.anext. Patch by Joshua Bronson (@jab), Daniel Pope (@lordmauve), " "and Justin Wang (@justin39)." msgstr "" #: ../build/NEWS:1434 msgid "" "`bpo-43199 `__: Answer \"Why is there no " "goto?\" in the Design and History FAQ." msgstr "" #: ../build/NEWS:1436 msgid "" "`bpo-43407 `__: Clarified that a result " "from :func:`time.monotonic`, :func:`time.perf_counter`, :func:`time." "process_time`, or :func:`time.thread_time` can be compared with the result " "from any following call to the same function - not just the next immediate " "call." msgstr "" #: ../build/NEWS:1441 msgid "" "`bpo-43354 `__: Fix type documentation " "for ``Fault.faultCode``; the type has to be ``int`` instead of ``str``." msgstr "" #: ../build/NEWS:1444 msgid "" "`bpo-41933 `__: Clarified wording of s * " "n in the Common Sequence Operations" msgstr "" #: ../build/NEWS:1449 msgid "" "`bpo-37945 `__: Fix " "test_getsetlocale_issue1813() of test_locale: skip the test if " "``setlocale()`` fails. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1452 msgid "" "`bpo-41561 `__: Add workaround for " "Ubuntu's custom OpenSSL security level policy." msgstr "" #: ../build/NEWS:1458 msgid "" "`bpo-43179 `__: Introduce and correctly " "use ALIGNOF_X in place of SIZEOF_X for alignment-related code in optimized " "string routines. Patch by Jessica Clarke." msgstr "" #: ../build/NEWS:1462 msgid "" "`bpo-43631 `__: Update macOS, Windows, " "and CI to OpenSSL 1.1.1k." msgstr "" #: ../build/NEWS:1464 msgid "" "`bpo-43617 `__: Improve configure.ac: " "Check for presence of autoconf-archive package and remove our copies of M4 " "macros." msgstr "" #: ../build/NEWS:1467 msgid "" "`bpo-43466 `__: The ``configure`` script " "now supports ``--with-openssl-rpath`` option." msgstr "" #: ../build/NEWS:1470 msgid "" "`bpo-43372 `__: Use " "``_freeze_importlib`` to generate code for the ``__hello__`` module. This " "approach ensures the code matches the interpreter version. Previously, " "PYTHON_FOR_REGEN was used to generate the code, which might be wrong. The " "marshal format for code objects has changed with `bpo-42246 `__, commit 877df851. Update the code and the expected " "code sizes in ctypes test_frozentable." msgstr "" #: ../build/NEWS:1480 msgid "" "`bpo-43440 `__: Build :mod:`sqlite3` " "with the ``R*Tree`` module enabled. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1486 msgid "" "`bpo-42225 `__: Document that IDLE can " "fail on Unix either from misconfigured IP masquerage rules or failure " "displaying complex colored (non-ascii) characters." msgstr "" #: ../build/NEWS:1493 msgid "" "`bpo-43688 `__: The limited C API is now " "supported if Python is built in debug mode (if the ``Py_DEBUG`` macro is " "defined). In the limited C API, the :c:func:`Py_INCREF` and :c:func:" "`Py_DECREF` functions are now implemented as opaque function calls, rather " "than accessing directly the :c:member:`PyObject.ob_refcnt` member, if Python " "is built in debug mode and the ``Py_LIMITED_API`` macro targets Python 3.10 " "or newer. It became possible to support the limited C API in debug mode " "because the :c:type:`PyObject` structure is the same in release and debug " "mode since Python 3.8 (see :issue:`36465`)." msgstr "" #: ../build/NEWS:1503 msgid "" "The limited C API is still not supported in the ``--with-trace-refs`` " "special build (``Py_TRACE_REFS`` macro)." msgstr "" #: ../build/NEWS:1506 ../build/NEWS:1562 msgid "Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1508 msgid "" "`bpo-43244 `__: Remove the ``pyarena.h`` " "header file with functions:" msgstr "" #: ../build/NEWS:1510 msgid "``PyArena_New()``" msgstr "" #: ../build/NEWS:1511 msgid "``PyArena_Free()``" msgstr "" #: ../build/NEWS:1512 msgid "``PyArena_Malloc()``" msgstr "" #: ../build/NEWS:1513 msgid "``PyArena_AddPyObject()``" msgstr "" #: ../build/NEWS:1515 msgid "" "These functions were undocumented, excluded from the limited C API, and were " "only used internally by the compiler. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1518 msgid "" "`bpo-43244 `__: Remove the compiler and " "parser functions using ``struct _mod`` type, because the public AST C API " "was removed:" msgstr "" #: ../build/NEWS:1521 msgid "``PyAST_Compile()``" msgstr "" #: ../build/NEWS:1522 msgid "``PyAST_CompileEx()``" msgstr "" #: ../build/NEWS:1523 msgid "``PyAST_CompileObject()``" msgstr "" #: ../build/NEWS:1524 msgid "``PyFuture_FromAST()``" msgstr "" #: ../build/NEWS:1525 msgid "``PyFuture_FromASTObject()``" msgstr "" #: ../build/NEWS:1526 msgid "``PyParser_ASTFromFile()``" msgstr "" #: ../build/NEWS:1527 msgid "``PyParser_ASTFromFileObject()``" msgstr "" #: ../build/NEWS:1528 msgid "``PyParser_ASTFromFilename()``" msgstr "" #: ../build/NEWS:1529 msgid "``PyParser_ASTFromString()``" msgstr "" #: ../build/NEWS:1530 msgid "``PyParser_ASTFromStringObject()``" msgstr "" #: ../build/NEWS:1532 msgid "" "These functions were undocumented and excluded from the limited C API. Patch " "by Victor Stinner." msgstr "" #: ../build/NEWS:1535 msgid "" "`bpo-43244 `__: Remove ``ast.h``, ``asdl." "h``, and ``Python-ast.h`` header files. These functions were undocumented " "and excluded from the limited C API. Most names defined by these header " "files were not prefixed by ``Py`` and so could create names conflicts. For " "example, ``Python-ast.h`` defined a ``Yield`` macro which was conflict with " "the ``Yield`` name used by the Windows ```` header. Use the " "Python :mod:`ast` module instead. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1543 msgid "" "`bpo-43541 `__: Fix a " "``PyEval_EvalCodeEx()`` regression: fix reference counting on builtins. " "Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1546 msgid "" "`bpo-43244 `__: Remove the ``symtable." "h`` header file and the undocumented functions:" msgstr "" #: ../build/NEWS:1549 msgid "``PyST_GetScope()``" msgstr "" #: ../build/NEWS:1550 msgid "``PySymtable_Build()``" msgstr "" #: ../build/NEWS:1551 msgid "``PySymtable_BuildObject()``" msgstr "" #: ../build/NEWS:1552 msgid "``PySymtable_Free()``" msgstr "" #: ../build/NEWS:1553 msgid "``Py_SymtableString()``" msgstr "" #: ../build/NEWS:1554 msgid "``Py_SymtableStringObject()``" msgstr "" #: ../build/NEWS:1556 msgid "" "The ``Py_SymtableString()`` function was part the stable ABI by mistake but " "it could not be used, because the ``symtable.h`` header file was excluded " "from the limited C API." msgstr "" #: ../build/NEWS:1560 msgid "The Python :mod:`symtable` module remains available and is unchanged." msgstr "" #: ../build/NEWS:1564 msgid "" "`bpo-43244 `__: Remove the " "``PyAST_Validate()`` function. It is no longer possible to build a AST " "object (``mod_ty`` type) with the public C API. The function was already " "excluded from the limited C API (:pep:`384`). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1571 msgid "Python 3.10.0 alpha 6" msgstr "" #: ../build/NEWS:1573 msgid "*Release date: 2021-03-01*" msgstr "" #: ../build/NEWS:1578 msgid "" "`bpo-42967 `__: Fix web cache poisoning " "vulnerability by defaulting the query args separator to ``&``, and allowing " "the user to choose a custom separator." msgstr "" #: ../build/NEWS:1585 msgid "" "`bpo-43321 `__: Fix ``SystemError`` " "raised when ``PyArg_Parse*()`` is used with ``#`` but without " "``PY_SSIZE_T_CLEAN`` defined." msgstr "" #: ../build/NEWS:1588 msgid "" "`bpo-36346 `__: ``PyArg_Parse*()`` " "functions now emits ``DeprecationWarning`` when ``u`` or ``Z`` format is " "used. See :pep:`623` for detail." msgstr "" #: ../build/NEWS:1591 msgid "" "`bpo-43277 `__: Add a new :c:func:" "`PySet_CheckExact` function to the C-API to check if an object is an " "instance of :class:`set` but not an instance of a subtype. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:1595 msgid "" "`bpo-42990 `__: The :data:`types." "FunctionType` constructor now inherits the current builtins if the *globals* " "dictionary has no ``\"__builtins__\"`` key, rather than using ``{\"None\": " "None}`` as builtins: same behavior as :func:`eval` and :func:`exec` " "functions. Defining a function with ``def function(...): ...`` in Python is " "not affected, globals cannot be overriden with this syntax: it also inherits " "the current builtins. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1603 msgid "" "`bpo-42990 `__: Functions have a new " "``__builtins__`` attribute which is used to look for builtin symbols when a " "function is executed, instead of looking into " "``__globals__['__builtins__']``. Patch by Mark Shannon and Victor Stinner." msgstr "" #: ../build/NEWS:1608 msgid "" "`bpo-43149 `__: Improve the error " "message in the parser for exception groups without parentheses. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:1611 msgid "" "`bpo-43121 `__: Fixed an incorrect :exc:" "`SyntaxError` message for missing comma in literals. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1614 msgid "" "`bpo-42819 `__: :mod:`readline`: " "Explicitly disable bracketed paste in the interactive interpreter, even if " "it's set in the inputrc, is enabled by default (eg GNU Readline 8.1), or a " "user calls ``readline.read_init_file()``. The Python REPL has not " "implemented bracketed paste support. Also, bracketed mode writes the ``" "\"\\x1b[?2004h\"`` escape sequence into stdout which causes test failures in " "applications that don't support it. It can still be explicitly enabled by " "calling ``readline.parse_and_bind(\"set enable-bracketed-paste on\")``. " "Patch by Dustin Rodrigues." msgstr "" #: ../build/NEWS:1624 msgid "" "`bpo-42808 `__: Simple calls to " "``type(object)`` are now faster due to the ``vectorcall`` calling " "convention. Patch by Dennis Sweeney." msgstr "" #: ../build/NEWS:1627 msgid "" "`bpo-42217 `__: Make the compiler merges " "same co_code and co_linetable objects in a module like already did for " "co_consts." msgstr "" #: ../build/NEWS:1630 msgid "" "`bpo-41972 `__: Substring search " "functions such as ``str1 in str2`` and ``str2.find(str1)`` now sometimes use " "the \"Two-Way\" string comparison algorithm to avoid quadratic behavior on " "long strings." msgstr "" #: ../build/NEWS:1634 msgid "" "`bpo-42128 `__: Implement :pep:`634` " "(structural pattern matching). Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:1637 msgid "" "`bpo-40692 `__: In the :class:" "`concurrent.futures.ProcessPoolExecutor`, validate that :func:`multiprocess." "synchronize` is available on a given platform and rely on that check in the :" "mod:`concurrent.futures` test suite so we can run tests that are unrelated " "to :class:`ProcessPoolExecutor` on those platforms." msgstr "" #: ../build/NEWS:1643 msgid "" "`bpo-38302 `__: If :func:`object." "__ipow__` returns :const:`NotImplemented`, the operator will correctly fall " "back to :func:`object.__pow__` and :func:`object.__rpow__` as expected." msgstr "" #: ../build/NEWS:1650 msgid "" "`bpo-43316 `__: The ``python -m gzip`` " "command line application now properly fails when detecting an unsupported " "extension. It exits with a non-zero exit code and prints an error message to " "stderr." msgstr "" #: ../build/NEWS:1654 msgid "" "`bpo-43317 `__: Set the chunk size for " "the ``gzip`` module main function to io.DEFAULT_BUFFER_SIZE. This is " "slightly faster than the 1024 bytes constant that was used previously." msgstr "" #: ../build/NEWS:1658 msgid "" "`bpo-43146 `__: Handle None in single-" "arg versions of :func:`~traceback.print_exception` and :func:`~traceback." "format_exception`." msgstr "" #: ../build/NEWS:1662 msgid "" "`bpo-43260 `__: Fix TextIOWrapper can " "not flush internal buffer forever after very large text is written." msgstr "" #: ../build/NEWS:1665 msgid "" "`bpo-43258 `__: Prevent needless " "allocation of :mod:`sqlite3` aggregate function context when no rows match " "an aggregate query. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1669 msgid "" "`bpo-43251 `__: Improve :mod:`sqlite3` " "error handling: ``sqlite3_column_name()`` failures now result in :exc:" "`MemoryError`. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1673 msgid "" "`bpo-40956 `__: Fix segfault in :meth:" "`sqlite3.Connection.backup` if no argument was provided. The regression was " "introduced by GH-23838. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1677 msgid "" "`bpo-43172 `__: The readline module now " "passes its tests when built directly against libedit. Existing " "irreconcilable API differences remain in :func:`readline.get_begidx` and :" "func:`readline.get_endidx` behavior based on libreadline vs libedit use." msgstr "" #: ../build/NEWS:1682 msgid "" "`bpo-43163 `__: Fix a bug in :mod:" "`codeop` that was causing it to not ask for more input when multi-line " "snippets have unclosed parentheses. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:1686 msgid "" "`bpo-43162 `__: deprecate unsupported " "ability to access enum members as attributes of other enum members" msgstr "" #: ../build/NEWS:1689 msgid "" "`bpo-43146 `__: Fix recent regression in " "None argument handling in :mod:`~traceback` module functions." msgstr "" #: ../build/NEWS:1692 msgid "" "`bpo-43102 `__: The namedtuple __new__ " "method had its __builtins__ set to None instead of an actual dictionary. " "This created problems for introspection tools." msgstr "" #: ../build/NEWS:1696 msgid "" "`bpo-43106 `__: Added :data:`~os." "O_EVTONLY`, :data:`~os.O_FSYNC`, :data:`~os.O_SYMLINK` and :data:`~os." "O_NOFOLLOW_ANY` for macOS. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:1700 msgid "" "`bpo-42960 `__: Adds :data:`resource." "RLIMIT_KQUEUES` constant from FreeBSD to the :mod:`resource` module." msgstr "" #: ../build/NEWS:1703 msgid "" "`bpo-42151 `__: Make the pure Python " "implementation of :mod:`xml.etree.ElementTree` behave the same as the C " "implementation (:mod:`_elementree`) regarding default attribute values (by " "not setting ``specified_attributes=1``)." msgstr "" #: ../build/NEWS:1708 msgid "" "`bpo-29753 `__: In ctypes, now packed " "bitfields are calculated properly and the first item of packed bitfields is " "now shrank correctly." msgstr "" #: ../build/NEWS:1714 msgid "" "`bpo-27646 `__: Clarify that 'yield from " "' works with any iterable, not just iterators." msgstr "" #: ../build/NEWS:1717 msgid "" "`bpo-36346 `__: Update some deprecated " "unicode APIs which are documented as \"will be removed in 4.0\" to \"3.12\". " "See :pep:`623` for detail." msgstr "" #: ../build/NEWS:1723 msgid "" "`bpo-43288 `__: Fix test_importlib to " "correctly skip Unicode file tests if the fileystem does not support them." msgstr "" #: ../build/NEWS:1729 msgid "" "`bpo-43174 `__: Windows build now uses " "``/utf-8`` compiler option." msgstr "" #: ../build/NEWS:1731 msgid "" "`bpo-43103 `__: Add a new configure ``--" "without-static-libpython`` option to not build the ``libpythonMAJOR.MINOR." "a`` static library and not install the ``python.o`` object file." msgstr "" #: ../build/NEWS:1735 msgid "" "`bpo-13501 `__: The configure script can " "now use *libedit* instead of *readline* with the command line option ``--" "with-readline=editline``." msgstr "" #: ../build/NEWS:1738 msgid "" "`bpo-42603 `__: Make configure script " "use pkg-config to detect the location of Tcl/Tk headers and libraries, used " "to build tkinter." msgstr "" #: ../build/NEWS:1741 msgid "" "On macOS, a Tcl/Tk configuration provided by pkg-config will be preferred " "over Tcl/Tk frameworks installed in ``/{System/,}Library/Frameworks``. If " "both exist and the latter is preferred, the appropriate ``--with-tcltk-*`` " "configuration options need to be explicitly set." msgstr "" #: ../build/NEWS:1746 msgid "" "`bpo-39448 `__: Add the \"regen-frozen\" " "makefile target that regenerates the code for the frozen ``__hello__`` " "module." msgstr "" #: ../build/NEWS:1752 msgid "" "`bpo-43155 `__: :c:func:`PyCMethod_New` " "is now present in ``python3.lib``." msgstr "" #: ../build/NEWS:1757 msgid "" "`bpo-41837 `__: Update macOS installer " "build to use OpenSSL 1.1.1j." msgstr "" #: ../build/NEWS:1762 msgid "" "`bpo-43283 `__: Document why printing to " "IDLE's Shell is often slower than printing to a system terminal and that it " "can be made faster by pre-formatting a single string before printing." msgstr "" #: ../build/NEWS:1769 msgid "" "`bpo-43278 `__: Always put compiler and " "system information on the first line of the REPL welcome message." msgstr "" #: ../build/NEWS:1772 msgid "" "`bpo-43270 `__: Remove the private " "``_PyErr_OCCURRED()`` macro: use the public :c:func:`PyErr_Occurred` " "function instead." msgstr "" #: ../build/NEWS:1775 msgid "" "`bpo-35134 `__: Move odictobject.h, " "parser_interface.h, picklebufobject.h, pydebug.h, and pyfpe.h into the " "cpython/ directory. They must not be included directly, as they are already " "included by Python.h: :ref:`Include Files `." msgstr "" #: ../build/NEWS:1780 msgid "" "`bpo-35134 `__: Move pyarena.h, pyctype." "h, and pytime.h into the cpython/ directory. They must not be included " "directly, as they are already included by Python.h: :ref:`Include Files `." msgstr "" #: ../build/NEWS:1784 msgid "" "`bpo-40170 `__: :c:func:" "`PyExceptionClass_Name` is now always declared as a function, in order to " "hide implementation details. The macro accessed :c:member:`PyTypeObject." "tp_name` directly. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1788 msgid "" "`bpo-43239 `__: The :c:func:" "`PyCFunction_New` function is now exported in the ABI when compiled with ``-" "fvisibility=hidden``." msgstr "" #: ../build/NEWS:1791 msgid "" "`bpo-40170 `__: :c:func:`PyIter_Check` " "is now always declared as a function, in order to hide implementation " "details. The macro accessed :c:member:`PyTypeObject.tp_iternext` directly. " "Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1795 msgid "" "`bpo-40170 `__: Convert :c:func:" "`PyDescr_IsData` macro to a function to hide implementation details: The " "macro accessed :c:member:`PyTypeObject.tp_descr_set` directly. Patch by " "Erlend E. Aasland." msgstr "" #: ../build/NEWS:1800 msgid "" "`bpo-43181 `__: Convert :c:func:" "`PyObject_TypeCheck` macro to a static inline function. Patch by Erlend E. " "Aasland." msgstr "" #: ../build/NEWS:1805 msgid "Python 3.10.0 alpha 5" msgstr "" #: ../build/NEWS:1807 msgid "*Release date: 2021-02-02*" msgstr "" #: ../build/NEWS:1812 msgid "" "`bpo-42938 `__: Avoid static buffers " "when computing the repr of :class:`ctypes.c_double` and :class:`ctypes." "c_longdouble` values." msgstr "" #: ../build/NEWS:1818 msgid "" "`bpo-42990 `__: Refactor the ``PyEval_`` " "family of functions." msgstr "" #: ../build/NEWS:1820 msgid "" "An new function ``_PyEval_Vector`` is added to simplify calls to Python from " "C." msgstr "" #: ../build/NEWS:1821 msgid "``_PyEval_EvalCodeWithName`` is removed" msgstr "" #: ../build/NEWS:1822 msgid "" "``PyEval_EvalCodeEx`` is retained as part of the API, but is not used " "internally" msgstr "" #: ../build/NEWS:1824 msgid "" "`bpo-38631 `__: Replace :c:func:" "`Py_FatalError` calls in the compiler with regular :exc:`SystemError` " "exceptions. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1827 msgid "" "`bpo-42997 `__: Improve error message " "for missing \":\" before blocks. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1830 msgid "" "`bpo-43017 `__: Improve error message in " "the parser when using un-parenthesised tuples in comprehensions. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:1833 msgid "" "`bpo-42986 `__: Fix parser crash when " "reporting syntax errors in f-string with newlines. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1836 msgid "" "`bpo-40176 `__: Syntax errors for " "unterminated string literals now point to the start of the string instead of " "reporting EOF/EOL." msgstr "" #: ../build/NEWS:1839 msgid "" "`bpo-42927 `__: The inline cache for " "``LOAD_ATTR`` now also optimizes access to attributes defined by " "``__slots__``. This makes reading such attribute up to 30% faster." msgstr "" #: ../build/NEWS:1843 msgid "" "`bpo-42864 `__: Improve error messages " "in the parser when parentheses are not closed. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:1846 msgid "" "`bpo-42924 `__: Fix ``bytearray`` " "repetition incorrectly copying data from the start of the buffer, even if " "the data is offset within the buffer (e.g. after reassigning a slice at the " "start of the ``bytearray`` to a shorter byte string)." msgstr "" #: ../build/NEWS:1851 msgid "" "`bpo-42882 `__: Fix the :c:func:" "`_PyUnicode_FromId` function (_Py_IDENTIFIER(var) API) when :c:func:" "`Py_Initialize` / :c:func:`Py_Finalize` is called multiple times: preserve " "``_PyRuntime.unicode_ids.next_index`` value." msgstr "" #: ../build/NEWS:1856 msgid "" "`bpo-42827 `__: Fix a crash when working " "out the error line of a :exc:`SyntaxError` in some multi-line expressions." msgstr "" #: ../build/NEWS:1859 msgid "" "`bpo-42823 `__: frame.f_lineno is " "correct even if frame.f_trace is set to True" msgstr "" #: ../build/NEWS:1861 msgid "" "`bpo-37324 `__: Remove deprecated " "aliases to :ref:`collections-abstract-base-classes` from the :mod:" "`collections` module." msgstr "" #: ../build/NEWS:1865 msgid "" "`bpo-41994 `__: Fixed possible leak in " "``import`` when ``sys.modules`` is not a ``dict``." msgstr "" #: ../build/NEWS:1868 msgid "" "`bpo-27772 `__: In string formatting, " "preceding the *width* field by ``'0'`` no longer affects the default " "alignment for strings." msgstr "" #: ../build/NEWS:1874 msgid "" "`bpo-43108 `__: Fixed a reference leak " "in the :mod:`curses` module. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:1877 msgid "" "`bpo-43077 `__: Update the bundled pip " "to 21.0.1 and setuptools to 52.0.0." msgstr "" #: ../build/NEWS:1879 msgid "" "`bpo-41282 `__: Deprecate ``distutils`` " "in documentation and add warning on import." msgstr "" #: ../build/NEWS:1882 msgid "" "`bpo-43014 `__: Improve performance of :" "mod:`tokenize` by 20-30%. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:1885 msgid "" "`bpo-42323 `__: Fix :func:`math." "nextafter` for NaN on AIX." msgstr "" #: ../build/NEWS:1887 msgid "" "`bpo-42955 `__: Add :data:`sys." "stdlib_module_names`, containing the list of the standard library module " "names. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1890 msgid "" "`bpo-42944 `__: Fix ``random.Random." "sample`` when ``counts`` argument is not ``None``." msgstr "" #: ../build/NEWS:1893 msgid "" "`bpo-42934 `__: Use :class:`~traceback." "TracebackException`'s new ``compact`` param in :class:`~unittest.TestResult` " "to reduce time and memory consumed by traceback formatting." msgstr "" #: ../build/NEWS:1897 msgid "" "`bpo-42931 `__: Add :func:`randbytes` to " "``random.__all__``." msgstr "" #: ../build/NEWS:1899 msgid "" "`bpo-38250 `__: [Enum] Flags consisting " "of a single bit are now considered canonical, and will be the only flags " "returned from listing and iterating over a Flag class or a Flag member. " "Multi-bit flags are considered aliases; they will be returned from lookups " "and operations that result in their value. Iteration for both Flag and Flag " "members is in definition order." msgstr "" #: ../build/NEWS:1906 msgid "" "`bpo-42877 `__: Added the ``compact`` " "parameter to the constructor of :class:`traceback.TracebackException` to " "reduce time and memory for use cases that only need to call :func:" "`TracebackException.format` and :func:`TracebackException." "format_exception_only`." msgstr "" #: ../build/NEWS:1911 msgid "" "`bpo-42923 `__: The :c:func:" "`Py_FatalError` function and the :mod:`faulthandler` module now dump the " "list of extension modules on a fatal error." msgstr "" #: ../build/NEWS:1915 msgid "" "`bpo-42848 `__: Removed recursion from :" "class:`~traceback.TracebackException` to allow it to handle long exception " "chains." msgstr "" #: ../build/NEWS:1918 msgid "" "`bpo-42901 `__: [Enum] move member " "creation from ``EnumMeta.__new__`` to ``_proto_member.__set_name__``, " "allowing members to be created and visible in ``__init_subclass__``." msgstr "" #: ../build/NEWS:1922 msgid "" "`bpo-42780 `__: Fix os.set_inheritable() " "for O_PATH file descriptors on Linux." msgstr "" #: ../build/NEWS:1924 msgid "" "`bpo-42866 `__: Fix a reference leak in " "the ``getcodec()`` function of CJK codecs. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1927 msgid "" "`bpo-42846 `__: Convert the 6 CJK codec " "extension modules (_codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, " "_codecs_kr and _codecs_tw) to the multiphase initialization API (:pep:" "`489`). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:1931 msgid "" "`bpo-42851 `__: remove __init_subclass__ " "support for Enum members" msgstr "" #: ../build/NEWS:1933 msgid "" "`bpo-42834 `__: Make internal caches of " "the ``_json`` module compatible with subinterpreters." msgstr "" #: ../build/NEWS:1936 msgid "" "`bpo-41748 `__: Fix HTMLParser parsing " "rules for element attributes containing commas with spaces. Patch by Karl " "Dubost." msgstr "" #: ../build/NEWS:1939 msgid "" "`bpo-40810 `__: Require SQLite 3.7.15 or " "newer. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1941 msgid "" "`bpo-1635741 `__: Convert the " "_multibytecodec extension module (CJK codecs) to multi-phase initialization " "(:pep:`489`). Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1944 msgid "" "`bpo-42802 `__: The distutils " "``bdist_wininst`` command deprecated in Python 3.8 has been removed. The " "distutils ``bdist_wheel`` command is now recommended to distribute binary " "packages on Windows." msgstr "" #: ../build/NEWS:1948 msgid "" "`bpo-24464 `__: The undocumented built-" "in function ``sqlite3.enable_shared_cache`` is now deprecated, scheduled for " "removal in Python 3.12. Its use is strongly discouraged by the SQLite3 " "documentation. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1953 msgid "" "`bpo-42384 `__: Make pdb populate sys." "path[0] exactly the same as regular python execution." msgstr "" #: ../build/NEWS:1956 msgid "" "`bpo-42383 `__: Fix pdb: previously pdb " "would fail to restart the debugging target if it was specified using a " "relative path and the current directory changed." msgstr "" #: ../build/NEWS:1960 msgid "" "`bpo-42005 `__: Fix CLI of :mod:" "`cProfile` and :mod:`profile` to catch :exc:`BrokenPipeError`." msgstr "" #: ../build/NEWS:1963 msgid "" "`bpo-41604 `__: Don't decrement the " "reference count of the previous user_ptr when set_panel_userptr fails." msgstr "" #: ../build/NEWS:1966 msgid "" "`bpo-41149 `__: Allow executing " "callables that have a boolean value of ``False`` when passed to :class:" "`Threading.thread` as the target. Patch contributed by Barney Stratford." msgstr "" #: ../build/NEWS:1970 msgid "" "`bpo-38307 `__: Add an 'end_lineno' " "attribute to the Class and Function objects that appear in the tree returned " "by pyclbr functions. This and the existing 'lineno' attribute define the " "extent of class and def statements. Patch by Aviral Srivastava." msgstr "" #: ../build/NEWS:1975 msgid "" "`bpo-39273 `__: The ``BUTTON5_*`` " "constants are now exposed in the :mod:`curses` module if available." msgstr "" #: ../build/NEWS:1978 msgid "" "`bpo-33289 `__: Correct call to :mod:" "`tkinter.colorchooser` to return RGB triplet of ints instead of floats. " "Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:1984 msgid "" "`bpo-40304 `__: Fix doc for type(name, " "bases, dict). Patch by Boris Verkhovskiy and Éric Araujo." msgstr "" #: ../build/NEWS:1987 msgid "" "`bpo-42811 `__: Updated importlib.utils." "resolve_name() doc to use __spec__.parent instead of __package__. (Thanks " "Yair Frid.)" msgstr "" #: ../build/NEWS:1993 msgid "" "`bpo-40823 `__: Use :meth:`unittest." "TestLoader().loadTestsFromTestCase` instead of :meth:`unittest.makeSuite` " "in :mod:`sqlite3` tests. Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:1997 msgid "" "`bpo-40810 `__: In :mod:`sqlite3`, fix " "``CheckTraceCallbackContent`` for SQLite pre 3.7.15." msgstr "" #: ../build/NEWS:2003 msgid "" "`bpo-43031 `__: Pass ``--timeout=" "$(TESTTIMEOUT)`` option to the default profile task ``./python -m test --" "pgo`` command." msgstr "" #: ../build/NEWS:2006 msgid "" "`bpo-36143 `__: ``make regen-all`` now " "also runs ``regen-keyword``. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2009 msgid "" "`bpo-42874 `__: Removed the grep -q and -" "E flags in the tzpath validation section of the configure script to better " "accomodate users of some platforms (specifically Solaris 10)." msgstr "" #: ../build/NEWS:2013 msgid "" "`bpo-31904 `__: Add library search path " "by wr-cc in add_cross_compiling_paths() for VxWorks." msgstr "" #: ../build/NEWS:2016 msgid "" "`bpo-42856 `__: Add ``--with-wheel-pkg-" "dir=PATH`` option to the ``./configure`` script. If specified, the :mod:" "`ensurepip` module looks for ``setuptools`` and ``pip`` wheel packages in " "this directory: if both are present, these wheel packages are used instead " "of ensurepip bundled wheel packages." msgstr "" #: ../build/NEWS:2021 msgid "" "Some Linux distribution packaging policies recommend against bundling " "dependencies. For example, Fedora installs wheel packages in the ``/usr/" "share/python-wheels/`` directory and don't install the ``ensurepip." "_bundled`` package." msgstr "" #: ../build/NEWS:2029 msgid "" "`bpo-41837 `__: Updated Windows " "installer to include OpenSSL 1.1.1i" msgstr "" #: ../build/NEWS:2031 msgid "" "`bpo-42584 `__: Upgrade Windows " "installer to use SQLite 3.34.0." msgstr "" #: ../build/NEWS:2036 msgid "" "`bpo-42504 `__: Ensure that the value of " "sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') is always a string, " "even in when the value is parsable as an integer." msgstr "" #: ../build/NEWS:2043 msgid "" "`bpo-43008 `__: Make IDLE invoke :func:" "`sys.excepthook` in normal, 2-process mode. Patch by Ken Hilton." msgstr "" #: ../build/NEWS:2046 msgid "" "`bpo-33065 `__: Fix problem debugging " "user classes with __repr__ method." msgstr "" #: ../build/NEWS:2048 msgid "" "`bpo-23544 `__: Disable Debug=>Stack " "Viewer when user code is running or Debugger is active, to prevent hang or " "crash. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:2051 msgid "" "`bpo-32631 `__: Finish zzdummy example " "extension module: make menu entries work; add docstrings and tests with 100% " "coverage." msgstr "" #: ../build/NEWS:2057 msgid "" "`bpo-42979 `__: When Python is built in " "debug mode (with C assertions), calling a type slot like ``sq_length`` " "(``__len__()`` in Python) now fails with a fatal error if the slot succeeded " "with an exception set, or failed with no exception set. The error message " "contains the slot, the type name, and the current exception (if an exception " "is set). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2063 msgid "" "`bpo-43030 `__: Fixed a compiler warning " "in :c:func:`Py_UNICODE_ISSPACE()` on platforms with signed ``wchar_t``." msgstr "" #: ../build/NEWS:2068 msgid "Python 3.10.0 alpha 4" msgstr "" #: ../build/NEWS:2070 msgid "*Release date: 2021-01-04*" msgstr "" #: ../build/NEWS:2075 msgid "" "`bpo-42814 `__: Fix undefined behavior " "in ``Objects/genericaliasobject.c``." msgstr "" #: ../build/NEWS:2077 msgid "" "`bpo-42806 `__: Fix the column offsets " "for f-strings :mod:`ast` nodes surrounded by parentheses and for nodes that " "spawn multiple lines. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:2081 msgid "" "`bpo-40631 `__: Fix regression where a " "single parenthesized starred expression was a valid assignment target." msgstr "" #: ../build/NEWS:2084 msgid "" "`bpo-27794 `__: Improve the error " "message for failed writes/deletes to property objects. When possible, the " "attribute name is now shown. Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:2088 msgid "" "`bpo-42745 `__: Make the type attribute " "lookup cache per-interpreter. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2091 msgid "" "`bpo-42246 `__: Jumps to jumps are not " "eliminated when it would break PEP 626." msgstr "" #: ../build/NEWS:2093 msgid "" "`bpo-42246 `__: Make sure that the " "``f_lasti`` and ``f_lineno`` attributes of a frame are set correctly when an " "exception is raised or re-raised. Required for PEP 626." msgstr "" #: ../build/NEWS:2097 msgid "" "`bpo-32381 `__: The coding cookie (ex: " "``# coding: latin1``) is now ignored in the command passed to the :option:`-" "c` command line option. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2101 msgid "" "`bpo-30858 `__: Improve error location " "in expressions that contain assignments. Patch by Pablo Galindo and " "Lysandros Nikolaou." msgstr "" #: ../build/NEWS:2104 msgid "" "`bpo-42615 `__: Remove jump commands " "made redundant by the deletion of unreachable bytecode blocks" msgstr "" #: ../build/NEWS:2107 msgid "" "`bpo-42639 `__: Make the :mod:`atexit` " "module state per-interpreter. It is now safe have more than one :mod:" "`atexit` module instance. Patch by Dong-hee Na and Victor Stinner." msgstr "" #: ../build/NEWS:2111 msgid "" "`bpo-32381 `__: Fix encoding name when " "running a ``.pyc`` file on Windows: :c:func:`PyRun_SimpleFileExFlags()` now " "uses the correct encoding to decode the filename." msgstr "" #: ../build/NEWS:2115 msgid "" "`bpo-42195 `__: The ``__args__`` of the " "parameterized generics for :data:`typing.Callable` and :class:`collections." "abc.Callable` are now consistent. The ``__args__`` for :class:`collections." "abc.Callable` are now flattened while :data:`typing.Callable`'s have not " "changed. To allow this change, :class:`types.GenericAlias` can now be " "subclassed and ``collections.abc.Callable``'s ``__class_getitem__`` will now " "return a subclass of ``types.GenericAlias``. Tests for typing were also " "updated to not subclass things like ``Callable[..., T]`` as that is not a " "valid base class. Finally, both ``Callable``\\ s no longer validate their " "``argtypes``, in ``Callable[[argtypes], resulttype]`` to prepare for :pep:" "`612`. Patch by Ken Jin." msgstr "" #: ../build/NEWS:2127 msgid "" "`bpo-40137 `__: Convert functools module " "to use :c:func:`PyType_FromModuleAndSpec`." msgstr "" #: ../build/NEWS:2130 msgid "" "`bpo-40077 `__: Convert :mod:`array` to " "use heap types, and establish module state for these." msgstr "" #: ../build/NEWS:2133 msgid "" "`bpo-42008 `__: Fix _random.Random() " "seeding." msgstr "" #: ../build/NEWS:2135 msgid "" "`bpo-1635741 `__: Port the :mod:" "`pyexpat` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2138 msgid "" "`bpo-40521 `__: Make the Unicode " "dictionary of interned strings compatible with subinterpreters. Patch by " "Victor Stinner." msgstr "" #: ../build/NEWS:2141 msgid "" "`bpo-39465 `__: Make :c:func:" "`_PyUnicode_FromId` function compatible with subinterpreters. Each " "interpreter now has an array of identifier objects (interned strings decoded " "from UTF-8). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2148 msgid "" "`bpo-42257 `__: Handle empty string in " "variable executable in platform.libc_ver()" msgstr "" #: ../build/NEWS:2151 msgid "" "`bpo-42772 `__: randrange() now raises a " "TypeError when step is specified without a stop argument. Formerly, it " "silently ignored the step argument." msgstr "" #: ../build/NEWS:2154 msgid "" "`bpo-42759 `__: Fixed equality " "comparison of :class:`tkinter.Variable` and :class:`tkinter.font.Font`. " "Objects which belong to different Tcl interpreters are now always different, " "even if they have the same name." msgstr "" #: ../build/NEWS:2158 msgid "" "`bpo-42756 `__: Configure LMTP Unix-" "domain socket to use socket global default timeout when a timeout is not " "explicitly provided." msgstr "" #: ../build/NEWS:2161 msgid "" "`bpo-23328 `__: Allow / character in " "username, password fields on _PROXY envars." msgstr "" #: ../build/NEWS:2164 msgid "" "`bpo-42740 `__: :func:`typing.get_args` " "and :func:`typing.get_origin` now support :pep:`604` union types and :pep:" "`612` additions to ``Callable``." msgstr "" #: ../build/NEWS:2167 msgid "" "`bpo-42655 `__: :mod:`subprocess` " "*extra_groups* is now correctly passed into setgroups() system call." msgstr "" #: ../build/NEWS:2170 msgid "" "`bpo-42727 `__: ``EnumMeta.__prepare__`` " "now accepts ``**kwds`` to properly support ``__init_subclass__``" msgstr "" #: ../build/NEWS:2173 msgid "" "`bpo-38308 `__: Add optional *weights* " "to *statistics.harmonic_mean()*." msgstr "" #: ../build/NEWS:2175 msgid "" "`bpo-42721 `__: When simple query " "dialogs (:mod:`tkinter.simpledialog`), message boxes (:mod:`tkinter." "messagebox`) or color choose dialog (:mod:`tkinter.colorchooser`) are " "created without arguments *master* and *parent*, and the default root window " "is not yet created, and :func:`~tkinter.NoDefaultRoot` was not called, a new " "temporal hidden root window will be created automatically. It will not be " "set as the default root window and will be destroyed right after closing the " "dialog window. It will help to use these simple dialog windows in programs " "which do not need other GUI." msgstr "" #: ../build/NEWS:2185 msgid "" "`bpo-25246 `__: Optimized :meth:" "`collections.deque.remove`." msgstr "" #: ../build/NEWS:2187 msgid "" "`bpo-35728 `__: Added a root parameter " "to :func:`tkinter.font.nametofont`." msgstr "" #: ../build/NEWS:2189 msgid "" "`bpo-15303 `__: :mod:`tkinter` supports " "now widgets with boolean value False." msgstr "" #: ../build/NEWS:2191 msgid "" "`bpo-42681 `__: Fixed range checks for " "color and pair numbers in :mod:`curses`." msgstr "" #: ../build/NEWS:2193 msgid "" "`bpo-42685 `__: Improved placing of " "simple query windows in Tkinter (such as :func:`tkinter.simpledialog." "askinteger`). They are now centered at the center of the parent window if it " "is specified and shown, otherwise at the center of the screen." msgstr "" #: ../build/NEWS:2198 msgid "" "`bpo-9694 `__: Argparse help no longer " "uses the confusing phrase, \"optional arguments\". It uses \"options\" " "instead." msgstr "" #: ../build/NEWS:2201 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_thread` extension module to the multiphase initialization API (:pep:`489`) " "and convert its static types to heap types." msgstr "" #: ../build/NEWS:2205 msgid "" "`bpo-37961 `__: Fix crash in :func:" "`tracemalloc.Traceback.__repr__` (regressed in Python 3.9)." msgstr "" #: ../build/NEWS:2208 msgid "" "`bpo-42630 `__: :mod:`tkinter` functions " "and constructors which need a default root window raise now :exc:" "`RuntimeError` with descriptive message instead of obscure :exc:" "`AttributeError` or :exc:`NameError` if it is not created yet or cannot be " "created automatically." msgstr "" #: ../build/NEWS:2213 msgid "" "`bpo-42639 `__: :func:`atexit." "_run_exitfuncs` now logs callback exceptions using :data:`sys." "unraisablehook`, rather than logging them directly into :data:`sys.stderr` " "and raise the last exception." msgstr "" #: ../build/NEWS:2217 msgid "" "`bpo-42644 `__: ``logging.disable`` will " "now validate the types and value of its parameter. It also now accepts " "strings representing the levels (as does ``loging.setLevel``) instead of " "only the numerical values." msgstr "" #: ../build/NEWS:2221 msgid "" "`bpo-42639 `__: At Python exit, if a " "callback registered with :func:`atexit.register` fails, its exception is now " "logged. Previously, only some exceptions were logged, and the last exception " "was always silently ignored." msgstr "" #: ../build/NEWS:2226 msgid "" "`bpo-36541 `__: Fixed lib2to3.pgen2 to " "be able to parse PEP-570 positional only argument syntax." msgstr "" #: ../build/NEWS:2229 msgid "" "`bpo-42382 `__: In ``importlib." "metadata``: - ``EntryPoint`` objects now expose a ``.dist`` object " "referencing the ``Distribution`` when constructed from a ``Distribution``. - " "Add support for package discovery under package normalization rules. - The " "object returned by ``metadata()`` now has a formally-defined protocol called " "``PackageMetadata`` with declared support for the ``.get_all()`` method. - " "Synced with importlib_metadata 3.3." msgstr "" #: ../build/NEWS:2236 msgid "" "`bpo-41877 `__: A check is added against " "misspellings of autospect, auto_spec and set_spec being passed as arguments " "to patch, patch.object and create_autospec." msgstr "" #: ../build/NEWS:2240 msgid "" "`bpo-39717 `__: [tarfile] update nested " "exception raising to use ``from None`` or ``from e``" msgstr "" #: ../build/NEWS:2243 msgid "" "`bpo-41877 `__: AttributeError for " "suspected misspellings of assertions on mocks are now pointing out that the " "cause are misspelled assertions and also what to do if the misspelling is " "actually an intended attribute name. The unittest.mock document is also " "updated to reflect the current set of recognised misspellings." msgstr "" #: ../build/NEWS:2249 msgid "" "`bpo-41559 `__: Implemented :pep:`612`: " "added ``ParamSpec`` and ``Concatenate`` to :mod:`typing`. Patch by Ken Jin." msgstr "" #: ../build/NEWS:2252 msgid "" "`bpo-42385 `__: StrEnum: fix " "_generate_next_value_ to return a str" msgstr "" #: ../build/NEWS:2254 msgid "" "`bpo-31904 `__: Define THREAD_STACK_SIZE " "for VxWorks." msgstr "" #: ../build/NEWS:2256 msgid "" "`bpo-34750 `__: [Enum] `_EnumDict." "update()` is now supported" msgstr "" #: ../build/NEWS:2258 msgid "" "`bpo-42517 `__: Enum: private names do " "not become members / do not generate errors -- they remain normal attributes" msgstr "" #: ../build/NEWS:2261 msgid "" "`bpo-42678 `__: ``Enum``: call " "``__init_subclass__`` after members have been added" msgstr "" #: ../build/NEWS:2264 msgid "" "`bpo-28964 `__: :func:`ast.literal_eval` " "adds line number information (if available) in error message for malformed " "nodes." msgstr "" #: ../build/NEWS:2267 msgid "" "`bpo-42470 `__: :func:`random.sample` no " "longer warns on a sequence which is also a set." msgstr "" #: ../build/NEWS:2270 msgid "" "`bpo-31904 `__: :func:`posixpath." "expanduser` returns the input *path* unchanged if user home directory is " "None on VxWorks." msgstr "" #: ../build/NEWS:2273 msgid "" "`bpo-42388 `__: Fix subprocess." "check_output(..., input=None) behavior when text=True to be consistent with " "that of the documentation and universal_newlines=True." msgstr "" #: ../build/NEWS:2277 msgid "" "`bpo-34463 `__: Fixed discrepancy " "between :mod:`traceback` and the interpreter in formatting of SyntaxError " "with lineno not set (:mod:`traceback` was changed to match interpreter)." msgstr "" #: ../build/NEWS:2281 msgid "" "`bpo-42393 `__: Raise :exc:" "`OverflowError` instead of silent truncation in :meth:`socket.ntohs` and :" "meth:`socket.htons`. Silent truncation was deprecated in Python 3.7. Patch " "by Erlend E. Aasland" msgstr "" #: ../build/NEWS:2285 msgid "" "`bpo-42222 `__: Harmonized :func:`random." "randrange` argument handling to match :func:`range`." msgstr "" #: ../build/NEWS:2288 msgid "" "The integer test and conversion in ``randrange()`` now uses :func:`operator." "index`." msgstr "" #: ../build/NEWS:2290 msgid "Non-integer arguments to ``randrange()`` are deprecated." msgstr "" #: ../build/NEWS:2291 msgid "The ``ValueError`` is deprecated in favor of a ``TypeError``." msgstr "" #: ../build/NEWS:2292 msgid "It now runs a little faster than before." msgstr "" #: ../build/NEWS:2294 msgid "(Contributed by Raymond Hettinger and Serhiy Storchaka.)" msgstr "" #: ../build/NEWS:2296 msgid "" "`bpo-42163 `__: Restore compatibility " "for ``uname_result`` around deepcopy and _replace." msgstr "" #: ../build/NEWS:2299 msgid "" "`bpo-42090 `__: ``zipfile.Path." "joinpath`` now accepts arbitrary arguments, same as ``pathlib.Path." "joinpath``." msgstr "" #: ../build/NEWS:2302 msgid "" "`bpo-1635741 `__: Port the _csv module " "to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:2305 msgid "" "`bpo-42059 `__: :class:`typing." "TypedDict` types created using the alternative call-style syntax now " "correctly respect the ``total`` keyword argument when setting their " "``__required_keys__`` and ``__optional_keys__`` class attributes." msgstr "" #: ../build/NEWS:2310 msgid "" "`bpo-41960 `__: Add ``globalns`` and " "``localns`` parameters to the :func:`inspect.signature` and :meth:`inspect." "Signature.from_callable`." msgstr "" #: ../build/NEWS:2313 msgid "" "`bpo-41907 `__: fix ``format()`` " "behavior for ``IntFlag``" msgstr "" #: ../build/NEWS:2315 msgid "" "`bpo-41891 `__: Ensure asyncio.wait_for " "waits for task completion" msgstr "" #: ../build/NEWS:2317 msgid "" "`bpo-24792 `__: Fixed bug where :mod:" "`zipimporter` sometimes reports an incorrect cause of import errors." msgstr "" #: ../build/NEWS:2320 msgid "" "`bpo-31904 `__: Fix site and sysconfig " "modules for VxWorks RTOS which has no home directories." msgstr "" #: ../build/NEWS:2323 msgid "" "`bpo-41462 `__: Add :func:`os." "set_blocking()` support for VxWorks RTOS." msgstr "" #: ../build/NEWS:2325 msgid "" "`bpo-40219 `__: Lowered :class:`tkinter." "ttk.LabeledScale` dummy widget to prevent hiding part of the content label." msgstr "" #: ../build/NEWS:2328 msgid "" "`bpo-37193 `__: Fixed memory leak in " "``socketserver.ThreadingMixIn`` introduced in Python 3.7." msgstr "" #: ../build/NEWS:2331 msgid "" "`bpo-39068 `__: Fix initialization race " "condition in :func:`a85encode` and :func:`b85encode` in :mod:`base64`. Patch " "by Brandon Stansbury." msgstr "" #: ../build/NEWS:2337 msgid "" "`bpo-17140 `__: Add documentation for " "the :class:`multiprocessing.pool.ThreadPool` class." msgstr "" #: ../build/NEWS:2340 msgid "" "`bpo-34398 `__: Prominently feature " "listings from the glossary in documentation search results. Patch by Ammar " "Askar." msgstr "" #: ../build/NEWS:2346 msgid "" "`bpo-42794 `__: Update test_nntplib to " "use offical group name of news.aioe.org for testing. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:2349 msgid "" "`bpo-31904 `__: Skip some asyncio tests " "on VxWorks." msgstr "" #: ../build/NEWS:2351 msgid "" "`bpo-42641 `__: Enhance ``test_select." "test_select()``: it now takes 500 ms rather than 10 seconds. Use Python " "rather than a shell to make the test more portable." msgstr "" #: ../build/NEWS:2355 msgid "" "`bpo-31904 `__: Skip some tests in " "_test_all_chown_common() on VxWorks." msgstr "" #: ../build/NEWS:2357 msgid "" "`bpo-42199 `__: Fix bytecode helper " "assertNotInBytecode." msgstr "" #: ../build/NEWS:2359 msgid "" "`bpo-41443 `__: Add more attribute " "checking in test_posix.py" msgstr "" #: ../build/NEWS:2361 msgid "" "`bpo-31904 `__: Disable os.popen and " "impacted tests on VxWorks" msgstr "" #: ../build/NEWS:2363 msgid "" "`bpo-41439 `__: Port test_ssl and " "test_uuid to VxWorks RTOS." msgstr "" #: ../build/NEWS:2368 msgid "" "`bpo-42692 `__: Fix __builtin_available " "check on older compilers. Patch by Joshua Root." msgstr "" #: ../build/NEWS:2371 msgid "" "`bpo-27640 `__: Added ``--disable-test-" "modules`` option to the ``configure`` script: don't build nor install test " "modules. Patch by Xavier de Gaye, Thomas Petazzoni and Peixing Xin." msgstr "" #: ../build/NEWS:2375 msgid "" "`bpo-42604 `__: Now all platforms use a " "value for the \"EXT_SUFFIX\" build variable derived from SOABI (for instance " "in freeBSD, \"EXT_SUFFIX\" is now \".cpython-310d.so\" instead of \".so\"). " "Previosuly only Linux, Mac and VxWorks were using a value for \"EXT_SUFFIX\" " "that included \"SOABI\"." msgstr "" #: ../build/NEWS:2380 msgid "" "`bpo-42598 `__: Fix implicit function " "declarations in configure which could have resulted in incorrect " "configuration checks. Patch contributed by Joshua Root." msgstr "" #: ../build/NEWS:2384 msgid "" "`bpo-31904 `__: Enable libpython3.so for " "VxWorks." msgstr "" #: ../build/NEWS:2386 msgid "" "`bpo-29076 `__: Add fish shell support " "to macOS installer." msgstr "" #: ../build/NEWS:2391 msgid "" "`bpo-42361 `__: Update macOS installer " "build to use Tcl/Tk 8.6.11 (rc2, expected to be final release)." msgstr "" #: ../build/NEWS:2394 msgid "" "`bpo-41837 `__: Update macOS installer " "build to use OpenSSL 1.1.1i." msgstr "" #: ../build/NEWS:2396 msgid "" "`bpo-42584 `__: Update macOS installer " "to use SQLite 3.34.0." msgstr "" #: ../build/NEWS:2401 msgid "" "`bpo-42726 `__: Fixed Python 3 " "compatibility issue with gdb/libpython.py handling of attribute dictionaries." msgstr "" #: ../build/NEWS:2404 msgid "" "`bpo-42613 `__: Fix ``freeze.py`` tool " "to use the prope config and library directories. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2410 msgid "" "`bpo-42591 `__: Export the :c:func:" "`Py_FrozenMain` function: fix a Python 3.9.0 regression. Python 3.9 uses ``-" "fvisibility=hidden`` and the function was not exported explicitly and so not " "exported." msgstr "" #: ../build/NEWS:2414 msgid "" "`bpo-32381 `__: Remove the private :c:" "func:`_Py_fopen` function which is no longer needed. Use :c:func:" "`_Py_wfopen` or :c:func:`_Py_fopen_obj` instead. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2418 msgid "" "`bpo-1635741 `__: Port :mod:`resource` " "extension module to module state" msgstr "" #: ../build/NEWS:2420 msgid "" "`bpo-42111 `__: Update the ``xxlimited`` " "module to be a better example of how to use the limited C API." msgstr "" #: ../build/NEWS:2423 msgid "" "`bpo-40052 `__: Fix an alignment build " "warning/error in function ``PyVectorcall_Function()``. Patch by Andreas " "Schneider, Antoine Pitrou and Petr Viktorin." msgstr "" #: ../build/NEWS:2429 msgid "Python 3.10.0 alpha 3" msgstr "" #: ../build/NEWS:2431 msgid "*Release date: 2020-12-07*" msgstr "" #: ../build/NEWS:2436 msgid "" "`bpo-40791 `__: Add ``volatile`` to the " "accumulator variable in ``hmac.compare_digest``, making constant-time-" "defeating optimizations less likely." msgstr "" #: ../build/NEWS:2443 msgid "" "`bpo-42576 `__: ``types.GenericAlias`` " "will now raise a ``TypeError`` when attempting to initialize with a keyword " "argument. Previously, this would cause the interpreter to crash if the " "interpreter was compiled with debug symbols. This does not affect " "interpreters compiled for release. Patch by Ken Jin." msgstr "" #: ../build/NEWS:2449 msgid "" "`bpo-42536 `__: Several built-in and " "standard library types now ensure that their internal result tuples are " "always tracked by the :term:`garbage collector `:" msgstr "" #: ../build/NEWS:2453 msgid ":meth:`collections.OrderedDict.items() `" msgstr "" #: ../build/NEWS:2455 msgid ":meth:`dict.items`" msgstr "" #: ../build/NEWS:2457 msgid ":func:`enumerate`" msgstr "" #: ../build/NEWS:2459 msgid ":func:`functools.reduce`" msgstr "" #: ../build/NEWS:2461 msgid ":func:`itertools.combinations`" msgstr "" #: ../build/NEWS:2463 msgid ":func:`itertools.combinations_with_replacement`" msgstr "" #: ../build/NEWS:2465 msgid ":func:`itertools.permutations`" msgstr "" #: ../build/NEWS:2467 msgid ":func:`itertools.product`" msgstr "" #: ../build/NEWS:2469 msgid ":func:`itertools.zip_longest`" msgstr "" #: ../build/NEWS:2471 msgid ":func:`zip`" msgstr "" #: ../build/NEWS:2473 msgid "" "Previously, they could have become untracked by a prior garbage collection. " "Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:2476 msgid "" "`bpo-42500 `__: Improve handling of " "exceptions near recursion limit. Converts a number of Fatal Errors in " "RecursionErrors." msgstr "" #: ../build/NEWS:2479 msgid "" "`bpo-42246 `__: PEP 626: After a return, " "the f_lineno attribute of a frame is always the last line executed." msgstr "" #: ../build/NEWS:2482 msgid "" "`bpo-42435 `__: Speed up comparison of " "bytes objects with non-bytes objects when option :option:`-b` is specified. " "Speed up comparison of bytarray objects with non-buffer object." msgstr "" #: ../build/NEWS:2486 msgid "" "`bpo-1635741 `__: Port the " "``_warnings`` extension module to the multi-phase initialization API (:pep:" "`489`). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2489 msgid "" "`bpo-41686 `__: On Windows, the " "``SIGINT`` event, ``_PyOS_SigintEvent()``, is now created even if Python is " "configured to not install signal handlers (if :c:member:`PyConfig." "install_signal_handlers` equals to 0, or ``Py_InitializeEx(0)``)." msgstr "" #: ../build/NEWS:2494 msgid "" "`bpo-42381 `__: Allow assignment " "expressions in set literals and set comprehensions as per PEP 572. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:2497 msgid "" "`bpo-42202 `__: Change function " "parameters annotations internal representation to tuple of strings. Patch " "provided by Yurii Karabas." msgstr "" #: ../build/NEWS:2500 msgid "" "`bpo-42374 `__: Fix a regression " "introduced by the new parser, where an unparenthesized walrus operator was " "not allowed within generator expressions." msgstr "" #: ../build/NEWS:2504 msgid "" "`bpo-42316 `__: Allow an unparenthesized " "walrus in subscript indexes." msgstr "" #: ../build/NEWS:2506 msgid "" "`bpo-42349 `__: Make sure that the " "compiler front-end produces a well-formed control flow graph. Be be more " "aggressive in the compiler back-end, as it is now safe to do so." msgstr "" #: ../build/NEWS:2510 msgid "" "`bpo-42296 `__: On Windows, fix a " "regression in signal handling which prevented to interrupt a program using " "CTRL+C. The signal handler can be run in a thread different than the Python " "thread, in which case the test deciding if the thread can handle signals is " "wrong." msgstr "" #: ../build/NEWS:2515 msgid "" "`bpo-42332 `__: :class:`types." "GenericAlias` objects can now be the targets of weakrefs." msgstr "" #: ../build/NEWS:2518 msgid "" "`bpo-42282 `__: Optimise constant " "subexpressions that appear as part of named expressions (previously the AST " "optimiser did not descend into named expressions). Patch by Nick Coghlan." msgstr "" #: ../build/NEWS:2522 msgid "" "`bpo-42266 `__: Fixed a bug with the " "LOAD_ATTR opcode cache that was not respecting monkey-patching a class-level " "attribute to make it a descriptor. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:2526 msgid "" "`bpo-40077 `__: Convert :mod:`queue` to " "use heap types." msgstr "" #: ../build/NEWS:2528 msgid "" "`bpo-42246 `__: Improved accuracy of " "line tracing events and f_lineno attribute of Frame objects. See PEP 626 for " "details." msgstr "" #: ../build/NEWS:2531 msgid "" "`bpo-40077 `__: Convert :mod:`mmap` to " "use heap types." msgstr "" #: ../build/NEWS:2533 msgid "" "`bpo-42233 `__: Allow ``GenericAlias`` " "objects to use :ref:`union type expressions `. This allows " "expressions like ``list[int] | dict[float, str]`` where previously a " "``TypeError`` would have been thrown. This also fixes union type " "expressions not de-duplicating ``GenericAlias`` objects. (Contributed by Ken " "Jin in :issue:`42233`.)" msgstr "" #: ../build/NEWS:2539 msgid "" "`bpo-26131 `__: The import system " "triggers a `ImportWarning` when it falls back to using `load_module()`." msgstr "" #: ../build/NEWS:2545 msgid "" "`bpo-5054 `__: CGIHTTPRequestHandler." "run_cgi() HTTP_ACCEPT improperly parsed. Replace the special purpose " "getallmatchingheaders with generic get_all method and add relevant tests." msgstr "" #: ../build/NEWS:2549 msgid "Original Patch by Martin Panter. Modified by Senthil Kumaran." msgstr "" #: ../build/NEWS:2551 msgid "" "`bpo-42562 `__: Fix issue when dis " "failed to parse function that has no line numbers. Patch provided by Yurii " "Karabas." msgstr "" #: ../build/NEWS:2554 msgid "" "`bpo-17735 `__: :func:`inspect." "findsource` now raises :exc:`OSError` instead of :exc:`IndexError` when :" "attr:`co_lineno` of a code object is greater than the file length. This can " "happen, for example, when a file is edited after it was imported. PR by " "Irit Katriel." msgstr "" #: ../build/NEWS:2559 msgid "" "`bpo-42116 `__: Fix handling of trailing " "comments by :func:`inspect.getsource`." msgstr "" #: ../build/NEWS:2561 msgid "" "`bpo-42532 `__: Remove unexpected call " "of ``__bool__`` when passing a ``spec_arg`` argument to a Mock." msgstr "" #: ../build/NEWS:2564 msgid "" "`bpo-38200 `__: Added itertools." "pairwise()" msgstr "" #: ../build/NEWS:2566 msgid "" "`bpo-41818 `__: Fix test_master_read() " "so that it succeeds on all platforms that either raise OSError or return b" "\"\" upon reading from master." msgstr "" #: ../build/NEWS:2569 msgid "" "`bpo-42487 `__: ChainMap.__iter__ no " "longer calls __getitem__ on underlying maps" msgstr "" #: ../build/NEWS:2572 msgid "" "`bpo-42482 `__: :class:`~traceback." "TracebackException` no longer holds a reference to the exception's traceback " "object. Consequently, instances of TracebackException for equivalent but non-" "equal exceptions now compare as equal." msgstr "" #: ../build/NEWS:2577 msgid "" "`bpo-41818 `__: Make test_openpty() " "avoid unexpected success due to number of rows and/or number of columns " "being == 0." msgstr "" #: ../build/NEWS:2580 msgid "" "`bpo-42392 `__: Remove loop parameter " "from ``asyncio.subprocess`` and ``asyncio.tasks`` functions. Patch provided " "by Yurii Karabas." msgstr "" #: ../build/NEWS:2583 msgid "" "`bpo-42392 `__: Remove loop parameter " "from ``asyncio.open_connection`` and ``asyncio.start_server`` functions. " "Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:2586 msgid "" "`bpo-28468 `__: Add :func:`platform." "freedesktop_os_release` function to parse freedesktop.org ``os-release`` " "files." msgstr "" #: ../build/NEWS:2589 msgid "" "`bpo-42299 `__: Removed the " "``formatter`` module, which was deprecated in Python 3.4. It is somewhat " "obsolete, little used, and not tested. It was originally scheduled to be " "removed in Python 3.6, but such removals were delayed until after Python 2.7 " "EOL. Existing users should copy whatever classes they use into their code. " "Patch by Dong-hee Na and and Terry J. Reedy." msgstr "" #: ../build/NEWS:2596 msgid "" "`bpo-26131 `__: Deprecate zipimport." "zipimporter.load_module() in favour of exec_module()." msgstr "" #: ../build/NEWS:2599 msgid "" "`bpo-41818 `__: Updated tests for the " "pty library. test_basic() has been changed to test_openpty(); this " "additionally checks if slave termios and slave winsize are being set " "properly by pty.openpty(). In order to add support for FreeBSD, NetBSD, " "OpenBSD, and Darwin, this also adds test_master_read(), which demonstrates " "that pty.spawn() should not depend on an OSError to exit from its copy loop." msgstr "" #: ../build/NEWS:2606 msgid "" "`bpo-42392 `__: Remove loop parameter " "from ``__init__`` in all ``asyncio.locks`` and ``asyncio.Queue`` classes. " "Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:2610 msgid "" "`bpo-15450 `__: Make :class:`filecmp." "dircmp` respect subclassing. Now the :attr:`filecmp.dircmp.subdirs` behaves " "as expected when subclassing dircmp." msgstr "" #: ../build/NEWS:2614 msgid "" "`bpo-42413 `__: The exception :exc:" "`socket.timeout` is now an alias of :exc:`TimeoutError`." msgstr "" #: ../build/NEWS:2617 msgid "" "`bpo-31904 `__: Support signal module on " "VxWorks." msgstr "" #: ../build/NEWS:2619 msgid "" "`bpo-42406 `__: We fixed an issue in " "`pickle.whichmodule` in which importing `multiprocessing` could change the " "how pickle identifies which module an object belongs to, potentially " "breaking the unpickling of those objects." msgstr "" #: ../build/NEWS:2623 msgid "" "`bpo-42403 `__: Simplify the :mod:" "`importlib` external bootstrap code: ``importlib._bootstrap_external`` now " "uses regular imports to import builtin modules. When it is imported, the " "builtin :func:`__import__()` function is already fully working and so can be " "used to import builtin modules like :mod:`sys`. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2629 msgid "" "`bpo-1635741 `__: Convert _sre module " "types to heap types (PEP 384). Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:2632 msgid "" "`bpo-42375 `__: subprocess module update " "for DragonFlyBSD support." msgstr "" #: ../build/NEWS:2634 msgid "" "`bpo-41713 `__: Port the ``_signal`` " "extension module to the multi-phase initialization API (:pep:`489`). Patch " "by Victor Stinner and Mohamed Koubaa." msgstr "" #: ../build/NEWS:2638 msgid "" "`bpo-37205 `__: :func:`time.time()`, :" "func:`time.perf_counter()` and :func:`time.monotonic()` functions can no " "longer fail with a Python fatal error, instead raise a regular Python " "exception on failure." msgstr "" #: ../build/NEWS:2642 msgid "" "`bpo-42328 `__: Fixed :meth:`tkinter.ttk." "Style.map`. The function accepts now the representation of the default state " "as empty sequence (as returned by ``Style.map()``). The structure of the " "result is now the same on all platform and does not depend on the value of " "``wantobjects``." msgstr "" #: ../build/NEWS:2647 msgid "" "`bpo-42345 `__: Fix various issues with " "``typing.Literal`` parameter handling (flatten, deduplicate, use type to " "cache key). Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:2651 msgid "" "`bpo-37205 `__: :func:`time." "perf_counter()` on Windows and :func:`time.monotonic()` on macOS are now " "system-wide. Previously, they used an offset computed at startup to reduce " "the precision loss caused by the float type. Use :func:`time." "perf_counter_ns()` and :func:`time.monotonic_ns()` added in Python 3.7 to " "avoid this precision loss." msgstr "" #: ../build/NEWS:2658 msgid "" "`bpo-42318 `__: Fixed support of non-BMP " "characters in :mod:`tkinter` on macOS." msgstr "" #: ../build/NEWS:2660 msgid "" "`bpo-42350 `__: Fix the :class:" "`threading.Thread` class at fork: do nothing if the thread is already " "stopped (ex: fork called at Python exit). Previously, an error was logged in " "the child process." msgstr "" #: ../build/NEWS:2664 msgid "" "`bpo-42333 `__: Port _ssl extension " "module to heap types." msgstr "" #: ../build/NEWS:2666 msgid "" "`bpo-42014 `__: The ``onerror`` callback " "from ``shutil.rmtree`` now receives correct function when ``os.open`` fails." msgstr "" #: ../build/NEWS:2669 msgid "" "`bpo-42237 `__: Fix `os.sendfile()` on " "illumos." msgstr "" #: ../build/NEWS:2671 msgid "" "`bpo-42308 `__: Add :data:`threading." "__excepthook__` to allow retrieving the original value of :func:`threading." "excepthook` in case it is set to a broken or a different value. Patch by " "Mario Corchero." msgstr "" #: ../build/NEWS:2675 msgid "" "`bpo-42131 `__: Implement PEP 451/spec " "methods on zipimport.zipimporter: find_spec(), create_module(), and " "exec_module()." msgstr "" #: ../build/NEWS:2678 msgid "" "This also allows for the documented deprecation of find_loader(), " "find_module(), and load_module()." msgstr "" #: ../build/NEWS:2681 msgid "" "`bpo-41877 `__: Mock objects which are " "not unsafe will now raise an AttributeError if an attribute with the prefix " "asert, aseert, or assrt is accessed, in addition to this already happening " "for the prefixes assert or assret." msgstr "" #: ../build/NEWS:2686 msgid "" "`bpo-42264 `__: ``sqlite3." "OptimizedUnicode`` has been undocumented and obsolete since Python 3.3, when " "it was made an alias to :class:`str`. It is now deprecated, scheduled for " "removal in Python 3.12." msgstr "" #: ../build/NEWS:2690 msgid "" "`bpo-42251 `__: Added :func:`threading." "gettrace` and :func:`threading.getprofile` to retrieve the functions set by :" "func:`threading.settrace` and :func:`threading.setprofile` respectively. " "Patch by Mario Corchero." msgstr "" #: ../build/NEWS:2695 msgid "" "`bpo-42249 `__: Fixed writing binary " "Plist files larger than 4 GiB." msgstr "" #: ../build/NEWS:2697 msgid "" "`bpo-42236 `__: On Unix, the :func:`os." "device_encoding` function now returns ``'UTF-8'`` rather than the device " "encoding if the :ref:`Python UTF-8 Mode ` is enabled." msgstr "" #: ../build/NEWS:2701 msgid "" "`bpo-41754 `__: webbrowser: Ignore " "*NotADirectoryError* when calling ``xdg-settings``." msgstr "" #: ../build/NEWS:2704 msgid "" "`bpo-42183 `__: Fix a stack overflow " "error for asyncio Task or Future repr()." msgstr "" #: ../build/NEWS:2706 msgid "" "The overflow occurs under some circumstances when a Task or Future " "recursively returns itself." msgstr "" #: ../build/NEWS:2709 msgid "" "`bpo-42140 `__: Improve asyncio.wait " "function to create the futures set just one time." msgstr "" #: ../build/NEWS:2712 msgid "" "`bpo-42133 `__: Update various modules " "in the stdlib to fall back on `__spec__.loader` when `__loader__` isn't " "defined on a module." msgstr "" #: ../build/NEWS:2715 msgid "" "`bpo-26131 `__: The `load_module()` " "methods found in importlib now trigger a DeprecationWarning." msgstr "" #: ../build/NEWS:2718 msgid "" "`bpo-39825 `__: Windows: Change " "``sysconfig.get_config_var('EXT_SUFFIX')`` to the expected full " "``platform_tag.extension`` format. Previously it was hard-coded to ``.pyd``, " "now it is compatible with ``distutils.sysconfig`` and will result in " "something like ``.cp38-win_amd64.pyd``. This brings windows into conformance " "with the other platforms." msgstr "" #: ../build/NEWS:2724 msgid "" "`bpo-26389 `__: The :func:`traceback." "format_exception`, :func:`traceback.format_exception_only`, and :func:" "`traceback.print_exception` functions can now take an exception object as a " "positional-only argument." msgstr "" #: ../build/NEWS:2729 msgid "" "`bpo-41889 `__: Enum: fix regression " "involving inheriting a multiply-inherited enum" msgstr "" #: ../build/NEWS:2732 msgid "" "`bpo-41861 `__: Convert :mod:`sqlite3` " "to use heap types (PEP 384). Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:2735 msgid "" "`bpo-40624 `__: Added support for the " "XPath ``!=`` operator in xml.etree" msgstr "" #: ../build/NEWS:2737 msgid "" "`bpo-28850 `__: Fix :meth:`pprint." "PrettyPrinter.format` overrides being ignored for contents of small " "containers. The :func:`pprint._safe_repr` function was removed." msgstr "" #: ../build/NEWS:2741 msgid "" "`bpo-41625 `__: Expose the :c:func:" "`splice` as :func:`os.splice` in the :mod:`os` module. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:2744 msgid "" "`bpo-34215 `__: Clarify the error " "message for :exc:`asyncio.IncompleteReadError` when ``expected`` is ``None``." msgstr "" #: ../build/NEWS:2747 msgid "" "`bpo-41543 `__: Add async context " "manager support for contextlib.nullcontext." msgstr "" #: ../build/NEWS:2749 msgid "" "`bpo-21041 `__: :attr:`pathlib.PurePath." "parents` now supports negative indexing. Patch contributed by Yaroslav " "Pankovych." msgstr "" #: ../build/NEWS:2752 msgid "" "`bpo-41332 `__: Added missing " "connect_accepted_socket() method to ``asyncio.AbstractEventLoop``." msgstr "" #: ../build/NEWS:2755 msgid "" "`bpo-12800 `__: Extracting a symlink " "from a tarball should succeed and overwrite the symlink if it already " "exists. The fix is to remove the existing file or symlink before extraction. " "Based on patch by Chris AtLee, Jeffrey Kintscher, and Senthil Kumaran." msgstr "" #: ../build/NEWS:2760 msgid "" "`bpo-40968 `__: :mod:`urllib.request` " "and :mod:`http.client` now send ``http/1.1`` ALPN extension during TLS " "handshake when no custom context is supplied." msgstr "" #: ../build/NEWS:2764 msgid "" "`bpo-41001 `__: Add func:`os.eventfd` to " "provide a low level interface for Linux's event notification file descriptor." msgstr "" #: ../build/NEWS:2767 msgid "" "`bpo-40816 `__: Add " "AsyncContextDecorator to contextlib to support async context manager as a " "decorator." msgstr "" #: ../build/NEWS:2770 msgid "" "`bpo-40550 `__: Fix time-of-check/time-" "of-action issue in subprocess.Popen.send_signal." msgstr "" #: ../build/NEWS:2773 msgid "" "`bpo-39411 `__: Add an ``is_async`` " "identifier to :mod:`pyclbr`'s ``Function`` objects. Patch by Batuhan Taskaya" msgstr "" #: ../build/NEWS:2776 msgid "" "`bpo-35498 `__: Add slice support to :" "attr:`pathlib.PurePath.parents`." msgstr "" #: ../build/NEWS:2781 msgid "" "`bpo-42238 `__: Tentative to deprecate " "``make suspicious`` by first removing it from the CI and documentation " "builds, but keeping it around for manual uses." msgstr "" #: ../build/NEWS:2785 msgid "" "`bpo-42153 `__: Fix the URL for the IMAP " "protocol documents." msgstr "" #: ../build/NEWS:2787 msgid "" "`bpo-41028 `__: Language and version " "switchers, previously maintained in every cpython branches, are now handled " "by docsbuild-script." msgstr "" #: ../build/NEWS:2793 msgid "" "`bpo-41473 `__: Reenable test_gdb on gdb " "9.2 and newer: https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is " "fixed in gdb 10.1." msgstr "" #: ../build/NEWS:2797 msgid "" "`bpo-42553 `__: Fix ``test_asyncio." "test_call_later()`` race condition: don't measure asyncio performance in the " "``call_later()`` unit test. The test failed randomly on the CI." msgstr "" #: ../build/NEWS:2801 msgid "" "`bpo-31904 `__: Fix test_netrc on " "VxWorks: create temporary directories using temp_cwd()." msgstr "" #: ../build/NEWS:2804 msgid "" "`bpo-31904 `__: skip " "test_getaddrinfo_ipv6_scopeid_symbolic and " "test_getnameinfo_ipv6_scopeid_symbolic on VxWorks" msgstr "" #: ../build/NEWS:2807 msgid "" "`bpo-31904 `__: skip test_test of " "test_mailcap on VxWorks" msgstr "" #: ../build/NEWS:2809 msgid "" "`bpo-31904 `__: add shell requirement " "for test_pipes" msgstr "" #: ../build/NEWS:2811 msgid "" "`bpo-31904 `__: skip some tests related " "to fifo on VxWorks" msgstr "" #: ../build/NEWS:2813 msgid "" "`bpo-31904 `__: Fix test_doctest.py " "failures for VxWorks." msgstr "" #: ../build/NEWS:2815 msgid "" "`bpo-40754 `__: Include " "``_testinternalcapi`` module in Windows installer for test suite" msgstr "" #: ../build/NEWS:2818 msgid "" "`bpo-41561 `__: test_ssl: skip " "test_min_max_version_mismatch when TLS 1.0 is not available" msgstr "" #: ../build/NEWS:2821 msgid "" "`bpo-31904 `__: Fix os module failures " "for VxWorks RTOS." msgstr "" #: ../build/NEWS:2823 msgid "" "`bpo-31904 `__: Fix fifo test cases for " "VxWorks RTOS." msgstr "" #: ../build/NEWS:2828 msgid "" "`bpo-31904 `__: remove libnet dependency " "from detect_socket() for VxWorks" msgstr "" #: ../build/NEWS:2830 msgid "" "`bpo-42398 `__: Fix a race condition in " "\"make regen-all\" when make -jN option is used to run jobs in parallel. The " "clinic.py script now only use atomic write to write files. Moveover, " "generated files are now left unchanged if the content does not change, to " "not change the file modification time." msgstr "" #: ../build/NEWS:2835 msgid "" "`bpo-41617 `__: Fix building " "``pycore_bitutils.h`` internal header on old clang version without " "``__builtin_bswap16()`` (ex: Xcode 4.6.3 on Mac OS X 10.7). Patch by Joshua " "Root and Victor Stinner." msgstr "" #: ../build/NEWS:2839 msgid "" "`bpo-38823 `__: It is no longer possible " "to build the ``_ctypes`` extension module without :c:type:`wchar_t` type: " "remove ``CTYPES_UNICODE`` macro. Anyway, the :c:type:`wchar_t` type is " "required to build Python. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2844 msgid "" "`bpo-42087 `__: Support was removed for " "AIX 5.3 and below. See :issue:`40680`." msgstr "" #: ../build/NEWS:2846 msgid "" "`bpo-40998 `__: Addressed three compiler " "warnings found by undefined behavior sanitizer (ubsan)." msgstr "" #: ../build/NEWS:2852 msgid "" "`bpo-42120 `__: Remove macro definition " "of ``copysign`` (to ``_copysign``) in headers." msgstr "" #: ../build/NEWS:2855 msgid "" "`bpo-38506 `__: The Windows launcher now " "properly handles Python 3.10 when listing installed Python versions." msgstr "" #: ../build/NEWS:2861 msgid "" "`bpo-42504 `__: Fix build on macOS Big " "Sur when MACOSX_DEPLOYMENT_TARGET=11" msgstr "" #: ../build/NEWS:2863 msgid "" "`bpo-41116 `__: Ensure distutils." "unixxcompiler.find_library_file can find system provided libraries on macOS " "11." msgstr "" #: ../build/NEWS:2866 msgid "" "`bpo-41100 `__: Add support for macOS 11 " "and Apple Silicon systems." msgstr "" #: ../build/NEWS:2868 msgid "" "It is now possible to build \"Universal 2\" binaries using \"--enable-" "universalsdk --with-universal-archs=universal2\"." msgstr "" #: ../build/NEWS:2871 msgid "" "Binaries build on later macOS versions can be deployed back to older " "versions (tested up to macOS 10.9), when using the correct deployment " "target. This is tested using Xcode 11 and later." msgstr "" #: ../build/NEWS:2875 msgid "" "`bpo-42232 `__: Added Darwin specific " "madvise options to mmap module." msgstr "" #: ../build/NEWS:2877 msgid "" "`bpo-38443 `__: The ``--enable-" "universalsdk`` and ``--with-universal-archs`` options for the configure " "script now check that the specified architectures can be used." msgstr "" #: ../build/NEWS:2884 msgid "" "`bpo-42508 `__: Keep IDLE running on " "macOS. Remove obsolete workaround that prevented running files with " "shortcuts when using new universal2 installers built on macOS 11." msgstr "" #: ../build/NEWS:2888 msgid "" "`bpo-42426 `__: Fix reporting offset of " "the RE error in searchengine." msgstr "" #: ../build/NEWS:2890 msgid "" "`bpo-42415 `__: Get docstrings for IDLE " "calltips more often by using inspect.getdoc." msgstr "" #: ../build/NEWS:2896 msgid "" "`bpo-42212 `__: The smelly.py script now " "also checks the Python dynamic library and extension modules, not only the " "Python static library. Make also the script more verbose: explain what it " "does." msgstr "" #: ../build/NEWS:2900 msgid "" "`bpo-36310 `__: Allow :file:`Tools/i18n/" "pygettext.py` to detect calls to ``gettext`` in f-strings." msgstr "" #: ../build/NEWS:2906 msgid "" "`bpo-42423 `__: The :c:func:" "`PyType_FromSpecWithBases` and :c:func:`PyType_FromModuleAndSpec` functions " "now accept a single class as the *bases* argument." msgstr "" #: ../build/NEWS:2910 msgid "" "`bpo-1635741 `__: Port :mod:`select` " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2913 msgid "" "`bpo-1635741 `__: Port " "_posixsubprocess extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2916 msgid "" "`bpo-1635741 `__: Port _posixshmem " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2919 msgid "" "`bpo-1635741 `__: Port _struct " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2922 msgid "" "`bpo-1635741 `__: Port :mod:`spwd` " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2925 msgid "" "`bpo-1635741 `__: Port :mod:`gc` " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2928 msgid "" "`bpo-1635741 `__: Port _queue " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2931 msgid "" "`bpo-39573 `__: Convert :c:func:" "`Py_TYPE` and :c:func:`Py_SIZE` back to macros to allow using them as an l-" "value. Many third party C extension modules rely on the ability of using " "Py_TYPE() and Py_SIZE() to set an object type and size: ``Py_TYPE(obj) = " "type;`` and ``Py_SIZE(obj) = size;``." msgstr "" #: ../build/NEWS:2936 msgid "" "`bpo-1635741 `__: Port :mod:`symtable` " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2939 msgid "" "`bpo-1635741 `__: Port :mod:`grp` and :" "mod:`pwd` extension modules to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2942 msgid "" "`bpo-1635741 `__: Port _random " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2945 msgid "" "`bpo-1635741 `__: Port _hashlib " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:2948 msgid "" "`bpo-41713 `__: Removed the undocumented " "``PyOS_InitInterrupts()`` function. Initializing Python already implicitly " "installs signal handlers: see :c:member:`PyConfig.install_signal_handlers`. " "Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2952 msgid "" "`bpo-40170 `__: The " "``Py_TRASHCAN_BEGIN`` macro no longer accesses PyTypeObject attributes, but " "now can get the condition by calling the new private :c:func:" "`_PyTrash_cond()` function which hides implementation details." msgstr "" #: ../build/NEWS:2956 msgid "" "`bpo-42260 `__: :c:func:`Py_GetPath`, :c:" "func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, :c:func:" "`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and :c:func:" "`Py_GetProgramName` functions now return ``NULL`` if called before :c:func:" "`Py_Initialize` (before Python is initialized). Use the new :ref:`Python " "Initialization Configuration API ` to get the :ref:`Python Path " "Configuration. `. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2964 msgid "" "`bpo-42260 `__: The :c:func:" "`PyConfig_Read` function now only parses :c:member:`PyConfig.argv` arguments " "once: :c:member:`PyConfig.parse_argv` is set to ``2`` after arguments are " "parsed. Since Python arguments are strippped from :c:member:`PyConfig.argv`, " "parsing arguments twice would parse the application options as Python " "options." msgstr "" #: ../build/NEWS:2970 msgid "" "`bpo-42262 `__: Added :c:func:" "`Py_NewRef` and :c:func:`Py_XNewRef` functions to increment the reference " "count of an object and return the object. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2974 msgid "" "`bpo-42260 `__: When :c:func:" "`Py_Initialize` is called twice, the second call now updates more :mod:`sys` " "attributes for the configuration, rather than only :data:`sys.argv`. Patch " "by Victor Stinner." msgstr "" #: ../build/NEWS:2978 msgid "" "`bpo-41832 `__: The :c:func:" "`PyType_FromModuleAndSpec` function now accepts NULL ``tp_doc`` slot." msgstr "" #: ../build/NEWS:2981 msgid "" "`bpo-1635741 `__: Added :c:func:" "`PyModule_AddObjectRef` function: similar to :c:func:`PyModule_AddObject` " "but don't steal a reference to the value on success. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:2985 msgid "" "`bpo-42171 `__: The :c:data:" "`METH_FASTCALL` calling convention is added to the limited API. The " "functions :c:func:`PyModule_AddType`, :c:func:`PyType_FromModuleAndSpec`, :" "c:func:`PyType_GetModule` and :c:func:`PyType_GetModuleState` are added to " "the limited API on Windows." msgstr "" #: ../build/NEWS:2990 msgid "" "`bpo-42085 `__: Add dedicated entry to " "PyAsyncMethods for sending values" msgstr "" #: ../build/NEWS:2992 msgid "" "`bpo-41073 `__: :c:func:" "`PyType_GetSlot()` can now accept static types." msgstr "" #: ../build/NEWS:2994 msgid "" "`bpo-30459 `__: :c:func:" "`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and :c:func:`PyCell_SET` " "macros can no longer be used as l-value or r-value. For example, ``x = " "PyList_SET_ITEM(a, b, c)`` and ``PyList_SET_ITEM(a, b, c) = x`` now fail " "with a compiler error. It prevents bugs like ``if (PyList_SET_ITEM (a, b, c) " "< 0) ...`` test. Patch by Zackery Spytz and Victor Stinner." msgstr "" #: ../build/NEWS:3003 msgid "Python 3.10.0 alpha 2" msgstr "" #: ../build/NEWS:3005 msgid "*Release date: 2020-11-03*" msgstr "" #: ../build/NEWS:3010 msgid "" "`bpo-42103 `__: Prevented potential DoS " "attack via CPU and RAM exhaustion when processing malformed Apple Property " "List files in binary format." msgstr "" #: ../build/NEWS:3013 msgid "" "`bpo-42051 `__: The :mod:`plistlib` " "module no longer accepts entity declarations in XML plist files to avoid XML " "vulnerabilities. This should not affect users as entity declarations are not " "used in regular plist files." msgstr "" #: ../build/NEWS:3021 msgid "" "`bpo-42236 `__: If the " "``nl_langinfo(CODESET)`` function returns an empty string, Python now uses " "UTF-8 as the filesystem encoding. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:3025 msgid "" "`bpo-42218 `__: Fixed a bug in the PEG " "parser that was causing crashes in debug mode. Now errors are checked in " "left-recursive rules to avoid cases where such errors do not get handled in " "time and appear as long-distance crashes in other places." msgstr "" #: ../build/NEWS:3030 msgid "" "`bpo-42214 `__: Fixed a possible crash " "in the PEG parser when checking for the '!=' token in the ``barry_as_flufl`` " "rule. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3033 msgid "" "`bpo-42206 `__: Propagate and raise the " "errors caused by :c:func:`PyAST_Validate` in the parser." msgstr "" #: ../build/NEWS:3036 msgid "" "`bpo-41796 `__: The :mod:`ast` module " "internal state is now per interpreter. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:3039 msgid "" "`bpo-42143 `__: Fix handling of errors " "during creation of ``PyFunctionObject``, which resulted in operations on " "uninitialized memory. Patch by Yonatan Goldschmidt." msgstr "" #: ../build/NEWS:3043 msgid "" "`bpo-41659 `__: Fix a bug in the parser, " "where a curly brace following a `primary` didn't fail immediately. This led " "to invalid expressions like `a {b}` to throw a :exc:`SyntaxError` with a " "wrong offset, or invalid expressions ending with a curly brace like `a {` to " "not fail immediately in the REPL." msgstr "" #: ../build/NEWS:3049 msgid "" "`bpo-42150 `__: Fix possible buffer " "overflow in the new parser when checking for continuation lines. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:3052 msgid "" "`bpo-42123 `__: Run the parser two " "times. On the first run, disable all the rules that only generate better " "error messages to gain performance. If there's a parse failure, run the " "parser a second time with those enabled." msgstr "" #: ../build/NEWS:3056 msgid "" "`bpo-42093 `__: The ``LOAD_ATTR`` " "instruction now uses new \"per opcode cache\" mechanism and it is about 36% " "faster now. Patch by Pablo Galindo and Yury Selivanov." msgstr "" #: ../build/NEWS:3060 msgid "" "`bpo-42030 `__: Support for the legacy " "AIX-specific shared library loading support has been removed. All versions " "of AIX since 4.3 have supported and defaulted to using the common Unix " "mechanism instead." msgstr "" #: ../build/NEWS:3064 msgid "" "`bpo-41984 `__: The garbage collector " "now tracks all user-defined classes. Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:3067 msgid "" "`bpo-41993 `__: Fixed potential issues " "with removing not completely initialized module from ``sys.modules`` when " "import fails." msgstr "" #: ../build/NEWS:3070 msgid "" "`bpo-41979 `__: Star-unpacking is now " "allowed for with item's targets in the PEG parser." msgstr "" #: ../build/NEWS:3073 msgid "" "`bpo-41974 `__: Removed special methods " "``__int__``, ``__float__``, ``__floordiv__``, ``__mod__``, ``__divmod__``, " "``__rfloordiv__``, ``__rmod__`` and ``__rdivmod__`` of the :class:`complex` " "class. They always raised a :exc:`TypeError`." msgstr "" #: ../build/NEWS:3078 msgid "" "`bpo-41902 `__: Micro optimization when " "compute :c:member:`~PySequenceMethods.sq_item` and :c:member:" "`~PyMappingMethods.mp_subscript` of :class:`range`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3083 msgid "" "`bpo-41894 `__: When loading a native " "module and a load failure occurs, prevent a possible UnicodeDecodeError when " "not running in a UTF-8 locale by decoding the load error message using the " "current locale's encoding." msgstr "" #: ../build/NEWS:3087 msgid "" "`bpo-41902 `__: Micro optimization for " "range.index if step is 1. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3090 msgid "" "`bpo-41435 `__: Add `sys." "_current_exceptions()` function to retrieve a dictionary mapping each " "thread's identifier to the topmost exception currently active in that thread " "at the time the function is called." msgstr "" #: ../build/NEWS:3094 msgid "" "`bpo-38605 `__: Enable ``from __future__ " "import annotations`` (:pep:`563`) by default. The values found in :attr:" "`__annotations__` dicts are now strings, e.g. ``{\"x\": \"int\"}`` instead " "of ``{\"x\": int}``." msgstr "" #: ../build/NEWS:3101 msgid "" "`bpo-35455 `__: On Solaris, :func:`~time." "thread_time` is now implemented with ``gethrvtime()`` because " "``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` is not always available. Patch by " "Jakub Kulik." msgstr "" #: ../build/NEWS:3105 msgid "" "`bpo-42233 `__: The :func:`repr` of :mod:" "`typing` types containing :ref:`Generic Alias Types ` " "previously did not show the parameterized types in the ``GenericAlias``. " "They have now been changed to do so." msgstr "" #: ../build/NEWS:3110 msgid "" "`bpo-29566 `__: ``binhex.binhex()`` " "consisently writes macOS 9 line endings." msgstr "" #: ../build/NEWS:3112 msgid "" "`bpo-26789 `__: The :class:`logging." "FileHandler` class now keeps a reference to the builtin :func:`open` " "function to be able to open or reopen the file during Python finalization. " "Fix errors like: ``NameError: name 'open' is not defined``. Patch by Victor " "Stinner." msgstr "" #: ../build/NEWS:3117 msgid "" "`bpo-42157 `__: Removed the " "``unicodedata.ucnhash_CAPI`` attribute which was an internal PyCapsule " "object. The related private ``_PyUnicode_Name_CAPI`` structure was moved to " "the internal C API. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:3121 msgid "" "`bpo-42157 `__: Convert the :mod:" "`unicodedata` extension module to the multiphase initialization API (:pep:" "`489`) and convert the ``unicodedata.UCD`` static type to a heap type. Patch " "by Mohamed Koubaa and Victor Stinner." msgstr "" #: ../build/NEWS:3126 msgid "" "`bpo-42146 `__: Fix memory leak in :func:" "`subprocess.Popen` in case an uid (gid) specified in `user` (`group`, " "`extra_groups`) overflows `uid_t` (`gid_t`)." msgstr "" #: ../build/NEWS:3130 msgid "" "`bpo-42103 `__: :exc:`~plistlib." "InvalidFileException` and :exc:`RecursionError` are now the only errors " "caused by loading malformed binary Plist file (previously ValueError and " "TypeError could be raised in some specific cases)." msgstr "" #: ../build/NEWS:3135 msgid "" "`bpo-41490 `__: In ``importlib." "resources``, ``.path`` method is more aggressive about releasing handles to " "zipfile objects early, enabling use-cases like certifi to leave the context " "open but delete the underlying zip file." msgstr "" #: ../build/NEWS:3139 msgid "" "`bpo-41052 `__: Pickling heap types " "implemented in C with protocols 0 and 1 raises now an error instead of " "producing incorrect data." msgstr "" #: ../build/NEWS:3142 msgid "" "`bpo-42089 `__: In ``importlib.metadata." "PackageNotFoundError``, make reference to the package metadata being missing " "to improve the user experience." msgstr "" #: ../build/NEWS:3145 msgid "" "`bpo-41491 `__: plistlib: fix parsing " "XML plists with hexadecimal integer values" msgstr "" #: ../build/NEWS:3148 msgid "" "`bpo-42065 `__: Fix an incorrectly " "formatted error from :meth:`_codecs.charmap_decode` when called with a " "mapped value outside the range of valid Unicode code points. PR by Max " "Bernstein." msgstr "" #: ../build/NEWS:3152 msgid "" "`bpo-41966 `__: Fix pickling pure " "Python :class:`datetime.time` subclasses. Patch by Dean Inwood." msgstr "" #: ../build/NEWS:3155 msgid "" "`bpo-19270 `__: :meth:`sched.scheduler." "cancel()` will now cancel the correct event, if two events with same " "priority are scheduled for the same time. Patch by Bar Harel." msgstr "" #: ../build/NEWS:3159 msgid "" "`bpo-28660 `__: :func:`textwrap.wrap` " "now attempts to break long words after hyphens when " "``break_long_words=True`` and ``break_on_hyphens=True``." msgstr "" #: ../build/NEWS:3162 msgid "" "`bpo-35823 `__: Use ``vfork()`` instead " "of ``fork()`` for :func:`subprocess.Popen` on Linux to improve performance " "in cases where it is deemed safe." msgstr "" #: ../build/NEWS:3166 msgid "" "`bpo-42043 `__: Add support for " "``zipfile.Path`` inheritance. ``zipfile.Path.is_file()`` now returns False " "for non-existent names. ``zipfile.Path`` objects now expose a ``.filename`` " "attribute and rely on that to resolve ``.name`` and ``.parent`` when the " "``Path`` object is at the root of the zipfile." msgstr "" #: ../build/NEWS:3172 msgid "" "`bpo-42021 `__: Fix possible ref leaks " "in :mod:`sqlite3` module init." msgstr "" #: ../build/NEWS:3174 msgid "" "`bpo-39101 `__: Fixed tests using " "IsolatedAsyncioTestCase from hanging on BaseExceptions." msgstr "" #: ../build/NEWS:3177 msgid "" "`bpo-41976 `__: Fixed a bug that was " "causing :func:`ctypes.util.find_library` to return ``None`` when triying to " "locate a library in an environment when gcc>=9 is available and ``ldconfig`` " "is not. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:3181 msgid "" "`bpo-41943 `__: Fix bug where TestCase." "assertLogs doesn't correctly filter messages by level." msgstr "" #: ../build/NEWS:3184 msgid "" "`bpo-41923 `__: Implement :pep:`613`, " "introducing :data:`typing.TypeAlias` annotation." msgstr "" #: ../build/NEWS:3187 msgid "" "`bpo-41905 `__: A new function in abc: " "*update_abstractmethods* to re-calculate an abstract class's abstract " "status. In addition, *dataclass* has been changed to call this function." msgstr "" #: ../build/NEWS:3191 msgid "" "`bpo-23706 `__: Added *newline* " "parameter to ``pathlib.Path.write_text()``." msgstr "" #: ../build/NEWS:3193 msgid "" "`bpo-41876 `__: Tkinter font class repr " "uses font name" msgstr "" #: ../build/NEWS:3195 msgid "" "`bpo-41831 `__: ``str()`` for the " "``type`` attribute of the ``tkinter.Event`` object always returns now the " "numeric code returned by Tk instead of the name of the event type." msgstr "" #: ../build/NEWS:3199 msgid "" "`bpo-39337 `__: :func:`encodings." "normalize_encoding` now ignores non-ASCII characters." msgstr "" #: ../build/NEWS:3202 msgid "" "`bpo-41747 `__: Ensure all methods that " "generated from :func:`dataclasses.dataclass` objects now have the proper " "``__qualname__`` attribute referring to the class they belong to. Patch by " "Batuhan Taskaya." msgstr "" #: ../build/NEWS:3206 msgid "" "`bpo-30681 `__: Handle exceptions caused " "by unparseable date headers when using email \"default\" policy. Patch by " "Tim Bell, Georges Toth" msgstr "" #: ../build/NEWS:3209 msgid "" "`bpo-41586 `__: Add F_SETPIPE_SZ and " "F_GETPIPE_SZ to fcntl module. Allow setting pipesize on subprocess.Popen." msgstr "" #: ../build/NEWS:3212 msgid "" "`bpo-41229 `__: Add ``contextlib." "aclosing`` for deterministic cleanup of async generators which is analogous " "to ``contextlib.closing`` for non-async generators. Patch by Joongi Kim and " "John Belmonte." msgstr "" #: ../build/NEWS:3216 msgid "" "`bpo-16396 `__: Allow ``ctypes." "wintypes`` to be imported on non-Windows systems." msgstr "" #: ../build/NEWS:3219 msgid "" "`bpo-4356 `__: Add a key function to the " "bisect module." msgstr "" #: ../build/NEWS:3221 msgid "" "`bpo-40592 `__: :func:`shutil.which` now " "ignores empty entries in :envvar:`PATHEXT` instead of treating them as a " "match." msgstr "" #: ../build/NEWS:3224 msgid "" "`bpo-40492 `__: Fix ``--outfile`` for :" "mod:`cProfile` / :mod:`profile` not writing the output file in the original " "directory when the program being profiled changes the working directory. PR " "by Anthony Sottile." msgstr "" #: ../build/NEWS:3228 msgid "" "`bpo-34204 `__: The :mod:`shelve` module " "now uses :data:`pickle.DEFAULT_PROTOCOL` by default instead of :mod:`pickle` " "protocol ``3``." msgstr "" #: ../build/NEWS:3232 msgid "" "`bpo-27321 `__: Fixed KeyError exception " "when flattening an email to a string attempts to replace a non-existent " "Content-Transfer-Encoding header." msgstr "" #: ../build/NEWS:3235 msgid "" "`bpo-38976 `__: The :mod:`http." "cookiejar` module now supports the parsing of cookies in CURL-style " "cookiejar files through MozillaCookieJar on all platforms. Previously, such " "cookie entries would be silently ignored when loading a cookiejar with such " "entries." msgstr "" #: ../build/NEWS:3240 msgid "" "Additionally, the HTTP Only attribute is persisted in the object, and will " "be correctly written to file if the MozillaCookieJar object is subsequently " "dumped." msgstr "" #: ../build/NEWS:3247 msgid "" "`bpo-42061 `__: Document __format__ " "functionality for IP addresses." msgstr "" #: ../build/NEWS:3249 msgid "" "`bpo-41910 `__: Document the default " "implementation of `object.__eq__`." msgstr "" #: ../build/NEWS:3251 msgid "" "`bpo-42010 `__: Clarify that " "subscription expressions are also valid for certain :term:`classes ` " "and :term:`types ` in the standard library, and for user-defined " "classes and types if the classmethod :meth:`__class_getitem__` is provided." msgstr "" #: ../build/NEWS:3256 msgid "" "`bpo-41805 `__: Documented :ref:`generic " "alias type ` and :data:`types.GenericAlias`. Also added " "an entry in glossary for :term:`generic types `." msgstr "" #: ../build/NEWS:3260 msgid "" "`bpo-39693 `__: Fix tarfile's " "extractfile documentation" msgstr "" #: ../build/NEWS:3262 msgid "" "`bpo-39416 `__: Document some " "restrictions on the default string representations of numeric classes." msgstr "" #: ../build/NEWS:3268 msgid "" "`bpo-41739 `__: Fix test_logging." "test_race_between_set_target_and_flush(): the test now waits until all " "threads complete to avoid leaking running threads." msgstr "" #: ../build/NEWS:3272 msgid "" "`bpo-41970 `__: Avoid a test failure in " "``test_lib2to3`` if the module has already imported at the time the test " "executes. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3275 msgid "" "`bpo-41944 `__: Tests for CJK codecs no " "longer call ``eval()`` on content received via HTTP." msgstr "" #: ../build/NEWS:3278 msgid "" "`bpo-41306 `__: Fixed a failure in " "``test_tk.test_widgets.ScaleTest`` happening when executing the test with Tk " "8.6.10." msgstr "" #: ../build/NEWS:3284 msgid "" "`bpo-38980 `__: Add ``-fno-semantic-" "interposition`` to both the compile and link line when building with ``--" "enable-optimizations``. Patch by Victor Stinner and Pablo Galindo." msgstr "" #: ../build/NEWS:3291 msgid "" "`bpo-38439 `__: Updates the icons for " "IDLE in the Windows Store package." msgstr "" #: ../build/NEWS:3293 msgid "" "`bpo-38252 `__: Use 8-byte step to " "detect ASCII sequence in 64-bit Windows build." msgstr "" #: ../build/NEWS:3296 msgid "" "`bpo-39107 `__: Update Tcl and Tk to " "8.6.10 in Windows installer." msgstr "" #: ../build/NEWS:3298 msgid "" "`bpo-41557 `__: Update Windows installer " "to use SQLite 3.33.0." msgstr "" #: ../build/NEWS:3300 msgid "" "`bpo-38324 `__: Avoid Unicode errors " "when accessing certain locale data on Windows." msgstr "" #: ../build/NEWS:3306 msgid "" "`bpo-41471 `__: Ignore invalid prefix " "lengths in system proxy excludes." msgstr "" #: ../build/NEWS:3311 msgid "" "`bpo-33987 `__: Mostly finish using ttk " "widgets, mainly for editor, settings, and searches. Some patches by Mark " "Roseman." msgstr "" #: ../build/NEWS:3314 msgid "" "`bpo-40511 `__: Typing opening and " "closing parentheses inside the parentheses of a function call will no longer " "cause unnecessary \"flashing\" off and on of an existing open call-tip, e.g. " "when typed in a string literal." msgstr "" #: ../build/NEWS:3318 msgid "" "`bpo-38439 `__: Add a 256×256 pixel IDLE " "icon to the Windows .ico file. Created by Andrew Clover. Remove the low-" "color gif variations from the .ico file." msgstr "" #: ../build/NEWS:3324 msgid "" "`bpo-42157 `__: The private " "``_PyUnicode_Name_CAPI`` structure of the PyCapsule API ``unicodedata." "ucnhash_CAPI`` has been moved to the internal C API. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:3328 msgid "" "`bpo-42015 `__: Fix potential crash in " "deallocating method objects when dynamically allocated `PyMethodDef`'s " "lifetime is managed through the ``self`` argument of a `PyCFunction`." msgstr "" #: ../build/NEWS:3332 msgid "" "`bpo-40423 `__: The :mod:`subprocess` " "module and ``os.closerange`` will now use the ``close_range(low, high, " "flags)`` syscall when it is available for more efficient closing of ranges " "of descriptors." msgstr "" #: ../build/NEWS:3336 msgid "" "`bpo-41845 `__: :c:func:" "`PyObject_GenericGetDict` is available again in the limited API when " "targeting 3.10 or later." msgstr "" #: ../build/NEWS:3339 msgid "" "`bpo-40422 `__: Add `_Py_closerange` " "function to provide performant closing of a range of file descriptors." msgstr "" #: ../build/NEWS:3342 msgid "" "`bpo-41986 `__: :c:data:" "`Py_FileSystemDefaultEncodeErrors` and :c:data:`Py_UTF8Mode` are available " "again in limited API." msgstr "" #: ../build/NEWS:3345 msgid "" "`bpo-41756 `__: Add `PyIter_Send` " "function to allow sending value into generator/coroutine/iterator without " "raising StopIteration exception to signal return." msgstr "" #: ../build/NEWS:3349 msgid "" "`bpo-41784 `__: Added " "``PyUnicode_AsUTF8AndSize`` to the limited C API." msgstr "" #: ../build/NEWS:3353 msgid "Python 3.10.0 alpha 1" msgstr "" #: ../build/NEWS:3355 msgid "*Release date: 2020-10-05*" msgstr "" #: ../build/NEWS:3360 msgid "" "`bpo-41304 `__: Fixes `python3x._pth` " "being ignored on Windows, caused by the fix for :issue:`29778` " "(CVE-2020-15801)." msgstr "" #: ../build/NEWS:3363 msgid "" "`bpo-41162 `__: Audit hooks are now " "cleared later during finalization to avoid missing events." msgstr "" #: ../build/NEWS:3366 msgid "" "`bpo-29778 `__: Ensure :file:`python3." "dll` is loaded from correct locations when Python is embedded " "(CVE-2020-15523)." msgstr "" #: ../build/NEWS:3369 msgid "" "`bpo-41004 `__: The __hash__() methods " "of ipaddress.IPv4Interface and ipaddress.IPv6Interface incorrectly " "generated constant hash values of 32 and 128 respectively. This resulted in " "always causing hash collisions. The fix uses hash() to generate hash values " "for the tuple of (address, mask length, network address)." msgstr "" #: ../build/NEWS:3375 msgid "" "`bpo-39603 `__: Prevent http header " "injection by rejecting control characters in http.client.putrequest(...)." msgstr "" #: ../build/NEWS:3381 msgid "" "`bpo-41909 `__: Fixed stack overflow in :" "func:`issubclass` and :func:`isinstance` when getting the ``__bases__`` " "attribute leads to infinite recursion." msgstr "" #: ../build/NEWS:3385 msgid "" "`bpo-41922 `__: Speed up calls to " "``reversed()`` by using the :pep:`590` ``vectorcall`` calling convention. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3388 msgid "" "`bpo-41873 `__: Calls to ``float()`` are " "now faster due to the ``vectorcall`` calling convention. Patch by Dennis " "Sweeney." msgstr "" #: ../build/NEWS:3391 msgid "" "`bpo-41870 `__: Speed up calls to " "``bool()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:3394 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_bisect` module to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:3397 msgid "" "`bpo-39934 `__: Correctly count control " "blocks in 'except' in compiler. Ensures that a syntax error, rather a fatal " "error, occurs for deeply nested, named exception handlers." msgstr "" #: ../build/NEWS:3401 msgid "" "`bpo-41780 `__: Fix :meth:`__dir__` of :" "class:`types.GenericAlias`. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:3404 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_lsprof` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3407 msgid "" "`bpo-1635741 `__: Port the :mod:" "`cmath` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3410 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_scproxy` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3413 msgid "" "`bpo-1635741 `__: Port the :mod:" "`termios` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3416 msgid "" "`bpo-1635741 `__: Convert the :mod:" "`_sha256` extension module types to heap types." msgstr "" #: ../build/NEWS:3419 msgid "" "`bpo-41690 `__: Fix a possible stack " "overflow in the parser when parsing functions and classes with a huge " "ammount of arguments. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3423 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_overlapped` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3426 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_curses_panel` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3429 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_opcode` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3432 msgid "" "`bpo-41681 `__: Fixes the wrong error " "description in the error raised by using 2 `,` in format string in f-string " "and :meth:`str.format`." msgstr "" #: ../build/NEWS:3435 msgid "" "`bpo-41675 `__: The implementation of :" "func:`signal.siginterrupt` now uses :c:func:`sigaction` (if it is available " "in the system) instead of the deprecated :c:func:`siginterrupt`. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:3439 msgid "" "`bpo-41670 `__: Prevent line trace being " "skipped on platforms not compiled with ``USE_COMPUTED_GOTOS``. Fixes issue " "where some lines nested within a try-except block were not being traced on " "Windows." msgstr "" #: ../build/NEWS:3443 msgid "" "`bpo-41654 `__: Fix a crash that " "occurred when destroying subclasses of :class:`MemoryError`. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:3446 msgid "" "`bpo-1635741 `__: Port the :mod:`zlib` " "extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3449 msgid "" "`bpo-41631 `__: The ``_ast`` module uses " "again a global state. Using a module state per module instance is causing " "subtle practical problems. For example, the Mercurial project replaces the " "``__import__()`` function to implement lazy import, whereas Python expected " "that ``import _ast`` always return a fully initialized ``_ast`` module." msgstr "" #: ../build/NEWS:3455 msgid "" "`bpo-40077 `__: Convert :mod:`_operator` " "to use :c:func:`PyType_FromSpec`." msgstr "" #: ../build/NEWS:3457 msgid "" "`bpo-1653741 `__: Port :mod:`_sha3` to " "multi-phase init. Convert static types to heap types." msgstr "" #: ../build/NEWS:3460 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_blake2` extension module to the multi-phase initialization API (:pep:" "`489`)." msgstr "" #: ../build/NEWS:3463 msgid "" "`bpo-41533 `__: Free the stack allocated " "in ``va_build_stack`` if ``do_mkstack`` fails and the stack is not a " "``small_stack``." msgstr "" #: ../build/NEWS:3466 msgid "" "`bpo-41531 `__: Fix a bug that was " "dropping keys when compiling dict literals with more than 0xFFFF elements. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3469 msgid "" "`bpo-41525 `__: The output of ``python --" "help`` contains now only ASCII characters." msgstr "" #: ../build/NEWS:3472 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_sha1`, :mod:`_sha512`, and :mod:`_md5` extension modules to multi-phase " "initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:3475 msgid "" "`bpo-41431 `__: Optimize " "``dict_merge()`` for copying dict (e.g. ``dict(d)`` and ``{}.update(d)``)." msgstr "" #: ../build/NEWS:3478 msgid "" "`bpo-41428 `__: Implement PEP 604. This " "supports (int | str) etc. in place of Union[str, int]." msgstr "" #: ../build/NEWS:3481 msgid "" "`bpo-41340 `__: Removed fallback " "implementation for ``strdup``." msgstr "" #: ../build/NEWS:3483 msgid "" "`bpo-38156 `__: Handle interrupts that " "come after EOF correctly in ``PyOS_StdioReadline``." msgstr "" #: ../build/NEWS:3486 msgid "" "`bpo-41342 `__: :func:`round` with " "integer argument is now faster (9--60%)." msgstr "" #: ../build/NEWS:3488 msgid "" "`bpo-41334 `__: Constructors :func:" "`str`, :func:`bytes` and :func:`bytearray` are now faster (around 30--40% " "for small objects)." msgstr "" #: ../build/NEWS:3491 msgid "" "`bpo-41295 `__: Resolve a regression in " "CPython 3.8.4 where defining \"__setattr__\" in a multi-inheritance setup " "and calling up the hierarchy chain could fail if builtins/extension types " "were involved in the base types." msgstr "" #: ../build/NEWS:3496 msgid "" "`bpo-41323 `__: Bytecode optimizations " "are performed directly on the control flow graph. This will result in " "slightly more compact code objects in some circumstances." msgstr "" #: ../build/NEWS:3500 msgid "" "`bpo-41247 `__: Always cache the running " "loop holder when running ``asyncio.set_running_loop``." msgstr "" #: ../build/NEWS:3503 msgid "" "`bpo-41252 `__: Fix incorrect " "refcounting in _ssl.c's ``_servername_callback()``." msgstr "" #: ../build/NEWS:3506 msgid "" "`bpo-1635741 `__: Port :mod:" "`multiprocessing` to multi-phase initialization" msgstr "" #: ../build/NEWS:3508 msgid "" "`bpo-1635741 `__: Port :mod:`winapi` " "to multiphase initialization" msgstr "" #: ../build/NEWS:3510 msgid "" "`bpo-41215 `__: Use non-NULL default " "values in the PEG parser keyword list to overcome a bug that was preventing " "Python from being properly compiled when using the XLC compiler. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:3514 msgid "" "`bpo-41218 `__: Python 3.8.3 had a " "regression where compiling with ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would " "aggressively mark list comprehension with CO_COROUTINE. Now only list " "comprehension making use of async/await will tagged as so." msgstr "" #: ../build/NEWS:3519 msgid "" "`bpo-1635741 `__: Port :mod:" "`faulthandler` to multiphase initialization." msgstr "" #: ../build/NEWS:3521 msgid "" "`bpo-1635741 `__: Port :mod:`sha256` " "to multiphase initialization" msgstr "" #: ../build/NEWS:3523 msgid "" "`bpo-41175 `__: Guard against a NULL " "pointer dereference within bytearrayobject triggered by the ``bytearray() + " "bytearray()`` operation." msgstr "" #: ../build/NEWS:3526 msgid "" "`bpo-41100 `__: add arm64 to the " "allowable Mac OS arches in mpdecimal.h" msgstr "" #: ../build/NEWS:3528 msgid "" "`bpo-41094 `__: Fix decoding errors with " "audit when open files with non-ASCII names on non-UTF-8 locale." msgstr "" #: ../build/NEWS:3531 msgid "" "`bpo-39960 `__: The \"hackcheck\" that " "prevents sneaking around a type's __setattr__() by calling the superclass " "method was rewritten to allow C implemented heap types." msgstr "" #: ../build/NEWS:3535 msgid "" "`bpo-41084 `__: Prefix the error message " "with 'f-string: ', when parsing an f-string expression which throws a :exc:" "`SyntaxError`." msgstr "" #: ../build/NEWS:3538 msgid "" "`bpo-40521 `__: Empty frozensets are no " "longer singletons." msgstr "" #: ../build/NEWS:3540 msgid "" "`bpo-41076 `__: Pre-feed the parser with " "the location of the f-string expression, not the f-string itself, which " "allows us to skip the shifting of the AST node locations after the parsing " "is completed." msgstr "" #: ../build/NEWS:3544 msgid "" "`bpo-41056 `__: Fixes a reference to " "deallocated stack space during startup when constructing sys.path involving " "a relative symlink when code was supplied via -c. (discovered via Coverity)" msgstr "" #: ../build/NEWS:3548 msgid "" "`bpo-41061 `__: Fix incorrect " "expressions and asserts in hashtable code and tests." msgstr "" #: ../build/NEWS:3551 msgid "" "`bpo-41052 `__: Opt out serialization/" "deserialization for _random.Random" msgstr "" #: ../build/NEWS:3553 msgid "" "`bpo-40939 `__: Rename `PyPegen*` " "functions to `PyParser*`, so that we can remove the old set of `PyParser*` " "functions that were using the old parser, but keep everything backwards-" "compatible." msgstr "" #: ../build/NEWS:3557 msgid "" "`bpo-35975 `__: Stefan Behnel reported " "that cf_feature_version is used even when PyCF_ONLY_AST is not set. This is " "against the intention and against the documented behavior, so it's been " "fixed." msgstr "" #: ../build/NEWS:3561 msgid "" "`bpo-40939 `__: Remove the remaining " "files from the old parser and the :mod:`symbol` module." msgstr "" #: ../build/NEWS:3564 msgid "" "`bpo-40077 `__: Convert :mod:`_bz2` to " "use :c:func:`PyType_FromSpec`." msgstr "" #: ../build/NEWS:3566 msgid "" "`bpo-41006 `__: 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." msgstr "" #: ../build/NEWS:3570 msgid "" "`bpo-40636 `__: :func:`zip` now " "supports :pep:`618`'s ``strict`` parameter, which raises a :exc:`ValueError` " "if the arguments are exhausted at different lengths. Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:3574 msgid "" "`bpo-1635741 `__: Port :mod:`_gdbm` to " "multiphase initialization." msgstr "" #: ../build/NEWS:3576 msgid "" "`bpo-40985 `__: Fix a bug that caused " "the :exc:`SyntaxError` text to be empty when a file ends with a line ending " "in a line continuation character (i.e. backslash). The error text should " "contain the text of the last line." msgstr "" #: ../build/NEWS:3580 msgid "" "`bpo-40958 `__: Fix a possible buffer " "overflow in the PEG parser when gathering information for emitting syntax " "errors. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3583 msgid "" "`bpo-1635741 `__: Port :mod:`_dbm` to " "multiphase initialization." msgstr "" #: ../build/NEWS:3585 msgid "" "`bpo-40957 `__: Fix refleak in " "_Py_fopen_obj() when PySys_Audit() fails" msgstr "" #: ../build/NEWS:3587 msgid "" "`bpo-40950 `__: Add a state to the :mod:" "`nis` module (:pep:`3121`) and apply the multiphase initialization. Patch by " "Dong-hee Na." msgstr "" #: ../build/NEWS:3590 msgid "" "`bpo-40947 `__: The Python :ref:`Path " "Configuration ` now takes :c:member:`PyConfig.platlibdir` " "in account." msgstr "" #: ../build/NEWS:3593 msgid "" "`bpo-40939 `__: Remove the old parser, " "the :mod:`parser` module and all associated support code, command-line " "options and environment variables. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3597 msgid "" "`bpo-40847 `__: Fix a bug where a line " "with only a line continuation character is not considered a blank line at " "tokenizer level. In such cases, more than a single `NEWLINE` token was " "emitted. The old parser was working around the issue, but the new parser " "threw a :exc:`SyntaxError` for valid input due to this. For example, an " "empty line following a line continuation character was interpreted as a :exc:" "`SyntaxError`." msgstr "" #: ../build/NEWS:3604 msgid "" "`bpo-40890 `__: Each dictionary view now " "has a ``mapping`` attribute that provides a :class:`types.MappingProxyType` " "wrapping the original dictionary. Patch contributed by Dennis Sweeney." msgstr "" #: ../build/NEWS:3608 msgid "" "`bpo-40889 `__: Improved the performance " "of symmetric difference operations on dictionary item views. Patch by " "Dennis Sweeney." msgstr "" #: ../build/NEWS:3611 msgid "" "`bpo-40904 `__: Fix possible segfault in " "the new PEG parser when parsing f-string containing yield statements with no " "value (:code:`f\"{yield}\"`). Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:3615 msgid "" "`bpo-40903 `__: Fixed a possible " "segfault in the new PEG parser when producing error messages for invalid " "assignments of the form :code:`p=p=`. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:3619 msgid "" "`bpo-40880 `__: Fix invalid memory read " "in the new parser when checking newlines in string literals. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:3622 msgid "" "`bpo-40883 `__: Fix memory leak in when " "parsing f-strings in the new parser. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:3625 msgid "" "`bpo-40870 `__: Raise :exc:`ValueError` " "when validating custom AST's where the constants ``True``, ``False`` and " "``None`` are used within a :class:`ast.Name` node." msgstr "" #: ../build/NEWS:3629 msgid "" "`bpo-40854 `__: Allow overriding :data:" "`sys.platlibdir` via a new :envvar:`PYTHONPLATLIBDIR` environment variable." msgstr "" #: ../build/NEWS:3632 msgid "" "`bpo-40826 `__: Fix GIL usage in :c:func:" "`PyOS_Readline`: lock the GIL to set an exception and pass the Python thread " "state when checking if there is a pending signal." msgstr "" #: ../build/NEWS:3636 msgid "" "`bpo-1635741 `__: Port :mod:`fcntl` to " "multiphase initialization." msgstr "" #: ../build/NEWS:3638 msgid "" "`bpo-19468 `__: Delete unnecessary " "instance check in importlib.reload(). Patch by Furkan Önder." msgstr "" #: ../build/NEWS:3641 msgid "" "`bpo-40824 `__: Unexpected errors in " "calling the ``__iter__`` method are no longer masked by ``TypeError`` in " "the :keyword:`in` operator and functions :func:`~operator.contains`, :func:" "`~operator.indexOf` and :func:`~operator.countOf` of the :mod:`operator` " "module." msgstr "" #: ../build/NEWS:3646 msgid "" "`bpo-40792 `__: Attributes ``start``, " "``stop`` and ``step`` of the :class:`range` object now always has exact " "type :class:`int`. Previously, they could have been an instance of a " "subclass of ``int``." msgstr "" #: ../build/NEWS:3650 msgid "" "`bpo-40780 `__: Fix a corner case where " "g-style string formatting of a float failed to remove trailing zeros." msgstr "" #: ../build/NEWS:3653 msgid "" "`bpo-38964 `__: When there's a :exc:" "`SyntaxError` in the expression part of an fstring, the filename attribute " "of the :exc:`SyntaxError` gets correctly set to the name of the file the " "fstring resides in." msgstr "" #: ../build/NEWS:3657 msgid "" "`bpo-40750 `__: Support the \"-d\" debug " "flag in the new PEG parser. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:3660 msgid "" "`bpo-40217 `__: Instances of types " "created with :c:func:`PyType_FromSpecWithBases` will no longer automatically " "visit their class object when traversing references in the garbage " "collector. The user is expected to manually visit the object's class. Patch " "by Pablo Galindo." msgstr "" #: ../build/NEWS:3666 msgid "" "`bpo-39573 `__: :c:func:`Py_TYPE()` is " "changed to the inline static function. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3669 msgid "" "`bpo-40696 `__: Fix a hang that can " "arise after :meth:`generator.throw` due to a cycle in the exception context " "chain." msgstr "" #: ../build/NEWS:3672 msgid "" "`bpo-40521 `__: Each interpreter now its " "has own free lists, singletons and caches:" msgstr "" #: ../build/NEWS:3675 msgid "" "Free lists: float, tuple, list, dict, frame, context, asynchronous " "generator, MemoryError." msgstr "" #: ../build/NEWS:3677 msgid "" "Singletons: empty tuple, empty bytes string, empty Unicode string, single " "byte character, single Unicode (latin1) character." msgstr "" #: ../build/NEWS:3679 msgid "Slice cache." msgstr "" #: ../build/NEWS:3681 msgid "They are no longer shared by all interpreters." msgstr "" #: ../build/NEWS:3683 msgid "" "`bpo-40679 `__: Certain :exc:`TypeError` " "messages about missing or extra arguments now include the function's :term:" "`qualified name`. Patch by Dennis Sweeney." msgstr "" #: ../build/NEWS:3687 msgid "" "`bpo-29590 `__: Make the stack trace " "correct after calling :meth:`generator.throw` on a generator that has " "yielded from a ``yield from``." msgstr "" #: ../build/NEWS:3691 msgid "" "`bpo-4022 `__: Improve performance of " "generators by not raising internal StopIteration." msgstr "" #: ../build/NEWS:3694 msgid "" "`bpo-1635741 `__: Port :mod:`mmap` to " "multiphase initialization." msgstr "" #: ../build/NEWS:3696 msgid "" "`bpo-1635741 `__: Port :mod:`_lzma` to " "multiphase initialization." msgstr "" #: ../build/NEWS:3698 msgid "" "`bpo-37999 `__: Builtin and extension " "functions that take integer arguments no longer accept :class:`~decimal." "Decimal`\\ s, :class:`~fractions.Fraction`\\ s and other objects that can be " "converted to integers only with a loss (e.g. that have the :meth:`~object." "__int__` method but do not have the :meth:`~object.__index__` method)." msgstr "" #: ../build/NEWS:3704 msgid "" "`bpo-29882 `__: Add :meth:`int." "bit_count()`, counting the number of ones in the binary representation of an " "integer. Patch by Niklas Fiekas." msgstr "" #: ../build/NEWS:3707 msgid "" "`bpo-36982 `__: Use ncurses extended " "color functions when available to support terminals with 256 colors, and add " "the new function :func:`curses.has_extended_color_support` to indicate " "whether extended color support is provided by the underlying ncurses library." msgstr "" #: ../build/NEWS:3712 msgid "" "`bpo-19569 `__: Add the private macros " "``_Py_COMP_DIAG_PUSH``, ``_Py_COMP_DIAG_IGNORE_DEPR_DECLS``, and " "``_Py_COMP_DIAG_POP``." msgstr "" #: ../build/NEWS:3715 msgid "" "`bpo-26680 `__: The int type now " "supports the x.is_integer() method for compatibility with float." msgstr "" #: ../build/NEWS:3721 msgid "" "`bpo-41900 `__: C14N 2.0 serialisation " "in xml.etree.ElementTree failed for unprefixed attributes when a default " "namespace was defined." msgstr "" #: ../build/NEWS:3724 msgid "" "`bpo-41887 `__: Strip leading spaces and " "tabs on :func:`ast.literal_eval`. Also document stripping of spaces and tabs " "for :func:`eval`." msgstr "" #: ../build/NEWS:3727 msgid "" "`bpo-41773 `__: Note in documentation " "that :func:`random.choices` doesn't support non-finite weights, raise :exc:" "`ValueError` when given non-finite weights." msgstr "" #: ../build/NEWS:3731 msgid "" "`bpo-41840 `__: Fix a bug in the :mod:" "`symtable` module that was causing module-scope global variables to not be " "reported as both local and global. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3735 msgid "" "`bpo-41842 `__: Add :func:`codecs." "unregister` function to unregister a codec search function." msgstr "" #: ../build/NEWS:3738 msgid "" "`bpo-40564 `__: In ``zipfile.Path``, " "mutate the passed ZipFile object type instead of making a copy. Prevents " "issues when both the local copy and the caller’s copy attempt to close the " "same file handle." msgstr "" #: ../build/NEWS:3742 msgid "" "`bpo-40670 `__: More reliable validation " "of statements in :class:`timeit.Timer`. It now accepts \"empty\" statements " "(only whitespaces and comments) and rejects misindentent statements." msgstr "" #: ../build/NEWS:3746 msgid "" "`bpo-41833 `__: The :class:`threading." "Thread` constructor now uses the target name if the *target* argument is " "specified but the *name* argument is omitted." msgstr "" #: ../build/NEWS:3750 msgid "" "`bpo-41817 `__: fix `tkinter.EventType` " "Enum so all members are strings, and none are tuples" msgstr "" #: ../build/NEWS:3753 msgid "" "`bpo-41810 `__: :data:`types." "EllipsisType`, :data:`types.NotImplementedType` and :data:`types.NoneType` " "have been reintroduced, providing a new set of types readily interpretable " "by static type checkers." msgstr "" #: ../build/NEWS:3757 msgid "" "`bpo-41815 `__: Fix SQLite3 segfault " "when backing up closed database. Patch contributed by Peter David McCormick." msgstr "" #: ../build/NEWS:3760 msgid "" "`bpo-41816 `__: StrEnum added: it " "ensures that all members are already strings or string candidates" msgstr "" #: ../build/NEWS:3763 msgid "" "`bpo-41517 `__: fix bug allowing Enums " "to be extended via multiple inheritance" msgstr "" #: ../build/NEWS:3765 msgid "" "`bpo-39587 `__: use the correct mix-in " "data type when constructing Enums" msgstr "" #: ../build/NEWS:3767 msgid "" "`bpo-41792 `__: Add is_typeddict " "function to typing.py to check if a type is a TypedDict class" msgstr "" #: ../build/NEWS:3770 msgid "" "Previously there was no way to check that without using private API. See the " "`relevant issue in python/typing `" msgstr "" #: ../build/NEWS:3774 msgid "" "`bpo-41789 `__: Honor `object` overrides " "in `Enum` class creation (specifically, `__str__`, `__repr__`, `__format__`, " "and `__reduce_ex__`)." msgstr "" #: ../build/NEWS:3777 msgid "" "`bpo-32218 `__: `enum.Flag` and `enum." "IntFlag` members are now iterable" msgstr "" #: ../build/NEWS:3779 msgid "" "`bpo-39651 `__: Fix a race condition in " "the ``call_soon_threadsafe()`` method of ``asyncio.ProactorEventLoop``: do " "nothing if the self-pipe socket has been closed." msgstr "" #: ../build/NEWS:3783 msgid "" "`bpo-1635741 `__: Port the ``mashal`` " "extension module to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:3786 msgid "" "`bpo-1635741 `__: Port the ``_string`` " "extension module to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:3789 msgid "" "`bpo-41732 `__: Added an :term:" "`iterator` to :class:`memoryview`." msgstr "" #: ../build/NEWS:3791 msgid "" "`bpo-41720 `__: Fixed :meth:`turtle." "Vec2D.__rmul__` for arguments which are not int or float." msgstr "" #: ../build/NEWS:3794 msgid "" "`bpo-41696 `__: Fix handling of debug " "mode in :func:`asyncio.run`. This allows setting ``PYTHONASYNCIODEBUG`` or " "``-X dev`` to enable asyncio debug mode when using :func:`asyncio.run`." msgstr "" #: ../build/NEWS:3798 msgid "" "`bpo-41687 `__: Fix implementation of " "sendfile to be compatible with Solaris." msgstr "" #: ../build/NEWS:3800 msgid "" "`bpo-41662 `__: No longer override " "exceptions raised in ``__len__()`` of a sequence of parameters in :mod:" "`sqlite3` with :exc:`~sqlite3.ProgrammingError`." msgstr "" #: ../build/NEWS:3804 msgid "" "`bpo-39010 `__: Restarting a " "``ProactorEventLoop`` on Windows no longer logs spurious " "``ConnectionResetErrors``." msgstr "" #: ../build/NEWS:3807 msgid "" "`bpo-41638 `__: :exc:`~sqlite3." "ProgrammingError` message for absent parameter in :mod:`sqlite3` contains " "now the name of the parameter instead of its index when parameters are " "supplied as a dict." msgstr "" #: ../build/NEWS:3811 msgid "" "`bpo-41662 `__: Fixed crash when mutate " "list of parameters during iteration in :mod:`sqlite3`." msgstr "" #: ../build/NEWS:3814 msgid "" "`bpo-41513 `__: Improved the accuracy of " "math.hypot(). Internally, each step is computed with extra precision so " "that the result is now almost always correctly rounded." msgstr "" #: ../build/NEWS:3818 msgid "" "`bpo-41609 `__: The pdb whatis command " "correctly reports instance methods as 'Method' rather than 'Function'." msgstr "" #: ../build/NEWS:3821 msgid "" "`bpo-39994 `__: Fixed pprint's handling " "of dict subclasses that override __repr__." msgstr "" #: ../build/NEWS:3824 msgid "" "`bpo-32751 `__: When cancelling the task " "due to a timeout, :meth:`asyncio.wait_for` will now wait until the " "cancellation is complete also in the case when *timeout* is <= 0, like it " "does with positive timeouts." msgstr "" #: ../build/NEWS:3829 msgid "" "`bpo-37658 `__: :meth:`asyncio.wait_for` " "now properly handles races between cancellation of itself and the completion " "of the wrapped awaitable." msgstr "" #: ../build/NEWS:3832 msgid "" "`bpo-40782 `__: Change the method " "asyncio.AbstractEventLoop.run_in_executor to not be a coroutine." msgstr "" #: ../build/NEWS:3835 msgid "" "`bpo-41520 `__: Fix :mod:`codeop` " "regression that prevented turning compile warnings into errors." msgstr "" #: ../build/NEWS:3838 msgid "" "`bpo-41528 `__: turtle uses math module " "functions to convert degrees to radians and vice versa and to calculate " "vector norm" msgstr "" #: ../build/NEWS:3841 msgid "" "`bpo-41513 `__: Minor algorithmic " "improvement to math.hypot() and math.dist() giving small gains in speed and " "accuracy." msgstr "" #: ../build/NEWS:3844 msgid "" "`bpo-41503 `__: Fixed a race between " "setTarget and flush in logging.handlers.MemoryHandler." msgstr "" #: ../build/NEWS:3847 msgid "" "`bpo-41497 `__: Fix potential " "UnicodeDecodeError in dis module." msgstr "" #: ../build/NEWS:3849 msgid "" "`bpo-41467 `__: On Windows, fix asyncio " "``recv_into()`` return value when the socket/pipe is closed (:exc:" "`BrokenPipeError`): return ``0`` rather than an empty byte string (``b''``)." msgstr "" #: ../build/NEWS:3853 msgid "" "`bpo-41425 `__: Make tkinter doc example " "runnable." msgstr "" #: ../build/NEWS:3855 msgid "" "`bpo-41421 `__: Make an algebraic " "simplification to random.paretovariate(). It now is slightly less subject " "to round-off error and is slightly faster. Inputs that used to cause " "ZeroDivisionError now cause an OverflowError instead." msgstr "" #: ../build/NEWS:3860 msgid "" "`bpo-41440 `__: Add :func:`os." "cpu_count()` support for VxWorks RTOS." msgstr "" #: ../build/NEWS:3862 msgid "" "`bpo-41316 `__: Fix the :mod:`tarfile` " "module to write only basename of TAR file to GZIP compression header." msgstr "" #: ../build/NEWS:3865 msgid "" "`bpo-41384 `__: Raise TclError instead " "of TypeError when an unknown option is passed to tkinter.OptionMenu." msgstr "" #: ../build/NEWS:3868 msgid "" "`bpo-41317 `__: Use add_done_callback() " "in asyncio.loop.sock_accept() to unsubscribe reader early on cancellation." msgstr "" #: ../build/NEWS:3871 msgid "" "`bpo-41364 `__: Reduce import overhead " "of :mod:`uuid`." msgstr "" #: ../build/NEWS:3873 msgid "" "`bpo-35328 `__: Set the environment " "variable ``VIRTUAL_ENV_PROMPT`` at :mod:`venv` activation." msgstr "" #: ../build/NEWS:3876 msgid "" "`bpo-41341 `__: Recursive evaluation of " "`typing.ForwardRef` in `get_type_hints`." msgstr "" #: ../build/NEWS:3879 msgid "" "`bpo-41344 `__: Prevent creating :class:" "`shared_memory.SharedMemory` objects with :code:`size=0`." msgstr "" #: ../build/NEWS:3882 msgid "" "`bpo-41333 `__: :meth:`collections." "OrderedDict.pop` is now 2 times faster." msgstr "" #: ../build/NEWS:3884 msgid "" "`bpo-41288 `__: Unpickling invalid " "NEWOBJ_EX opcode with the C implementation raises now UnpicklingError " "instead of crashing." msgstr "" #: ../build/NEWS:3887 msgid "" "`bpo-39017 `__: Avoid infinite loop when " "reading specially crafted TAR files using the tarfile module " "(CVE-2019-20907)." msgstr "" #: ../build/NEWS:3890 msgid "" "`bpo-41273 `__: Speed up any transport " "using ``_ProactorReadPipeTransport`` by calling ``recv_into`` instead of " "``recv``, thus not creating a new buffer for each ``recv`` call in the " "transport's read loop." msgstr "" #: ../build/NEWS:3894 msgid "" "`bpo-41235 `__: Fix the error handling " "in :meth:`ssl.SSLContext.load_dh_params`." msgstr "" #: ../build/NEWS:3897 msgid "" "`bpo-41207 `__: In distutils.spawn, " "restore expectation that DistutilsExecError is raised when the command is " "not found." msgstr "" #: ../build/NEWS:3900 msgid "" "`bpo-29727 `__: Register :class:`array." "array` as a :class:`~collections.abc.MutableSequence`. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:3903 msgid "" "`bpo-39168 `__: Remove the ``__new__`` " "method of :class:`typing.Generic`." msgstr "" #: ../build/NEWS:3905 msgid "" "`bpo-41194 `__: Fix a crash in the " "``_ast`` module: it can no longer be loaded more than once. It now uses a " "global state rather than a module state." msgstr "" #: ../build/NEWS:3908 msgid "" "`bpo-41195 `__: Add read-only ssl." "SSLContext.security_level attribute to retrieve the context's security level." msgstr "" #: ../build/NEWS:3911 msgid "" "`bpo-41193 `__: The ``write_history()`` " "atexit function of the readline completer now ignores any :exc:`OSError` to " "ignore error if the filesystem is read-only, instead of only ignoring :exc:" "`FileNotFoundError` and :exc:`PermissionError`." msgstr "" #: ../build/NEWS:3916 msgid "" "`bpo-41182 `__: selector: use " "DefaultSelector based upon implementation" msgstr "" #: ../build/NEWS:3918 msgid "" "`bpo-41161 `__: The decimal module now " "requires libmpdec-2.5.0. Users of --with-system-libmpdec should update their " "system library." msgstr "" #: ../build/NEWS:3921 msgid "" "`bpo-40874 `__: The decimal module now " "requires libmpdec-2.5.0." msgstr "" #: ../build/NEWS:3923 msgid "" "`bpo-41138 `__: Fixed the :mod:`trace` " "module CLI for Python source files with non-UTF-8 encoding." msgstr "" #: ../build/NEWS:3926 msgid "" "`bpo-31082 `__: Use the term \"iterable" "\" in the docstring for :func:`functools.reduce`." msgstr "" #: ../build/NEWS:3929 msgid "" "`bpo-40521 `__: Remove freelist from " "collections.deque()." msgstr "" #: ../build/NEWS:3931 msgid "" "`bpo-31938 `__: Fix default-value " "signatures of several functions in the :mod:`select` module - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:3934 msgid "" "`bpo-41068 `__: Fixed reading files with " "non-ASCII names from ZIP archive directly after writing them." msgstr "" #: ../build/NEWS:3937 msgid "" "`bpo-41058 `__: :func:`pdb." "find_function` now correctly determines the source file encoding." msgstr "" #: ../build/NEWS:3940 msgid "" "`bpo-41056 `__: Invalid file descriptor " "values are now prevented from being passed to os.fpathconf. (discovered by " "Coverity)" msgstr "" #: ../build/NEWS:3943 msgid "" "`bpo-41056 `__: Fix a NULL pointer " "dereference within the ssl module during a MemoryError in the keylog " "callback. (discovered by Coverity)" msgstr "" #: ../build/NEWS:3946 msgid "" "`bpo-41056 `__: Fixed an instance where " "a MemoryError within the zoneinfo module might not be reported or not " "reported at its source. (found by Coverity)" msgstr "" #: ../build/NEWS:3950 msgid "" "`bpo-41048 `__: :func:`mimetypes." "read_mime_types` function reads the rule file using UTF-8 encoding, not the " "locale encoding. Patch by Srinivas Reddy Thatiparthy." msgstr "" #: ../build/NEWS:3954 msgid "" "`bpo-41043 `__: Fixed the use of :func:" "`~glob.glob` in the stdlib: literal part of the path is now always correctly " "escaped." msgstr "" #: ../build/NEWS:3957 msgid "" "`bpo-41025 `__: Fixed an issue " "preventing the C implementation of :class:`zoneinfo.ZoneInfo` from being " "subclassed." msgstr "" #: ../build/NEWS:3960 msgid "" "`bpo-35018 `__: Add the :class:`xml.sax." "handler.LexicalHandler` class that is present in other SAX XML " "implementations." msgstr "" #: ../build/NEWS:3963 msgid "" "`bpo-41002 `__: Improve performance of " "HTTPResponse.read with a given amount. Patch by Bruce Merry." msgstr "" #: ../build/NEWS:3966 msgid "" "`bpo-40448 `__: :mod:`ensurepip` now " "disables the use of `pip` cache when installing the bundled versions of " "`pip` and `setuptools`. Patch by Krzysztof Konopko." msgstr "" #: ../build/NEWS:3970 msgid "" "`bpo-40967 `__: Removed :meth:`asyncio." "Task.current_task` and :meth:`asyncio.Task.all_tasks`. Patch contributed by " "Rémi Lapeyre." msgstr "" #: ../build/NEWS:3973 msgid "" "`bpo-40924 `__: Ensure ``importlib." "resources.path`` returns an extant path for the SourceFileLoader's resource " "reader. Avoids the regression identified in master while a long-term " "solution is devised." msgstr "" #: ../build/NEWS:3977 msgid "" "`bpo-40955 `__: Fix a minor memory leak " "in :mod:`subprocess` module when extra_groups was specified." msgstr "" #: ../build/NEWS:3980 msgid "" "`bpo-40855 `__: The standard deviation " "and variance functions in the statistics module were ignoring their mu and " "xbar arguments." msgstr "" #: ../build/NEWS:3983 msgid "" "`bpo-40939 `__: Use the new PEG parser " "when generating the stdlib :mod:`keyword` module." msgstr "" #: ../build/NEWS:3986 msgid "" "`bpo-23427 `__: Add :data:`sys." "orig_argv` attribute: the list of the original command line arguments passed " "to the Python executable." msgstr "" #: ../build/NEWS:3989 msgid "" "`bpo-33689 `__: Ignore empty or " "whitespace-only lines in .pth files. This matches the documentated behavior. " "Before, empty lines caused the site-packages dir to appear multiple times in " "sys.path. By Ido Michael, contributors Malcolm Smith and Tal Einat." msgstr "" #: ../build/NEWS:3994 msgid "" "`bpo-40884 `__: Added a `defaults` " "parameter to :class:`logging.Formatter`, to allow specifying default values " "for custom fields. Patch by Asaf Alon and Bar Harel." msgstr "" #: ../build/NEWS:3998 msgid "" "`bpo-40876 `__: Clarify error message in " "the :mod:`csv` module." msgstr "" #: ../build/NEWS:4000 msgid "" "`bpo-39791 `__: Refresh importlib." "metadata from importlib_metadata 1.6.1." msgstr "" #: ../build/NEWS:4002 msgid "" "`bpo-40807 `__: Stop codeop." "_maybe_compile, used by code.InteractiveInterpreter (and IDLE). from " "emitting each warning three times." msgstr "" #: ../build/NEWS:4005 msgid "" "`bpo-32604 `__: Fix reference leak in " "the :mod:`select` module when the module is imported in a subinterpreter." msgstr "" #: ../build/NEWS:4008 msgid "" "`bpo-39791 `__: Built-in loaders " "(SourceFileLoader and ZipImporter) now supply ``TraversableResources`` " "implementations for ``ResourceReader``, and the fallback function has been " "removed." msgstr "" #: ../build/NEWS:4012 msgid "" "`bpo-39314 `__: :class:`rlcompleter." "Completer` and the standard Python shell now close the parenthesis for " "functions that take no arguments. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:4016 msgid "" "`bpo-17005 `__: The topological sort " "functionality that was introduced initially in the :mod:`functools` module " "has been moved to a new :mod:`graphlib` module to better accommodate the new " "tools and keep the original scope of the :mod:`functools` module. Patch by " "Pablo Galindo" msgstr "" #: ../build/NEWS:4021 msgid "" "`bpo-40834 `__: Fix truncate when " "sending str object with_xxsubinterpreters.channel_send." msgstr "" #: ../build/NEWS:4024 msgid "" "`bpo-40755 `__: Add rich comparisons to " "collections.Counter()." msgstr "" #: ../build/NEWS:4026 msgid "" "`bpo-26407 `__: Unexpected errors in " "calling the ``__iter__`` method are no longer masked by ``TypeError`` in :" "func:`csv.reader`, :func:`csv.writer.writerow` and :meth:`csv.writer." "writerows`." msgstr "" #: ../build/NEWS:4030 msgid "" "`bpo-39384 `__: Fixed email." "contentmanager to allow set_content() to set a null string." msgstr "" #: ../build/NEWS:4033 msgid "" "`bpo-40744 `__: The :mod:`sqlite3` " "module uses SQLite API functions that require SQLite v3.7.3 or higher. This " "patch removes support for older SQLite versions, and explicitly requires " "SQLite 3.7.3 both at build, compile and runtime. Patch by Sergey Fedoseev " "and Erlend E. Aasland." msgstr "" #: ../build/NEWS:4038 msgid "" "`bpo-40777 `__: Initialize " "PyDateTime_IsoCalendarDateType.tp_base at run-time to avoid errors on some " "compilers." msgstr "" #: ../build/NEWS:4041 msgid "" "`bpo-38488 `__: Update ensurepip to " "install pip 20.1.1 and setuptools 47.1.0." msgstr "" #: ../build/NEWS:4043 msgid "" "`bpo-40792 `__: The result of :func:" "`operator.index` now always has exact type :class:`int`. Previously, the " "result could have been an instance of a subclass of ``int``." msgstr "" #: ../build/NEWS:4047 msgid "" "`bpo-40767 `__: :mod:`webbrowser` now " "properly finds the default browser in pure Wayland systems by checking the " "WAYLAND_DISPLAY environment variable. Patch contributed by Jérémy Attali." msgstr "" #: ../build/NEWS:4051 msgid "" "`bpo-40791 `__: :func:`hashlib." "compare_digest` uses OpenSSL's ``CRYPTO_memcmp()`` function when OpenSSL is " "available." msgstr "" #: ../build/NEWS:4054 msgid "" "`bpo-40795 `__: :mod:`ctypes` module: If " "ctypes fails to convert the result of a callback or if a ctypes callback " "function raises an exception, sys.unraisablehook is now called with an " "exception set. Previously, the error was logged into stderr by :c:func:" "`PyErr_Print`." msgstr "" #: ../build/NEWS:4059 msgid "" "`bpo-16995 `__: Add :func:`base64." "b32hexencode` and :func:`base64.b32hexdecode` to support the Base32 Encoding " "with Extended Hex Alphabet." msgstr "" #: ../build/NEWS:4062 msgid "" "`bpo-30008 `__: Fix :mod:`ssl` code to " "be compatible with OpenSSL 1.1.x builds that use ``no-deprecated`` and ``--" "api=1.1.0``." msgstr "" #: ../build/NEWS:4065 msgid "" "`bpo-30064 `__: Fix asyncio ``loop." "sock_*`` race condition issue" msgstr "" #: ../build/NEWS:4067 msgid "" "`bpo-40759 `__: Deprecate the :mod:" "`symbol` module." msgstr "" #: ../build/NEWS:4069 msgid "" "`bpo-40756 `__: The second argument " "(extra) of ``LoggerAdapter.__init__`` now defaults to None." msgstr "" #: ../build/NEWS:4072 msgid "" "`bpo-37129 `__: Add a new :data:`os." "RWF_APPEND` flag for :func:`os.pwritev`." msgstr "" #: ../build/NEWS:4074 msgid "" "`bpo-40737 `__: Fix possible reference " "leak for :mod:`sqlite3` initialization." msgstr "" #: ../build/NEWS:4076 msgid "" "`bpo-40726 `__: Handle cases where the " "``end_lineno`` is ``None`` on :func:`ast.increment_lineno`." msgstr "" #: ../build/NEWS:4079 msgid "" "`bpo-40698 `__: :mod:`distutils` upload " "creates SHA2-256 and Blake2b-256 digests. MD5 digests is skipped if platform " "blocks MD5." msgstr "" #: ../build/NEWS:4082 msgid "" "`bpo-40695 `__: :mod:`hashlib` no longer " "falls back to builtin hash implementations when OpenSSL provides a hash " "digest and the algorithm is blocked by security policy." msgstr "" #: ../build/NEWS:4086 msgid "" "`bpo-9216 `__: func:`hashlib.new` passed " "``usedforsecurity`` to OpenSSL EVP constructor ``_hashlib.new()``. " "test_hashlib and test_smtplib handle strict security policy better." msgstr "" #: ../build/NEWS:4090 msgid "" "`bpo-40614 `__: :func:`ast.parse` will " "not parse self documenting expressions in f-strings when passed " "``feature_version`` is less than ``(3, 8)``." msgstr "" #: ../build/NEWS:4093 msgid "" "`bpo-40626 `__: Add h5 file extension as " "MIME Type application/x-hdf5, as per HDF Group recommendation for HDF5 " "formatted data files. Patch contributed by Mark Schwab." msgstr "" #: ../build/NEWS:4097 msgid "" "`bpo-25920 `__: On macOS, when building " "Python for macOS 10.4 and older, which wasn't the case for python.org macOS " "installer, :func:`socket.getaddrinfo` no longer uses an internal lock to " "prevent race conditions when calling ``getaddrinfo()`` which is thread-safe " "since macOS 10.5. Python 3.9 requires macOS 10.6 or newer. The internal lock " "caused random hang on fork when another thread was calling :func:`socket." "getaddrinfo`. The lock was also used on FreeBSD older than 5.3, OpenBSD " "older than 201311 and NetBSD older than 4." msgstr "" #: ../build/NEWS:4106 msgid "" "`bpo-40671 `__: Prepare ``_hashlib`` " "for :pep:`489` and use :c:func:`PyModule_AddType`." msgstr "" #: ../build/NEWS:4109 msgid "" "`bpo-32309 `__: Added a new :term:" "`coroutine` :func:`asyncio.to_thread`. It is mainly used for running IO-" "bound functions in a separate thread to avoid blocking the event loop, and " "essentially works as a high-level version of :meth:`~asyncio.loop." "run_in_executor` that can directly take keyword arguments." msgstr "" #: ../build/NEWS:4115 msgid "" "`bpo-36543 `__: Restored the deprecated :" "mod:`xml.etree.cElementTree` module." msgstr "" #: ../build/NEWS:4117 msgid "" "`bpo-40611 `__: :data:`~mmap." "MAP_POPULATE` constant has now been added to the list of exported :mod:" "`mmap` module flags." msgstr "" #: ../build/NEWS:4120 msgid "" "`bpo-39881 `__: PEP 554 for use in the " "test suite. (Patch By Joannah Nanjekye)" msgstr "" #: ../build/NEWS:4122 msgid "" "`bpo-13097 `__: ``ctypes`` now raises an " "``ArgumentError`` when a callback is invoked with more than 1024 arguments." msgstr "" #: ../build/NEWS:4125 msgid "" "`bpo-39385 `__: A new test assertion " "context-manager, :func:`unittest.assertNoLogs` will ensure a given block of " "code emits no log messages using the logging module. Contributed by Kit Yan " "Choi." msgstr "" #: ../build/NEWS:4129 msgid "" "`bpo-23082 `__: Updated the error " "message and docs of PurePath.relative_to() to better reflect the function " "behaviour." msgstr "" #: ../build/NEWS:4132 msgid "" "`bpo-40318 `__: Use SQLite3 trace v2 " "API, if it is available." msgstr "" #: ../build/NEWS:4134 msgid "" "`bpo-40105 `__: ZipFile truncates files " "to avoid corruption when a shorter comment is provided in append (\"a\") " "mode. Patch by Jan Mazur." msgstr "" #: ../build/NEWS:4137 msgid "" "`bpo-40084 `__: Fix ``Enum.__dir__``: " "dir(Enum.member) now includes attributes as well as methods." msgstr "" #: ../build/NEWS:4140 msgid "" "`bpo-31122 `__: ssl.wrap_socket() now " "raises ssl.SSLEOFError rather than OSError when peer closes connection " "during TLS negotiation" msgstr "" #: ../build/NEWS:4143 msgid "" "`bpo-39728 `__: fix default `_missing_` " "so a duplicate `ValueError` is not set as the `__context__` of the original " "`ValueError`" msgstr "" #: ../build/NEWS:4146 msgid "" "`bpo-39244 `__: Fixed :class:" "`multiprocessing.context.get_all_start_methods` to properly return the " "default method first on macOS." msgstr "" #: ../build/NEWS:4149 msgid "" "`bpo-39040 `__: Fix parsing of invalid " "mime headers parameters by collapsing whitespace between encoded words in a " "bare-quote-string." msgstr "" #: ../build/NEWS:4152 msgid "" "`bpo-38731 `__: Add ``--quiet`` option " "to command-line interface of :mod:`py_compile`. Patch by Gregory Schevchenko." msgstr "" #: ../build/NEWS:4155 msgid "" "`bpo-35714 `__: :exc:`struct.error` is " "now raised if there is a null character in a :mod:`struct` format string." msgstr "" #: ../build/NEWS:4158 msgid "" "`bpo-38144 `__: Added the *root_dir* and " "*dir_fd* parameters in :func:`glob.glob`." msgstr "" #: ../build/NEWS:4161 msgid "" "`bpo-26543 `__: Fix :meth:`IMAP4.noop()` " "when debug mode is enabled (ex: ``imaplib.Debug = 3``)." msgstr "" #: ../build/NEWS:4164 msgid "" "`bpo-12178 `__: :func:`csv.writer` now " "correctly escapes *escapechar* when input contains *escapechar*. Patch by " "Catalin Iacob, Berker Peksag, and Itay Elbirt." msgstr "" #: ../build/NEWS:4168 msgid "" "`bpo-36290 `__: AST nodes are now " "raising :exc:`TypeError` on conflicting keyword arguments. Patch contributed " "by Rémi Lapeyre." msgstr "" #: ../build/NEWS:4171 msgid "" "`bpo-33944 `__: Added site.py site-" "packages tracing in verbose mode." msgstr "" #: ../build/NEWS:4173 msgid "" "`bpo-35078 `__: Refactor formatweekday, " "formatmonthname methods in LocaleHTMLCalendar and LocaleTextCalendar classes " "in calendar module to call the base class methods.This enables customizable " "CSS classes for LocaleHTMLCalendar. Patch by Srinivas Reddy Thatiparthy" msgstr "" #: ../build/NEWS:4178 msgid "" "`bpo-29620 `__: :func:`~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." msgstr "" #: ../build/NEWS:4183 msgid "" "`bpo-31844 `__: Remove ``ParserBase." "error()`` method from the private and undocumented ``_markupbase`` module. :" "class:`html.parser.HTMLParser` is the only subclass of ``ParserBase`` and " "its ``error()`` implementation was deprecated in Python 3.4 and removed in " "Python 3.5." msgstr "" #: ../build/NEWS:4188 msgid "" "`bpo-34226 `__: Fix `cgi." "parse_multipart` without content_length. Patch by Roger Duran" msgstr "" #: ../build/NEWS:4191 msgid "" "`bpo-33660 `__: Fix pathlib.PosixPath to " "resolve a relative path located on the root directory properly." msgstr "" #: ../build/NEWS:4194 msgid "" "`bpo-28557 `__: Improve the error " "message for a misbehaving ``rawio.readinto``" msgstr "" #: ../build/NEWS:4196 msgid "" "`bpo-26680 `__: The d.is_integer() " "method is added to the Decimal type, for compatibility with other number " "types." msgstr "" #: ../build/NEWS:4199 msgid "" "`bpo-26680 `__: The x.is_integer() " "method is incorporated into the abstract types of the numeric tower, Real, " "Rational and Integral, with appropriate default implementations." msgstr "" #: ../build/NEWS:4206 msgid "" "`bpo-41428 `__: Add documentation for :" "pep:`604` (Allow writing union types as ``X | Y``)." msgstr "" #: ../build/NEWS:4209 msgid "" "`bpo-41774 `__: In Programming FAQ " "\"Sequences (Tuples/Lists)\" section, add \"How do you remove multiple items " "from a list\"." msgstr "" #: ../build/NEWS:4212 msgid "" "`bpo-35293 `__: Fix " "RemovedInSphinx40Warning when building the documentation. Patch by Dong-hee " "Na." msgstr "" #: ../build/NEWS:4215 msgid "" "`bpo-37149 `__: Change Shipman tkinter " "doc link from archive.org to TkDocs. (The doc has been removed from the NMT " "server.) The new link responds much faster and includes a short explanatory " "note." msgstr "" #: ../build/NEWS:4219 msgid "" "`bpo-41726 `__: Update the refcounts " "info of ``PyType_FromModuleAndSpec``." msgstr "" #: ../build/NEWS:4221 msgid "" "`bpo-41624 `__: Fix the signature of :" "class:`typing.Coroutine`." msgstr "" #: ../build/NEWS:4223 msgid "" "`bpo-40204 `__: Enable Sphinx 3.2 " "``c_allow_pre_v3`` option and disable ``c_warn_on_allowed_pre_v3`` option to " "make the documentation compatible with Sphinx 2 and Sphinx 3." msgstr "" #: ../build/NEWS:4227 msgid "" "`bpo-41045 `__: Add documentation for " "debug feature of f-strings." msgstr "" #: ../build/NEWS:4229 msgid "" "`bpo-41314 `__: Changed the release when " "``from __future__ import annotations`` becomes the default from ``4.0`` to " "``3.10`` (following a change in PEP 563)." msgstr "" #: ../build/NEWS:4233 msgid "" "`bpo-40979 `__: Refactored typing.rst, " "arranging more than 70 classes, functions, and decorators into new sub-" "sections." msgstr "" #: ../build/NEWS:4236 msgid "" "`bpo-40552 `__: Fix in tutorial section " "4.2. Code snippet is now correct." msgstr "" #: ../build/NEWS:4238 msgid "" "`bpo-39883 `__: Make code, examples, and " "recipes in the Python documentation be licensed under the more permissive " "BSD0 license in addition to the existing Python 2.0 license." msgstr "" #: ../build/NEWS:4242 msgid "" "`bpo-37703 `__: Updated Documentation to " "comprehensively elaborate on the behaviour of gather.cancel()" msgstr "" #: ../build/NEWS:4248 msgid "" "`bpo-41939 `__: Fix test_site." "test_license_exists_at_url(): call ``urllib.request.urlcleanup()`` to reset " "the global ``urllib.request._opener``. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:4252 msgid "" "`bpo-41731 `__: Make " "test_cmd_line_script pass with option '-vv'." msgstr "" #: ../build/NEWS:4254 msgid "" "`bpo-41602 `__: Add tests for SIGINT " "handling in the runpy module." msgstr "" #: ../build/NEWS:4256 msgid "" "`bpo-41521 `__: :mod:`test.support`: " "Rename ``blacklist`` parameter of :func:`~test.support.check__all__` to " "``not_exported``." msgstr "" #: ../build/NEWS:4259 msgid "" "`bpo-41477 `__: Make ctypes optional in " "test_genericalias." msgstr "" #: ../build/NEWS:4261 msgid "" "`bpo-41085 `__: Fix integer overflow in " "the :meth:`array.array.index` method on 64-bit Windows for index larger than " "``2**31``." msgstr "" #: ../build/NEWS:4264 msgid "" "`bpo-41069 `__: :data:`test.support." "TESTFN` and the current directory for tests when run via ``test.regrtest`` " "contain now non-ascii characters if possible." msgstr "" #: ../build/NEWS:4268 msgid "" "`bpo-38377 `__: On Linux, skip tests " "using multiprocessing if the current user cannot create a file in ``/dev/shm/" "`` directory. Add the :func:`~test.support." "skip_if_broken_multiprocessing_synchronize` function to the :mod:`test." "support` module." msgstr "" #: ../build/NEWS:4273 msgid "" "`bpo-41009 `__: Fix use of ``support." "require_{linux|mac|freebsd}_version()`` decorators as class decorator." msgstr "" #: ../build/NEWS:4276 msgid "" "`bpo-41003 `__: Fix ``test_copyreg`` " "when ``numpy`` is installed: ``test.pickletester`` now saves/restores " "warnings filters when importing ``numpy``, to ignore filters installed by " "``numpy``." msgstr "" #: ../build/NEWS:4280 msgid "" "`bpo-40964 `__: Disable remote :mod:" "`imaplib` tests, host cyrus.andrew.cmu.edu is blocking incoming connections." msgstr "" #: ../build/NEWS:4283 msgid "" "`bpo-40927 `__: Fix test_binhex when run " "twice: it now uses import_fresh_module() to ensure that it raises " "DeprecationWarning each time." msgstr "" #: ../build/NEWS:4287 msgid "" "`bpo-17258 `__: Skip some :mod:" "`multiprocessing` tests when MD5 hash digest is blocked." msgstr "" #: ../build/NEWS:4290 msgid "" "`bpo-31904 `__: Increase " "LOOPBACK_TIMEOUT to 10 for VxWorks RTOS." msgstr "" #: ../build/NEWS:4292 msgid "" "`bpo-38169 `__: Increase code coverage " "for SharedMemory and ShareableList" msgstr "" #: ../build/NEWS:4294 msgid "" "`bpo-34401 `__: Make test_gdb properly " "run on HP-UX. Patch by Michael Osipov." msgstr "" #: ../build/NEWS:4299 msgid "" "`bpo-38249 `__: Update :c:macro:" "`Py_UNREACHABLE` to use __builtin_unreachable() if only the compiler is able " "to use it. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:4302 msgid "" "`bpo-41617 `__: Fix ``pycore_bitutils." "h`` header file to support old clang versions: ``__builtin_bswap16()`` is " "not available in LLVM clang 3.0." msgstr "" #: ../build/NEWS:4305 msgid "" "`bpo-40204 `__: Pin Sphinx version to " "2.3.1 in ``Doc/Makefile``." msgstr "" #: ../build/NEWS:4307 msgid "" "`bpo-36020 `__: The C99 functions :c:" "func:`snprintf` and :c:func:`vsnprintf` are now required to build Python." msgstr "" #: ../build/NEWS:4310 msgid "" "`bpo-40684 `__: ``make install`` now " "uses the ``PLATLIBDIR`` variable for the destination ``lib-dynload/`` " "directory when ``./configure --with-platlibdir`` is used." msgstr "" #: ../build/NEWS:4314 msgid "" "`bpo-40683 `__: Fixed an issue where " "the :mod:`zoneinfo` module and its tests were not included when Python is " "installed with ``make``." msgstr "" #: ../build/NEWS:4320 msgid "" "`bpo-41744 `__: Fixes automatic import " "of props file when using the Nuget package." msgstr "" #: ../build/NEWS:4323 msgid "" "`bpo-41627 `__: The user site directory " "for 32-bit now includes a ``-32`` suffix to distinguish it from the 64-bit " "interpreter's directory." msgstr "" #: ../build/NEWS:4326 msgid "" "`bpo-41526 `__: Fixed layout of final " "page of the installer by removing the special thanks to Mark Hammond (with " "his permission)." msgstr "" #: ../build/NEWS:4329 msgid "" "`bpo-41492 `__: Fixes the description " "that appears in UAC prompts." msgstr "" #: ../build/NEWS:4331 msgid "" "`bpo-40948 `__: Improve post-install " "message to direct people to the \"py\" command." msgstr "" #: ../build/NEWS:4334 msgid "" "`bpo-41412 `__: The installer will now " "fail to install on Windows 7 and Windows 8. Further, the UCRT dependency is " "now always downloaded on demand." msgstr "" #: ../build/NEWS:4337 msgid "" "`bpo-40741 `__: Update Windows release " "to include SQLite 3.32.3." msgstr "" #: ../build/NEWS:4339 msgid "" "`bpo-41142 `__: :mod:`msilib` now " "supports creating CAB files with non-ASCII file path and adding files with " "non-ASCII file path to them." msgstr "" #: ../build/NEWS:4342 msgid "" "`bpo-41074 `__: Fixed support of non-" "ASCII names in functions :func:`msilib.OpenDatabase` and :func:`msilib." "init_database` and non-ASCII SQL in method :meth:`msilib.Database.OpenView`." msgstr "" #: ../build/NEWS:4346 msgid "" "`bpo-41039 `__: Stable ABI redirection " "DLL (python3.dll) now uses ``#pragma comment(linker)`` for re-exporting." msgstr "" #: ../build/NEWS:4349 msgid "" "`bpo-40164 `__: Updates Windows OpenSSL " "to 1.1.1g" msgstr "" #: ../build/NEWS:4351 msgid "" "`bpo-39631 `__: Changes the registered " "MIME type for ``.py`` files on Windows to ``text/x-python`` instead of " "``text/plain``." msgstr "" #: ../build/NEWS:4354 msgid "" "`bpo-40677 `__: Manually define " "IO_REPARSE_TAG_APPEXECLINK in case some old Windows SDK doesn't have it." msgstr "" #: ../build/NEWS:4357 msgid "" "`bpo-37556 `__: Extend py.exe help to " "mention overrides via venv, shebang, environmental variables & ini files." msgstr "" #: ../build/NEWS:4363 msgid "" "`bpo-41557 `__: Update macOS installer " "to use SQLite 3.33.0." msgstr "" #: ../build/NEWS:4365 msgid "" "`bpo-39580 `__: Avoid opening Finder " "window if running installer from the command line. Patch contributed by Rick " "Heil." msgstr "" #: ../build/NEWS:4368 msgid "" "`bpo-41100 `__: Fix configure error when " "building on macOS 11. Note that the current Python release was released " "shortly after the first developer preview of macOS 11 (Big Sur); there are " "other known issues with building and running on the developer preview. Big " "Sur is expected to be fully supported in a future bugfix release of Python " "3.8.x and with 3.9.0." msgstr "" #: ../build/NEWS:4374 msgid "" "`bpo-40741 `__: Update macOS installer " "to use SQLite 3.32.3." msgstr "" #: ../build/NEWS:4376 msgid "" "`bpo-41005 `__: fixed an XDG settings " "issue not allowing macos to open browser in webbrowser.py" msgstr "" #: ../build/NEWS:4379 msgid "" "`bpo-40741 `__: Update macOS installer " "to use SQLite 3.32.2." msgstr "" #: ../build/NEWS:4384 msgid "" "`bpo-41775 `__: Use 'IDLE Shell' as " "shell title" msgstr "" #: ../build/NEWS:4386 msgid "" "`bpo-35764 `__: Rewrite the Calltips doc " "section." msgstr "" #: ../build/NEWS:4388 msgid "" "`bpo-40181 `__: In calltips, stop " "reminding that '/' marks the end of positional-only arguments." msgstr "" #: ../build/NEWS:4391 msgid "" "`bpo-41468 `__: Improve IDLE run crash " "error message (which users should never see)." msgstr "" #: ../build/NEWS:4394 msgid "" "`bpo-41373 `__: Save files loaded with " "no line ending, as when blank, or different line endings, by setting its " "line ending to the system default. Fix regression in 3.8.4 and 3.9.0b4." msgstr "" #: ../build/NEWS:4398 msgid "" "`bpo-41300 `__: Save files with non-" "ascii chars. Fix regression released in 3.9.0b4 and 3.8.4." msgstr "" #: ../build/NEWS:4401 msgid "" "`bpo-37765 `__: Add keywords to module " "name completion list. Rewrite Completions section of IDLE doc." msgstr "" #: ../build/NEWS:4404 msgid "" "`bpo-41152 `__: The encoding of " "``stdin``, ``stdout`` and ``stderr`` in IDLE is now always UTF-8." msgstr "" #: ../build/NEWS:4407 msgid "" "`bpo-41144 `__: Make Open Module open a " "special module such as os.path." msgstr "" #: ../build/NEWS:4409 msgid "" "`bpo-39885 `__: Make context menu Cut " "and Copy work again when right-clicking within a selection." msgstr "" #: ../build/NEWS:4412 msgid "" "`bpo-40723 `__: Make test_idle pass when " "run after import." msgstr "" #: ../build/NEWS:4417 msgid "" "`bpo-41936 `__: Removed undocumented " "macros ``Py_ALLOW_RECURSION`` and ``Py_END_ALLOW_RECURSION`` and the " "``recursion_critical`` field of the :c:type:`PyInterpreterState` structure." msgstr "" #: ../build/NEWS:4421 msgid "" "`bpo-41692 `__: The " "``PyUnicode_InternImmortal()`` function is now deprecated and will be " "removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace` instead. Patch " "by Victor Stinner." msgstr "" #: ../build/NEWS:4425 msgid "" "`bpo-41842 `__: Add :c:func:" "`PyCodec_Unregister` function to unregister a codec search function." msgstr "" #: ../build/NEWS:4428 msgid "" "`bpo-41834 `__: Remove the " "``_Py_CheckRecursionLimit`` variable: it has been replaced by ``ceval." "recursion_limit`` of the :c:type:`PyInterpreterState` structure. Patch by " "Victor Stinner." msgstr "" #: ../build/NEWS:4432 msgid "" "`bpo-41689 `__: Types created with :c:" "func:`PyType_FromSpec` now make any signature in their ``tp_doc`` slot " "accessible from ``__text_signature__``." msgstr "" #: ../build/NEWS:4435 msgid "" "`bpo-41524 `__: Fix bug in " "PyOS_mystrnicmp and PyOS_mystricmp that incremented pointers beyond the end " "of a string." msgstr "" #: ../build/NEWS:4438 msgid "" "`bpo-41324 `__: Add a minimal decimal " "capsule API. The API supports fast conversions between Decimals up to 38 " "digits and their triple representation as a C struct." msgstr "" #: ../build/NEWS:4442 msgid "" "`bpo-30155 `__: Add :c:func:" "`PyDateTime_DATE_GET_TZINFO` and :c:func:`PyDateTime_TIME_GET_TZINFO` macros " "for accessing the ``tzinfo`` attributes of :class:`datetime.datetime` and :" "class:`datetime.time` objects." msgstr "" #: ../build/NEWS:4447 msgid "" "`bpo-40170 `__: Revert :c:func:" "`PyType_HasFeature` change: it reads again directly the :c:member:" "`PyTypeObject.tp_flags` member when the limited C API is not used, rather " "than always calling :c:func:`PyType_GetFlags` which hides implementation " "details." msgstr "" #: ../build/NEWS:4452 msgid "" "`bpo-41123 `__: Remove " "``PyUnicode_AsUnicodeCopy``." msgstr "" #: ../build/NEWS:4454 msgid "" "`bpo-41123 `__: Removed " "``PyLong_FromUnicode()``." msgstr "" #: ../build/NEWS:4456 msgid "" "`bpo-41123 `__: Removed " "``PyUnicode_GetMax()``." msgstr "" #: ../build/NEWS:4458 msgid "" "`bpo-41123 `__: Removed " "``Py_UNICODE_str*`` functions manipulating ``Py_UNICODE*`` strings." msgstr "" #: ../build/NEWS:4461 msgid "" "`bpo-41103 `__: " "``PyObject_AsCharBuffer()``, ``PyObject_AsReadBuffer()``, " "``PyObject_CheckReadBuffer()``, and ``PyObject_AsWriteBuffer()`` are " "removed. Please migrate to new buffer protocol; :c:func:`PyObject_GetBuffer` " "and :c:func:`PyBuffer_Release`." msgstr "" #: ../build/NEWS:4466 msgid "" "`bpo-36346 `__: Raises " "DeprecationWarning for ``PyUnicode_FromUnicode(NULL, size)`` and " "``PyUnicode_FromStringAndSize(NULL, size)`` with ``size > 0``." msgstr "" #: ../build/NEWS:4469 msgid "" "`bpo-36346 `__: Mark " "``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, " "``PyUnicode_FromUnicode``, ``PyUnicode_AsUnicode``, and " "``PyUnicode_AsUnicodeAndSize`` as deprecated in C. Remove " "``Py_UNICODE_MATCH`` which was deprecated and broken since Python 3.3." msgstr "" #: ../build/NEWS:4475 msgid "" "`bpo-40989 `__: The :c:func:" "`PyObject_INIT` and :c:func:`PyObject_INIT_VAR` macros become aliases to, " "respectively, :c:func:`PyObject_Init` and :c:func:`PyObject_InitVar` " "functions." msgstr "" #: ../build/NEWS:4479 msgid "" "`bpo-36020 `__: On Windows, ``#include " "\"pyerrors.h\"`` no longer defines ``snprintf`` and ``vsnprintf`` macros." msgstr "" #: ../build/NEWS:4482 msgid "" "`bpo-40943 `__: The ``PY_SSIZE_T_CLEAN`` " "macro must now be defined to use :c:func:`PyArg_ParseTuple` and :c:func:" "`Py_BuildValue` formats which use ``#``: ``es#``, ``et#``, ``s#``, ``u#``, " "``y#``, ``z#``, ``U#`` and ``Z#``. See :ref:`Parsing arguments and building " "values ` and the :pep:`353`." msgstr "" #: ../build/NEWS:4488 msgid "" "`bpo-40910 `__: Export explicitly the :c:" "func:`Py_GetArgcArgv` function to the C API and document the function. " "Previously, it was exported implicitly which no longer works since Python is " "built with ``-fvisibility=hidden``." msgstr "" #: ../build/NEWS:4492 msgid "" "`bpo-40724 `__: Allow defining buffer " "slots in type specs." msgstr "" #: ../build/NEWS:4494 msgid "" "`bpo-40679 `__: Fix a " "``_PyEval_EvalCode()`` crash if *qualname* argument is NULL." msgstr "" #: ../build/NEWS:4497 msgid "" "`bpo-40839 `__: Calling :c:func:" "`PyDict_GetItem` without :term:`GIL` held had been allowed for historical " "reason. It is no longer allowed." msgstr "" #: ../build/NEWS:4500 msgid "" "`bpo-40826 `__: :c:func:" "`PyOS_InterruptOccurred` now fails with a fatal error if it is called with " "the GIL released." msgstr "" #: ../build/NEWS:4503 msgid "" "`bpo-40792 `__: The result of :c:func:" "`PyNumber_Index` now always has exact type :class:`int`. Previously, the " "result could have been an instance of a subclass of ``int``." msgstr "" #: ../build/NEWS:4507 msgid "" "`bpo-39573 `__: Convert :c:func:" "`Py_REFCNT` and :c:func:`Py_SIZE` macros to static inline functions. They " "cannot be used as l-value anymore: use :c:func:`Py_SET_REFCNT` and :c:func:" "`Py_SET_SIZE` to set an object reference count and size. This change is " "backward incompatible on purpose, to prepare the C API for an opaque :c:type:" "`PyObject` structure." msgstr "" #: ../build/NEWS:4513 msgid "" "`bpo-40703 `__: The PyType_FromSpec*() " "functions no longer overwrite the type's \"__module__\" attribute if it is " "set via \"Py_tp_members\" or \"Py_tp_getset\"." msgstr "" #: ../build/NEWS:4516 msgid "" "`bpo-39583 `__: Remove superfluous " "\"extern C\" declarations from ``Include/cpython/*.h``." msgstr "" #: ../build/NEWS:4521 msgid "Python 3.9.0 beta 1" msgstr "" #: ../build/NEWS:4523 msgid "*Release date: 2020-05-19*" msgstr "" #: ../build/NEWS:4528 msgid "" "`bpo-40501 `__: :mod:`uuid` no longer " "uses :mod:`ctypes` to load :file:`libuuid` or :file:`rpcrt4.dll` at runtime." msgstr "" #: ../build/NEWS:4534 msgid "" "`bpo-40663 `__: Correctly generate " "annotations where parentheses are omitted but required (e.g: ``Type[(str, " "int, *other))]``." msgstr "" #: ../build/NEWS:4537 msgid "" "`bpo-40596 `__: Fixed :meth:`str." "isidentifier` for non-canonicalized strings containing non-BMP characters on " "Windows." msgstr "" #: ../build/NEWS:4540 msgid "" "`bpo-40593 `__: Improved syntax errors " "for invalid characters in source code." msgstr "" #: ../build/NEWS:4542 msgid "" "`bpo-40585 `__: Fixed a bug when using :" "func:`codeop.compile_command` that was causing exceptions to be swallowed " "with the new parser. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:4546 msgid "" "`bpo-40566 `__: Apply :pep:`573` to :mod:" "`abc`." msgstr "" #: ../build/NEWS:4548 msgid "" "`bpo-40502 `__: Initialize ``n-" ">n_col_offset``. (Patch by Joannah Nanjekye)" msgstr "" #: ../build/NEWS:4550 msgid "" "`bpo-40527 `__: Fix command line " "argument parsing: no longer write errors multiple times into stderr." msgstr "" #: ../build/NEWS:4553 msgid "" "`bpo-1635741 `__: Port :mod:`errno` to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:4555 msgid "" "`bpo-40523 `__: Add pass-throughs for :" "func:`hash` and :func:`reversed` to :class:`weakref.proxy` objects. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:4558 msgid "" "`bpo-1635741 `__: Port :mod:`syslog` " "to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:4560 msgid "" "`bpo-40246 `__: Reporting a specialised " "error message for invalid string prefixes, which was introduced in :issue:" "`40246`, is being reverted due to backwards compatibility concerns for " "strings that immediately follow a reserved keyword without whitespace " "between them. Constructs like `bg=\"#d00\" if clear else\"#fca\"` were " "failing to parse, which is not an acceptable breakage on such short notice." msgstr "" #: ../build/NEWS:4567 msgid "" "`bpo-40417 `__: Fix imp module " "deprecation warning when PyImport_ReloadModule is called. Patch by Robert " "Rouhani." msgstr "" #: ../build/NEWS:4570 msgid "" "`bpo-40408 `__: Fixed support of nested " "type variables in GenericAlias (e.g. ``list[list[T]]``)." msgstr "" #: ../build/NEWS:4573 msgid "" "`bpo-1635741 `__: Port _stat module to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:4575 msgid "" "`bpo-29587 `__: Enable implicit " "exception chaining when calling :meth:`generator.throw`." msgstr "" #: ../build/NEWS:4578 msgid "" "`bpo-40328 `__: Add tools for generating " "mappings headers for CJKCodecs." msgstr "" #: ../build/NEWS:4580 msgid "" "`bpo-40228 `__: Setting frame.f_lineno " "is now robust w.r.t. changes in the source-to-bytecode compiler" msgstr "" #: ../build/NEWS:4583 msgid "" "`bpo-38880 `__: Added the ability to " "list interpreters associated with channel ends in the internal " "subinterpreters module." msgstr "" #: ../build/NEWS:4586 msgid "" "`bpo-37986 `__: Improve performance of :" "c:func:`PyLong_FromDouble` for values that fit into :c:type:`long`." msgstr "" #: ../build/NEWS:4592 msgid "" "`bpo-40662 `__: Fixed :func:`ast." "get_source_segment` for ast nodes that have incomplete location information. " "Patch by Irit Katriel." msgstr "" #: ../build/NEWS:4595 msgid "" "`bpo-40665 `__: Convert :mod:`bisect` to " "use Argument Clinic." msgstr "" #: ../build/NEWS:4597 msgid "" "`bpo-40536 `__: Added the :func:" "`~zoneinfo.available_timezones` function to the :mod:`zoneinfo` module. " "Patch by Paul Ganssle." msgstr "" #: ../build/NEWS:4600 msgid "" "`bpo-40645 `__: The :class:`hmac.HMAC` " "exposes internal implementation details. The attributes ``digest_cons``, " "``inner``, and ``outer`` are deprecated and will be removed in the future." msgstr "" #: ../build/NEWS:4604 msgid "" "`bpo-40645 `__: The internal module " "``_hashlib`` wraps and exposes OpenSSL's HMAC API. The new code will be used " "in Python 3.10 after the internal implementation details of the pure Python " "HMAC module are no longer part of the public API." msgstr "" #: ../build/NEWS:4609 msgid "" "`bpo-40637 `__: Builtin hash modules can " "now be disabled or selectively enabled with ``configure --with-builtin-" "hashlib-hashes=sha3,blake1`` or ``--without-builtin-hashlib-hashes``." msgstr "" #: ../build/NEWS:4613 msgid "" "`bpo-37630 `__: The :mod:`hashlib` " "module can now use SHA3 hashes and SHAKE XOF from OpenSSL when available." msgstr "" #: ../build/NEWS:4616 msgid "" "`bpo-40479 `__: The :mod:`hashlib` now " "compiles with OpenSSL 3.0.0-alpha2." msgstr "" #: ../build/NEWS:4618 msgid "" "`bpo-40257 `__: Revert changes to :func:" "`inspect.getdoc`." msgstr "" #: ../build/NEWS:4620 msgid "" "`bpo-40607 `__: When cancelling a task " "due to timeout, :meth:`asyncio.wait_for` will now propagate the exception if " "an error happens during cancellation. Patch by Roman Skurikhin." msgstr "" #: ../build/NEWS:4624 msgid "" "`bpo-40612 `__: Fix edge cases in " "SyntaxError formatting. If the offset is <= 0, no caret is printed. If the " "offset is > line length, the caret is printed pointing just after the last " "character." msgstr "" #: ../build/NEWS:4628 msgid "" "`bpo-40597 `__: If text content lines " "are longer than policy.max_line_length, always use a content-encoding to " "make sure they are wrapped." msgstr "" #: ../build/NEWS:4631 msgid "" "`bpo-40571 `__: Added functools.cache() " "as a simpler, more discoverable way to access the unbounded cache variant of " "lru_cache(maxsize=None)." msgstr "" #: ../build/NEWS:4634 msgid "" "`bpo-40503 `__: :pep:`615`, the :mod:" "`zoneinfo` module. Adds support for the IANA time zone database." msgstr "" #: ../build/NEWS:4637 msgid "" "`bpo-40397 `__: Removed attributes " "``__args__`` and ``__parameters__`` from special generic aliases like " "``typing.List`` (not subscripted)." msgstr "" #: ../build/NEWS:4640 msgid "" "`bpo-40549 `__: Convert posixmodule.c " "(\"posix\" or \"nt\" module) to the multiphase initialization (PEP 489)." msgstr "" #: ../build/NEWS:4643 msgid "" "`bpo-31033 `__: Add a ``msg`` argument " "to :meth:`Future.cancel` and :meth:`Task.cancel`." msgstr "" #: ../build/NEWS:4646 msgid "" "`bpo-40541 `__: Added an optional " "*counts* parameter to random.sample()." msgstr "" #: ../build/NEWS:4648 msgid "" "`bpo-40515 `__: The :mod:`ssl` and :mod:" "`hashlib` modules now actively check that OpenSSL is build with thread " "support. Python 3.7.0 made thread support mandatory and no longer works " "safely with a no-thread builds." msgstr "" #: ../build/NEWS:4652 msgid "" "`bpo-31033 `__: When a :class:`asyncio." "Task` is cancelled, the exception traceback now chains all the way back to " "where the task was first interrupted." msgstr "" #: ../build/NEWS:4656 msgid "" "`bpo-40504 `__: :func:`functools." "lru_cache` objects can now be the targets of weakrefs." msgstr "" #: ../build/NEWS:4659 msgid "" "`bpo-40559 `__: Fix possible memory leak " "in the C implementation of :class:`asyncio.Task`." msgstr "" #: ../build/NEWS:4662 msgid "" "`bpo-40480 `__: ``fnmatch.fnmatch()`` " "could take exponential time in the presence of multiple ``*`` pattern " "characters. This was repaired by generating more elaborate regular " "expressions to avoid futile backtracking." msgstr "" #: ../build/NEWS:4667 msgid "" "`bpo-40495 `__: :mod:`compileall` is now " "able to use hardlinks to prevent duplicates in a case when ``.pyc`` files " "for different optimization levels have the same content." msgstr "" #: ../build/NEWS:4671 msgid "" "`bpo-40457 `__: The ssl module now " "support OpenSSL builds without TLS 1.0 and 1.1 methods." msgstr "" #: ../build/NEWS:4674 msgid "" "`bpo-40355 `__: Improve error reporting " "in :func:`ast.literal_eval` in the presence of malformed :class:`ast.Dict` " "nodes instead of silently ignoring any non-conforming elements. Patch by " "Curtis Bucher." msgstr "" #: ../build/NEWS:4678 msgid "" "`bpo-40465 `__: Deprecated the optional " "*random* argument to *random.shuffle()*." msgstr "" #: ../build/NEWS:4681 msgid "" "`bpo-40459 `__: :func:`platform." "win32_ver` now produces correct *ptype* strings instead of empty strings." msgstr "" #: ../build/NEWS:4684 msgid "" "`bpo-39435 `__: The first argument of :" "func:`pickle.loads` is now positional-only." msgstr "" #: ../build/NEWS:4687 msgid "" "`bpo-39305 `__: Update :mod:`nntplib` to " "merge :class:`nntplib.NNTP` and :class:`nntplib._NNTPBase`. Patch by Dong-" "hee Na." msgstr "" #: ../build/NEWS:4690 msgid "" "`bpo-32494 `__: Update :mod:`dbm.gnu` to " "use gdbm_count if possible when calling :func:`len`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:4693 msgid "" "`bpo-40453 `__: Add ``isolated=True`` " "keyword-only parameter to ``_xxsubinterpreters.create()``. An isolated " "subinterpreter cannot spawn threads, spawn a child process or call ``os." "fork()``." msgstr "" #: ../build/NEWS:4697 msgid "" "`bpo-40286 `__: Remove ``_random.Random." "randbytes()``: the C implementation of ``randbytes()``. Implement the method " "in Python to ease subclassing: ``randbytes()`` now directly reuses " "``getrandbits()``." msgstr "" #: ../build/NEWS:4701 msgid "" "`bpo-40394 `__: Added default arguments " "to :meth:`difflib.SequenceMatcher.find_longest_match()`." msgstr "" #: ../build/NEWS:4704 msgid "" "`bpo-39995 `__: Fix a race condition in " "concurrent.futures._ThreadWakeup: access to _ThreadWakeup is now protected " "with the shutdown lock." msgstr "" #: ../build/NEWS:4707 msgid "" "`bpo-30966 `__: ``Process." "shutdown(wait=True)`` of :mod:`concurrent.futures` now closes explicitly the " "result queue." msgstr "" #: ../build/NEWS:4710 msgid "" "`bpo-30966 `__: Add a new :meth:" "`~multiprocessing.SimpleQueue.close` method to the :class:`~multiprocessing." "SimpleQueue` class to explicitly close the queue." msgstr "" #: ../build/NEWS:4714 msgid "" "`bpo-39966 `__: Revert `bpo-25597 " "`__. :class:`unittest.mock.MagicMock` " "with wraps' set uses default return values for magic methods." msgstr "" #: ../build/NEWS:4717 msgid "" "`bpo-39791 `__: Added ``files()`` " "function to importlib.resources with support for subdirectories in package " "data, matching backport in importlib_resources 1.5." msgstr "" #: ../build/NEWS:4721 msgid "" "`bpo-40375 `__: :meth:`imaplib.IMAP4." "unselect` is added. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:4723 msgid "" "`bpo-40389 `__: ``repr()`` now returns " "``typing.Optional[T]`` when called for ``typing.Union`` of two types, one of " "which is ``NoneType``." msgstr "" #: ../build/NEWS:4726 msgid "" "`bpo-40291 `__: Add support for " "CAN_J1939 sockets (available on Linux 5.4+)" msgstr "" #: ../build/NEWS:4728 msgid "" "`bpo-40273 `__: :class:`types." "MappingProxyType` is now reversible." msgstr "" #: ../build/NEWS:4730 msgid "" "`bpo-39075 `__: The repr for :class:" "`types.SimpleNamespace` is now insertion ordered rather than alphabetical." msgstr "" #: ../build/NEWS:4733 msgid "" "`bpo-40192 `__: On AIX, :func:`~time." "thread_time` is now implemented with ``thread_cputime()`` which has " "nanosecond resolution, rather than " "``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 ms. " "Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:4738 msgid "" "`bpo-40025 `__: Raise TypeError when " "_generate_next_value_ is defined after members. Patch by Ethan Onstott." msgstr "" #: ../build/NEWS:4741 msgid "" "`bpo-39058 `__: In the argparse module, " "the repr for Namespace() and other argument holders now displayed in the " "order attributes were added. Formerly, it displayed in alphabetical order " "even though argument order is preserved the user visible parts of the module." msgstr "" #: ../build/NEWS:4746 msgid "" "`bpo-24416 `__: The ``isocalendar()`` " "methods of :class:`datetime.date` and :class:`datetime.datetime` now return " "a :term:`named tuple` instead of a :class:`tuple`." msgstr "" #: ../build/NEWS:4753 msgid "" "`bpo-34790 `__: Add version of removal " "for explicit passing of coros to `asyncio.wait()`'s documentation" msgstr "" #: ../build/NEWS:4756 msgid "" "`bpo-40561 `__: Provide docstrings for " "webbrowser open functions." msgstr "" #: ../build/NEWS:4758 msgid "" "`bpo-40499 `__: Mention that :func:" "`asyncio.wait` requires a non-empty set of awaitables." msgstr "" #: ../build/NEWS:4761 msgid "" "`bpo-39705 `__: Tutorial example for " "sorted() in the Loop Techniques section is given a better explanation. Also " "a new example is included to explain sorted()'s basic behavior." msgstr "" #: ../build/NEWS:4765 msgid "" "`bpo-39435 `__: Fix an incorrect " "signature for :func:`pickle.loads` in the docs" msgstr "" #: ../build/NEWS:4770 msgid "" "`bpo-40055 `__: distutils.tests now " "saves/restores warnings filters to leave them unchanged. Importing tests " "imports docutils which imports pkg_resources which adds a warnings filter." msgstr "" #: ../build/NEWS:4774 msgid "" "`bpo-40436 `__: test_gdb and test." "pythoninfo now check gdb command exit code." msgstr "" #: ../build/NEWS:4779 msgid "" "`bpo-40653 `__: Move _dirnameW out of " "HAVE_SYMLINK to fix a potential compiling issue." msgstr "" #: ../build/NEWS:4782 msgid "" "`bpo-40514 `__: Add ``--with-" "experimental-isolated-subinterpreters`` build option to ``configure``: " "better isolate subinterpreters, experimental build mode." msgstr "" #: ../build/NEWS:4789 msgid "" "`bpo-40650 `__: Include winsock2.h in " "pytime.c for timeval." msgstr "" #: ../build/NEWS:4791 msgid "" "`bpo-40458 `__: Increase reserved stack " "space to prevent overflow crash on Windows." msgstr "" #: ../build/NEWS:4794 msgid "" "`bpo-39148 `__: Add IPv6 support to :mod:" "`asyncio` datagram endpoints in ProactorEventLoop. Change the raised " "exception for unknown address families to ValueError as it's not coming from " "Windows API." msgstr "" #: ../build/NEWS:4801 msgid "" "`bpo-34956 `__: When building Python on " "macOS from source, ``_tkinter`` now links with non-system Tcl and Tk " "frameworks if they are installed in ``/Library/Frameworks``, as had been the " "case on older releases of macOS. If a macOS SDK is explicitly configured, by " "using ``--enable-universalsdk=`` or ``-isysroot``, only the SDK itself is " "searched. The default behavior can still be overridden with ``--with-tcltk-" "includes`` and ``--with-tcltk-libs``." msgstr "" #: ../build/NEWS:4809 msgid "" "`bpo-35569 `__: Expose RFC 3542 IPv6 " "socket options." msgstr "" #: ../build/NEWS:4814 msgid "" "`bpo-40479 `__: Update multissltest " "helper to test with latest OpenSSL 1.0.2, 1.1.0, 1.1.1, and 3.0.0-alpha." msgstr "" #: ../build/NEWS:4817 msgid "" "`bpo-40431 `__: Fix a syntax typo in " "``turtledemo`` that now raises a ``SyntaxError``." msgstr "" #: ../build/NEWS:4820 msgid "" "`bpo-40163 `__: Fix multissltest tool. " "OpenSSL has changed download URL for old releases. The multissltest tool now " "tries to download from current and old download URLs." msgstr "" #: ../build/NEWS:4827 msgid "" "`bpo-39465 `__: Remove the " "``_PyUnicode_ClearStaticStrings()`` function from the C API." msgstr "" #: ../build/NEWS:4830 msgid "" "`bpo-38787 `__: Add " "PyCFunction_CheckExact() macro for exact type checks now that we allow " "subtypes of PyCFunction, as well as PyCMethod_CheckExact() and " "PyCMethod_Check() for the new PyCMethod subtype." msgstr "" #: ../build/NEWS:4834 msgid "" "`bpo-40545 `__: Declare " "``_PyErr_GetTopmostException()`` with ``PyAPI_FUNC()`` to properly export " "the function in the C API. The function remains private (``_Py``) prefix." msgstr "" #: ../build/NEWS:4838 msgid "" "`bpo-40412 `__: Nullify inittab_copy " "during finalization, preventing future interpreter initializations in an " "embedded situation from crashing. Patch by Gregory Szorc." msgstr "" #: ../build/NEWS:4842 msgid "" "`bpo-40429 `__: The :c:func:" "`PyThreadState_GetFrame` function now returns a strong reference to the " "frame." msgstr "" #: ../build/NEWS:4845 msgid "" "`bpo-40428 `__: Remove the following " "functions from the C API. Call :c:func:`PyGC_Collect` explicitly to free all " "free lists." msgstr "" #: ../build/NEWS:4848 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "" #: ../build/NEWS:4849 msgid "``PyContext_ClearFreeList()``" msgstr "" #: ../build/NEWS:4850 msgid "``PyDict_ClearFreeList()``" msgstr "" #: ../build/NEWS:4851 msgid "``PyFloat_ClearFreeList()``" msgstr "" #: ../build/NEWS:4852 msgid "``PyFrame_ClearFreeList()``" msgstr "" #: ../build/NEWS:4853 msgid "``PyList_ClearFreeList()``" msgstr "" #: ../build/NEWS:4854 msgid "``PySet_ClearFreeList()``" msgstr "" #: ../build/NEWS:4855 msgid "``PyTuple_ClearFreeList()``" msgstr "" #: ../build/NEWS:4857 msgid "" "`bpo-40421 `__: New :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame." msgstr "" #: ../build/NEWS:4860 msgid "" "`bpo-40421 `__: New :c:func:" "`PyFrame_GetCode` function: return a borrowed reference to the frame code." msgstr "" #: ../build/NEWS:4863 msgid "" "`bpo-40217 `__: Ensure that instances of " "types created with :c:func:`PyType_FromSpecWithBases` will visit its class " "object when traversing references in the garbage collector (implemented as " "an extension of the provided :c:member:`~PyTypeObject.tp_traverse`). Patch " "by Pablo Galindo." msgstr "" #: ../build/NEWS:4869 msgid "" "`bpo-38787 `__: Module C state is now " "accessible from C-defined heap type methods (:pep:`573`). Patch by Marcel " "Plch and Petr Viktorin." msgstr "" #: ../build/NEWS:4874 msgid "Python 3.9.0 alpha 6" msgstr "" #: ../build/NEWS:4876 msgid "*Release date: 2020-04-27*" msgstr "" #: ../build/NEWS:4881 msgid "" "`bpo-40121 `__: Fixes audit events " "raised on creating a new socket." msgstr "" #: ../build/NEWS:4883 msgid "" "`bpo-39073 `__: Disallow CR or LF in " "email.headerregistry.Address arguments to guard against header injection " "attacks." msgstr "" #: ../build/NEWS:4886 msgid "" "`bpo-39503 `__: CVE-2020-8492: The :" "class:`~urllib.request.AbstractBasicAuthHandler` class of the :mod:`urllib." "request` module uses an inefficient regular expression which can be " "exploited by an attacker to cause a denial of service. Fix the regex to " "prevent the catastrophic backtracking. Vulnerability reported by Ben Caller " "and Matt Schwager." msgstr "" #: ../build/NEWS:4896 msgid "" "`bpo-40313 `__: Improve the performance " "of bytes.hex()." msgstr "" #: ../build/NEWS:4898 msgid "" "`bpo-40334 `__: Switch to a new parser, " "based on PEG. For more details see PEP 617. To temporarily switch back to " "the old parser, use ``-X oldparser`` or ``PYTHONOLDPARSER=1``. In Python " "3.10 we will remove the old parser completely, including the ``parser`` " "module (already deprecated) and anything that depends on it." msgstr "" #: ../build/NEWS:4904 msgid "" "`bpo-40267 `__: Fix the tokenizer to " "display the correct error message, when there is a SyntaxError on the last " "input character and no newline follows. It used to be `unexpected EOF while " "parsing`, while it should be `invalid syntax`." msgstr "" #: ../build/NEWS:4909 msgid "" "`bpo-39522 `__: Correctly unparse " "explicit ``u`` prefix for strings when postponed evaluation for annotations " "activated. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:4912 msgid "" "`bpo-40246 `__: Report a specialized " "error message, `invalid string prefix`, when the tokenizer encounters a " "string with an invalid prefix." msgstr "" #: ../build/NEWS:4915 msgid "" "`bpo-40082 `__: Fix the signal handler: " "it now always uses the main interpreter, rather than trying to get the " "current Python thread state." msgstr "" #: ../build/NEWS:4918 msgid "" "`bpo-37388 `__: str.encode() and str." "decode() no longer check the encoding and errors in development mode or in " "debug mode during Python finalization. The codecs machinery can no longer " "work on very late calls to str.encode() and str.decode()." msgstr "" #: ../build/NEWS:4923 msgid "" "`bpo-40077 `__: Fix possible refleaks " "in :mod:`_json`, memo of PyScannerObject should be traversed." msgstr "" #: ../build/NEWS:4926 msgid "" "`bpo-37207 `__: Speed up calls to " "``dict()`` by using the :pep:`590` ``vectorcall`` calling convention." msgstr "" #: ../build/NEWS:4929 msgid "" "`bpo-40141 `__: Add column and line " "information to ``ast.keyword`` nodes. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:4932 msgid "" "`bpo-1635741 `__: Port :mod:`resource` " "to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:4935 msgid "" "`bpo-1635741 `__: Port :mod:`math` to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:4937 msgid "" "`bpo-1635741 `__: Port _uuid module to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:4939 msgid "" "`bpo-40077 `__: Convert json module to " "use :c:func:`PyType_FromSpec`." msgstr "" #: ../build/NEWS:4941 msgid "" "`bpo-40067 `__: Improve the error " "message for multiple star expressions in an assignment. Patch by Furkan Onder" msgstr "" #: ../build/NEWS:4944 msgid "" "`bpo-1635741 `__: Port _functools " "module to multiphase initialization (PEP 489). Patch by Paulo Henrique Silva." msgstr "" #: ../build/NEWS:4947 msgid "" "`bpo-1635741 `__: Port operator module " "to multiphase initialization (PEP 489). Patch by Paulo Henrique Silva." msgstr "" #: ../build/NEWS:4950 msgid "" "`bpo-20526 `__: Fix :c:func:" "`PyThreadState_Clear()`. ``PyThreadState.frame`` is a borrowed reference, " "not a strong reference: ``PyThreadState_Clear()`` must not call " "``Py_CLEAR(tstate->frame)``." msgstr "" #: ../build/NEWS:4954 msgid "" "`bpo-1635741 `__: Port time module to " "multiphase initialization (:pep:`489`). Patch by Paulo Henrique Silva." msgstr "" #: ../build/NEWS:4957 ../build/NEWS:5349 msgid "" "`bpo-1635741 `__: Port _weakref " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:4960 msgid "" "`bpo-40020 `__: Fix a leak and " "subsequent crash in parsetok.c caused by realloc misuse on a rare codepath." msgstr "" #: ../build/NEWS:4963 msgid "" "`bpo-39939 `__: Added str.removeprefix " "and str.removesuffix methods and corresponding bytes, bytearray, and " "collections.UserString methods to remove affixes from a string if present. " "See :pep:`616` for a full description. Patch by Dennis Sweeney." msgstr "" #: ../build/NEWS:4968 msgid "" "`bpo-39481 `__: Implement PEP 585. This " "supports list[int], tuple[str, ...] etc." msgstr "" #: ../build/NEWS:4971 msgid "" "`bpo-32894 `__: Support unparsing of " "infinity numbers in postponed annotations. Patch by Batuhan Taşkaya." msgstr "" #: ../build/NEWS:4974 msgid "" "`bpo-37207 `__: Speed up calls to " "``list()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Mark Shannon." msgstr "" #: ../build/NEWS:4980 msgid "" "`bpo-40398 `__: :func:`typing.get_args` " "now always returns an empty tuple for special generic aliases." msgstr "" #: ../build/NEWS:4983 msgid "" "`bpo-40396 `__: Functions :func:`typing." "get_origin`, :func:`typing.get_args` and :func:`typing.get_type_hints` " "support now generic aliases like ``list[int]``." msgstr "" #: ../build/NEWS:4987 msgid "" "`bpo-38061 `__: Optimize the :mod:" "`subprocess` module on FreeBSD using ``closefrom()``. A single ``close(fd)`` " "syscall is cheap, but when ``sysconf(_SC_OPEN_MAX)`` is high, the loop " "calling ``close(fd)`` on each file descriptor can take several milliseconds." msgstr "" #: ../build/NEWS:4992 msgid "" "The workaround on FreeBSD to improve performance was to load and mount the " "fdescfs kernel module, but this is not enabled by default." msgstr "" #: ../build/NEWS:4995 ../build/NEWS:5003 msgid "" "Initial patch by Ed Maste (emaste), Conrad Meyer (cem), Kyle Evans (kevans) " "and Kubilay Kocak (koobs): https://bugs.freebsd.org/bugzilla/show_bug.cgi?" "id=242274" msgstr "" #: ../build/NEWS:4999 msgid "" "`bpo-38061 `__: On FreeBSD, ``os." "closerange(fd_low, fd_high)`` now calls ``closefrom(fd_low)`` if *fd_high* " "is greater than or equal to ``sysconf(_SC_OPEN_MAX)``." msgstr "" #: ../build/NEWS:5007 msgid "" "`bpo-40360 `__: The :mod:`lib2to3` " "module is pending deprecation due to :pep:`617`." msgstr "" #: ../build/NEWS:5010 msgid "" "`bpo-40138 `__: Fix the Windows " "implementation of :func:`os.waitpid` for exit code larger than ``INT_MAX >> " "8``. The exit status is now interpreted as an unsigned number." msgstr "" #: ../build/NEWS:5014 msgid "" "`bpo-39942 `__: Set \"__main__\" as the " "default module name when \"__name__\" is missing in :class:`typing.TypeVar`. " "Patch by Weipeng Hong." msgstr "" #: ../build/NEWS:5017 msgid "" "`bpo-40275 `__: The :mod:`logging` " "package is now imported lazily in :mod:`unittest` only when the :meth:" "`~unittest.TestCase.assertLogs` assertion is used." msgstr "" #: ../build/NEWS:5021 msgid "" "`bpo-40275 `__: The :mod:`asyncio` " "package is now imported lazily in :mod:`unittest` only when the :class:" "`~unittest.IsolatedAsyncioTestCase` class is used." msgstr "" #: ../build/NEWS:5025 msgid "" "`bpo-40330 `__: In :meth:`ShareableList." "__setitem__`, check the size of a new string item after encoding it to " "utf-8, not before." msgstr "" #: ../build/NEWS:5028 msgid "" "`bpo-40148 `__: Added :meth:`pathlib." "Path.with_stem()` to create a new Path with the stem replaced." msgstr "" #: ../build/NEWS:5031 msgid "" "`bpo-40325 `__: Deprecated support for " "set objects in random.sample()." msgstr "" #: ../build/NEWS:5033 msgid "" "`bpo-40257 `__: Improved help for the :" "mod:`typing` module. Docstrings are now shown for all special forms and " "special generic aliases (like ``Union`` and ``List``). Using ``help()`` with " "generic alias like ``List[int]`` will show the help for the correspondent " "concrete type (``list`` in this case)." msgstr "" #: ../build/NEWS:5038 msgid "" "`bpo-40257 `__: func:`inspect.getdoc` no " "longer returns docstring inherited from the type of the object or from " "parent class if it is a class if it is not defined in the object itself. In :" "mod:`pydoc` the documentation string is now shown not only for class, " "function, method etc, but for any object that has its own ``__doc__`` " "attribute." msgstr "" #: ../build/NEWS:5044 msgid "" "`bpo-40287 `__: Fixed " "``SpooledTemporaryFile.seek()`` to return the position." msgstr "" #: ../build/NEWS:5046 msgid "" "`bpo-40290 `__: Added zscore() to " "statistics.NormalDist()." msgstr "" #: ../build/NEWS:5048 msgid "" "`bpo-40282 `__: Allow ``random." "getrandbits(0)`` to succeed and to return 0." msgstr "" #: ../build/NEWS:5050 msgid "" "`bpo-40286 `__: Add :func:`random." "randbytes` function and :meth:`random.Random.randbytes` method to generate " "random bytes." msgstr "" #: ../build/NEWS:5053 msgid "" "`bpo-40277 `__: :func:`collections." "namedtuple` now provides a human-readable repr for its field accessors." msgstr "" #: ../build/NEWS:5056 msgid "" "`bpo-40270 `__: The included copy of " "sqlite3 on Windows is now compiled with the json extension. This allows the " "use of functions such as ``json_object``." msgstr "" #: ../build/NEWS:5060 msgid "" "`bpo-29255 `__: Wait in `KqueueSelector." "select` when no fds are registered" msgstr "" #: ../build/NEWS:5062 msgid "" "`bpo-40260 `__: Ensure :mod:" "`modulefinder` uses :func:`io.open_code` and respects coding comments." msgstr "" #: ../build/NEWS:5065 msgid "" "`bpo-40234 `__: Allow again to spawn " "daemon threads in subinterpreters (revert change which denied them)." msgstr "" #: ../build/NEWS:5068 msgid "" "`bpo-39207 `__: Workers in :class:" "`~concurrent.futures.ProcessPoolExecutor` are now spawned on demand, only " "when there are no available idle workers to reuse. This optimizes startup " "overhead and reduces the amount of lost CPU time to idle workers. Patch by " "Kyle Stanley." msgstr "" #: ../build/NEWS:5073 msgid "" "`bpo-40091 `__: Fix a hang at fork in " "the logging module: the new private _at_fork_reinit() method is now used to " "reinitialize locks at fork in the child process." msgstr "" #: ../build/NEWS:5077 msgid "" "`bpo-40149 `__: Implement traverse and " "clear slots in _abc._abc_data type." msgstr "" #: ../build/NEWS:5079 msgid "" "`bpo-40208 `__: Remove deprecated :meth:" "`symtable.SymbolTable.has_exec`." msgstr "" #: ../build/NEWS:5081 msgid "" "`bpo-40196 `__: Fix a bug in the :mod:" "`symtable` module that was causing incorrectly report global variables as " "local. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:5084 msgid "" "`bpo-40190 `__: Add support for " "``_SC_AIX_REALMEM`` to :func:`posix.sysconf`." msgstr "" #: ../build/NEWS:5086 msgid "" "`bpo-40182 `__: Removed the " "``_field_types`` attribute of the :class:`typing.NamedTuple` class." msgstr "" #: ../build/NEWS:5089 msgid "" "`bpo-36517 `__: Multiple inheritance " "with :class:`typing.NamedTuple` now raises an error instead of silently " "ignoring other types." msgstr "" #: ../build/NEWS:5092 msgid "" "`bpo-40126 `__: Fixed reverting multiple " "patches in unittest.mock. Patcher's ``__exit__()`` is now never called if " "its ``__enter__()`` is failed. Returning true from ``__exit__()`` silences " "now the exception." msgstr "" #: ../build/NEWS:5096 msgid "" "`bpo-40094 `__: CGIHTTPRequestHandler of " "http.server now logs the CGI script exit code, rather than the CGI script " "exit status of os.waitpid(). For example, if the script is killed by signal " "11, it now logs: \"CGI script exit code -11.\"" msgstr "" #: ../build/NEWS:5101 msgid "" "`bpo-40108 `__: Improve the error " "message when triying to import a module using :mod:`runpy` and incorrently " "use the \".py\" extension at the end of the module name. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:5105 msgid "" "`bpo-40094 `__: Add :func:`os." "waitstatus_to_exitcode` function: convert a wait status to an exit code." msgstr "" #: ../build/NEWS:5108 msgid "" "`bpo-40089 `__: Fix threading." "_after_fork(): if fork was not called by a thread spawned by threading." "Thread, threading._after_fork() now creates a _MainThread instance for " "_main_thread, instead of a _DummyThread instance." msgstr "" #: ../build/NEWS:5112 msgid "" "`bpo-40089 `__: Add a private " "``_at_fork_reinit()`` method to :class:`_thread.Lock`, :class:`_thread." "RLock`, :class:`threading.RLock` and :class:`threading.Condition` classes: " "reinitialize the lock at fork in the child process, reset the lock to the " "unlocked state. Rename also the private ``_reset_internal_locks()`` method " "of :class:`threading.Event` to ``_at_fork_reinit()``." msgstr "" #: ../build/NEWS:5119 msgid "" "`bpo-25780 `__: Expose :data:`~socket." "CAN_RAW_JOIN_FILTERS` in the :mod:`socket` module." msgstr "" #: ../build/NEWS:5122 msgid "" "`bpo-39503 `__: :class:`~urllib.request." "AbstractBasicAuthHandler` of :mod:`urllib.request` now parses all WWW-" "Authenticate HTTP headers and accepts multiple challenges per header: use " "the realm of the first Basic challenge." msgstr "" #: ../build/NEWS:5127 msgid "" "`bpo-39812 `__: Removed daemon threads " "from :mod:`concurrent.futures` by adding an internal `threading." "_register_atexit()`, which calls registered functions prior to joining all " "non-daemon threads. This allows for compatibility with subinterpreters, " "which don't support daemon threads." msgstr "" #: ../build/NEWS:5132 msgid "" "`bpo-40050 `__: Fix ``importlib." "_bootstrap_external``: avoid creating a new ``winreg`` builtin module if " "it's already available in :data:`sys.modules`, and remove redundant imports." msgstr "" #: ../build/NEWS:5136 msgid "" "`bpo-40014 `__: Fix ``os." "getgrouplist()``: if ``getgrouplist()`` function fails because the group " "list is too small, retry with a larger group list. On failure, the glibc " "implementation of ``getgrouplist()`` sets ``ngroups`` to the total number of " "groups. For other implementations, double the group list size." msgstr "" #: ../build/NEWS:5142 msgid "" "`bpo-40017 `__: Add :data:`time." "CLOCK_TAI` constant if the operating system support it." msgstr "" #: ../build/NEWS:5145 msgid "" "`bpo-40016 `__: In re docstring, clarify " "the relationship between inline and argument compile flags." msgstr "" #: ../build/NEWS:5148 msgid "" "`bpo-39953 `__: Update internal table of " "OpenSSL error codes in the ``ssl`` module." msgstr "" #: ../build/NEWS:5151 msgid "" "`bpo-36144 `__: Added :pep:`584` " "operators to :class:`weakref.WeakValueDictionary`." msgstr "" #: ../build/NEWS:5154 msgid "" "`bpo-36144 `__: Added :pep:`584` " "operators to :class:`weakref.WeakKeyDictionary`." msgstr "" #: ../build/NEWS:5157 msgid "" "`bpo-38891 `__: Fix linear runtime " "behaviour of the `__getitem__` and `__setitem__` methods in :class:" "`multiprocessing.shared_memory.ShareableList`. This avoids quadratic " "performance when iterating a `ShareableList`. Patch by Thomas Krennwallner." msgstr "" #: ../build/NEWS:5163 msgid "" "`bpo-39682 `__: Remove undocumented " "support for *closing* a `pathlib.Path` object via its context manager. The " "context manager magic methods remain, but they are now a no-op, making " "`Path` objects immutable." msgstr "" #: ../build/NEWS:5167 msgid "" "`bpo-36144 `__: Added :pep:`584` " "operators (``|`` and ``|=``) to :class:`collections.ChainMap`." msgstr "" #: ../build/NEWS:5170 msgid "" "`bpo-39011 `__: Normalization of line " "endings in ElementTree attributes was removed, as line endings which were " "replaced by entity numbers should be preserved in original form." msgstr "" #: ../build/NEWS:5174 msgid "" "`bpo-38410 `__: Properly handle :func:" "`sys.audit` failures in :func:`sys.set_asyncgen_hooks`." msgstr "" #: ../build/NEWS:5177 msgid "" "`bpo-36541 `__: lib2to3 now recognizes " "named assignment expressions (the walrus operator, ``:=``)" msgstr "" #: ../build/NEWS:5180 msgid "" "`bpo-35967 `__: In platform, delay the " "invocation of 'uname -p' until the processor attribute is requested." msgstr "" #: ../build/NEWS:5183 msgid "" "`bpo-35113 `__: :meth:`inspect." "getsource` now returns correct source code for inner class with same name as " "module level class. Decorators are also returned as part of source of the " "class. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:5188 msgid "" "`bpo-33262 `__: Deprecate passing None " "as an argument for :func:`shlex.split()`'s ``s`` parameter. Patch by " "Zackery Spytz." msgstr "" #: ../build/NEWS:5191 msgid "" "`bpo-31758 `__: Prevent crashes when " "using an uninitialized ``_elementtree.XMLParser`` object. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:5197 msgid "" "`bpo-27635 `__: The pickle documentation " "incorrectly claimed that ``__new__`` isn't called by default when unpickling." msgstr "" #: ../build/NEWS:5200 msgid "" "`bpo-39879 `__: Updated :ref:`datamodel` " "docs to include :func:`dict` insertion order preservation. Patch by Furkan " "Onder and Samy Lahfa." msgstr "" #: ../build/NEWS:5203 msgid "" "`bpo-38387 `__: Document :c:macro:" "`PyDoc_STRVAR` macro in the C-API reference." msgstr "" #: ../build/NEWS:5205 msgid "" "`bpo-13743 `__: Some methods within xml." "dom.minidom.Element class are now better documented." msgstr "" #: ../build/NEWS:5211 msgid "" "`bpo-31904 `__: Set expected default " "encoding in test_c_locale_coercion.py for VxWorks RTOS." msgstr "" #: ../build/NEWS:5214 msgid "" "`bpo-40162 `__: Update Travis CI " "configuration to OpenSSL 1.1.1f." msgstr "" #: ../build/NEWS:5216 msgid "" "`bpo-40146 `__: Update OpenSSL to 1.1.1f " "in Azure Pipelines." msgstr "" #: ../build/NEWS:5218 msgid "" "`bpo-40094 `__: Add :func:`test.support." "wait_process` function." msgstr "" #: ../build/NEWS:5220 msgid "" "`bpo-40003 `__: ``test.bisect_cmd`` now " "copies Python command line options like ``-O`` or ``-W``. Moreover, emit a " "warning if ``test.bisect_cmd`` is used with ``-w``/``--verbose2`` option." msgstr "" #: ../build/NEWS:5224 msgid "" "`bpo-39380 `__: Add the encoding in :" "class:`ftplib.FTP` and :class:`ftplib.FTP_TLS` to the constructor as keyword-" "only and change the default from ``latin-1`` to ``utf-8`` to follow :rfc:" "`2640`." msgstr "" #: ../build/NEWS:5228 msgid "" "`bpo-39793 `__: Use the same domain when " "testing ``make_msgid``. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:5231 msgid "" "`bpo-1812 `__: Fix newline handling in " "doctest.testfile when loading from a package whose loader has a get_data " "method. Patch by Peter Donis." msgstr "" #: ../build/NEWS:5237 msgid "" "`bpo-38360 `__: Support single-argument " "form of macOS -isysroot flag." msgstr "" #: ../build/NEWS:5239 msgid "" "`bpo-40158 `__: Fix CPython MSBuild " "Properties in NuGet Package (build/native/python.props)" msgstr "" #: ../build/NEWS:5242 msgid "" "`bpo-38527 `__: Fix configure check on " "Solaris for \"float word ordering\": sometimes, the correct \"grep\" command " "was not being used. Patch by Arnon Yaari." msgstr "" #: ../build/NEWS:5249 msgid "" "`bpo-40164 `__: Updates Windows to " "OpenSSL 1.1.1f" msgstr "" #: ../build/NEWS:5251 msgid "" "`bpo-8901 `__: Ignore the Windows " "registry when the ``-E`` option is used." msgstr "" #: ../build/NEWS:5256 msgid "" "`bpo-38329 `__: python.org macOS " "installers now update the Current version symlink of /Library/Frameworks/" "Python.framework/Versions for 3.9 installs. Previously, Current was only " "updated for Python 2.x installs. This should make it easier to embed Python " "3 into other macOS applications." msgstr "" #: ../build/NEWS:5261 msgid "" "`bpo-40164 `__: Update macOS installer " "builds to use OpenSSL 1.1.1g." msgstr "" #: ../build/NEWS:5266 msgid "" "`bpo-38439 `__: Add a 256×256 pixel IDLE " "icon to support more modern environments. Created by Andrew Clover. Delete " "the unused macOS idle.icns icon file." msgstr "" #: ../build/NEWS:5270 msgid "" "`bpo-38689 `__: IDLE will no longer " "freeze when inspect.signature fails when fetching a calltip." msgstr "" #: ../build/NEWS:5276 msgid "" "`bpo-40385 `__: Removed the checkpyc.py " "tool. Please see compileall without force mode as a potential alternative." msgstr "" #: ../build/NEWS:5279 msgid "" "`bpo-40179 `__: Fixed translation of " "``#elif`` in Argument Clinic." msgstr "" #: ../build/NEWS:5281 msgid "" "`bpo-40094 `__: Fix ``which.py`` script " "exit code: it now uses :func:`os.waitstatus_to_exitcode` to convert :func:" "`os.system` exit status into an exit code." msgstr "" #: ../build/NEWS:5288 msgid "" "`bpo-40241 `__: Move the :c:type:" "`PyGC_Head` structure to the internal C API." msgstr "" #: ../build/NEWS:5290 msgid "" "`bpo-40170 `__: Convert :c:func:" "`PyObject_IS_GC` macro to a function to hide implementation details." msgstr "" #: ../build/NEWS:5293 msgid "" "`bpo-40241 `__: Add the functions :c:" "func:`PyObject_GC_IsTracked` and :c:func:`PyObject_GC_IsFinalized` to the " "public API to allow to query if Python objects are being currently tracked " "or have been already finalized by the garbage collector respectively. Patch " "by Pablo Galindo." msgstr "" #: ../build/NEWS:5298 msgid "" "`bpo-40170 `__: The :c:func:" "`PyObject_NEW` macro becomes an alias to the :c:func:`PyObject_New` macro, " "and the :c:func:`PyObject_NEW_VAR` macro becomes an alias to the :c:func:" "`PyObject_NewVar` macro, to hide implementation details. They no longer " "access directly the :c:member:`PyTypeObject.tp_basicsize` member." msgstr "" #: ../build/NEWS:5304 msgid "" "`bpo-40170 `__: :c:func:" "`PyType_HasFeature` now always calls :c:func:`PyType_GetFlags` to hide " "implementation details. Previously, it accessed directly the :c:member:" "`PyTypeObject.tp_flags` member when the limited C API was not used." msgstr "" #: ../build/NEWS:5309 msgid "" "`bpo-40170 `__: Convert the :c:func:" "`PyObject_GET_WEAKREFS_LISTPTR` macro to a function to hide implementation " "details: the macro accessed directly to the :c:member:`PyTypeObject." "tp_weaklistoffset` member." msgstr "" #: ../build/NEWS:5313 msgid "" "`bpo-40170 `__: Convert :c:func:" "`PyObject_CheckBuffer` macro to a function to hide implementation details: " "the macro accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member." msgstr "" #: ../build/NEWS:5317 msgid "" "`bpo-40170 `__: Always declare :c:func:" "`PyIndex_Check` as an opaque function to hide implementation details: remove " "``PyIndex_Check()`` macro. The macro accessed directly the :c:member:" "`PyTypeObject.tp_as_number` member." msgstr "" #: ../build/NEWS:5321 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyThreadState_GetID` function: get the unique identifier of a Python thread " "state." msgstr "" #: ../build/NEWS:5326 msgid "Python 3.9.0 alpha 5" msgstr "" #: ../build/NEWS:5328 msgid "*Release date: 2020-03-23*" msgstr "" #: ../build/NEWS:5333 msgid "" "`bpo-38576 `__: Disallow control " "characters in hostnames in http.client, addressing CVE-2019-18348. Such " "potentially malicious header injection URLs now cause a InvalidURL to be " "raised." msgstr "" #: ../build/NEWS:5340 msgid "" "`bpo-40010 `__: Optimize pending calls " "in multithreaded applications. If a thread different than the main thread " "schedules a pending call (:c:func:`Py_AddPendingCall`), the bytecode " "evaluation loop is no longer interrupted at each bytecode instruction to " "check for pending calls which cannot be executed. Only the main thread can " "execute pending calls." msgstr "" #: ../build/NEWS:5346 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread executes pending calls." msgstr "" #: ../build/NEWS:5352 msgid "" "`bpo-1635741 `__: Port _collections " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5355 msgid "" "`bpo-40010 `__: Optimize signal handling " "in multithreaded applications. If a thread different than the main thread " "gets a signal, the bytecode evaluation loop is no longer interrupted at each " "bytecode instruction to check for pending signals which cannot be handled. " "Only the main thread of the main interpreter can handle signals." msgstr "" #: ../build/NEWS:5361 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals." msgstr "" #: ../build/NEWS:5364 msgid "" "`bpo-39984 `__: If :c:func:" "`Py_AddPendingCall` is called in a subinterpreter, the function is now " "scheduled to be called from the subinterpreter, rather than being called " "from the main interpreter. Each subinterpreter now has its own list of " "scheduled calls." msgstr "" #: ../build/NEWS:5369 msgid "" "`bpo-1635741 `__: Port _heapq module " "to multiphase initialization." msgstr "" #: ../build/NEWS:5371 msgid "" "`bpo-1635741 `__: Port itertools " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5374 msgid "" "`bpo-37207 `__: Speed up calls to " "``frozenset()`` by using the :pep:`590` ``vectorcall`` calling convention. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5377 msgid "" "`bpo-39984 `__: subinterpreters: Move " "``_PyRuntimeState.ceval.tracing_possible`` to ``PyInterpreterState.ceval." "tracing_possible``: each interpreter now has its own variable." msgstr "" #: ../build/NEWS:5382 msgid "" "`bpo-37207 `__: Speed up calls to " "``set()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:5385 msgid "" "`bpo-1635741 `__: Port _statistics " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5388 msgid "" "`bpo-39968 `__: Use inline function to " "replace extension modules' get_module_state macros." msgstr "" #: ../build/NEWS:5391 msgid "" "`bpo-39965 `__: Correctly raise " "``SyntaxError`` if *await* is used inside non-async functions and " "``PyCF_ALLOW_TOP_LEVEL_AWAIT`` is set (like in the asyncio REPL). Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:5395 msgid "" "`bpo-39562 `__: Allow executing " "asynchronous comprehensions on the top level when the " "``PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag is given. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:5399 msgid "" "`bpo-37207 `__: Speed up calls to " "``tuple()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:5402 msgid "" "`bpo-38373 `__: Chaged list " "overallocation strategy. It no longer overallocates if the new size is " "closer to overallocated size than to the old size and adds padding." msgstr "" #: ../build/NEWS:5406 msgid "" "`bpo-39926 `__: Update Unicode database " "to Unicode version 13.0.0." msgstr "" #: ../build/NEWS:5408 msgid "" "`bpo-19466 `__: Clear the frames of " "daemon threads earlier during the Python shutdown to call objects " "destructors. So \"unclosed file\" resource warnings are now emitted for " "daemon threads in a more reliable way." msgstr "" #: ../build/NEWS:5412 msgid "" "`bpo-38894 `__: Fix a bug that was " "causing incomplete results when calling ``pathlib.Path.glob`` in the " "presence of symlinks that point to files where the user does not have read " "access. Patch by Pablo Galindo and Matt Wozniski." msgstr "" #: ../build/NEWS:5417 msgid "" "`bpo-39877 `__: Fix :c:func:" "`PyEval_RestoreThread` random crash at exit with daemon threads. It now " "accesses the ``_PyRuntime`` variable directly instead of using ``tstate-" ">interp->runtime``, since ``tstate`` can be a dangling pointer after :c:func:" "`Py_Finalize` has been called. Moreover, the daemon thread now exits before " "trying to take the GIL." msgstr "" #: ../build/NEWS:5423 msgid "" "`bpo-39871 `__: Fix a possible :exc:" "`SystemError` in ``math.{atan2,copysign,remainder}()`` when the first " "argument cannot be converted to a :class:`float`. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:5427 msgid "" "`bpo-39776 `__: Fix race condition where " "threads created by PyGILState_Ensure() could get a duplicate id." msgstr "" #: ../build/NEWS:5430 msgid "" "This affects consumers of tstate->id like the contextvar caching machinery, " "which could return invalid cached objects under heavy thread load (observed " "in embedded scenarios)." msgstr "" #: ../build/NEWS:5434 msgid "" "`bpo-39778 `__: Fixed a crash due to " "incorrect handling of weak references in ``collections.OrderedDict`` " "classes. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:5437 msgid "" "`bpo-1635741 `__: Port audioop " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5440 msgid "" "`bpo-39702 `__: Relax :term:`decorator` " "grammar restrictions to allow any valid expression (:pep:`614`)." msgstr "" #: ../build/NEWS:5443 msgid "" "`bpo-38091 `__: Tweak import deadlock " "detection code to not deadlock itself." msgstr "" #: ../build/NEWS:5445 msgid "" "`bpo-1635741 `__: Port _locale " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5448 msgid "" "`bpo-39087 `__: Optimize :c:func:" "`PyUnicode_AsUTF8` and :c:func:`PyUnicode_AsUTF8AndSize` slightly when they " "need to create internal UTF-8 cache." msgstr "" #: ../build/NEWS:5452 msgid "" "`bpo-39520 `__: Fix unparsing of ext " "slices with no items (``foo[:,]``). Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:5455 msgid "" "`bpo-39220 `__: Do not optimize " "annotations if 'from __future__ import annotations' is used. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:5458 msgid "" "`bpo-35712 `__: Using :data:" "`NotImplemented` in a boolean context has been deprecated. Patch contributed " "by Josh Rosenberg." msgstr "" #: ../build/NEWS:5461 msgid "" "`bpo-22490 `__: Don't leak environment " "variable ``__PYVENV_LAUNCHER__`` into the interpreter session on macOS." msgstr "" #: ../build/NEWS:5467 msgid "" "`bpo-39830 `__: Add :class:`zipfile." "Path` to ``__all__`` in the :mod:`zipfile` module." msgstr "" #: ../build/NEWS:5470 msgid "" "`bpo-40000 `__: Improved error messages " "for validation of ``ast.Constant`` nodes. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:5473 msgid "" "`bpo-39999 `__: ``__module__`` of the " "AST node classes is now set to \"ast\" instead of \"_ast\". Added docstrings " "for dummy AST node classes and deprecated attributes." msgstr "" #: ../build/NEWS:5477 msgid "" "`bpo-39991 `__: :func:`uuid.getnode` now " "skips IPv6 addresses with the same string length than a MAC address (17 " "characters): only use MAC addresses." msgstr "" #: ../build/NEWS:5480 msgid "" "`bpo-39988 `__: Deprecated ``ast." "AugLoad`` and ``ast.AugStore`` node classes because they are no longer used." msgstr "" #: ../build/NEWS:5483 msgid "" "`bpo-39656 `__: Ensure ``bin/python3.#`` " "is always present in virtual environments on POSIX platforms - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:5486 msgid "" "`bpo-39969 `__: Deprecated ``ast.Param`` " "node class because it's no longer used. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:5489 msgid "" "`bpo-39360 `__: Ensure all workers exit " "when finalizing a :class:`multiprocessing.Pool` implicitly via the module " "finalization handlers of multiprocessing. This fixes a deadlock situation " "that can be experienced when the Pool is not properly finalized via the " "context manager or a call to ``multiprocessing.Pool.terminate``. Patch by " "Batuhan Taskaya and Pablo Galindo." msgstr "" #: ../build/NEWS:5496 msgid "" "`bpo-35370 `__: sys.settrace(), sys." "setprofile() and _lsprof.Profiler.enable() now properly report :c:func:" "`PySys_Audit` error if \"sys.setprofile\" or \"sys.settrace\" audit event is " "denied." msgstr "" #: ../build/NEWS:5500 msgid "" "`bpo-39936 `__: AIX: Fix _aix_support " "module when the subprocess is not available, when building Python from " "scratch. It now uses new private _bootsubprocess module, rather than having " "two implementations depending if subprocess is available or not. So " "_aix_support.aix_platform() result is now the same if subprocess is " "available or not." msgstr "" #: ../build/NEWS:5506 msgid "" "`bpo-36144 `__: :class:`collections." "OrderedDict` now implements ``|`` and ``|=`` (:pep:`584`)." msgstr "" #: ../build/NEWS:5509 msgid "" "`bpo-39652 `__: The column name found in " "``sqlite3.Cursor.description`` is now truncated on the first '[' only if the " "PARSE_COLNAMES option is set." msgstr "" #: ../build/NEWS:5512 msgid "" "`bpo-39915 `__: Ensure :attr:`unittest." "mock.AsyncMock.await_args_list` has call objects in the order of awaited " "arguments instead of using :attr:`unittest.mock.Mock.call_args` which has " "the last value of the call. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:5517 msgid "" "`bpo-36144 `__: Updated :data:`os." "environ` and :data:`os.environb` to support :pep:`584`'s merge (``|``) and " "update (``|=``) operators." msgstr "" #: ../build/NEWS:5520 msgid "" "`bpo-38662 `__: The ``ensurepip`` module " "now invokes ``pip`` via the ``runpy`` module. Hence it is no longer tightly " "coupled with the internal API of the bundled ``pip`` version, allowing " "easier updates to a newer ``pip`` version both internally and for " "distributors." msgstr "" #: ../build/NEWS:5525 msgid "" "`bpo-38075 `__: Fix the :meth:`random." "Random.seed` method when a :class:`bool` is passed as the seed." msgstr "" #: ../build/NEWS:5528 msgid "" "`bpo-39916 `__: More reliable use of " "``os.scandir()`` in ``Path.glob()``. It no longer emits a ResourceWarning " "when interrupted." msgstr "" #: ../build/NEWS:5531 msgid "" "`bpo-39850 `__: :mod:`multiprocessing` " "now supports abstract socket addresses (if abstract sockets are supported in " "the running platform). When creating arbitrary addresses (like when default-" "constructing :class:`multiprocessing.connection.Listener` objects) abstract " "sockets are preferred to avoid the case when the temporary-file-generated " "address is too large for an AF_UNIX socket address. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:5538 msgid "" "`bpo-36287 `__: :func:`ast.dump()` no " "longer outputs optional fields and attributes with default values. The " "default values for optional fields and attributes of AST nodes are now set " "as class attributes (e.g. ``Constant.kind`` is set to ``None``)." msgstr "" #: ../build/NEWS:5543 msgid "" "`bpo-39889 `__: Fixed :func:`ast." "unparse` for extended slices containing a single element (e.g. ``a[i:j,]``). " "Remove redundant tuples when index with a tuple (e.g. ``a[i, j]``)." msgstr "" #: ../build/NEWS:5547 msgid "" "`bpo-39828 `__: Fix :mod:`json.tool` to " "catch :exc:`BrokenPipeError`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5550 msgid "" "`bpo-13487 `__: Avoid a possible *" "\"RuntimeError: dictionary changed size during iteration\"* from :func:" "`inspect.getmodule` when it tried to loop through :attr:`sys.modules`." msgstr "" #: ../build/NEWS:5554 msgid "" "`bpo-39674 `__: Revert \"`bpo-37330 " "`__: open() no longer accept 'U' in file " "mode\". The \"U\" mode of open() is kept in Python 3.9 to ease transition " "from Python 2.7, but will be removed in Python 3.10." msgstr "" #: ../build/NEWS:5558 msgid "" "`bpo-28577 `__: The hosts method on 32-" "bit prefix length IPv4Networks and 128-bit prefix IPv6Networks now returns a " "list containing the single Address instead of an empty list." msgstr "" #: ../build/NEWS:5562 msgid "" "`bpo-39826 `__: Add getConnection method " "to logging HTTPHandler to enable custom connections." msgstr "" #: ../build/NEWS:5565 msgid "" "`bpo-39763 `__: Reimplement :func:" "`distutils.spawn.spawn` function with the :mod:`subprocess` module." msgstr "" #: ../build/NEWS:5568 msgid "" "`bpo-39794 `__: Add --without-decimal-" "contextvar build option. This enables a thread-local rather than a " "coroutine local context." msgstr "" #: ../build/NEWS:5571 msgid "" "`bpo-36144 `__: :class:`collections." "defaultdict` now implements ``|`` (:pep:`584`)." msgstr "" #: ../build/NEWS:5574 msgid "" "`bpo-39517 `__: Fix runpy.run_path() " "when using pathlike objects" msgstr "" #: ../build/NEWS:5576 msgid "" "`bpo-39775 `__: Change ``inspect." "Signature.parameters`` back to ``collections.OrderedDict``. This was changed " "to ``dict`` in Python 3.9.0a4." msgstr "" #: ../build/NEWS:5580 msgid "" "`bpo-39678 `__: Refactor queue_manager " "in :class:`concurrent.futures.ProcessPoolExecutor` to make it easier to " "maintain." msgstr "" #: ../build/NEWS:5584 msgid "" "`bpo-39764 `__: Fix AttributeError when " "calling get_stack on a PyAsyncGenObject Task" msgstr "" #: ../build/NEWS:5587 msgid "" "`bpo-39769 `__: The :func:`compileall." "compile_dir` function's *ddir* parameter and the compileall command line " "flag `-d` no longer write the wrong pathname to the generated pyc file for " "submodules beneath the root of the directory tree being compiled. This " "fixes a regression introduced with Python 3.5." msgstr "" #: ../build/NEWS:5593 msgid "" "`bpo-36144 `__: :class:`types." "MappingProxyType` objects now support the merge (``|``) operator from :pep:" "`584`." msgstr "" #: ../build/NEWS:5596 msgid "" "`bpo-38691 `__: The :mod:`importlib` " "module now ignores the :envvar:`PYTHONCASEOK` environment variable when the :" "option:`-E` or :option:`-I` command line options are being used." msgstr "" #: ../build/NEWS:5600 msgid "" "`bpo-39719 `__: Remove :meth:`tempfile." "SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` " "attribute in Python 3. Patch by Shantanu." msgstr "" #: ../build/NEWS:5603 msgid "" "`bpo-39667 `__: Improve pathlib.Path " "compatibility on zipfile.Path and correct performance degradation as found " "in zipp 3.0." msgstr "" #: ../build/NEWS:5606 msgid "" "`bpo-39638 `__: Keep ASDL signatures in " "the docstrings for ``AST`` nodes. Patch by Batuhan Taskaya" msgstr "" #: ../build/NEWS:5609 msgid "" "`bpo-39639 `__: Deprecated ``ast.Suite`` " "node class because it's no longer used. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:5612 msgid "" "`bpo-39609 `__: Add thread_name_prefix " "to default asyncio executor" msgstr "" #: ../build/NEWS:5614 msgid "" "`bpo-39548 `__: Fix handling of header " "in :class:`urllib.request.AbstractDigestAuthHandler` when the optional " "``qop`` parameter is not present." msgstr "" #: ../build/NEWS:5618 msgid "" "`bpo-39509 `__: HTTP status codes ``103 " "EARLY_HINTS`` and ``425 TOO_EARLY`` are added to :class:`http.HTTPStatus`. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5621 msgid "" "`bpo-39507 `__: Adding HTTP status 418 " "\"I'm a Teapot\" to HTTPStatus in http library. Patch by Ross Rhodes." msgstr "" #: ../build/NEWS:5624 msgid "" "`bpo-39495 `__: Remove default value " "from *attrs* parameter of :meth:`xml.etree.ElementTree.TreeBuilder.start` " "for consistency between Python and C implementations." msgstr "" #: ../build/NEWS:5628 msgid "" "`bpo-38971 `__: Open issue in the BPO " "indicated a desire to make the implementation of codecs.open() at parity " "with io.open(), which implements a try/except to assure file stream gets " "closed before an exception is raised." msgstr "" #: ../build/NEWS:5633 msgid "" "`bpo-38641 `__: Added starred " "expressions support to ``return`` and ``yield`` statements for ``lib2to3``. " "Patch by Vlad Emelianov." msgstr "" #: ../build/NEWS:5636 msgid "" "`bpo-37534 `__: When using minidom " "module to generate XML documents the ability to add Standalone Document " "Declaration is added. All the changes are made to generate a document in " "compliance with Extensible Markup Language (XML) 1.0 (Fifth Edition) W3C " "Recommendation (available here: https://www.w3.org/TR/xml/#sec-prolog-dtd)." msgstr "" #: ../build/NEWS:5642 msgid "" "`bpo-34788 `__: Add support for scoped " "IPv6 addresses to :mod:`ipaddress`. Patch by Oleksandr Pavliuk." msgstr "" #: ../build/NEWS:5645 msgid "" "`bpo-34822 `__: Simplified AST for " "subscription. Simple indices are now represented by their value, extended " "slices are represented as tuples. :mod:`ast` classes ``Index`` and " "``ExtSlice`` are considered deprecated and will be removed in future Python " "versions. In the meantime, ``Index(value)`` now returns a ``value`` itself, " "``ExtSlice(slices)`` returns ``Tuple(slices, Load())``." msgstr "" #: ../build/NEWS:5655 msgid "" "`bpo-39868 `__: Updated the Language " "Reference for :pep:`572`." msgstr "" #: ../build/NEWS:5657 msgid "" "`bpo-13790 `__: Change 'string' to " "'specification' in format doc." msgstr "" #: ../build/NEWS:5659 msgid "" "`bpo-17422 `__: The language reference " "no longer restricts default class namespaces to dicts only." msgstr "" #: ../build/NEWS:5662 msgid "" "`bpo-39530 `__: Fix misleading " "documentation about mixed-type numeric comparisons." msgstr "" #: ../build/NEWS:5665 msgid "" "`bpo-39718 `__: Update :mod:`token` " "documentation to reflect additions in Python 3.8" msgstr "" #: ../build/NEWS:5668 msgid "" "`bpo-39677 `__: Changed operand name of " "**MAKE_FUNCTION** from *argc* to *flags* for module :mod:`dis`" msgstr "" #: ../build/NEWS:5674 msgid "" "`bpo-40019 `__: test_gdb now skips tests " "if it detects that gdb failed to read debug information because the Python " "binary is optimized." msgstr "" #: ../build/NEWS:5677 msgid "" "`bpo-27807 `__: ``test_site." "test_startup_imports()`` is now skipped if a path of :data:`sys.path` " "contains a ``.pth`` file." msgstr "" #: ../build/NEWS:5680 msgid "" "`bpo-26067 `__: Do not fail test_shutil " "test_chown test when uid or gid of user cannot be resolved to a name." msgstr "" #: ../build/NEWS:5683 msgid "" "`bpo-39855 `__: test_subprocess." "test_user() now skips the test on an user name if the user name doesn't " "exist. For example, skip the test if the user \"nobody\" doesn't exist on " "Linux." msgstr "" #: ../build/NEWS:5690 msgid "" "`bpo-39761 `__: Fix build with DTrace " "but without additional DFLAGS." msgstr "" #: ../build/NEWS:5692 msgid "" "`bpo-39763 `__: setup.py now uses a " "basic implementation of the :mod:`subprocess` module if the :mod:" "`subprocess` module is not available: before required C extension modules " "are built." msgstr "" #: ../build/NEWS:5696 msgid "" "`bpo-1294959 `__: Add ``--with-" "platlibdir`` option to the configure script: name of the platform-specific " "library directory, stored in the new :attr:`sys.platlibdir` attribute. It is " "used to build the path of platform-specific extension modules and the path " "of the standard library. It is equal to ``\"lib\"`` on most platforms. On " "Fedora and SuSE, it is equal to ``\"lib64\"`` on 64-bit platforms. Patch by " "Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner." msgstr "" #: ../build/NEWS:5707 msgid "" "`bpo-39930 `__: Ensures the required :" "file:`vcruntime140.dll` is included in install packages." msgstr "" #: ../build/NEWS:5710 msgid "" "`bpo-39847 `__: Avoid hang when computer " "is hibernated whilst waiting for a mutex (for lock-related objects from :mod:" "`threading`) around 49-day uptime." msgstr "" #: ../build/NEWS:5714 msgid "" "`bpo-38597 `__: :mod:`distutils` will no " "longer statically link :file:`vcruntime140.dll` when a redistributable " "version is unavailable. All future releases of CPython will include a copy " "of this DLL to ensure distributed extensions can continue to load." msgstr "" #: ../build/NEWS:5719 msgid "" "`bpo-38380 `__: Update Windows builds to " "use SQLite 3.31.1" msgstr "" #: ../build/NEWS:5721 msgid "" "`bpo-39789 `__: Update Windows release " "build machines to Visual Studio 2019 (MSVC 14.2)." msgstr "" #: ../build/NEWS:5724 msgid "" "`bpo-34803 `__: Package for nuget.org " "now includes repository reference and bundled icon image." msgstr "" #: ../build/NEWS:5730 msgid "" "`bpo-38380 `__: Update macOS builds to " "use SQLite 3.31.1" msgstr "" #: ../build/NEWS:5735 msgid "" "`bpo-27115 `__: For 'Go to Line', use a " "Query box subclass with IDLE standard behavior and improved error checking." msgstr "" #: ../build/NEWS:5738 msgid "" "`bpo-39885 `__: Since clicking to get an " "IDLE context menu moves the cursor, any text selection should be and now is " "cleared." msgstr "" #: ../build/NEWS:5741 msgid "" "`bpo-39852 `__: Edit \"Go to line\" now " "clears any selection, preventing accidental deletion. It also updates Ln and " "Col on the status bar." msgstr "" #: ../build/NEWS:5744 msgid "" "`bpo-39781 `__: Selecting code context " "lines no longer causes a jump." msgstr "" #: ../build/NEWS:5749 msgid "" "`bpo-36184 `__: Port python-gdb.py to " "FreeBSD. python-gdb.py now checks for \"take_gil\" function name to check if " "a frame tries to acquire the GIL, instead of checking for " "\"pthread_cond_timedwait\" which is specific to Linux and can be a different " "condition than the GIL." msgstr "" #: ../build/NEWS:5754 msgid "" "`bpo-38080 `__: Added support to fix " "``getproxies`` in the :mod:`lib2to3.fixes.fix_urllib` module. Patch by José " "Roberto Meza Cabrera." msgstr "" #: ../build/NEWS:5761 msgid "" "`bpo-40024 `__: Add :c:func:" "`PyModule_AddType` helper function: add a type to a module. Patch by Dong-" "hee Na." msgstr "" #: ../build/NEWS:5764 msgid "" "`bpo-39946 `__: Remove ``_PyRuntime." "getframe`` hook and remove ``_PyThreadState_GetFrame`` macro which was an " "alias to ``_PyRuntime.getframe``. They were only exposed by the internal C " "API. Remove also ``PyThreadFrameGetter`` type." msgstr "" #: ../build/NEWS:5769 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyThreadState_GetFrame` function: get the current frame of a Python thread " "state." msgstr "" #: ../build/NEWS:5772 msgid "" "`bpo-37207 `__: Add _PyArg_NoKwnames " "helper function. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5774 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyThreadState_GetInterpreter`: get the interpreter of a Python thread state." msgstr "" #: ../build/NEWS:5777 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyInterpreterState_Get` function to the limited C API." msgstr "" #: ../build/NEWS:5780 msgid "" "`bpo-35370 `__: If :c:func:`PySys_Audit` " "fails in :c:func:`PyEval_SetProfile` or :c:func:`PyEval_SetTrace`, log the " "error as an unraisable exception." msgstr "" #: ../build/NEWS:5783 msgid "" "`bpo-39947 `__: Move the static inline " "function flavor of Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() to " "the internal C API: they access PyThreadState attributes. The limited C API " "provides regular functions which hide implementation details." msgstr "" #: ../build/NEWS:5788 msgid "" "`bpo-39947 `__: " "Py_TRASHCAN_BEGIN_CONDITION and Py_TRASHCAN_END macro no longer access " "PyThreadState attributes, but call new private _PyTrash_begin() and " "_PyTrash_end() functions which hide implementation details." msgstr "" #: ../build/NEWS:5792 msgid "" "`bpo-39884 `__: :c:func:" "`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` now include the method " "name in the SystemError \"bad call flags\" error message to ease debug." msgstr "" #: ../build/NEWS:5796 msgid "" "`bpo-39877 `__: Deprecated :c:func:" "`PyEval_InitThreads` and :c:func:`PyEval_ThreadsInitialized`. Calling :c:" "func:`PyEval_InitThreads` now does nothing." msgstr "" #: ../build/NEWS:5800 msgid "" "`bpo-38249 `__: :c:macro:" "`Py_UNREACHABLE` is now implemented with ``__builtin_unreachable()`` and " "analogs in release mode." msgstr "" #: ../build/NEWS:5803 msgid "" "`bpo-38643 `__: :c:func:" "`PyNumber_ToBase` now raises a :exc:`SystemError` instead of crashing when " "called with invalid base." msgstr "" #: ../build/NEWS:5806 msgid "" "`bpo-39882 `__: The :c:func:" "`Py_FatalError` function is replaced with a macro which logs automatically " "the name of the current function, unless the ``Py_LIMITED_API`` macro is " "defined." msgstr "" #: ../build/NEWS:5810 msgid "" "`bpo-39824 `__: Extension modules: :c:" "member:`~PyModuleDef.m_traverse`, :c:member:`~PyModuleDef.m_clear` and :c:" "member:`~PyModuleDef.m_free` functions of :c:type:`PyModuleDef` are no " "longer called if the module state was requested but is not allocated yet. " "This is the case immediately after the module is created and before the " "module is executed (:c:data:`Py_mod_exec` function). More precisely, these " "functions are not called if :c:member:`~PyModuleDef.m_size` is greater than " "0 and the module state (as returned by :c:func:`PyModule_GetState`) is " "``NULL``." msgstr "" #: ../build/NEWS:5819 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" #: ../build/NEWS:5821 msgid "" "`bpo-38913 `__: Fixed segfault in " "``Py_BuildValue()`` called with a format containing \"#\" and undefined " "PY_SSIZE_T_CLEAN whwn an exception is set." msgstr "" #: ../build/NEWS:5824 msgid "" "`bpo-38500 `__: Add a private API to get " "and set the frame evaluation function: add :c:func:" "`_PyInterpreterState_GetEvalFrameFunc` and :c:func:" "`_PyInterpreterState_SetEvalFrameFunc` C functions. The :c:type:" "`_PyFrameEvalFunction` function type now takes a *tstate* parameter." msgstr "" #: ../build/NEWS:5832 msgid "Python 3.9.0 alpha 4" msgstr "" #: ../build/NEWS:5834 msgid "*Release date: 2020-02-25*" msgstr "" #: ../build/NEWS:5839 msgid "" "`bpo-39184 `__: Add audit events to " "functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal` and " "`syslog`." msgstr "" #: ../build/NEWS:5842 msgid "" "`bpo-39401 `__: Avoid unsafe DLL load at " "startup on Windows 7 and earlier." msgstr "" #: ../build/NEWS:5844 msgid "" "`bpo-39184 `__: Add audit events to " "command execution functions in os and pty modules." msgstr "" #: ../build/NEWS:5850 msgid "" "`bpo-39382 `__: Fix a use-after-free in " "the single inheritance path of ``issubclass()``, when the ``__bases__`` of " "an object has a single reference, and so does its first item. Patch by " "Yonatan Goldschmidt." msgstr "" #: ../build/NEWS:5854 msgid "" "`bpo-39573 `__: Update clinic tool to " "use :c:func:`Py_IS_TYPE`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5857 msgid "" "`bpo-39619 `__: Enable use of :func:`os." "chroot` on HP-UX systems." msgstr "" #: ../build/NEWS:5859 msgid "" "`bpo-39573 `__: Add :c:func:`Py_IS_TYPE` " "static inline function to check whether the object *o* type is *type*." msgstr "" #: ../build/NEWS:5862 msgid "" "`bpo-39606 `__: Fix regression caused by " "fix for `bpo-39386 `__, that prevented " "calling ``aclose`` on an async generator that had already been closed or " "exhausted." msgstr "" #: ../build/NEWS:5866 msgid "" "`bpo-39579 `__: Change the ending column " "offset of `Attribute` nodes constructed in `ast_for_dotted_name` to point at " "the end of the current node and not at the end of the last `NAME` node." msgstr "" #: ../build/NEWS:5870 msgid "" "`bpo-1635741 `__: Port _crypt " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5873 msgid "" "`bpo-1635741 `__: Port _contextvars " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5876 msgid "" "`bpo-39510 `__: Fix segfault in " "``readinto()`` method on closed BufferedReader." msgstr "" #: ../build/NEWS:5878 msgid "" "`bpo-39502 `__: Fix :func:`time." "localtime` on 64-bit AIX to support years before 1902 and after 2038. Patch " "by M Felt." msgstr "" #: ../build/NEWS:5881 msgid "" "`bpo-39492 `__: Fix a reference cycle in " "the C Pickler that was preventing the garbage collection of deleted, pickled " "objects." msgstr "" #: ../build/NEWS:5884 msgid "" "`bpo-39453 `__: Fixed a possible crash " "in :meth:`list.__contains__` when a list is changed during comparing items. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5887 msgid "" "`bpo-39434 `__: :term:`floor division` " "of float operation now has a better performance. Also the message of :exc:" "`ZeroDivisionError` for this operation is updated. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5891 msgid "" "`bpo-1635741 `__: Port _codecs " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5894 msgid "" "`bpo-1635741 `__: Port _bz2 extension " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5897 msgid "" "`bpo-1635741 `__: Port _abc extension " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:5900 msgid "" "`bpo-39320 `__: Replace two complex " "bytecodes for building dicts with two simpler ones. The new bytecodes " "``DICT_MERGE`` and ``DICT_UPDATE`` have been added The old bytecodes " "``BUILD_MAP_UNPACK`` and ``BUILD_MAP_UNPACK_WITH_CALL`` have been removed." msgstr "" #: ../build/NEWS:5905 msgid "" "`bpo-39219 `__: Syntax errors raised in " "the tokenizer now always set correct \"text\" and \"offset\" attributes." msgstr "" #: ../build/NEWS:5908 msgid "" "`bpo-36051 `__: Drop the GIL during " "large ``bytes.join`` operations. Patch by Bruce Merry." msgstr "" #: ../build/NEWS:5911 msgid "" "`bpo-38960 `__: Fix DTrace build issues " "on FreeBSD. Patch by David Carlier." msgstr "" #: ../build/NEWS:5913 msgid "" "`bpo-37207 `__: Speed up calls to " "``range()`` by about 30%, by using the PEP 590 ``vectorcall`` calling " "convention. Patch by Mark Shannon." msgstr "" #: ../build/NEWS:5916 msgid "" "`bpo-36144 `__: :class:`dict` (and :" "class:`collections.UserDict`) objects now support PEP 584's merge (``|``) " "and update (``|=``) operators. Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:5920 msgid "" "`bpo-32856 `__: Optimized the idiom for " "assignment a temporary variable in comprehensions. Now ``for y in [expr]`` " "in comprehensions is as fast as a simple assignment ``y = expr``." msgstr "" #: ../build/NEWS:5927 msgid "" "`bpo-30566 `__: Fix :exc:`IndexError` " "when trying to decode an invalid string with punycode codec." msgstr "" #: ../build/NEWS:5930 msgid "" "`bpo-39649 `__: Remove obsolete check " "for `__args__` in bdb.Bdb.format_stack_entry." msgstr "" #: ../build/NEWS:5933 msgid "" "`bpo-39648 `__: Expanded :func:`math." "gcd` and :func:`math.lcm` to handle multiple arguments." msgstr "" #: ../build/NEWS:5936 msgid "" "`bpo-39681 `__: Fix a regression where " "the C pickle module wouldn't allow unpickling from a file-like object that " "doesn't expose a readinto() method." msgstr "" #: ../build/NEWS:5940 msgid "" "`bpo-35950 `__: Raise :exc:`io." "UnsupportedOperation` in :meth:`io.BufferedReader.truncate` when it is " "called on a read-only :class:`io.BufferedReader` instance." msgstr "" #: ../build/NEWS:5944 msgid "" "`bpo-39479 `__: Add :func:`math.lcm` " "function: least common multiple." msgstr "" #: ../build/NEWS:5946 msgid "" "`bpo-39674 `__: Revert \"Do not expose " "abstract collection classes in the collections module\" change (`bpo-25988 " "`__). Aliases to ABC like collections." "Mapping are kept in Python 3.9 to ease transition from Python 2.7, but will " "be removed in Python 3.10." msgstr "" #: ../build/NEWS:5951 msgid "" "`bpo-39104 `__: Fix hanging " "ProcessPoolExcutor on ``shutdown(wait=False)`` when a task has failed " "pickling." msgstr "" #: ../build/NEWS:5954 msgid "" "`bpo-39627 `__: Fixed TypedDict totality " "check for inherited keys." msgstr "" #: ../build/NEWS:5956 msgid "" "`bpo-39474 `__: Fixed starting position " "of AST for expressions like ``(a)(b)``, ``(a)[b]`` and ``(a).b``." msgstr "" #: ../build/NEWS:5959 msgid "" "`bpo-21016 `__: The :mod:`pydoc` and :" "mod:`trace` modules now use the :mod:`sysconfig` module to get the path to " "the Python standard library, to support uncommon installation path like ``/" "usr/lib64/python3.9/`` on Fedora. Patch by Jan Matějek." msgstr "" #: ../build/NEWS:5964 msgid "" "`bpo-39590 `__: Collections.deque now " "holds strong references during deque.__contains__ and deque.count, fixing " "crashes." msgstr "" #: ../build/NEWS:5967 msgid "" "`bpo-39586 `__: The distutils " "``bdist_msi`` command is deprecated in Python 3.9, use ``bdist_wheel`` " "(wheel packages) instead." msgstr "" #: ../build/NEWS:5970 msgid "" "`bpo-39595 `__: Improved performance of " "zipfile.Path for files with a large number of entries. Also improved " "performance and fixed minor issue as published with `importlib_metadata 1.5 " "`_." msgstr "" #: ../build/NEWS:5975 msgid "" "`bpo-39350 `__: Fix regression in :class:" "`fractions.Fraction` if the numerator and/or the denominator is an :class:" "`int` subclass. The :func:`math.gcd` function is now used to normalize the " "*numerator* and *denominator*. :func:`math.gcd` always return a :class:`int` " "type. Previously, the GCD type depended on *numerator* and *denominator*." msgstr "" #: ../build/NEWS:5981 msgid "" "`bpo-39567 `__: Added audit for :func:" "`os.walk`, :func:`os.fwalk`, :meth:`pathlib.Path.glob` and :meth:`pathlib." "Path.rglob`." msgstr "" #: ../build/NEWS:5984 msgid "" "`bpo-39559 `__: Remove unused, " "undocumented argument ``getters`` from :func:`uuid.getnode`" msgstr "" #: ../build/NEWS:5987 msgid "" "`bpo-38149 `__: :func:`sys.audit` is now " "called only once per call of :func:`glob.glob` and :func:`glob.iglob`." msgstr "" #: ../build/NEWS:5990 msgid "" "`bpo-39546 `__: Fix a regression in :" "class:`~argparse.ArgumentParser` where ``allow_abbrev=False`` was ignored " "for long options that used a prefix character other than \"-\"." msgstr "" #: ../build/NEWS:5994 msgid "" "`bpo-39450 `__: Striped whitespace from " "docstring before returning it from :func:`unittest.case.shortDescription`." msgstr "" #: ../build/NEWS:5997 msgid "" "`bpo-12915 `__: A new function " "``resolve_name`` has been added to the ``pkgutil`` module. This resolves a " "string of the form ``'a.b.c.d'`` or ``'a.b:c.d'`` to an object. In the " "example, ``a.b`` is a package/module and ``c.d`` is an object within that " "package/module reached via recursive attribute access." msgstr "" #: ../build/NEWS:6003 msgid "" "`bpo-39353 `__: The :func:`binascii." "crc_hqx` function is no longer deprecated." msgstr "" #: ../build/NEWS:6005 msgid "" "`bpo-39493 `__: Mark ``typing.IO." "closed`` as a property" msgstr "" #: ../build/NEWS:6007 msgid "" "`bpo-39491 `__: Add :data:`typing." "Annotated` and ``include_extras`` parameter to :func:`typing.get_type_hints` " "as part of :pep:`593`. Patch by Till Varoquaux, documentation by Till " "Varoquaux and Konstantin Kashin." msgstr "" #: ../build/NEWS:6011 msgid "" "`bpo-39485 `__: Fix a bug in :func:" "`unittest.mock.create_autospec` that would complain about the wrong number " "of arguments for custom descriptors defined in an extension module returning " "functions." msgstr "" #: ../build/NEWS:6015 msgid "" "`bpo-38932 `__: Mock fully resets child " "objects on reset_mock(). Patch by Vegard Stikbakke" msgstr "" #: ../build/NEWS:6018 msgid "" "`bpo-39082 `__: Allow AsyncMock to " "correctly patch static/class methods" msgstr "" #: ../build/NEWS:6020 msgid "" "`bpo-39432 `__: Implement PEP-489 " "algorithm for non-ascii \"PyInit\\_...\" symbol names in distutils to make " "it export the correct init symbol also on Windows." msgstr "" #: ../build/NEWS:6024 msgid "" "`bpo-18819 `__: Omit ``devmajor`` and " "``devminor`` fields for non-device files in :mod:`tarfile` archives, " "enabling bit-for-bit compatibility with GNU ``tar(1)``." msgstr "" #: ../build/NEWS:6028 msgid "" "`bpo-39349 `__: Added a new " "*cancel_futures* parameter to :meth:`concurrent.futures.Executor.shutdown` " "that cancels all pending futures which have not started running, instead of " "waiting for them to complete before shutting down the executor." msgstr "" #: ../build/NEWS:6033 msgid "" "`bpo-39274 `__: ``bool(fraction." "Fraction)`` now returns a boolean even if (numerator != 0) does not return a " "boolean (ex: numpy number)." msgstr "" #: ../build/NEWS:6036 msgid "" "`bpo-34793 `__: Remove support for " "``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):``. The " "same is correct for ``asyncio.Condition`` and ``asyncio.Semaphore``." msgstr "" #: ../build/NEWS:6040 msgid "" "`bpo-25597 `__: Ensure, if ``wraps`` is " "supplied to :class:`unittest.mock.MagicMock`, it is used to calculate return " "values for the magic methods instead of using the default return values. " "Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:6045 msgid "" "`bpo-36350 `__: `inspect.Signature." "parameters` and `inspect.BoundArguments.arguments` are now dicts instead of " "OrderedDicts. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:6049 msgid "" "`bpo-35727 `__: Fix sys.exit() and sys." "exit(None) exit code propagation when used in multiprocessing.Process." msgstr "" #: ../build/NEWS:6052 msgid "" "`bpo-32173 `__: * Add `lazycache` " "function to `__all__`. * Use `dict.clear` to clear the cache. * Refactoring " "`getline` function and `checkcache` function." msgstr "" #: ../build/NEWS:6059 msgid "" "`bpo-17422 `__: The language reference " "now specifies restrictions on class namespaces. Adapted from a patch by " "Ethan Furman." msgstr "" #: ../build/NEWS:6062 msgid "" "`bpo-39572 `__: Updated documentation of " "``total`` flag of ``TypedDict``." msgstr "" #: ../build/NEWS:6064 msgid "" "`bpo-39654 `__: In pyclbr doc, update " "'class' to 'module' where appropriate and add readmodule comment. Patch by " "Hakan Çelik." msgstr "" #: ../build/NEWS:6067 msgid "" "`bpo-39153 `__: Clarify refcounting " "semantics for the following functions: - PyObject_SetItem - " "PyMapping_SetItemString - PyDict_SetItem - PyDict_SetItemString" msgstr "" #: ../build/NEWS:6071 msgid "" "`bpo-39392 `__: Explain that when " "filling with turtle, overlap regions may be left unfilled." msgstr "" #: ../build/NEWS:6074 msgid "" "`bpo-39369 `__: Update mmap readline " "method description. The fact that the readline method does update the file " "position should not be ignored since this might give the impression for the " "programmer that it doesn't update it." msgstr "" #: ../build/NEWS:6079 msgid "" "`bpo-9056 `__: Include subsection in TOC " "for PDF version of docs." msgstr "" #: ../build/NEWS:6084 msgid "" "`bpo-38325 `__: Skip tests on non-BMP " "characters of test_winconsoleio." msgstr "" #: ../build/NEWS:6086 msgid "" "`bpo-39502 `__: Skip test_zipfile." "test_add_file_after_2107() if :func:`time.localtime` fails with :exc:" "`OverflowError`. It is the case on AIX 6.1 for example." msgstr "" #: ../build/NEWS:6093 msgid "" "`bpo-39489 `__: Remove ``COUNT_ALLOCS`` " "special build." msgstr "" #: ../build/NEWS:6098 msgid "" "`bpo-39553 `__: Delete unused code " "related to SxS manifests." msgstr "" #: ../build/NEWS:6100 msgid "" "`bpo-39439 `__: Honor the Python path " "when a virtualenv is active on Windows." msgstr "" #: ../build/NEWS:6102 msgid "" "`bpo-39393 `__: Improve the error " "message when attempting to load a DLL with unresolved dependencies." msgstr "" #: ../build/NEWS:6105 msgid "" "`bpo-38883 `__: :meth:`~pathlib.Path." "home()` and :meth:`~pathlib.Path.expanduser()` on Windows now prefer :envvar:" "`USERPROFILE` and no longer use :envvar:`HOME`, which is not normally set " "for regular user accounts. This makes them again behave like :func:`os.path." "expanduser`, which was changed to ignore :envvar:`HOME` in 3.8, see :issue:" "`36264`." msgstr "" #: ../build/NEWS:6112 msgid "" "`bpo-39185 `__: The build.bat script has " "additional options for very-quiet output (-q) and very-verbose output (-vv)" msgstr "" #: ../build/NEWS:6118 msgid "" "`bpo-39663 `__: Add tests for pyparse " "find_good_parse_start()." msgstr "" #: ../build/NEWS:6120 msgid "" "`bpo-39600 `__: In the font " "configuration window, remove duplicated font names." msgstr "" #: ../build/NEWS:6122 msgid "" "`bpo-30780 `__: Add remaining " "configdialog tests for buttons and highlights and keys tabs." msgstr "" #: ../build/NEWS:6125 msgid "" "`bpo-39388 `__: IDLE Settings Cancel " "button now cancels pending changes" msgstr "" #: ../build/NEWS:6127 msgid "" "`bpo-38792 `__: Close an IDLE shell " "calltip if a :exc:`KeyboardInterrupt` or shell restart occurs. Patch by " "Zackery Spytz." msgstr "" #: ../build/NEWS:6133 msgid "" "`bpo-35081 `__: Move the ``bytes_methods." "h`` header file to the internal C API as ``pycore_bytes_methods.h``: it only " "contains private symbols (prefixed by ``_Py``), except of the " "``PyDoc_STRVAR_shared()`` macro." msgstr "" #: ../build/NEWS:6137 msgid "" "`bpo-35081 `__: Move the ``dtoa.h`` " "header file to the internal C API as ``pycore_dtoa.h``: it only contains " "private functions (prefixed by ``_Py``). The :mod:`math` and :mod:`cmath` " "modules must now be compiled with the ``Py_BUILD_CORE`` macro defined." msgstr "" #: ../build/NEWS:6142 msgid "" "`bpo-39573 `__: Add :c:func:" "`Py_SET_SIZE` function to set the size of an object." msgstr "" #: ../build/NEWS:6145 msgid "" "`bpo-39500 `__: :c:func:" "`PyUnicode_IsIdentifier` does not call :c:func:`Py_FatalError` anymore if " "the string is not ready." msgstr "" #: ../build/NEWS:6148 msgid "" "`bpo-39573 `__: Add :c:func:" "`Py_SET_TYPE` function to set the type of an object." msgstr "" #: ../build/NEWS:6151 msgid "" "`bpo-39573 `__: Add a :c:func:" "`Py_SET_REFCNT` function to set the reference counter of an object." msgstr "" #: ../build/NEWS:6154 msgid "" "`bpo-39542 `__: Convert :c:func:" "`PyType_HasFeature`, :c:func:`PyType_Check` and :c:func:`PyType_CheckExact` " "macros to static inline functions." msgstr "" #: ../build/NEWS:6157 msgid "" "`bpo-39542 `__: In the limited C API, " "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` are now defined as aliases " "to :c:func:`PyObject_Init` and :c:func:`PyObject_InitVar` to make their " "implementation opaque. It avoids to leak implementation details in the " "limited C API. Exclude the following functions from the limited C API: " "``_Py_NewReference()``, ``_Py_ForgetReference()``, " "``_PyTraceMalloc_NewReference()`` and ``_Py_GetRefTotal()``." msgstr "" #: ../build/NEWS:6165 msgid "" "`bpo-39542 `__: Exclude trashcan " "mechanism from the limited C API: it requires access to PyTypeObject and " "PyThreadState structure fields, whereas these structures are opaque in the " "limited C API." msgstr "" #: ../build/NEWS:6169 msgid "" "`bpo-39511 `__: The :c:func:" "`PyThreadState_Clear` function now calls the :c:member:`PyThreadState." "on_delete` callback. Previously, that happened in :c:func:" "`PyThreadState_Delete`." msgstr "" #: ../build/NEWS:6173 msgid "" "`bpo-38076 `__: Fix to clear the " "interpreter state only after clearing module globals to guarantee module " "state access from C Extensions during runtime destruction" msgstr "" #: ../build/NEWS:6177 msgid "" "`bpo-39245 `__: The Vectorcall API (PEP " "590) was made public, adding the functions ``PyObject_Vectorcall``, " "``PyObject_VectorcallMethod``, ``PyVectorcall_Function``, " "``PyObject_CallOneArg``, ``PyObject_CallMethodNoArgs``, " "``PyObject_CallMethodOneArg``, ``PyObject_FastCallDict``, and the flag " "``Py_TPFLAGS_HAVE_VECTORCALL``." msgstr "" #: ../build/NEWS:6185 msgid "Python 3.9.0 alpha 3" msgstr "" #: ../build/NEWS:6187 msgid "*Release date: 2020-01-24*" msgstr "" #: ../build/NEWS:6192 msgid "" "`bpo-39427 `__: Document all " "possibilities for the ``-X`` options in the command line help section. Patch " "by Pablo Galindo." msgstr "" #: ../build/NEWS:6195 msgid "" "`bpo-39421 `__: Fix possible crashes " "when operating with the functions in the :mod:`heapq` module and custom " "comparison operators." msgstr "" #: ../build/NEWS:6198 msgid "" "`bpo-39386 `__: Prevent double awaiting " "of async iterator." msgstr "" #: ../build/NEWS:6200 msgid "" "`bpo-17005 `__: Add :class:`functools." "TopologicalSorter` to the :mod:`functools` module to offers functionality to " "perform topological sorting of graphs. Patch by Pablo Galindo, Tim Peters " "and Larry Hastings." msgstr "" #: ../build/NEWS:6204 msgid "" "`bpo-39320 `__: Replace four complex " "bytecodes for building sequences with three simpler ones." msgstr "" #: ../build/NEWS:6207 msgid "The following four bytecodes have been removed:" msgstr "" #: ../build/NEWS:6209 msgid "BUILD_LIST_UNPACK" msgstr "" #: ../build/NEWS:6210 msgid "BUILD_TUPLE_UNPACK" msgstr "" #: ../build/NEWS:6211 msgid "BUILD_SET_UNPACK" msgstr "" #: ../build/NEWS:6212 msgid "BUILD_TUPLE_UNPACK_WITH_CALL" msgstr "" #: ../build/NEWS:6214 msgid "The following three bytecodes have been added:" msgstr "" #: ../build/NEWS:6216 msgid "LIST_TO_TUPLE" msgstr "" #: ../build/NEWS:6217 msgid "LIST_EXTEND" msgstr "" #: ../build/NEWS:6218 msgid "SET_UPDATE" msgstr "" #: ../build/NEWS:6220 msgid "" "`bpo-39336 `__: Import loaders which " "publish immutable module objects can now publish immutable packages in " "addition to individual modules." msgstr "" #: ../build/NEWS:6223 msgid "" "`bpo-39322 `__: Added a new function :" "func:`gc.is_finalized` to check if an object has been finalized by the " "garbage collector. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6227 msgid "" "`bpo-39048 `__: Improve the displayed " "error message when incorrect types are passed to ``async with`` statements " "by looking up the :meth:`__aenter__` special method before the :meth:" "`__aexit__` special method when entering an asynchronous context manager. " "Patch by Géry Ogam." msgstr "" #: ../build/NEWS:6232 msgid "" "`bpo-39235 `__: Fix AST end location for " "lone generator expression in function call, e.g. f(i for i in a)." msgstr "" #: ../build/NEWS:6235 msgid "" "`bpo-39209 `__: Correctly handle multi-" "line tokens in interactive mode. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6238 msgid "" "`bpo-1635741 `__: Port _json extension " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:6241 msgid "" "`bpo-39216 `__: Fix constant folding " "optimization for positional only arguments - by Anthony Sottile." msgstr "" #: ../build/NEWS:6244 msgid "" "`bpo-39215 `__: Fix ``SystemError`` when " "nested function has annotation on positional-only argument - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:6247 msgid "" "`bpo-39200 `__: Correct the error " "message when calling the :func:`min` or :func:`max` with no arguments. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:6250 msgid "" "`bpo-39200 `__: Correct the error " "message when trying to construct :class:`range` objects with no arguments. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6253 msgid "" "`bpo-39166 `__: Fix incorrect line " "execution reporting in trace functions when tracing the last iteration of " "asynchronous for loops. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6257 msgid "" "`bpo-39114 `__: Fix incorrent line " "execution reporting in trace functions when tracing exception handlers with " "name binding. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6260 msgid "" "`bpo-39156 `__: Split the COMPARE_OP " "bytecode instruction into four distinct instructions." msgstr "" #: ../build/NEWS:6263 msgid "COMPARE_OP for rich comparisons" msgstr "" #: ../build/NEWS:6264 msgid "IS_OP for 'is' and 'is not' tests" msgstr "" #: ../build/NEWS:6265 msgid "CONTAINS_OP for 'in' and 'is not' tests" msgstr "" #: ../build/NEWS:6266 msgid "" "JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements." msgstr "" #: ../build/NEWS:6268 msgid "" "This improves the clarity of the interpreter and should provide a modest " "speedup." msgstr "" #: ../build/NEWS:6271 msgid "" "`bpo-38588 `__: Fix possible crashes in " "dict and list when calling :c:func:`PyObject_RichCompareBool`." msgstr "" #: ../build/NEWS:6274 msgid "" "`bpo-13601 `__: By default, ``sys." "stderr`` is line-buffered now, even if ``stderr`` is redirected to a file. " "You can still make ``sys.stderr`` unbuffered by passing the :option:`-u` " "command-line option or setting the :envvar:`PYTHONUNBUFFERED` environment " "variable." msgstr "" #: ../build/NEWS:6279 msgid "" "(Contributed by Jendrik Seipp in `bpo-13601 `__.)" msgstr "" #: ../build/NEWS:6281 msgid "" "`bpo-38610 `__: Fix possible crashes in " "several list methods by holding strong references to list elements when " "calling :c:func:`PyObject_RichCompareBool`." msgstr "" #: ../build/NEWS:6285 msgid "" "`bpo-32021 `__: Include brotli .br " "encoding in mimetypes encodings_map" msgstr "" #: ../build/NEWS:6290 msgid "" "`bpo-39430 `__: Fixed race condition in " "lazy imports in :mod:`tarfile`." msgstr "" #: ../build/NEWS:6292 msgid "" "`bpo-39413 `__: The :func:`os.unsetenv` " "function is now also available on Windows." msgstr "" #: ../build/NEWS:6295 msgid "" "`bpo-39390 `__: Fixed a regression with " "the `ignore` callback of :func:`shutil.copytree`. The argument types are now " "str and List[str] again." msgstr "" #: ../build/NEWS:6299 msgid "" "`bpo-39395 `__: The :func:`os.putenv` " "and :func:`os.unsetenv` functions are now always available." msgstr "" #: ../build/NEWS:6302 msgid "" "`bpo-39406 `__: If ``setenv()`` C " "function is available, :func:`os.putenv` is now implemented with " "``setenv()`` instead of ``putenv()``, so Python doesn't have to handle the " "environment variable memory." msgstr "" #: ../build/NEWS:6306 msgid "" "`bpo-39396 `__: Fix ``math." "nextafter(-0.0, +0.0)`` on AIX 7.1." msgstr "" #: ../build/NEWS:6308 msgid "" "`bpo-29435 `__: Allow :func:`tarfile." "is_tarfile` to be used with file and file-like objects, like :func:`zipfile." "is_zipfile`. Patch by William Woodruff." msgstr "" #: ../build/NEWS:6312 msgid "" "`bpo-39377 `__: Removed ``encoding`` " "option from :func:`json.loads`. It has been deprecated since Python 3.1." msgstr "" #: ../build/NEWS:6315 msgid "" "`bpo-39389 `__: Write accurate " "compression level metadata in :mod:`gzip` archives, rather than always " "signaling maximum compression." msgstr "" #: ../build/NEWS:6318 msgid "" "`bpo-39366 `__: The previously " "deprecated ``xpath()`` and ``xgtitle()`` methods of :class:`nntplib.NNTP` " "have been removed." msgstr "" #: ../build/NEWS:6321 msgid "" "`bpo-39357 `__: Remove the *buffering* " "parameter of :class:`bz2.BZ2File`. Since Python 3.0, it was ignored and " "using it was emitting :exc:`DeprecationWarning`. Pass an open file object, " "to control how the file is opened. The *compresslevel* parameter becomes " "keyword-only." msgstr "" #: ../build/NEWS:6326 msgid "" "`bpo-39353 `__: Deprecate binhex4 and " "hexbin4 standards. Deprecate the :mod:`binhex` module and the following :mod:" "`binascii` functions: :func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`, :" "func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`, :func:" "`~binascii.crc_hqx`." msgstr "" #: ../build/NEWS:6332 msgid "" "`bpo-39351 `__: Remove ``base64." "encodestring()`` and ``base64.decodestring()``, aliases deprecated since " "Python 3.1: use :func:`base64.encodebytes` and :func:`base64.decodebytes` " "instead." msgstr "" #: ../build/NEWS:6336 msgid "" "`bpo-39350 `__: Remove ``fractions." "gcd()`` function, deprecated since Python 3.5 (:issue:`22486`): use :func:" "`math.gcd` instead." msgstr "" #: ../build/NEWS:6339 msgid "" "`bpo-39329 `__: :class:`~smtplib.LMTP` " "constructor now has an optional *timeout* parameter. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6342 msgid "" "`bpo-39313 `__: Add a new " "``exec_function`` option (*--exec-function* in the CLI) to " "``RefactoringTool`` for making ``exec`` a function. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:6346 msgid "" "`bpo-39259 `__: :class:`~ftplib.FTP_TLS` " "and :class:`~ftplib.FTP_TLS` now raise a :class:`ValueError` if the given " "timeout for their constructor is zero to prevent the creation of a non-" "blocking socket. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6350 msgid "" "`bpo-39259 `__: :class:`~smtplib.SMTP` " "and :class:`~smtplib.SMTP_SSL` now raise a :class:`ValueError` if the given " "timeout for their constructor is zero to prevent the creation of a non-" "blocking socket. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6354 msgid "" "`bpo-39310 `__: Add :func:`math.ulp`: " "return the value of the least significant bit of a float." msgstr "" #: ../build/NEWS:6357 msgid "" "`bpo-39297 `__: Improved performance of " "importlib.metadata distribution discovery and resilients to inaccessible sys." "path entries (importlib_metadata v1.4.0)." msgstr "" #: ../build/NEWS:6361 msgid "" "`bpo-39259 `__: :class:`~nntplib.NNTP` " "and :class:`~nntplib.NNTP_SSL` now raise a :class:`ValueError` if the given " "timeout for their constructor is zero to prevent the creation of a non-" "blocking socket. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6365 msgid "" "`bpo-38901 `__: When you specify " "prompt='.' or equivalently python -m venv --prompt . ... the basename of the " "current directory is used to set the created venv's prompt when it's " "activated." msgstr "" #: ../build/NEWS:6369 msgid "" "`bpo-39288 `__: Add :func:`math." "nextafter`: return the next floating-point value after *x* towards *y*." msgstr "" #: ../build/NEWS:6372 msgid "" "`bpo-39259 `__: :class:`~poplib.POP3` " "and :class:`~poplib.POP3_SSL` now raise a :class:`ValueError` if the given " "timeout for their constructor is zero to prevent the creation of a non-" "blocking socket. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6376 msgid "" "`bpo-39242 `__: Updated the Gmane domain " "from news.gmane.org to news.gmane.io which is used for examples of :class:" "`~nntplib.NNTP` news reader server and nntplib tests." msgstr "" #: ../build/NEWS:6380 msgid "" "`bpo-35292 `__: Proxy the " "`SimpleHTTPRequestHandler.guess_type` to `mimetypes.guess_type` so the " "`mimetypes.init` is called lazily to avoid unnecessary costs when :mod:`http." "server` module is imported." msgstr "" #: ../build/NEWS:6384 msgid "" "`bpo-39239 `__: The :meth:`select.epoll." "unregister` method no longer ignores the :data:`~errno.EBADF` error." msgstr "" #: ../build/NEWS:6387 msgid "" "`bpo-38907 `__: In http.server script, " "restore binding to IPv4 on Windows." msgstr "" #: ../build/NEWS:6389 msgid "" "`bpo-39152 `__: Fix ttk.Scale." "configure([name]) to return configuration tuple for name or all options. " "Giovanni Lombardo contributed part of the patch." msgstr "" #: ../build/NEWS:6392 msgid "" "`bpo-39198 `__: If an exception were to " "be thrown in `Logger.isEnabledFor` (say, by asyncio timeouts or stopit) , " "the `logging` global lock may not be released appropriately, resulting in " "deadlock. This change wraps that block of code with `try...finally` to " "ensure the lock is released." msgstr "" #: ../build/NEWS:6397 msgid "" "`bpo-39191 `__: Perform a check for " "running loop before starting a new task in ``loop.run_until_complete()`` to " "fail fast; it prevents the side effect of new task spawning before exception " "raising." msgstr "" #: ../build/NEWS:6401 msgid "" "`bpo-38871 `__: Correctly parenthesize " "filter-based statements that contain lambda expressions in mod:`lib2to3`. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6404 msgid "" "`bpo-39142 `__: A change was made to " "logging.config.dictConfig to avoid converting instances of named tuples to " "ConvertingTuple. It's assumed that named tuples are too specialised to be " "treated like ordinary tuples; if a user of named tuples requires " "ConvertingTuple functionality, they will have to implement that themselves " "in their named tuple class." msgstr "" #: ../build/NEWS:6410 msgid "" "`bpo-39158 `__: ast.literal_eval() now " "supports empty sets." msgstr "" #: ../build/NEWS:6412 msgid "" "`bpo-39129 `__: Fix import path for " "``asyncio.TimeoutError``" msgstr "" #: ../build/NEWS:6414 msgid "" "`bpo-39057 `__: :func:`urllib.request." "proxy_bypass_environment` now ignores leading dots and no longer ignores a " "trailing newline." msgstr "" #: ../build/NEWS:6417 msgid "" "`bpo-39056 `__: Fixed handling invalid " "warning category in the -W option. No longer import the re module if it is " "not needed." msgstr "" #: ../build/NEWS:6420 msgid "" "`bpo-39055 `__: :func:`base64.b64decode` " "with ``validate=True`` raises now a binascii.Error if the input ends with a " "single ``\\n``." msgstr "" #: ../build/NEWS:6423 msgid "" "`bpo-21600 `__: Fix :func:`mock.patch." "stopall` to stop active patches that were created with :func:`mock.patch." "dict`." msgstr "" #: ../build/NEWS:6426 msgid "" "`bpo-39019 `__: Implement dummy " "``__class_getitem__`` for :class:`tempfile.SpooledTemporaryFile`." msgstr "" #: ../build/NEWS:6429 msgid "" "`bpo-39019 `__: Implement dummy " "``__class_getitem__`` for ``subprocess.Popen``, ``subprocess." "CompletedProcess``" msgstr "" #: ../build/NEWS:6432 msgid "" "`bpo-38914 `__: Adjusted the wording of " "the warning issued by distutils' ``check`` command when the ``author`` and " "``maintainer`` fields are supplied but no corresponding e-mail field " "(``author_email`` or ``maintainer_email``) is found. The wording now " "reflects the fact that these fields are suggested, but not required. Patch " "by Juergen Gmach." msgstr "" #: ../build/NEWS:6438 msgid "" "`bpo-38878 `__: Fixed __subclasshook__ " "of :class:`os.PathLike` to return a correct result upon inheritence. Patch " "by Bar Harel." msgstr "" #: ../build/NEWS:6441 msgid "" "`bpo-38615 `__: :class:`~imaplib.IMAP4` " "and :class:`~imaplib.IMAP4_SSL` now have an optional *timeout* parameter for " "their constructors. Also, the :meth:`~imaplib.IMAP4.open` method now has an " "optional *timeout* parameter with this change. The overridden methods of :" "class:`~imaplib.IMAP4_SSL` and :class:`~imaplib.IMAP4_stream` were applied " "to this change. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6448 msgid "" "`bpo-35182 `__: Fixed :func:`Popen." "communicate` subsequent call crash when the child process has already closed " "any piped standard stream, but still continues to be running. Patch by " "Andriy Maletsky." msgstr "" #: ../build/NEWS:6452 msgid "" "`bpo-38630 `__: On Unix, :meth:" "`subprocess.Popen.send_signal` now polls the process status. Polling reduces " "the risk of sending a signal to the wrong process if the process completed, " "the :attr:`subprocess.Popen.returncode` attribute is still ``None``, and the " "pid has been reassigned (recycled) to a new different process." msgstr "" #: ../build/NEWS:6458 msgid "" "`bpo-38536 `__: Removes trailing space " "in formatted currency with `international=True` and a locale with symbol " "following value. E.g. `locale.currency(12.34, international=True)` returned " "`'12,34 EUR '` instead of `'12,34 EUR'`." msgstr "" #: ../build/NEWS:6463 msgid "" "`bpo-38473 `__: Use signature from inner " "mock for autospecced methods attached with :func:`unittest.mock." "attach_mock`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:6466 msgid "" "`bpo-38361 `__: Fixed an issue where " "``ident`` could include a leading path separator when :func:`syslog.openlog` " "was called without arguments." msgstr "" #: ../build/NEWS:6469 msgid "" "`bpo-38293 `__: Add :func:`copy.copy` " "and :func:`copy.deepcopy` support to :func:`property` objects." msgstr "" #: ../build/NEWS:6472 msgid "" "`bpo-37958 `__: Added the pstats.Stats." "get_profile_dict() method to return the profile data as a StatsProfile " "instance." msgstr "" #: ../build/NEWS:6475 msgid "" "`bpo-28367 `__: Termios magic constants " "for the following baud rates: - B500000 - B576000 - B921600 - " "B1000000 - B1152000 - B1500000 - B2000000 - B2500000 - B3000000 " "- B3500000 - B4000000 Patch by Andrey Smirnov" msgstr "" #: ../build/NEWS:6483 msgid "" "`bpo-39381 `__: Mention in docs that :" "func:`asyncio.get_event_loop` implicitly creates new event loop only if " "called from the main thread." msgstr "" #: ../build/NEWS:6486 msgid "" "`bpo-38918 `__: Add an entry for " "``__module__`` in the \"function\" & \"method\" sections of the `inspect " "docs types and members table `_" msgstr "" #: ../build/NEWS:6490 msgid "" "`bpo-3530 `__: In the :mod:`ast` module " "documentation, fix a misleading ``NodeTransformer`` example and add advice " "on when to use the ``fix_missing_locations`` function." msgstr "" #: ../build/NEWS:6497 msgid "" "`bpo-39395 `__: On non-Windows " "platforms, the :c:func:`setenv` and :c:func:`unsetenv` functions are now " "required to build Python." msgstr "" #: ../build/NEWS:6500 msgid "" "`bpo-39160 `__: Updated the " "documentation in `./configure --help` to show default values, reference " "documentation where required and add additional explanation where needed." msgstr "" #: ../build/NEWS:6504 msgid "" "`bpo-39144 `__: The ctags and etags " "build targets both include Modules/_ctypes and Python standard library " "source files." msgstr "" #: ../build/NEWS:6510 msgid "" "`bpo-39050 `__: Make IDLE Settings " "dialog Help button work again." msgstr "" #: ../build/NEWS:6512 msgid "" "`bpo-34118 `__: Tag memoryview, range, " "and tuple as classes, the same as list, etcetera, in the library manual " "built-in functions list." msgstr "" #: ../build/NEWS:6515 msgid "" "`bpo-32989 `__: Add tests for editor " "newline_and_indent_event method. Remove dead code from pyparse " "find_good_parse_start method." msgstr "" #: ../build/NEWS:6521 msgid "" "`bpo-39372 `__: Clean header files of " "interfaces defined but with no implementation. The public API symbols being " "removed are: ``_PyBytes_InsertThousandsGroupingLocale``, " "``_PyBytes_InsertThousandsGrouping``, ``_Py_InitializeFromArgs``, " "``_Py_InitializeFromWideArgs``, ``_PyFloat_Repr``, ``_PyFloat_Digits``, " "``_PyFloat_DigitsInit``, ``PyFrame_ExtendStack``, ``_PyAIterWrapper_Type``, " "``PyNullImporter_Type``, ``PyCmpWrapper_Type``, ``PySortWrapper_Type``, " "``PyNoArgsFunction``." msgstr "" #: ../build/NEWS:6530 msgid "" "`bpo-39164 `__: Add a private " "``_PyErr_GetExcInfo()`` function to retrieve exception information of the " "specified Python thread state." msgstr "" #: ../build/NEWS:6535 msgid "Python 3.9.0 alpha 2" msgstr "" #: ../build/NEWS:6537 msgid "*Release date: 2019-12-18*" msgstr "" #: ../build/NEWS:6542 msgid "" "`bpo-38945 `__: Newline characters have " "been escaped when performing uu encoding to prevent them from overflowing " "into to content section of the encoded file. This prevents malicious or " "accidental modification of data during the decoding process." msgstr "" #: ../build/NEWS:6547 msgid "" "`bpo-37228 `__: Due to significant " "security concerns, the *reuse_address* parameter of :meth:`asyncio.loop." "create_datagram_endpoint` is no longer supported. This is because of the " "behavior of ``SO_REUSEADDR`` in UDP. For more details, see the documentation " "for ``loop.create_datagram_endpoint()``. (Contributed by Kyle Stanley, " "Antoine Pitrou, and Yury Selivanov in :issue:`37228`.)" msgstr "" #: ../build/NEWS:6554 msgid "" "`bpo-38804 `__: Fixes a ReDoS " "vulnerability in :mod:`http.cookiejar`. Patch by Ben Caller." msgstr "" #: ../build/NEWS:6560 msgid "" "`bpo-39028 `__: Slightly improve the " "speed of keyword argument parsing with many kwargs by strengthening the " "assumption that kwargs are interned strings." msgstr "" #: ../build/NEWS:6564 msgid "" "`bpo-39080 `__: Fix the value of " "*end_col_offset* for Starred Expression AST nodes when they are among the " "elements in the *args* attribute of Call AST nodes." msgstr "" #: ../build/NEWS:6568 msgid "" "`bpo-39031 `__: When parsing an \"elif\" " "node, lineno and col_offset of the node now point to the \"elif\" keyword " "and not to its condition, making it consistent with the \"if\" node. Patch " "by Lysandros Nikolaou." msgstr "" #: ../build/NEWS:6572 msgid "" "`bpo-20443 `__: In Python 3.9.0a1, sys." "argv[0] was made an absolute path if a filename was specified on the command " "line. Revert this change, since most users expect sys.argv to be unmodified." msgstr "" #: ../build/NEWS:6576 msgid "" "`bpo-39008 `__: :c:func:`PySys_Audit` " "now requires ``Py_ssize_t`` to be used for size arguments in the format " "string, regardless of whether ``PY_SSIZE_T_CLEAN`` was defined at include " "time." msgstr "" #: ../build/NEWS:6580 msgid "" "`bpo-38673 `__: In REPL mode, don't " "switch to PS2 if the line starts with comment or whitespace. Based on work " "by Batuhan Taşkaya." msgstr "" #: ../build/NEWS:6583 msgid "" "`bpo-38922 `__: Calling ``replace`` on a " "code object now raises the ``code.__new__`` audit event." msgstr "" #: ../build/NEWS:6586 msgid "" "`bpo-38920 `__: Add audit hooks for " "when :func:`sys.excepthook` and :func:`sys.unraisablehook` are invoked." msgstr "" #: ../build/NEWS:6589 msgid "" "`bpo-38892 `__: Improve documentation " "for audit events table and functions." msgstr "" #: ../build/NEWS:6591 msgid "" "`bpo-38852 `__: Set the thread stack " "size to 8 Mb for debug builds on android platforms." msgstr "" #: ../build/NEWS:6594 msgid "" "`bpo-38858 `__: Each Python " "subinterpreter now has its own \"small integer singletons\": numbers in [-5; " "257] range. It is no longer possible to change the number of small integers " "at build time by overriding ``NSMALLNEGINTS`` and ``NSMALLPOSINTS`` macros: " "macros should now be modified manually in ``pycore_pystate.h`` header file." msgstr "" #: ../build/NEWS:6600 msgid "" "`bpo-36854 `__: The garbage collector " "state becomes per interpreter (``PyInterpreterState.gc``), rather than being " "global (``_PyRuntimeState.gc``)." msgstr "" #: ../build/NEWS:6604 msgid "" "`bpo-38835 `__: The " "``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros are empty: they " "have been doing nothing for the last year, so stop using them." msgstr "" #: ../build/NEWS:6608 msgid "" "`bpo-38328 `__: Sped up the creation " "time of constant :class:`list` and :class:`set` displays. Patch by Brandt " "Bucher." msgstr "" #: ../build/NEWS:6611 msgid "" "`bpo-38707 `__: ``MainThread.native_id`` " "is now correctly reset in child processes spawned using :class:" "`multiprocessing.Process`, instead of retaining the parent's value." msgstr "" #: ../build/NEWS:6615 msgid "" "`bpo-38629 `__: Added ``__floor__`` and " "``__ceil__`` methods to float object. Patch by Batuhan Taşkaya." msgstr "" #: ../build/NEWS:6618 msgid "" "`bpo-27145 `__: int + int and int - int " "operators can now return small integer singletons. Patch by hongweipeng." msgstr "" #: ../build/NEWS:6621 msgid "" "`bpo-38021 `__: Provide a platform tag " "for AIX that is sufficient for PEP425 binary distribution identification. " "Patch by Michael Felt." msgstr "" #: ../build/NEWS:6624 msgid "" "`bpo-35409 `__: Ignore GeneratorExit " "exceptions when throwing an exception into the aclose coroutine of an " "asynchronous generator." msgstr "" #: ../build/NEWS:6627 msgid "" "`bpo-33387 `__: Removed " "WITH_CLEANUP_START, WITH_CLEANUP_FINISH, BEGIN_FINALLY, END_FINALLY, " "CALL_FINALLY and POP_FINALLY bytecodes. Replaced with RERAISE and " "WITH_EXCEPT_START bytecodes. The compiler now generates different code for " "exceptional and non-exceptional branches for 'with' and 'try-except' " "statements. For 'try-finally' statements the 'finally' block is replicated " "for each exit from the 'try' body." msgstr "" #: ../build/NEWS:6637 msgid "" "`bpo-39033 `__: Fix :exc:`NameError` in :" "mod:`zipimport`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:6640 msgid "" "`bpo-39022 `__: Update importlib." "metadata to include improvements from importlib_metadata 1.3 including " "better serialization of EntryPoints and improved documentation for custom " "finders." msgstr "" #: ../build/NEWS:6644 msgid "" "`bpo-39006 `__: Fix asyncio when the ssl " "module is missing: only check for ssl.SSLSocket instance if the ssl module " "is available." msgstr "" #: ../build/NEWS:6647 msgid "" "`bpo-38708 `__: Fix a potential " "IndexError in email parser when parsing an empty msg-id." msgstr "" #: ../build/NEWS:6650 msgid "" "`bpo-38698 `__: Add a new " "``InvalidMessageID`` token to email parser to represent invalid Message-ID " "headers. Also, add defects when there is remaining value after parsing the " "header." msgstr "" #: ../build/NEWS:6654 msgid "" "`bpo-38994 `__: Implement " "``__class_getitem__`` for ``os.PathLike``, ``pathlib.Path``." msgstr "" #: ../build/NEWS:6657 msgid "" "`bpo-38979 `__: Return class from " "``ContextVar.__class_getitem__`` to simplify subclassing." msgstr "" #: ../build/NEWS:6660 msgid "" "`bpo-38978 `__: Implement " "``__class_getitem__`` on asyncio objects (Future, Task, Queue). Patch by " "Batuhan Taskaya." msgstr "" #: ../build/NEWS:6663 msgid "" "`bpo-38916 `__: :class:`array.array`: " "Remove ``tostring()`` and ``fromstring()`` methods. They were aliases to " "``tobytes()`` and ``frombytes()``, deprecated since Python 3.2." msgstr "" #: ../build/NEWS:6667 msgid "" "`bpo-38986 `__: Make repr of C " "accelerated TaskWakeupMethWrapper the same as of pure Python version." msgstr "" #: ../build/NEWS:6670 msgid "" "`bpo-38982 `__: Fix asyncio " "``PidfdChildWatcher``: handle ``waitpid()`` error. If ``waitpid()`` is " "called elsewhere, ``waitpid()`` call fails with :exc:`ChildProcessError`: " "use return code 255 in this case, and log a warning. It ensures that the " "pidfd file descriptor is closed if this error occurs." msgstr "" #: ../build/NEWS:6676 msgid "" "`bpo-38529 `__: Drop too noisy asyncio " "warning about deletion of a stream without explicit ``.close()`` call." msgstr "" #: ../build/NEWS:6679 msgid "" "`bpo-27413 `__: Added ability to pass " "through ``ensure_ascii`` options to json.dumps in the ``json.tool`` command-" "line interface." msgstr "" #: ../build/NEWS:6682 msgid "" "`bpo-38634 `__: The :mod:`readline` " "module now detects if Python is linked to libedit at runtime on all " "platforms. Previously, the check was only done on macOS." msgstr "" #: ../build/NEWS:6686 msgid "" "`bpo-33684 `__: Fix ``json.tool`` failed " "to read a JSON file with non-ASCII characters when locale encoding is not " "UTF-8." msgstr "" #: ../build/NEWS:6689 msgid "" "`bpo-38698 `__: Prevent " "UnboundLocalError to pop up in parse_message_id." msgstr "" #: ../build/NEWS:6691 msgid "" "parse_message_id() was improperly using a token defined inside an exception " "handler, which was raising `UnboundLocalError` on parsing an invalid value. " "Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:6695 msgid "" "`bpo-38927 `__: Use ``python -m pip`` " "instead of ``pip`` to upgrade dependencies in venv." msgstr "" #: ../build/NEWS:6698 msgid "" "`bpo-26730 `__: Fix " "``SpooledTemporaryFile.rollover()`` might corrupt the file when it is in " "text mode. Patch by Serhiy Storchaka." msgstr "" #: ../build/NEWS:6701 msgid "" "`bpo-38881 `__: random.choices() now " "raises a ValueError when all the weights are zero." msgstr "" #: ../build/NEWS:6704 msgid "" "`bpo-38876 `__: Raise pickle." "UnpicklingError when loading an item from memo for invalid input." msgstr "" #: ../build/NEWS:6707 msgid "" "The previous code was raising a `KeyError` for both the Python and C " "implementation. This was caused by the specified index of an invalid input " "which did not exist in the memo structure, where the pickle stores what " "objects it has seen. The malformed input would have caused either a `BINGET` " "or `LONG_BINGET` load from the memo, leading to a `KeyError` as the " "determined index was bogus. Patch by Claudiu Popa" msgstr "" #: ../build/NEWS:6714 msgid "" "`bpo-38688 `__: Calling func:`shutil." "copytree` to copy a directory tree from one directory to another " "subdirectory resulted in an endless loop and a RecursionError. A fix was " "added to consume an iterator and create the list of the entries to be " "copied, avoiding the recursion for newly created directories. Patch by Bruno " "P. Kinoshita." msgstr "" #: ../build/NEWS:6720 msgid "" "`bpo-38863 `__: Improve :func:`is_cgi` " "function in :mod:`http.server`, which enables processing the case that cgi " "directory is a child of another directory other than root." msgstr "" #: ../build/NEWS:6724 msgid "" "`bpo-37838 `__: :meth:`typing." "get_type_hints` properly handles functions decorated with :meth:`functools." "wraps`." msgstr "" #: ../build/NEWS:6727 msgid "" "`bpo-38870 `__: Expose :func:`ast." "unparse` as a function of the :mod:`ast` module that can be used to unparse " "an :class:`ast.AST` object and produce a string with code that would produce " "an equivalent :class:`ast.AST` object when parsed. Patch by Pablo Galindo " "and Batuhan Taskaya." msgstr "" #: ../build/NEWS:6732 msgid "" "`bpo-38859 `__: AsyncMock now returns " "StopAsyncIteration on the exhaustion of a side_effects iterable. Since " "PEP-479 its Impossible to raise a StopIteration exception from a coroutine." msgstr "" #: ../build/NEWS:6736 msgid "" "`bpo-38857 `__: AsyncMock fix for return " "values that are awaitable types. This also covers side_effect iterable " "values that happened to be awaitable, and wraps callables that return an " "awaitable type. Before these awaitables were being awaited instead of being " "returned as is." msgstr "" #: ../build/NEWS:6741 msgid "" "`bpo-38834 `__: :class:`typing." "TypedDict` subclasses now track which keys are optional using the " "``__required_keys__`` and ``__optional_keys__`` attributes, to enable " "runtime validation by downstream projects. Patch by Zac Hatfield-Dodds." msgstr "" #: ../build/NEWS:6746 msgid "" "`bpo-38821 `__: Fix unhandled exceptions " "in :mod:`argparse` when internationalizing error messages for arguments with " "``nargs`` set to special (non-integer) values. Patch by Federico Bond." msgstr "" #: ../build/NEWS:6750 msgid "" "`bpo-38820 `__: Make Python compatible " "with OpenSSL 3.0.0. :func:`ssl.SSLSocket.getpeercert` no longer returns IPv6 " "addresses with a trailing new line." msgstr "" #: ../build/NEWS:6754 msgid "" "`bpo-38811 `__: Fix an unhandled " "exception in :mod:`pathlib` when :meth:`os.link` is missing. Patch by Toke " "Høiland-Jørgensen." msgstr "" #: ../build/NEWS:6757 msgid "" "`bpo-38686 `__: Added support for " "multiple ``qop`` values in :class:`urllib.request.AbstractDigestAuthHandler`." msgstr "" #: ../build/NEWS:6760 msgid "" "`bpo-38712 `__: Add the Linux-specific :" "func:`signal.pidfd_send_signal` function, which allows sending a signal to a " "process identified by a file descriptor rather than a pid." msgstr "" #: ../build/NEWS:6764 msgid "" "`bpo-38348 `__: Add ``-i`` and ``--" "indent`` (indentation level), and ``--no-type-comments`` (type comments) " "command line options to ast parsing tool." msgstr "" #: ../build/NEWS:6768 msgid "" "`bpo-37523 `__: Change :class:`zipfile." "ZipExtFile` to raise ``ValueError`` when trying to access the underlying " "file object after it has been closed. This new behavior is consistent with " "how accessing closed files is handled in other parts of Python." msgstr "" #: ../build/NEWS:6773 msgid "" "`bpo-38045 `__: Improve the performance " "of :func:`enum._decompose` in :mod:`enum`. Patch by hongweipeng." msgstr "" #: ../build/NEWS:6776 msgid "" "`bpo-36820 `__: Break cycle generated " "when saving an exception in socket.py, codeop.py and dyld.py as they keep " "alive not only the exception but user objects through the ``__traceback__`` " "attribute. Patch by Mario Corchero." msgstr "" #: ../build/NEWS:6780 msgid "" "`bpo-36406 `__: Handle namespace " "packages in :mod:`doctest`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:6783 msgid "" "`bpo-34776 `__: Fix dataclasses to " "support forward references in type annotations" msgstr "" #: ../build/NEWS:6786 msgid "" "`bpo-20928 `__: ElementTree supports " "recursive XInclude processing. Patch by Stefan Behnel." msgstr "" #: ../build/NEWS:6789 msgid "" "`bpo-29636 `__: Add whitespace options " "for formatting JSON with the ``json.tool`` CLI. The following mutually " "exclusive options are now supported: ``--indent`` for setting the indent " "level in spaces; ``--tab`` for indenting with tabs; ``--no-indent`` for " "suppressing newlines; and ``--compact`` for suppressing all whitespace. The " "default behavior remains the same as ``--indent=4``." msgstr "" #: ../build/NEWS:6799 msgid "" "`bpo-38928 `__: Correct when venv's " "``upgrade_dependencies()`` and ``--upgrade-deps`` are added." msgstr "" #: ../build/NEWS:6802 msgid "" "`bpo-38899 `__: Update documentation to " "state that to activate virtual environments under fish one should use " "`source`, not `.` as documented at https://fishshell.com/docs/current/" "commands.html#source." msgstr "" #: ../build/NEWS:6806 msgid "" "`bpo-22377 `__: Improves documentation " "of the values that :meth:`datetime.datetime.strptime` accepts for ``%Z``. " "Patch by Karl Dubost." msgstr "" #: ../build/NEWS:6813 msgid "" "`bpo-38546 `__: Fix " "test_ressources_gced_in_workers() of test_concurrent_futures: explicitly " "stop the manager to prevent leaking a child process running in the " "background after the test completes." msgstr "" #: ../build/NEWS:6817 msgid "" "`bpo-38546 `__: Multiprocessing and " "concurrent.futures tests now stop the resource tracker process when tests " "complete." msgstr "" #: ../build/NEWS:6820 msgid "" "`bpo-38614 `__: Replace hardcoded " "timeout constants in tests with new :mod:`test.support` constants: :data:" "`~test.support.LOOPBACK_TIMEOUT`, :data:`~test.support.INTERNET_TIMEOUT`, :" "data:`~test.support.SHORT_TIMEOUT` and :data:`~test.support.LONG_TIMEOUT`. " "It becomes easier to adjust these four timeout constants for all tests at " "once, rather than having to adjust every single test file." msgstr "" #: ../build/NEWS:6828 msgid "" "`bpo-38547 `__: Fix test_pty: if the " "process is the session leader, closing the master file descriptor raises a " "SIGHUP signal: simply ignore SIGHUP when running the tests." msgstr "" #: ../build/NEWS:6832 msgid "" "`bpo-38992 `__: Fix a test for :func:" "`math.fsum` that was failing due to constant folding." msgstr "" #: ../build/NEWS:6835 msgid "" "`bpo-38991 `__: :mod:`test.support`: :" "func:`~test.support.run_python_until_end`, :func:`~test.support." "assert_python_ok` and :func:`~test.support.assert_python_failure` functions " "no longer strip whitespaces from stderr. Remove ``test.support." "strip_python_stderr()`` function." msgstr "" #: ../build/NEWS:6842 msgid "" "`bpo-38965 `__: Fix test_faulthandler on " "GCC 10. Use the \"volatile\" keyword in ``faulthandler._stack_overflow()`` " "to prevent tail call optimization on any compiler, rather than relying on " "compiler specific pragma." msgstr "" #: ../build/NEWS:6846 msgid "" "`bpo-38875 `__: test_capi: trashcan " "tests now require the test \"cpu\" resource." msgstr "" #: ../build/NEWS:6848 msgid "" "`bpo-38841 `__: Skip asyncio " "test_create_datagram_endpoint_existing_sock_unix on platforms lacking a " "functional bind() for named unix domain sockets." msgstr "" #: ../build/NEWS:6851 msgid "" "`bpo-38692 `__: Skip the test_posix." "test_pidfd_open() test if ``os.pidfd_open()`` fails with a :exc:" "`PermissionError`. This situation can happen in a Linux sandbox using a " "syscall whitelist which doesn't allow the ``pidfd_open()`` syscall yet." msgstr "" #: ../build/NEWS:6856 msgid "" "`bpo-38839 `__: Fix some unused " "functions in tests. Patch by Adam Johnson." msgstr "" #: ../build/NEWS:6858 msgid "" "`bpo-38669 `__: Raise :exc:`TypeError` " "when passing target as a string with :meth:`unittest.mock.patch.object`." msgstr "" #: ../build/NEWS:6861 msgid "" "`bpo-37957 `__: test.regrtest now can " "receive a list of test patterns to ignore (using the -i/--ignore argument) " "or a file with a list of patterns to ignore (using the --ignore-file " "argument). Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6868 msgid "" "`bpo-37404 `__: :mod:`asyncio` now " "raises :exc:`TyperError` when calling incompatible methods with an :class:" "`ssl.SSLSocket` socket. Patch by Ido Michael." msgstr "" #: ../build/NEWS:6872 msgid "" "`bpo-36500 `__: Added an optional \"regen" "\" project to the Visual Studio solution that will regenerate all grammar, " "tokens, and opcodes." msgstr "" #: ../build/NEWS:6878 msgid "" "`bpo-39007 `__: Add auditing events to " "functions in :mod:`winreg`." msgstr "" #: ../build/NEWS:6880 msgid "" "`bpo-33125 `__: Add support for building " "and releasing Windows ARM64 packages." msgstr "" #: ../build/NEWS:6885 msgid "" "`bpo-37931 `__: Fixed a crash on OSX " "dynamic builds that occurred when re-initializing the posix module after a " "Py_Finalize if the environment had changed since the previous `import " "posix`. Patch by Benoît Hudson." msgstr "" #: ../build/NEWS:6892 msgid "" "`bpo-38944 `__: Escape key now closes " "IDLE completion windows. Patch by Johnny Najera." msgstr "" #: ../build/NEWS:6895 msgid "" "`bpo-38943 `__: Fix IDLE autocomplete " "windows not always appearing on some systems. Patch by Johnny Najera." msgstr "" #: ../build/NEWS:6898 msgid "" "`bpo-38862 `__: 'Strip Trailing " "Whitespace' on the Format menu removes extra newlines at the end of non-" "shell files." msgstr "" #: ../build/NEWS:6901 msgid "" "`bpo-38636 `__: Fix IDLE Format menu tab " "toggle and file indent width. These functions (default shortcuts Alt-T and " "Alt-U) were mistakenly disabled in 3.7.5 and 3.8.0." msgstr "" #: ../build/NEWS:6908 msgid "" "`bpo-38896 `__: Remove " "``PyUnicode_ClearFreeList()`` function: the Unicode free list has been " "removed in Python 3.3." msgstr "" #: ../build/NEWS:6911 msgid "" "`bpo-37340 `__: Remove " "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()`` functions: " "the free lists of bound method objects have been removed." msgstr "" #: ../build/NEWS:6915 msgid "" "`bpo-38835 `__: Exclude " "``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` " "from ``Py_LIMITED_API`` (stable API)." msgstr "" #: ../build/NEWS:6920 msgid "Python 3.9.0 alpha 1" msgstr "" #: ../build/NEWS:6922 msgid "*Release date: 2019-11-19*" msgstr "" #: ../build/NEWS:6927 msgid "" "`bpo-38722 `__: :mod:`runpy` now uses :" "meth:`io.open_code` to open code files. Patch by Jason Killen." msgstr "" #: ../build/NEWS:6930 msgid "" "`bpo-38622 `__: Add additional audit " "events for the :mod:`ctypes` module." msgstr "" #: ../build/NEWS:6932 msgid "" "`bpo-38418 `__: Fixes audit event for :" "func:`os.system` to be named ``os.system``." msgstr "" #: ../build/NEWS:6935 msgid "" "`bpo-38243 `__: Escape the server title " "of :class:`xmlrpc.server.DocXMLRPCServer` when rendering the document page " "as HTML. (Contributed by Dong-hee Na in :issue:`38243`.)" msgstr "" #: ../build/NEWS:6939 msgid "" "`bpo-38174 `__: Update vendorized expat " "library version to 2.2.8, which resolves CVE-2019-15903." msgstr "" #: ../build/NEWS:6942 msgid "" "`bpo-37764 `__: Fixes email." "_header_value_parser.get_unstructured going into an infinite loop for a " "specific case in which the email header does not have trailing whitespace, " "and the case in which it contains an invalid encoded word. Patch by Ashwin " "Ramaswami." msgstr "" #: ../build/NEWS:6947 msgid "" "`bpo-37461 `__: Fix an infinite loop " "when parsing specially crafted email headers. Patch by Abhilash Raj." msgstr "" #: ../build/NEWS:6950 msgid "" "`bpo-37363 `__: Adds audit events for " "the range of supported run commands (see :ref:`using-on-general`)." msgstr "" #: ../build/NEWS:6953 msgid "" "`bpo-37463 `__: ssl.match_hostname() no " "longer accepts IPv4 addresses with additional text after the address and " "only quad-dotted notation without trailing whitespaces. Some inet_aton() " "implementations ignore whitespace and all data after whitespace, e.g. " "'127.0.0.1 whatever'." msgstr "" #: ../build/NEWS:6958 msgid "" "`bpo-37363 `__: Adds audit events for :" "mod:`ensurepip`, :mod:`ftplib`, :mod:`glob`, :mod:`imaplib`, :mod:" "`nntplib`, :mod:`pdb`, :mod:`poplib`, :mod:`shutil`, :mod:`smtplib`, :mod:" "`sqlite3`, :mod:`subprocess`, :mod:`telnetlib`, :mod:`tempfile` and :mod:" "`webbrowser`, as well as :func:`os.listdir`, :func:`os.scandir` and :func:" "`breakpoint`." msgstr "" #: ../build/NEWS:6964 msgid "" "`bpo-37364 `__: :func:`io.open_code` is " "now used when reading :file:`.pth` files." msgstr "" #: ../build/NEWS:6967 msgid "" "`bpo-34631 `__: Updated OpenSSL to " "1.1.1c in Windows installer" msgstr "" #: ../build/NEWS:6969 msgid "" "`bpo-34155 `__: Fix parsing of invalid " "email addresses with more than one ``@`` (e.g. a@b@c.com.) to not return the " "part before 2nd ``@`` as valid email address. Patch by maxking & jpic." msgstr "" #: ../build/NEWS:6976 msgid "" "`bpo-38631 `__: Replace " "``Py_FatalError()`` call with a regular :exc:`RuntimeError` exception in :" "meth:`float.__getformat__`." msgstr "" #: ../build/NEWS:6979 msgid "" "`bpo-38639 `__: Optimized :func:`math." "floor()`, :func:`math.ceil()` and :func:`math.trunc()` for floats." msgstr "" #: ../build/NEWS:6982 msgid "" "`bpo-38640 `__: Fixed a bug in the " "compiler that was causing to raise in the presence of break statements and " "continue statements inside always false while loops. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6986 msgid "" "`bpo-38613 `__: Optimized some set " "operations (e.g. ``|``, ``^``, and ``-``) of ``dict_keys``. ``d.keys() | " "other`` was slower than ``set(d) | other`` but they are almost same " "performance for now." msgstr "" #: ../build/NEWS:6990 msgid "" "`bpo-28029 `__: ``\"\".replace(\"\", s, " "n)`` now returns ``s`` instead of an empty string for all non-zero ``n``. " "There are similar changes for :class:`bytes` and :class:`bytearray` objects." msgstr "" #: ../build/NEWS:6994 msgid "" "`bpo-38535 `__: Fixed line numbers and " "column offsets for AST nodes for calls without arguments in decorators." msgstr "" #: ../build/NEWS:6997 msgid "" "`bpo-38525 `__: Fix a segmentation fault " "when using reverse iterators of empty ``dict`` objects. Patch by Dong-hee Na " "and Inada Naoki." msgstr "" #: ../build/NEWS:7000 msgid "" "`bpo-38465 `__: :class:`bytearray`, :" "class:`~array.array` and :class:`~mmap.mmap` objects allow now to export " "more than 2**31 buffers at a time." msgstr "" #: ../build/NEWS:7004 msgid "" "`bpo-38469 `__: Fixed a bug where the " "scope of named expressions was not being resolved correctly in the presence " "of the *global* keyword. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7008 msgid "" "`bpo-38437 `__: Activate the " "``GC_DEBUG`` macro for debug builds of the interpreter (when ``Py_DEBUG`` is " "set). Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7011 msgid "" "`bpo-38379 `__: When the garbage " "collector makes a collection in which some objects resurrect (they are " "reachable from outside the isolated cycles after the finalizers have been " "executed), do not block the collection of all objects that are still " "unreachable. Patch by Pablo Galindo and Tim Peters." msgstr "" #: ../build/NEWS:7017 msgid "" "`bpo-38379 `__: When cyclic garbage " "collection (gc) runs finalizers that resurrect unreachable objects, the " "current gc run ends, without collecting any cyclic trash. However, the " "statistics reported by ``collect()`` and ``get_stats()`` claimed that all " "cyclic trash found was collected, and that the resurrected objects were " "collected. Changed the stats to report that none were collected." msgstr "" #: ../build/NEWS:7024 msgid "" "`bpo-38392 `__: In debug mode, :c:func:" "`PyObject_GC_Track` now calls ``tp_traverse()`` of the object type to ensure " "that the object is valid: test that objects visited by ``tp_traverse()`` are " "valid." msgstr "" #: ../build/NEWS:7028 msgid "" "`bpo-38210 `__: Remove unecessary " "intersection and update set operation in dictview with empty set. " "(Contributed by Dong-hee Na in :issue:`38210`.)" msgstr "" #: ../build/NEWS:7031 msgid "" "`bpo-38402 `__: Check the error from the " "system's underlying ``crypt`` or ``crypt_r``." msgstr "" #: ../build/NEWS:7034 msgid "" "`bpo-37474 `__: On FreeBSD, Python no " "longer calls ``fedisableexcept()`` at startup to control the floating point " "control mode. The call became useless since FreeBSD 6: it became the default " "mode." msgstr "" #: ../build/NEWS:7038 msgid "" "`bpo-38006 `__: Fix a bug due to the " "interaction of weakrefs and the cyclic garbage collector. We must clear any " "weakrefs in garbage in order to prevent their callbacks from executing and " "causing a crash." msgstr "" #: ../build/NEWS:7042 msgid "" "`bpo-38317 `__: Fix warnings options " "priority: ``PyConfig.warnoptions`` has the highest priority, as stated in " "the :pep:`587`." msgstr "" #: ../build/NEWS:7045 msgid "" "`bpo-38310 `__: Predict " "``BUILD_MAP_UNPACK_WITH_CALL`` -> ``CALL_FUNCTION_EX`` opcode pairs in the " "main interpreter loop. Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:7048 msgid "" "`bpo-36871 `__: Improve error handling " "for the assert_has_calls and assert_has_awaits methods of mocks. Fixed a bug " "where any errors encountered while binding the expected calls to the mock's " "spec were silently swallowed, leading to misleading error output." msgstr "" #: ../build/NEWS:7053 msgid "" "`bpo-11410 `__: Better control over " "symbol visibility is provided through use of the visibility attributes " "available in gcc >= 4.0, provided in a uniform way across POSIX and Windows. " "The POSIX build files have been updated to compile with -fvisibility=hidden, " "minimising exported symbols." msgstr "" #: ../build/NEWS:7058 msgid "" "`bpo-38219 `__: Optimized the :class:" "`dict` constructor and the :meth:`~dict.update` method for the case when the " "argument is a dict." msgstr "" #: ../build/NEWS:7061 msgid "" "`bpo-38236 `__: Python now dumps path " "configuration if it fails to import the Python codecs of the filesystem and " "stdio encodings." msgstr "" #: ../build/NEWS:7064 msgid "" "`bpo-38013 `__: Allow to call " "``async_generator_athrow().throw(...)`` even for non-started async generator " "helper. It fixes annoying warning at the end of :func:`asyncio.run` call." msgstr "" #: ../build/NEWS:7068 msgid "" "`bpo-38124 `__: Fix an off-by-one error " "in PyState_AddModule that could cause out-of-bounds memory access." msgstr "" #: ../build/NEWS:7071 msgid "" "`bpo-38116 `__: The select module is now " "PEP-384 compliant and no longer has static state" msgstr "" #: ../build/NEWS:7074 msgid "" "`bpo-38113 `__: ast module updated to " "PEP-384 and all statics removed" msgstr "" #: ../build/NEWS:7076 msgid "" "`bpo-38076 `__: The struct module is now " "PEP-384 compatible" msgstr "" #: ../build/NEWS:7078 msgid "" "`bpo-38075 `__: The random module is now " "PEP-384 compatible" msgstr "" #: ../build/NEWS:7080 msgid "" "`bpo-38074 `__: zlib module made PEP-384 " "compatible" msgstr "" #: ../build/NEWS:7082 msgid "" "`bpo-38073 `__: Make pwd extension " "module PEP-384 compatible" msgstr "" #: ../build/NEWS:7084 msgid "" "`bpo-38072 `__: grp module made PEP-384 " "compatible" msgstr "" #: ../build/NEWS:7086 msgid "" "`bpo-38069 `__: Make _posixsubprocess " "PEP-384 compatible" msgstr "" #: ../build/NEWS:7088 msgid "" "`bpo-38071 `__: Make termios extension " "module PEP-384 compatible" msgstr "" #: ../build/NEWS:7090 msgid "" "`bpo-38005 `__: Fixed comparing and " "creating of InterpreterID and ChannelID." msgstr "" #: ../build/NEWS:7092 msgid "" "`bpo-36946 `__: Fix possible signed " "integer overflow when handling slices. Patch by hongweipeng." msgstr "" #: ../build/NEWS:7095 msgid "" "`bpo-37994 `__: Fixed silencing " "arbitrary errors if an attribute lookup fails in several sites. Only " "AttributeError should be silenced." msgstr "" #: ../build/NEWS:7098 msgid "" "`bpo-8425 `__: Optimize set " "difference_update for the case when the other set is much larger than the " "base set. (Suggested by Evgeny Kapun with code contributed by Michele Orrù)." msgstr "" #: ../build/NEWS:7102 msgid "" "`bpo-37966 `__: The implementation of :" "func:`~unicodedata.is_normalized` has been greatly sped up on strings that " "aren't normalized, by implementing the full normalization-quick-check " "algorithm from the Unicode standard." msgstr "" #: ../build/NEWS:7106 msgid "" "`bpo-37947 `__: Adjust correctly the " "recursion level in the symtable generation for named expressions. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:7109 msgid "" "`bpo-37812 `__: The ``CHECK_SMALL_INT`` " "macro used inside :file:`Object/longobject.c` has been replaced with an " "explicit ``return`` at each call site." msgstr "" #: ../build/NEWS:7113 msgid "" "`bpo-37751 `__: Fix :func:`codecs." "lookup` to normalize the encoding name the same way than :func:`encodings." "normalize_encoding`, except that :func:`codecs.lookup` also converts the " "name to lower case." msgstr "" #: ../build/NEWS:7117 msgid "" "`bpo-37830 `__: Fixed compilation of :" "keyword:`break` and :keyword:`continue` in the :keyword:`finally` block when " "the corresponding :keyword:`try` block contains :keyword:`return` with a non-" "constant value." msgstr "" #: ../build/NEWS:7121 msgid "" "`bpo-20490 `__: Improve import error " "message for partially initialized module on circular ``from`` imports - by " "Anthony Sottile." msgstr "" #: ../build/NEWS:7124 msgid "" "`bpo-37840 `__: Fix handling of negative " "indices in :c:member:`~PySequenceMethods.sq_item` of :class:`bytearray`. " "Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:7128 msgid "" "`bpo-37802 `__: Slightly improve " "performance of :c:func:`PyLong_FromUnsignedLong`, :c:func:" "`PyLong_FromUnsignedLongLong` and :c:func:`PyLong_FromSize_t`. Patch by " "Sergey Fedoseev." msgstr "" #: ../build/NEWS:7132 msgid "" "`bpo-37409 `__: Ensure explicit relative " "imports from interactive sessions and scripts (having no parent package) " "always raise ImportError, rather than treating the current module as the " "package. Patch by Ben Lewis." msgstr "" #: ../build/NEWS:7136 msgid "" "`bpo-32912 `__: Reverted :issue:`32912`: " "emitting :exc:`SyntaxWarning` instead of :exc:`DeprecationWarning` for " "invalid escape sequences in string and bytes literals." msgstr "" #: ../build/NEWS:7140 msgid "" "`bpo-37757 `__: :pep:`572`: As described " "in the PEP, assignment expressions now raise :exc:`SyntaxError` when their " "interaction with comprehension scoping results in an ambiguous target scope." msgstr "" #: ../build/NEWS:7144 msgid "" "The ``TargetScopeError`` subclass originally proposed by the PEP has been " "removed in favour of just raising regular syntax errors for the disallowed " "cases." msgstr "" #: ../build/NEWS:7148 msgid "" "`bpo-36279 `__: Fix potential use of " "uninitialized memory in :func:`os.wait3`." msgstr "" #: ../build/NEWS:7150 msgid "" "`bpo-36311 `__: Decoding bytes objects " "larger than 2GiB is faster and no longer fails when a multibyte characters " "spans a chunk boundary." msgstr "" #: ../build/NEWS:7153 msgid "" "`bpo-34880 `__: The :keyword:`assert` " "statement now works properly if the :exc:`AssertionError` exception is being " "shadowed. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:7156 msgid "" "`bpo-37340 `__: Removed object cache " "(``free_list``) for bound method objects. Temporary bound method objects are " "less used than before thanks to the ``LOAD_METHOD`` opcode and the " "``_PyObject_VectorcallMethod`` C API." msgstr "" #: ../build/NEWS:7160 msgid "" "`bpo-37648 `__: Fixed minor " "inconsistency in :meth:`list.__contains__`, :meth:`tuple.__contains__` and a " "few other places. The collection's item is now always at the left and the " "needle is on the right of ``==``." msgstr "" #: ../build/NEWS:7164 msgid "" "`bpo-37444 `__: Update differing " "exception between :meth:`builtins.__import__` and :meth:`importlib." "__import__`." msgstr "" #: ../build/NEWS:7167 msgid "" "`bpo-37619 `__: When adding a wrapper " "descriptor from one class to a different class (for example, setting " "``__add__ = str.__add__`` on an ``int`` subclass), an exception is correctly " "raised when the operator is called." msgstr "" #: ../build/NEWS:7171 msgid "" "`bpo-37593 `__: Swap the positions of " "the *posonlyargs* and *args* parameters in the constructor of :class:`ast." "parameters` nodes." msgstr "" #: ../build/NEWS:7174 msgid "" "`bpo-37543 `__: Optimized pymalloc for " "non PGO build." msgstr "" #: ../build/NEWS:7176 msgid "" "`bpo-37537 `__: Compute allocated " "pymalloc blocks inside _Py_GetAllocatedBlocks(). This slows down " "_Py_GetAllocatedBlocks() but gives a small speedup to _PyObject_Malloc() and " "_PyObject_Free()." msgstr "" #: ../build/NEWS:7180 msgid "" "`bpo-37467 `__: Fix :func:`sys." "excepthook` and :c:func:`PyErr_Display` if a filename is a bytes string. For " "example, for a SyntaxError exception where the filename attribute is a bytes " "string." msgstr "" #: ../build/NEWS:7184 msgid "" "`bpo-37433 `__: Fix ``SyntaxError`` " "indicator printing too many spaces for multi-line strings - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:7187 msgid "" "`bpo-37417 `__: :meth:`bytearray.extend` " "now correctly handles errors that arise during iteration. Patch by Brandt " "Bucher." msgstr "" #: ../build/NEWS:7190 msgid "" "`bpo-37414 `__: The undocumented ``sys." "callstats()`` function has been removed. Since Python 3.7, it was deprecated " "and always returned ``None``. It required a special build option " "``CALL_PROFILE`` which was already removed in Python 3.7." msgstr "" #: ../build/NEWS:7195 msgid "" "`bpo-37392 `__: Remove ``sys." "getcheckinterval()`` and ``sys.setcheckinterval()`` functions. They were " "deprecated since Python 3.2. Use :func:`sys.getswitchinterval` and :func:" "`sys.setswitchinterval` instead. Remove also ``check_interval`` field of the " "``PyInterpreterState`` structure." msgstr "" #: ../build/NEWS:7201 msgid "" "`bpo-37388 `__: In development mode and " "in debug build, *encoding* and *errors* arguments are now checked on string " "encoding and decoding operations. Examples: :func:`open`, :meth:`str.encode` " "and :meth:`bytes.decode`." msgstr "" #: ../build/NEWS:7205 msgid "" "By default, for best performances, the *errors* argument is only checked at " "the first encoding/decoding error, and the *encoding* argument is sometimes " "ignored for empty strings." msgstr "" #: ../build/NEWS:7209 msgid "" "`bpo-37348 `__: Optimized decoding short " "ASCII string with UTF-8 and ascii codecs. ``b\"foo\".decode()`` is about 15% " "faster. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:7212 msgid "" "`bpo-24214 `__: Improved support of the " "surrogatepass error handler in the UTF-8 and UTF-16 incremental decoders." msgstr "" #: ../build/NEWS:7215 msgid "" "`bpo-37330 `__: :func:`open`, :func:`io." "open`, :func:`codecs.open` and :class:`fileinput.FileInput` no longer accept " "``'U'`` (\"universal newline\") in the file mode. This flag was deprecated " "since Python 3.3." msgstr "" #: ../build/NEWS:7219 msgid "" "`bpo-35224 `__: Reverse evaluation order " "of key: value in dict comprehensions as proposed in PEP 572. I.e. in ``{k: v " "for ...}``, ``k`` will be evaluated before ``v``." msgstr "" #: ../build/NEWS:7223 msgid "" "`bpo-37316 `__: Fix the :c:func:" "`PySys_Audit` call in :class:`mmap.mmap`." msgstr "" #: ../build/NEWS:7225 msgid "" "`bpo-37300 `__: Remove an unnecssary " "Py_XINCREF in classobject.c." msgstr "" #: ../build/NEWS:7227 msgid "" "`bpo-37269 `__: Fix a bug in the " "peephole optimizer that was not treating correctly constant conditions with " "binary operators. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7231 msgid "" "`bpo-20443 `__: Python now gets the " "absolute path of the script filename specified on the command line (ex: " "\"python3 script.py\"): the __file__ attribute of the __main__ module and " "sys.path[0] become an absolute path, rather than a relative path." msgstr "" #: ../build/NEWS:7236 msgid "" "`bpo-37257 `__: Python's small object " "allocator (``obmalloc.c``) now allows (no more than) one empty arena to " "remain available for immediate reuse, without returning it to the OS. This " "prevents thrashing in simple loops where an arena could be created and " "destroyed anew on each iteration." msgstr "" #: ../build/NEWS:7241 msgid "" "`bpo-37231 `__: The dispatching of type " "slots to special methods (for example calling ``__mul__`` when doing ``x * " "y``) has been made faster." msgstr "" #: ../build/NEWS:7244 msgid "" "`bpo-36974 `__: Implemented separate " "vectorcall functions for every calling convention of builtin functions and " "methods. This improves performance for calls." msgstr "" #: ../build/NEWS:7248 msgid "" "`bpo-37213 `__: Handle correctly " "negative line offsets in the peephole optimizer. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7251 msgid "" "`bpo-37219 `__: Remove erroneous " "optimization for empty set differences." msgstr "" #: ../build/NEWS:7253 msgid "" "`bpo-15913 `__: Implement :c:func:" "`PyBuffer_SizeFromFormat()` function (previously documented but not " "implemented): call :func:`struct.calcsize`. Patch by Joannah Nanjekye." msgstr "" #: ../build/NEWS:7257 msgid "" "`bpo-36922 `__: Slot functions optimize " "any callable with ``Py_TPFLAGS_METHOD_DESCRIPTOR`` instead of only instances " "of ``function``." msgstr "" #: ../build/NEWS:7261 msgid "" "`bpo-36974 `__: The slot " "``tp_vectorcall_offset`` is inherited unconditionally to support ``super()." "__call__()`` when the base class uses vectorcall." msgstr "" #: ../build/NEWS:7264 msgid "" "`bpo-37160 `__: :func:`threading." "get_native_id` now also supports NetBSD." msgstr "" #: ../build/NEWS:7266 msgid "" "`bpo-37077 `__: Add :func:`threading." "get_native_id` support for AIX. Patch by M. Felt" msgstr "" #: ../build/NEWS:7269 msgid "" "`bpo-36781 `__: :func:`sum` has been " "optimized for boolean values." msgstr "" #: ../build/NEWS:7271 msgid "" "`bpo-34556 `__: Add ``--upgrade-deps`` " "to venv module. Patch by Cooper Ry Lees" msgstr "" #: ../build/NEWS:7273 msgid "" "`bpo-20523 `__: ``pdb.Pdb`` supports ~/." "pdbrc in Windows 7. Patch by Tim Hopper and Dan Lidral-Porter." msgstr "" #: ../build/NEWS:7276 msgid "" "`bpo-35551 `__: Updated encodings: - " "Removed the \"tis260\" encoding, which was an alias for the nonexistent " "\"tactis\" codec. - Added \"mac_centeuro\" as an alias for the mac_latin2 " "encoding." msgstr "" #: ../build/NEWS:7280 msgid "" "`bpo-19072 `__: The :class:`classmethod` " "decorator can now wrap other descriptors such as property objects. Adapted " "from a patch written by Graham Dumpleton." msgstr "" #: ../build/NEWS:7284 msgid "" "`bpo-27575 `__: Improve speed of " "dictview intersection by directly using set intersection logic. Patch by " "David Su." msgstr "" #: ../build/NEWS:7287 msgid "" "`bpo-30773 `__: Prohibit parallel " "running of aclose() / asend() / athrow(). Fix ag_running to reflect the " "actual running status of the AG." msgstr "" #: ../build/NEWS:7293 msgid "" "`bpo-36589 `__: The :func:`curses." "update_lines_cols` function now returns ``None`` instead of ``1`` on success." msgstr "" #: ../build/NEWS:7296 msgid "" "`bpo-38807 `__: Update :exc:`TypeError` " "messages for :meth:`os.path.join` to include :class:`os.PathLike` objects as " "acceptable input types." msgstr "" #: ../build/NEWS:7299 msgid "" "`bpo-38724 `__: Add a repr for " "``subprocess.Popen`` objects. Patch by Andrey Doroschenko." msgstr "" #: ../build/NEWS:7302 msgid "" "`bpo-38786 `__: pydoc now recognizes and " "parses HTTPS URLs. Patch by python273." msgstr "" #: ../build/NEWS:7304 msgid "" "`bpo-38785 `__: Prevent asyncio from " "crashing if parent ``__init__`` is not called from a constructor of object " "derived from ``asyncio.Future``." msgstr "" #: ../build/NEWS:7307 msgid "" "`bpo-38723 `__: :mod:`pdb` now uses :" "meth:`io.open_code` to trigger auditing events." msgstr "" #: ../build/NEWS:7310 msgid "" "`bpo-27805 `__: Allow opening pipes and " "other non-seekable files in append mode with :func:`open`." msgstr "" #: ../build/NEWS:7313 msgid "" "`bpo-38438 `__: Simplify the :mod:" "`argparse` usage message for ``nargs=\"*\"``." msgstr "" #: ../build/NEWS:7315 msgid "" "`bpo-38761 `__: WeakSet is now " "registered as a collections.abc.MutableSet." msgstr "" #: ../build/NEWS:7317 msgid "" "`bpo-38716 `__: logging: change " "RotatingHandler namer and rotator to class-level attributes. This stops " "__init__ from setting them to None in the case where a subclass defines them " "with eponymous methods." msgstr "" #: ../build/NEWS:7321 msgid "" "`bpo-38713 `__: Add :data:`os.P_PIDFD` " "constant, which may be passed to :func:`os.waitid` to wait on a Linux " "process file descriptor." msgstr "" #: ../build/NEWS:7324 msgid "" "`bpo-38692 `__: Add :class:`asyncio." "PidfdChildWatcher`, a Linux-specific child watcher implementation that polls " "process file descriptors." msgstr "" #: ../build/NEWS:7327 msgid "" "`bpo-38692 `__: Expose the Linux " "``pidfd_open`` syscall as :func:`os.pidfd_open`." msgstr "" #: ../build/NEWS:7330 msgid "" "`bpo-38602 `__: Added constants :data:" "`~fcntl.F_OFD_GETLK`, :data:`~fcntl.F_OFD_SETLK` and :data:`~fcntl." "F_OFD_SETLKW` to the :mod:`fcntl` module. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:7334 msgid "" "`bpo-38334 `__: Fixed seeking backward " "on an encrypted :class:`zipfile.ZipExtFile`." msgstr "" #: ../build/NEWS:7337 msgid "" "`bpo-38312 `__: Add :func:`curses." "get_escdelay`, :func:`curses.set_escdelay`, :func:`curses.get_tabsize`, and :" "func:`curses.set_tabsize` functions - by Anthony Sottile." msgstr "" #: ../build/NEWS:7341 msgid "" "`bpo-38586 `__: Now :func:`~logging." "config.fileConfig` correcty sets the .name of handlers loaded." msgstr "" #: ../build/NEWS:7344 msgid "" "`bpo-38565 `__: Add new " "cache_parameters() method for functools.lru_cache() to better support " "pickling." msgstr "" #: ../build/NEWS:7347 msgid "" "`bpo-34679 `__: asynci.ProactorEventLoop." "close() now only calls signal.set_wakeup_fd() in the main thread." msgstr "" #: ../build/NEWS:7350 msgid "" "`bpo-31202 `__: The case the result of :" "func:`pathlib.WindowsPath.glob` matches now the case of the pattern for " "literal parts." msgstr "" #: ../build/NEWS:7353 msgid "" "`bpo-36321 `__: Remove misspelled " "attribute. The 3.8 changelog noted that this would be removed in 3.9." msgstr "" #: ../build/NEWS:7356 msgid "" "`bpo-38521 `__: Fixed erroneous equality " "comparison in statistics.NormalDist()." msgstr "" #: ../build/NEWS:7358 msgid "" "`bpo-38493 `__: Added :data:`~os." "CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:`si_code`. Patch by Dong-" "hee Na." msgstr "" #: ../build/NEWS:7361 msgid "" "`bpo-38478 `__: Fixed a bug in :meth:" "`inspect.signature.bind` that was causing it to fail when handling a keyword " "argument with same name as positional-only parameter. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7365 msgid "" "`bpo-33604 `__: Fixed `hmac.new` and " "`hmac.HMAC` to raise TypeError instead of ValueError when the digestmod " "parameter, now required in 3.8, is omitted. Also clarified the hmac module " "documentation and docstrings." msgstr "" #: ../build/NEWS:7369 msgid "" "`bpo-38378 `__: Parameters *out* and " "*in* of :func:`os.sendfile` was renamed to *out_fd* and *in_fd*." msgstr "" #: ../build/NEWS:7372 msgid "" "`bpo-38417 `__: Added support for " "setting the umask in the child process to the subprocess module on POSIX " "systems." msgstr "" #: ../build/NEWS:7375 msgid "" "`bpo-38449 `__: Revert GH-15522, which " "introduces a regression in :meth:`mimetypes.guess_type` due to improper " "handling of filenames as urls." msgstr "" #: ../build/NEWS:7379 msgid "" "`bpo-38431 `__: Fix ``__repr__`` method " "for :class:`dataclasses.InitVar` to support typing objects, patch by Samuel " "Colvin." msgstr "" #: ../build/NEWS:7382 msgid "" "`bpo-38109 `__: Add missing :data:`stat." "S_IFDOOR`, :data:`stat.S_IFPORT`, :data:`stat.S_IFWHT`, :func:`stat." "S_ISDOOR`, :func:`stat.S_ISPORT`, and :func:`stat.S_ISWHT` values to the " "Python implementation of :mod:`stat`." msgstr "" #: ../build/NEWS:7386 msgid "" "`bpo-38422 `__: Clarify docstrings of " "pathlib suffix(es)" msgstr "" #: ../build/NEWS:7388 msgid "" "`bpo-38405 `__: Nested subclasses of :" "class:`typing.NamedTuple` are now pickleable." msgstr "" #: ../build/NEWS:7391 msgid "" "`bpo-38332 `__: Prevent :exc:`KeyError` " "thrown by :func:`_encoded_words.decode` when given an encoded-word with " "invalid content-type encoding from propagating all the way to :func:`email." "message.get`." msgstr "" #: ../build/NEWS:7395 msgid "" "`bpo-38371 `__: Deprecated the " "``split()`` method in :class:`_tkinter.TkappType` in favour of the " "``splitlist()`` method which has more consistent and predicable behavior." msgstr "" #: ../build/NEWS:7399 msgid "" "`bpo-38341 `__: Add :exc:`smtplib." "SMTPNotSupportedError` to the :mod:`smtplib` exported names." msgstr "" #: ../build/NEWS:7402 msgid "" "`bpo-38319 `__: sendfile() used in " "socket and shutil modules was raising OverflowError for files >= 2GiB on 32-" "bit architectures. (patch by Giampaolo Rodola)" msgstr "" #: ../build/NEWS:7406 msgid "" "`bpo-38242 `__: Revert the new asyncio " "Streams API" msgstr "" #: ../build/NEWS:7408 msgid "" "`bpo-13153 `__: OS native encoding is " "now used for converting between Python strings and Tcl objects. This allows " "to display, copy and paste to clipboard emoji and other non-BMP characters. " "Converting strings from Tcl to Python and back now never fails (except " "MemoryError)." msgstr "" #: ../build/NEWS:7413 msgid "" "`bpo-38019 `__: Correctly handle pause/" "resume reading of closed asyncio unix pipe." msgstr "" #: ../build/NEWS:7416 msgid "" "`bpo-38163 `__: Child mocks will now " "detect their type as either synchronous or asynchronous, asynchronous child " "mocks will be AsyncMocks and synchronous child mocks will be either " "MagicMock or Mock (depending on their parent type)." msgstr "" #: ../build/NEWS:7421 msgid "" "`bpo-38161 `__: Removes _AwaitEvent from " "AsyncMock." msgstr "" #: ../build/NEWS:7423 msgid "" "`bpo-38216 `__: Allow the rare code that " "wants to send invalid http requests from the `http.client` library a way to " "do so. The fixes for `bpo-30458 `__ led " "to breakage for some projects that were relying on this ability to test " "their own behavior in the face of bad requests." msgstr "" #: ../build/NEWS:7428 msgid "" "`bpo-28286 `__: Deprecate opening :class:" "`~gzip.GzipFile` for writing implicitly. Always specify the *mode* argument " "for writing." msgstr "" #: ../build/NEWS:7431 msgid "" "`bpo-38108 `__: Any synchronous magic " "methods on an AsyncMock now return a MagicMock. Any asynchronous magic " "methods on a MagicMock now return an AsyncMock." msgstr "" #: ../build/NEWS:7435 msgid "" "`bpo-38265 `__: Update the *length* " "parameter of :func:`os.pread` to accept :c:type:`Py_ssize_t` instead of :c:" "type:`int`." msgstr "" #: ../build/NEWS:7438 msgid "" "`bpo-38112 `__: :mod:`compileall` has a " "higher default recursion limit and new command-line arguments for path " "manipulation, symlinks handling, and multiple optimization levels." msgstr "" #: ../build/NEWS:7442 msgid "" "`bpo-38248 `__: asyncio: Fix " "inconsistent immediate Task cancellation" msgstr "" #: ../build/NEWS:7444 msgid "" "`bpo-38237 `__: The arguments for the " "builtin pow function are more descriptive. They can now also be passed in as " "keywords." msgstr "" #: ../build/NEWS:7447 msgid "" "`bpo-34002 `__: Improve efficiency in " "parts of email package by changing while-pop to a for loop, using isdisjoint " "instead of set intersections." msgstr "" #: ../build/NEWS:7450 msgid "" "`bpo-38191 `__: Constructors of :class:" "`~typing.NamedTuple` and :class:`~typing.TypedDict` types now accept " "arbitrary keyword argument names, including \"cls\", \"self\", \"typename\", " "\"_typename\", \"fields\" and \"_fields\"." msgstr "" #: ../build/NEWS:7455 msgid "" "`bpo-38155 `__: Add ``__all__`` to :mod:" "`datetime`. Patch by Tahia Khan." msgstr "" #: ../build/NEWS:7457 msgid "" "`bpo-38185 `__: Fixed case-insensitive " "string comparison in :class:`sqlite3.Row` indexing." msgstr "" #: ../build/NEWS:7460 msgid "" "`bpo-38136 `__: Changes AsyncMock call " "count and await count to be two different counters. Now await count only " "counts when a coroutine has been awaited, not when it has been called, and " "vice-versa. Update the documentation around this." msgstr "" #: ../build/NEWS:7465 msgid "" "`bpo-37828 `__: Fix default mock name " "in :meth:`unittest.mock.Mock.assert_called` exceptions. Patch by Abraham " "Toriz Cruz." msgstr "" #: ../build/NEWS:7469 msgid "" "`bpo-38175 `__: Fix a memory leak in " "comparison of :class:`sqlite3.Row` objects." msgstr "" #: ../build/NEWS:7472 msgid "" "`bpo-33936 `__: _hashlib no longer calls " "obsolete OpenSSL initialization function with OpenSSL 1.1.0+." msgstr "" #: ../build/NEWS:7475 msgid "" "`bpo-34706 `__: Preserve subclassing in " "inspect.Signature.from_callable." msgstr "" #: ../build/NEWS:7477 msgid "" "`bpo-38153 `__: Names of hashing " "algorithms frome OpenSSL are now normalized to follow Python's naming " "conventions. For example OpenSSL uses sha3-512 instead of sha3_512 or " "blake2b512 instead of blake2b." msgstr "" #: ../build/NEWS:7481 msgid "" "`bpo-38115 `__: Fix a bug in dis." "findlinestarts() where it would return invalid bytecode offsets. Document " "that a code object's co_lnotab can contain invalid bytecode offsets." msgstr "" #: ../build/NEWS:7485 msgid "" "`bpo-38148 `__: Add slots to :mod:" "`asyncio` transport classes, which can reduce memory usage." msgstr "" #: ../build/NEWS:7488 msgid "" "`bpo-38142 `__: The _hashlib OpenSSL " "wrapper extension module is now PEP-384 compliant." msgstr "" #: ../build/NEWS:7491 msgid "" "`bpo-9216 `__: hashlib constructors now " "support usedforsecurity flag to signal that a hashing algorithm is not used " "in a security context." msgstr "" #: ../build/NEWS:7494 msgid "" "`bpo-36991 `__: Fixes a potential " "incorrect AttributeError exception escaping ZipFile.extract() in some " "unsupported input error situations." msgstr "" #: ../build/NEWS:7497 msgid "" "`bpo-38134 `__: Remove obsolete copy of " "PBKDF2_HMAC_fast. All supported OpenSSL versions contain a fast " "implementation." msgstr "" #: ../build/NEWS:7500 msgid "" "`bpo-38132 `__: The OpenSSL hashlib " "wrapper uses a simpler implementation. Several Macros and pointless caches " "are gone. The hash name now comes from OpenSSL's EVP. The algorithm name " "stays the same, except it is now always lower case." msgstr "" #: ../build/NEWS:7505 msgid "" "`bpo-38008 `__: Fix parent class check " "in protocols to correctly identify the module that provides a builtin " "protocol, instead of assuming they all come from the :mod:`collections.abc` " "module" msgstr "" #: ../build/NEWS:7509 msgid "" "`bpo-34037 `__: For :mod:`asyncio`, add " "a new coroutine :meth:`loop.shutdown_default_executor`. The new coroutine " "provides an API to schedule an executor shutdown that waits on the " "threadpool to finish closing. Also, :func:`asyncio.run` has been updated to " "utilize the new coroutine. Patch by Kyle Stanley." msgstr "" #: ../build/NEWS:7515 msgid "" "`bpo-37405 `__: Fixed regression bug for " "socket.getsockname() for non-CAN_ISOTP AF_CAN address family sockets by " "returning a 1-tuple instead of string." msgstr "" #: ../build/NEWS:7518 msgid "" "`bpo-38121 `__: Update parameter names " "on functions in importlib.metadata matching the changes in the 0.22 release " "of importlib_metadata." msgstr "" #: ../build/NEWS:7521 msgid "" "`bpo-38110 `__: The os.closewalk() " "implementation now uses the libc fdwalk() API on platforms where it is " "available." msgstr "" #: ../build/NEWS:7524 msgid "" "`bpo-38093 `__: Fixes AsyncMock so it " "doesn't crash when used with AsyncContextManagers or AsyncIterators." msgstr "" #: ../build/NEWS:7527 msgid "" "`bpo-37488 `__: Add warning to :meth:" "`datetime.utctimetuple`, :meth:`datetime.utcnow` and :meth:`datetime." "utcfromtimestamp` ." msgstr "" #: ../build/NEWS:7530 msgid "" "`bpo-35640 `__: Allow passing a :term:" "`path-like object` as ``directory`` argument to the :class:`http.server." "SimpleHTTPRequestHandler` class. Patch by Géry Ogam." msgstr "" #: ../build/NEWS:7534 msgid "" "`bpo-38086 `__: Update importlib." "metadata with changes from `importlib_metadata 0.21 `_." msgstr "" #: ../build/NEWS:7538 msgid "" "`bpo-37251 `__: Remove `__code__` check " "in AsyncMock that incorrectly evaluated function specs as async objects but " "failed to evaluate classes with `__await__` but no `__code__` attribute " "defined as async objects." msgstr "" #: ../build/NEWS:7542 msgid "" "`bpo-38037 `__: Fix reference counters " "in the :mod:`signal` module." msgstr "" #: ../build/NEWS:7544 msgid "" "`bpo-38066 `__: Hide internal asyncio." "Stream methods: feed_eof(), feed_data(), set_exception() and set_transport()." msgstr "" #: ../build/NEWS:7547 msgid "" "`bpo-38059 `__: inspect.py now uses sys." "exit() instead of exit()" msgstr "" #: ../build/NEWS:7549 msgid "" "`bpo-38049 `__: Added command-line " "interface for the :mod:`ast` module." msgstr "" #: ../build/NEWS:7551 msgid "" "`bpo-37953 `__: In :mod:`typing`, " "improved the ``__hash__`` and ``__eq__`` methods for :class:" "`ForwardReferences`." msgstr "" #: ../build/NEWS:7554 msgid "" "`bpo-38026 `__: Fixed :func:`inspect." "getattr_static` used ``isinstance`` while it should avoid dynamic lookup." msgstr "" #: ../build/NEWS:7557 msgid "" "`bpo-35923 `__: Update :class:`importlib." "machinery.BuiltinImporter` to use ``loader._ORIGIN`` instead of a hardcoded " "value. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:7560 msgid "" "`bpo-38010 `__: In ``importlib." "metadata`` sync with ``importlib_metadata`` 0.20, clarifying behavior of " "``files()`` and fixing issue where only one requirement was returned for " "``requires()`` on ``dist-info`` packages." msgstr "" #: ../build/NEWS:7564 msgid "" "`bpo-38006 `__: weakref." "WeakValueDictionary defines a local remove() function used as callback for " "weak references. This function was created with a closure. Modify the " "implementation to avoid the closure." msgstr "" #: ../build/NEWS:7568 msgid "" "`bpo-37995 `__: Added the *indent* " "option to :func:`ast.dump` which allows it to produce a multiline indented " "output." msgstr "" #: ../build/NEWS:7571 msgid "" "`bpo-34410 `__: Fixed a crash in the :" "func:`tee` iterator when re-enter it. RuntimeError is now raised in this " "case." msgstr "" #: ../build/NEWS:7574 msgid "" "`bpo-37140 `__: Fix a ctypes regression " "of Python 3.8. When a ctypes.Structure is passed by copy to a function, " "ctypes internals created a temporary object which had the side effect of " "calling the structure finalizer (__del__) twice. The Python semantics " "requires a finalizer to be called exactly once. Fix ctypes internals to no " "longer call the finalizer twice." msgstr "" #: ../build/NEWS:7580 msgid "" "`bpo-37587 `__: ``_json.scanstring`` is " "now up to 3x faster when there are many backslash escaped characters in the " "JSON string." msgstr "" #: ../build/NEWS:7583 msgid "" "`bpo-37834 `__: Prevent shutil.rmtree " "exception when built on non-Windows system without fd system call support, " "like older versions of macOS." msgstr "" #: ../build/NEWS:7586 msgid "" "`bpo-10978 `__: Semaphores and " "BoundedSemaphores can now release more than one waiting thread at a time." msgstr "" #: ../build/NEWS:7589 msgid "" "`bpo-37972 `__: Subscripts to the " "`unittest.mock.call` objects now receive the same chaining mechanism as any " "other custom attributes, so that the following usage no longer raises a " "`TypeError`:" msgstr "" #: ../build/NEWS:7593 msgid "call().foo().__getitem__('bar')" msgstr "" #: ../build/NEWS:7595 msgid "Patch by blhsing" msgstr "" #: ../build/NEWS:7597 msgid "" "`bpo-37965 `__: Fix C compiler warning " "caused by distutils.ccompiler.CCompiler.has_function." msgstr "" #: ../build/NEWS:7600 msgid "" "`bpo-37964 `__: Add ``F_GETPATH`` " "command to :mod:`fcntl`." msgstr "" #: ../build/NEWS:7602 msgid "" "`bpo-37960 `__: ``repr()`` of buffered " "and text streams now silences only expected exceptions when get the value of " "\"name\" and \"mode\" attributes." msgstr "" #: ../build/NEWS:7605 msgid "" "`bpo-37961 `__: Add a ``total_nframe`` " "field to the traces collected by the tracemalloc module. This field " "indicates the original number of frames before it was truncated." msgstr "" #: ../build/NEWS:7609 msgid "" "`bpo-37951 `__: Most features of the " "subprocess module now work again in subinterpreters. Only *preexec_fn* is " "restricted in subinterpreters." msgstr "" #: ../build/NEWS:7612 msgid "" "`bpo-36205 `__: Fix the rusage " "implementation of time.process_time() to correctly report the sum of the " "system and user CPU time." msgstr "" #: ../build/NEWS:7615 msgid "" "`bpo-37950 `__: Fix :func:`ast.dump` " "when call with incompletely initialized node." msgstr "" #: ../build/NEWS:7618 msgid "" "`bpo-34679 `__: Restores instantiation " "of Windows IOCP event loops from the non-main thread." msgstr "" #: ../build/NEWS:7621 msgid "" "`bpo-36917 `__: Add default " "implementation of the :meth:`ast.NodeVisitor.visit_Constant` method which " "emits a deprecation warning and calls corresponding methody ``visit_Num()``, " "``visit_Str()``, etc." msgstr "" #: ../build/NEWS:7626 msgid "" "`bpo-37798 `__: Update test_statistics." "py to verify that the statistics module works well for both C and Python " "implementations. Patch by Dong-hee Na" msgstr "" #: ../build/NEWS:7629 msgid "" "`bpo-26589 `__: Added a new status code " "to the http module: 451 UNAVAILABLE_FOR_LEGAL_REASONS" msgstr "" #: ../build/NEWS:7632 msgid "" "`bpo-37915 `__: Fix a segmentation fault " "that appeared when comparing instances of ``datetime.timezone`` and " "``datetime.tzinfo`` objects. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7636 msgid "" "`bpo-32554 `__: Deprecate having random." "seed() call hash on arbitrary types." msgstr "" #: ../build/NEWS:7638 msgid "" "`bpo-9938 `__: Add optional keyword " "argument ``exit_on_error`` for :class:`ArgumentParser`." msgstr "" #: ../build/NEWS:7641 msgid "" "`bpo-37851 `__: The :mod:`faulthandler` " "module no longer allocates its alternative stack at Python startup. Now the " "stack is only allocated at the first faulthandler usage." msgstr "" #: ../build/NEWS:7645 msgid "" "`bpo-32793 `__: Fix a duplicated debug " "message when :meth:`smtplib.SMTP.connect` is called." msgstr "" #: ../build/NEWS:7648 msgid "" "`bpo-37885 `__: venv: Don't generate " "unset variable warning on deactivate." msgstr "" #: ../build/NEWS:7650 msgid "" "`bpo-37868 `__: Fix dataclasses." "is_dataclass when given an instance that never raises AttributeError in " "__getattr__. That is, an object that returns something for " "__dataclass_fields__ even if it's not a dataclass." msgstr "" #: ../build/NEWS:7654 msgid "" "`bpo-37811 `__: Fix ``socket`` module's " "``socket.connect(address)`` function being unable to establish connection in " "case of interrupted system call. The problem was observed on all OSes which " "``poll(2)`` system call can take only non-negative integers and -1 as a " "timeout value." msgstr "" #: ../build/NEWS:7659 msgid "" "`bpo-37863 `__: Optimizations for " "Fraction.__hash__ suggested by Tim Peters." msgstr "" #: ../build/NEWS:7661 msgid "" "`bpo-21131 `__: Fix ``faulthandler." "register(chain=True)`` stack. faulthandler now allocates a dedicated stack " "of ``SIGSTKSZ*2`` bytes, instead of just ``SIGSTKSZ`` bytes. Calling the " "previous signal handler in faulthandler signal handler uses more than " "``SIGSTKSZ`` bytes of stack memory on some platforms." msgstr "" #: ../build/NEWS:7667 msgid "" "`bpo-37798 `__: Add C fastpath for " "statistics.NormalDist.inv_cdf() Patch by Dong-hee Na" msgstr "" #: ../build/NEWS:7670 msgid "" "`bpo-37804 `__: Remove the deprecated " "method `threading.Thread.isAlive()`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:7673 msgid "" "`bpo-37819 `__: Add Fraction." "as_integer_ratio() to match the corresponding methods in bool, int, float, " "and decimal." msgstr "" #: ../build/NEWS:7676 msgid "" "`bpo-14465 `__: Add an xml.etree." "ElementTree.indent() function for pretty-printing XML trees. Contributed by " "Stefan Behnel." msgstr "" #: ../build/NEWS:7679 msgid "" "`bpo-37810 `__: Fix :mod:`difflib` ``?`` " "hint in diff output when dealing with tabs. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:7682 msgid "" "`bpo-37772 `__: In ``zipfile.Path``, " "when adding implicit dirs, ensure that ancestral directories are added and " "that duplicates are excluded." msgstr "" #: ../build/NEWS:7685 msgid "" "`bpo-18578 `__: Renamed and documented " "`test.bytecode_helper` as `test.support.bytecode_helper`. Patch by Joannah " "Nanjekye." msgstr "" #: ../build/NEWS:7688 msgid "" "`bpo-37785 `__: Fix xgettext warnings " "in :mod:`argparse`." msgstr "" #: ../build/NEWS:7690 msgid "" "`bpo-34488 `__: :meth:`writelines` " "method of :class:`io.BytesIO` is now slightly faster when many small lines " "are passed. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:7694 msgid "" "`bpo-37449 `__: `ensurepip` now uses " "`importlib.resources.read_binary()` to read data instead of `pkgutil." "get_data()`. Patch by Joannah Nanjekye." msgstr "" #: ../build/NEWS:7697 msgid "" "`bpo-28292 `__: Mark calendar.py helper " "functions as being private. The follows PEP 8 guidance to maintain the " "style conventions in the module and it addresses a known case of user " "confusion." msgstr "" #: ../build/NEWS:7701 msgid "" "`bpo-18049 `__: Add definition of " "THREAD_STACK_SIZE for AIX in Python/thread_pthread.h The default thread " "stacksize caused crashes with the default recursion limit Patch by M Felt" msgstr "" #: ../build/NEWS:7705 msgid "" "`bpo-37742 `__: The logging.getLogger() " "API now returns the root logger when passed the name 'root', whereas " "previously it returned a non-root logger named 'root'. This could affect " "cases where user code explicitly wants a non-root logger named 'root', or " "instantiates a logger using logging.getLogger(__name__) in some top-level " "module called 'root.py'." msgstr "" #: ../build/NEWS:7711 msgid "" "`bpo-37738 `__: Fix the implementation " "of curses ``addch(str, color_pair)``: pass the color pair to ``setcchar()``, " "instead of always passing 0 as the color pair." msgstr "" #: ../build/NEWS:7715 msgid "" "`bpo-37723 `__: Fix performance " "regression on regular expression parsing with huge character sets. Patch by " "Yann Vaginay." msgstr "" #: ../build/NEWS:7718 msgid "" "`bpo-35943 `__: The function :c:func:" "`PyImport_GetModule` now ensures any module it returns is fully initialized. " "Patch by Joannah Nanjekye." msgstr "" #: ../build/NEWS:7721 msgid "" "`bpo-32178 `__: Fix IndexError in :mod:" "`email` package when trying to parse invalid address fields starting with ``:" "``." msgstr "" #: ../build/NEWS:7724 msgid "" "`bpo-37268 `__: The :mod:`parser` module " "is deprecated and will be removed in future versions of Python." msgstr "" #: ../build/NEWS:7727 msgid "" "`bpo-11953 `__: Completing WSA* error " "codes in :mod:`socket`." msgstr "" #: ../build/NEWS:7729 msgid "" "`bpo-37685 `__: Fixed comparisons of :" "class:`datetime.timedelta` and :class:`datetime.timezone`." msgstr "" #: ../build/NEWS:7732 msgid "" "`bpo-37697 `__: Syncronize ``importlib." "metadata`` with `importlib_metadata 0.19 `_, improving handling of EGG-INFO files " "and fixing a crash when entry point names contained colons." msgstr "" #: ../build/NEWS:7737 msgid "" "`bpo-37695 `__: Correct :func:`curses." "unget_wch` error message. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:7740 msgid "" "`bpo-37689 `__: Add :meth:" "`is_relative_to` in :class:`PurePath` to determine whether or not one path " "is relative to another." msgstr "" #: ../build/NEWS:7743 msgid "" "`bpo-29553 `__: Fixed :meth:`argparse." "ArgumentParser.format_usage` for mutually exclusive groups. Patch by Andrew " "Nester." msgstr "" #: ../build/NEWS:7746 msgid "" "`bpo-37691 `__: Let math.dist() accept " "coordinates as sequences (or iterables) rather than just tuples." msgstr "" #: ../build/NEWS:7749 msgid "" "`bpo-37685 `__: Fixed ``__eq__``, " "``__lt__`` etc implementations in some classes. They now return :data:" "`NotImplemented` for unsupported type of the other operand. This allows the " "other operand to play role (for example the equality comparison with :data:" "`~unittest.mock.ANY` will return ``True``)." msgstr "" #: ../build/NEWS:7755 msgid "" "`bpo-37354 `__: Make Activate.ps1 " "Powershell script static to allow for signing it." msgstr "" #: ../build/NEWS:7758 msgid "" "`bpo-37664 `__: Update wheels bundled " "with ensurepip (pip 19.2.3 and setuptools 41.2.0)" msgstr "" #: ../build/NEWS:7761 msgid "" "`bpo-37663 `__: Bring consistency to " "venv shell activation scripts by always using __VENV_PROMPT__." msgstr "" #: ../build/NEWS:7764 msgid "" "`bpo-37642 `__: Allowed the pure Python " "implementation of :class:`datetime.timezone` to represent sub-minute offsets " "close to minimum and maximum boundaries, specifically in the ranges (23:59, " "24:00) and (-23:59, 24:00). Patch by Ngalim Siregar" msgstr "" #: ../build/NEWS:7769 msgid "" "`bpo-36161 `__: In :mod:`posix`, use " "``ttyname_r`` instead of ``ttyname`` for thread safety." msgstr "" #: ../build/NEWS:7772 msgid "" "`bpo-36324 `__: Make internal attributes " "for statistics.NormalDist() private." msgstr "" #: ../build/NEWS:7774 msgid "" "`bpo-37555 `__: Fix `NonCallableMock." "_call_matcher` returning tuple instead of `_Call` object when `self." "_spec_signature` exists. Patch by Elizabeth Uselton" msgstr "" #: ../build/NEWS:7778 msgid "" "`bpo-29446 `__: Make `from tkinter " "import *` import only the expected objects." msgstr "" #: ../build/NEWS:7780 msgid "" "`bpo-16970 `__: Adding a value error " "when an invalid value in passed to nargs Patch by Robert Leenders" msgstr "" #: ../build/NEWS:7783 msgid "" "`bpo-34443 `__: Exceptions from :mod:" "`enum` now use the ``__qualname`` of the enum class in the exception message " "instead of the ``__name__``." msgstr "" #: ../build/NEWS:7786 msgid "" "`bpo-37491 `__: Fix ``IndexError`` when " "parsing email headers with unexpectedly ending bare-quoted string value. " "Patch by Abhilash Raj." msgstr "" #: ../build/NEWS:7789 msgid "" "`bpo-37587 `__: Make json.loads faster " "for long strings. (Patch by Marco Paolini)" msgstr "" #: ../build/NEWS:7792 msgid "" "`bpo-18378 `__: Recognize \"UTF-8\" as a " "valid value for LC_CTYPE in locale._parse_localename." msgstr "" #: ../build/NEWS:7795 msgid "" "`bpo-37579 `__: Return :exc:" "`NotImplemented` in Python implementation of ``__eq__`` for :class:" "`~datetime.timedelta` and :class:`~datetime.time` when the other object " "being compared is not of the same type to match C implementation. Patch by " "Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:7800 msgid "" "`bpo-21478 `__: Record calls to parent " "when autospecced object is attached to a mock using :func:`unittest.mock." "attach_mock`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:7804 msgid "" "`bpo-37531 `__: \"python3 -m test -jN --" "timeout=TIMEOUT\" now kills a worker process if it runs longer than " "*TIMEOUT* seconds." msgstr "" #: ../build/NEWS:7807 msgid "" "`bpo-37482 `__: Fix serialization of " "display name in originator or destination address fields with both encoded " "words and special chars." msgstr "" #: ../build/NEWS:7810 msgid "" "`bpo-36993 `__: Improve error reporting " "for corrupt zip files with bad zip64 extra data. Patch by Daniel Hillier." msgstr "" #: ../build/NEWS:7813 msgid "" "`bpo-37502 `__: pickle.loads() no longer " "raises TypeError when the buffers argument is set to None" msgstr "" #: ../build/NEWS:7816 msgid "" "`bpo-37520 `__: Correct behavior for " "zipfile.Path.parent when the path object identifies a subdirectory." msgstr "" #: ../build/NEWS:7819 msgid "" "`bpo-18374 `__: Fix the ``.col_offset`` " "attribute of nested :class:`ast.BinOp` instances which had a too large value " "in some situations." msgstr "" #: ../build/NEWS:7822 msgid "" "`bpo-37424 `__: Fixes a possible hang " "when using a timeout on `subprocess.run()` while capturing output. If the " "child process spawned its own children or otherwise connected its stdout or " "stderr handles with another process, we could hang after the timeout was " "reached and our child was killed when attempting to read final output from " "the pipes." msgstr "" #: ../build/NEWS:7828 msgid "" "`bpo-37421 `__: Fix :func:" "`multiprocessing.util.get_temp_dir` finalizer: clear also the 'tempdir' " "configuration of the current process, so next call to ``get_temp_dir()`` " "will create a new temporary directory, rather than reusing the removed " "temporary directory." msgstr "" #: ../build/NEWS:7833 msgid "" "`bpo-37481 `__: The distutils " "``bdist_wininst`` command is deprecated in Python 3.8, use ``bdist_wheel`` " "(wheel packages) instead." msgstr "" #: ../build/NEWS:7836 msgid "" "`bpo-37479 `__: When `Enum.__str__` is " "overridden in a derived class, the override will be used by `Enum." "__format__` regardless of whether mixin classes are present." msgstr "" #: ../build/NEWS:7840 msgid "" "`bpo-37440 `__: http.client now enables " "TLS 1.3 post-handshake authentication for default context or if a cert_file " "is passed to HTTPSConnection." msgstr "" #: ../build/NEWS:7843 msgid "" "`bpo-37437 `__: Update vendorized expat " "version to 2.2.7." msgstr "" #: ../build/NEWS:7845 msgid "" "`bpo-37428 `__: SSLContext." "post_handshake_auth = True no longer sets SSL_VERIFY_POST_HANDSHAKE verify " "flag for client connections. Although the option is documented as ignored " "for clients, OpenSSL implicitly enables cert chain validation when the flag " "is set." msgstr "" #: ../build/NEWS:7850 msgid "" "`bpo-37420 `__: :func:`os." "sched_setaffinity` now correctly handles errors that arise during iteration " "over its ``mask`` argument. Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:7853 msgid "" "`bpo-37412 `__: The :func:`os.getcwdb` " "function now uses the UTF-8 encoding on Windows, rather than the ANSI code " "page: see :pep:`529` for the rationale. The function is no longer deprecated " "on Windows." msgstr "" #: ../build/NEWS:7857 msgid "" "`bpo-37406 `__: The sqlite3 module now " "raises TypeError, rather than ValueError, if operation argument type is not " "str: execute(), executemany() and calling a connection." msgstr "" #: ../build/NEWS:7861 msgid "" "`bpo-29412 `__: Fix IndexError in " "parsing a header value ending unexpectedly. Patch by Abhilash Raj." msgstr "" #: ../build/NEWS:7864 msgid "" "`bpo-36546 `__: The *dist* argument for " "statistics.quantiles() is now positional only. The current name doesn't " "reflect that the argument can be either a dataset or a distribution. " "Marking the parameter as positional avoids confusion and makes it possible " "to change the name later." msgstr "" #: ../build/NEWS:7869 msgid "" "`bpo-37394 `__: Fix a bug that was " "causing the :mod:`queue` module to fail if the accelerator module was not " "available. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7872 msgid "" "`bpo-37376 `__: :mod:`pprint` now has " "support for :class:`types.SimpleNamespace`. Patch by Carl Bordum Hansen." msgstr "" #: ../build/NEWS:7875 msgid "" "`bpo-26967 `__: An :class:`~argparse." "ArgumentParser` with ``allow_abbrev=False`` no longer disables grouping of " "short flags, such as ``-vv``, but only disables abbreviation of long flags " "as documented. Patch by Zac Hatfield-Dodds." msgstr "" #: ../build/NEWS:7880 msgid "" "`bpo-37212 `__: :func:`unittest.mock." "call` now preserves the order of keyword arguments in repr output. Patch by " "Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:7883 msgid "" "`bpo-37372 `__: Fix error unpickling " "datetime.time objects from Python 2 with seconds>=24. Patch by Justin " "Blanchard." msgstr "" #: ../build/NEWS:7886 msgid "" "`bpo-37345 `__: Add formal support for " "UDPLITE sockets. Support was present before, but it is now easier to detect " "support with ``hasattr(socket, 'IPPROTO_UDPLITE')`` and there are constants " "defined for each of the values needed: :py:obj:`socket.IPPROTO_UDPLITE`, :py:" "obj:`UDPLITE_SEND_CSCOV`, and :py:obj:`UDPLITE_RECV_CSCOV`. Patch by Gabe " "Appleton." msgstr "" #: ../build/NEWS:7893 msgid "" "`bpo-37358 `__: Optimized ``functools." "partial`` by using vectorcall." msgstr "" #: ../build/NEWS:7895 msgid "" "`bpo-37347 `__: :meth:`sqlite3." "Connection.create_aggregate`, :meth:`sqlite3.Connection.create_function`, :" "meth:`sqlite3.Connection.set_authorizer`, :meth:`sqlite3.Connection." "set_progress_handler` :meth:`sqlite3.Connection.set_trace_callback` methods " "lead to segfaults if some of these methods are called twice with an equal " "object but not the same. Now callbacks are stored more carefully. Patch by " "Aleksandr Balezin." msgstr "" #: ../build/NEWS:7903 msgid "" "`bpo-37163 `__: The *obj* argument of :" "func:`dataclasses.replace` is positional-only now." msgstr "" #: ../build/NEWS:7906 msgid "" "`bpo-37085 `__: Add the optional Linux " "SocketCAN Broadcast Manager constants, used as flags to configure the BCM " "behaviour, in the socket module. Patch by Karl Ding." msgstr "" #: ../build/NEWS:7910 msgid "" "`bpo-37328 `__: ``HTMLParser.unescape`` " "is removed. It was undocumented and deprecated since Python 3.4." msgstr "" #: ../build/NEWS:7913 msgid "" "`bpo-37305 `__: Add .webmanifest -> " "application/manifest+json to list of recognized file types and content type " "headers" msgstr "" #: ../build/NEWS:7916 msgid "" "`bpo-37320 `__: ``aifc.openfp()`` alias " "to ``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave." "openfp()`` alias to ``wave.open()`` have been removed. They were deprecated " "since Python 3.7." msgstr "" #: ../build/NEWS:7920 msgid "" "`bpo-37315 `__: Deprecated accepting " "floats with integral value (like ``5.0``) in :func:`math.factorial`." msgstr "" #: ../build/NEWS:7923 msgid "" "`bpo-37312 `__: ``_dummy_thread`` and " "``dummy_threading`` modules have been removed. These modules were deprecated " "since Python 3.7 which requires threading support." msgstr "" #: ../build/NEWS:7927 msgid "" "`bpo-33972 `__: Email with single part " "but content-type set to ``multipart/*`` doesn't raise AttributeError anymore." msgstr "" #: ../build/NEWS:7930 msgid "" "`bpo-37280 `__: Use threadpool for " "reading from file for sendfile fallback mode." msgstr "" #: ../build/NEWS:7933 msgid "" "`bpo-37279 `__: Fix asyncio sendfile " "support when sendfile sends extra data in fallback mode." msgstr "" #: ../build/NEWS:7936 msgid "" "`bpo-19865 `__: :func:`ctypes." "create_unicode_buffer()` now also supports non-BMP characters on platforms " "with 16-bit :c:type:`wchar_t` (for example, Windows and AIX)." msgstr "" #: ../build/NEWS:7940 msgid "" "`bpo-37266 `__: In a subinterpreter, " "spawning a daemon thread now raises an exception. Daemon threads were never " "supported in subinterpreters. Previously, the subinterpreter finalization " "crashed with a Pyton fatal error if a daemon thread was still running." msgstr "" #: ../build/NEWS:7945 msgid "" "`bpo-37210 `__: Allow pure Python " "implementation of :mod:`pickle` to work even when the C :mod:`_pickle` " "module is unavailable." msgstr "" #: ../build/NEWS:7948 msgid "" "`bpo-21872 `__: Fix :mod:`lzma`: module " "decompresses data incompletely. When decompressing a FORMAT_ALONE format " "file, and it doesn't have the end marker, sometimes the last one to dozens " "bytes can't be output. Patch by Ma Lin." msgstr "" #: ../build/NEWS:7953 msgid "" "`bpo-35922 `__: Fix :meth:" "`RobotFileParser.crawl_delay` and :meth:`RobotFileParser.request_rate` to " "return ``None`` rather than raise :exc:`AttributeError` when no relevant " "rule is defined in the robots.txt file. Patch by Rémi Lapeyre." msgstr "" #: ../build/NEWS:7958 msgid "" "`bpo-35766 `__: Change the format of " "feature_version to be a (major, minor) tuple." msgstr "" #: ../build/NEWS:7961 msgid "" "`bpo-36607 `__: Eliminate :exc:" "`RuntimeError` raised by :func:`asyncio.all_tasks()` if internal tasks weak " "set is changed by another thread during iteration." msgstr "" #: ../build/NEWS:7965 msgid "" "`bpo-18748 `__: :class:`_pyio.IOBase` " "destructor now does nothing if getting the ``closed`` attribute fails to " "better mimick :class:`_io.IOBase` finalizer." msgstr "" #: ../build/NEWS:7969 msgid "" "`bpo-36402 `__: Fix a race condition at " "Python shutdown when waiting for threads. Wait until the Python thread state " "of all non-daemon threads get deleted (join all non-daemon threads), rather " "than just wait until non-daemon Python threads complete." msgstr "" #: ../build/NEWS:7974 msgid "" "`bpo-37206 `__: Default values which " "cannot be represented as Python objects no longer improperly represented as " "``None`` in function signatures." msgstr "" #: ../build/NEWS:7977 msgid "" "`bpo-37111 `__: Added ``encoding`` and " "``errors`` keyword parameters to ``logging.basicConfig``." msgstr "" #: ../build/NEWS:7980 msgid "" "`bpo-12144 `__: Ensure cookies with " "``expires`` attribute are handled in :meth:`CookieJar.make_cookies`." msgstr "" #: ../build/NEWS:7983 msgid "" "`bpo-34886 `__: Fix an unintended " "ValueError from :func:`subprocess.run` when checking for conflicting `input` " "and `stdin` or `capture_output` and `stdout` or `stderr` args when they were " "explicitly provided but with `None` values within a passed in `**kwargs` " "dict rather than as passed directly by name. Patch contributed by Rémi " "Lapeyre." msgstr "" #: ../build/NEWS:7989 msgid "" "`bpo-37173 `__: The exception message " "for ``inspect.getfile()`` now correctly reports the passed class rather than " "the builtins module." msgstr "" #: ../build/NEWS:7992 msgid "" "`bpo-37178 `__: Give math.perm() a one " "argument form that means the same as math.factorial()." msgstr "" #: ../build/NEWS:7995 msgid "" "`bpo-37178 `__: For math.perm(n, k), let " "k default to n, giving the same result as factorial." msgstr "" #: ../build/NEWS:7998 msgid "" "`bpo-37165 `__: Converted _collections." "_count_elements to use the Argument Clinic." msgstr "" #: ../build/NEWS:8001 msgid "" "`bpo-34767 `__: Do not always create a :" "class:`collections.deque` in :class:`asyncio.Lock`." msgstr "" #: ../build/NEWS:8004 msgid "" "`bpo-37158 `__: Speed-up statistics." "fmean() by switching from a function to a generator." msgstr "" #: ../build/NEWS:8007 msgid "" "`bpo-34282 `__: Remove ``Enum._convert`` " "method, deprecated in 3.8." msgstr "" #: ../build/NEWS:8009 msgid "" "`bpo-37150 `__: `argparse." "_ActionsContainer.add_argument` now throws error, if someone accidentally " "pass FileType class object instead of instance of FileType as `type` argument" msgstr "" #: ../build/NEWS:8013 msgid "" "`bpo-28724 `__: The socket module now " "has the :func:`socket.send_fds` and :func:`socket.recv.fds` methods. " "Contributed by Joannah Nanjekye, Shinya Okano and Victor Stinner." msgstr "" #: ../build/NEWS:8017 msgid "" "`bpo-35621 `__: Support running asyncio " "subprocesses when execution event loop in a thread on UNIX." msgstr "" #: ../build/NEWS:8020 msgid "" "`bpo-36520 `__: Lengthy email headers " "with UTF-8 characters are now properly encoded when they are folded. Patch " "by Jeffrey Kintscher." msgstr "" #: ../build/NEWS:8023 msgid "" "`bpo-30835 `__: Fixed a bug in email " "parsing where a message with invalid bytes in content-transfer-encoding of a " "multipart message can cause an AttributeError. Patch by Andrew Donnellan." msgstr "" #: ../build/NEWS:8027 msgid "" "`bpo-31163 `__: pathlib.Path instance's " "rename and replace methods now return the new Path instance." msgstr "" #: ../build/NEWS:8030 msgid "" "`bpo-25068 `__: :class:`urllib.request." "ProxyHandler` now lowercases the keys of the passed dictionary." msgstr "" #: ../build/NEWS:8033 msgid "" "`bpo-26185 `__: Fix :func:`repr` on " "empty :class:`ZipInfo` object. Patch by Mickaël Schoentgen." msgstr "" #: ../build/NEWS:8036 msgid "" "`bpo-21315 `__: Email headers containing " "RFC2047 encoded words are parsed despite the missing whitespace, and a " "defect registered. Also missing trailing whitespace after encoded words is " "now registered as a defect." msgstr "" #: ../build/NEWS:8040 msgid "" "`bpo-31904 `__: Port test_datetime to " "VxWorks: skip zoneinfo tests on VxWorks" msgstr "" #: ../build/NEWS:8042 msgid "" "`bpo-35805 `__: Add parser for Message-" "ID header and add it to default HeaderRegistry. This should prevent folding " "of Message-ID using RFC 2048 encoded words." msgstr "" #: ../build/NEWS:8046 msgid "" "`bpo-36871 `__: Ensure method signature " "is used instead of constructor signature of a class while asserting mock " "object against method calls. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:8050 msgid "" "`bpo-35070 `__: posix.getgrouplist() now " "works correctly when the user belongs to NGROUPS_MAX supplemental groups. " "Patch by Jeffrey Kintscher." msgstr "" #: ../build/NEWS:8053 msgid "" "`bpo-31783 `__: Fix race condition in " "ThreadPoolExecutor when worker threads are created during interpreter " "shutdown." msgstr "" #: ../build/NEWS:8056 msgid "" "`bpo-36582 `__: Fix ``UserString." "encode()`` to correctly return ``bytes`` rather than a ``UserString`` " "instance." msgstr "" #: ../build/NEWS:8059 msgid "" "`bpo-32424 `__: Deprecate xml.etree." "ElementTree.Element.copy() in favor of copy.copy()." msgstr "" #: ../build/NEWS:8062 msgid "Patch by Gordon P. Hemsley" msgstr "" #: ../build/NEWS:8064 msgid "" "`bpo-36564 `__: Fix infinite loop in " "email header folding logic that would be triggered when an email policy's " "max_line_length is not long enough to include the required markup and any " "values in the message. Patch by Paul Ganssle" msgstr "" #: ../build/NEWS:8069 msgid "" "`bpo-36543 `__: Removed methods Element." "getchildren(), Element.getiterator() and ElementTree.getiterator() and the " "xml.etree.cElementTree module." msgstr "" #: ../build/NEWS:8072 msgid "" "`bpo-36409 `__: Remove the old plistlib " "API deprecated in Python 3.4" msgstr "" #: ../build/NEWS:8074 msgid "" "`bpo-36302 `__: distutils sorts source " "file lists so that Extension .so files build more reproducibly by default" msgstr "" #: ../build/NEWS:8077 msgid "" "`bpo-36250 `__: Ignore ``ValueError`` " "from ``signal`` with ``interaction`` in non-main thread." msgstr "" #: ../build/NEWS:8080 msgid "" "`bpo-36046 `__: Added ``user``, " "``group`` and ``extra_groups`` parameters to the subprocess.Popen " "constructor. Patch by Patrick McLean." msgstr "" #: ../build/NEWS:8083 msgid "" "`bpo-32627 `__: Fix compile error when " "``_uuid`` headers conflicting included." msgstr "" #: ../build/NEWS:8085 msgid "" "`bpo-35800 `__: Deprecate ``smtpd." "MailmanProxy`` ready for future removal." msgstr "" #: ../build/NEWS:8087 msgid "" "`bpo-35168 `__: :attr:`shlex.shlex." "punctuation_chars` is now a read-only property." msgstr "" #: ../build/NEWS:8090 msgid "" "`bpo-8538 `__: Add support for boolean " "actions like ``--foo`` and ``--no-foo`` to argparse. Patch contributed by " "Rémi Lapeyre." msgstr "" #: ../build/NEWS:8093 msgid "" "`bpo-20504 `__: Fixes a bug in :mod:" "`cgi` module when a multipart/form-data request has no `Content-Length` " "header." msgstr "" #: ../build/NEWS:8096 msgid "" "`bpo-25988 `__: The abstract base " "classes in :mod:`collections.abc` no longer are exposed in the regular :mod:" "`collections` module." msgstr "" #: ../build/NEWS:8099 msgid "" "`bpo-11122 `__: Distutils won't check " "for rpmbuild in specified paths only." msgstr "" #: ../build/NEWS:8101 msgid "" "`bpo-34775 `__: Division handling of " "PurePath now returns NotImplemented instead of raising a TypeError when " "passed something other than an instance of str or PurePath. Patch by Roger " "Aiudi." msgstr "" #: ../build/NEWS:8105 msgid "" "`bpo-34749 `__: :func:`binascii." "a2b_base64` is now up to 2 times faster. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:8108 msgid "" "`bpo-34519 `__: Add additional aliases " "for HP Roman 8. Patch by Michael Osipov." msgstr "" #: ../build/NEWS:8110 msgid "" "`bpo-28009 `__: Fix uuid.getnode() on " "platforms with '.' as MAC Addr delimiter as well fix for MAC Addr format " "that omits a leading 0 in MAC Addr values. Currently, AIX is the only know " "platform with these settings. Patch by Michael Felt." msgstr "" #: ../build/NEWS:8115 msgid "" "`bpo-30618 `__: Add :meth:`~pathlib.Path." "readlink`. Patch by Girts Folkmanis." msgstr "" #: ../build/NEWS:8117 msgid "" "`bpo-32498 `__: Made :func:`urllib.parse." "unquote()` accept bytes in addition to strings. Patch by Stein Karlsen." msgstr "" #: ../build/NEWS:8120 msgid "" "`bpo-33348 `__: lib2to3 now recognizes " "expressions after ``*`` and `**` like in ``f(*[] or [])``." msgstr "" #: ../build/NEWS:8123 msgid "" "`bpo-32689 `__: Update :func:`shutil." "move` function to allow for Path objects to be used as source argument. " "Patch by Emily Morehouse and Maxwell \"5.13b\" McKinnon." msgstr "" #: ../build/NEWS:8127 msgid "" "`bpo-32820 `__: Added __format__ to IPv4 " "and IPv6 classes. Always outputs a fully zero- padded string. Supports b/x/" "n modifiers (bin/hex/native format). Native format for IPv4 is bin, native " "format for IPv6 is hex. Also supports '#' and '_' modifiers." msgstr "" #: ../build/NEWS:8132 msgid "" "`bpo-27657 `__: Fix urllib.parse." "urlparse() with numeric paths. A string like \"path:80\" is no longer parsed " "as a path but as a scheme (\"path\") and a path (\"80\")." msgstr "" #: ../build/NEWS:8136 msgid "" "`bpo-4963 `__: Fixed non-deterministic " "behavior related to mimetypes extension mapping and module reinitialization." msgstr "" #: ../build/NEWS:8142 msgid "" "`bpo-21767 `__: Explicitly mention abc " "support in functools.singledispatch" msgstr "" #: ../build/NEWS:8144 msgid "" "`bpo-38816 `__: Provides more details " "about the interaction between :c:func:`fork` and CPython's runtime, focusing " "just on the C-API. This includes cautions about where :c:func:`fork` should " "and shouldn't be called." msgstr "" #: ../build/NEWS:8149 msgid "" "`bpo-38351 `__: Modernize :mod:`email` " "examples from %-formatting to f-strings." msgstr "" #: ../build/NEWS:8151 msgid "" "`bpo-38778 `__: Document the fact that :" "exc:`RuntimeError` is raised if :meth:`os.fork` is called in a " "subinterpreter." msgstr "" #: ../build/NEWS:8154 msgid "" "`bpo-38592 `__: Add Brazilian Portuguese " "to the language switcher at Python Documentation website." msgstr "" #: ../build/NEWS:8157 msgid "" "`bpo-38294 `__: Add list of no-longer-" "escaped chars to re.escape documentation" msgstr "" #: ../build/NEWS:8159 msgid "" "`bpo-38053 `__: Modernized the plistlib " "documentation" msgstr "" #: ../build/NEWS:8161 msgid "" "`bpo-26868 `__: Fix example usage of :c:" "func:`PyModule_AddObject` to properly handle errors." msgstr "" #: ../build/NEWS:8164 msgid "" "`bpo-36797 `__: Fix a dead link in the " "distutils API Reference." msgstr "" #: ../build/NEWS:8166 msgid "" "`bpo-37977 `__: Warn more strongly and " "clearly about pickle insecurity" msgstr "" #: ../build/NEWS:8168 msgid "" "`bpo-37979 `__: Added a link to dateutil." "parser.isoparse in the datetime.fromisoformat documentation. Patch by Paul " "Ganssle" msgstr "" #: ../build/NEWS:8171 msgid "" "`bpo-12707 `__: Deprecate info(), " "geturl(), getcode() methods in favor of the headers, url, and status " "properties, respectively, for HTTPResponse and addinfourl. Also deprecate " "the code attribute of addinfourl in favor of the status attribute. Patch by " "Ashwin Ramaswami" msgstr "" #: ../build/NEWS:8176 msgid "" "`bpo-37937 `__: Mention ``frame." "f_trace`` in :func:`sys.settrace` docs." msgstr "" #: ../build/NEWS:8178 msgid "" "`bpo-37878 `__: Make :c:func:" "`PyThreadState_DeleteCurrent` Internal." msgstr "" #: ../build/NEWS:8180 msgid "" "`bpo-37759 `__: Beginning edits to " "Whatsnew 3.8" msgstr "" #: ../build/NEWS:8182 msgid "" "`bpo-37726 `__: Stop recommending getopt " "in the tutorial for command line argument parsing and promote argparse." msgstr "" #: ../build/NEWS:8185 msgid "" "`bpo-32910 `__: Remove implementation-" "specific behaviour of how venv's Deactivate works." msgstr "" #: ../build/NEWS:8188 msgid "" "`bpo-37256 `__: Fix wording of arguments " "for :class:`Request` in :mod:`urllib.request`" msgstr "" #: ../build/NEWS:8191 msgid "" "`bpo-37284 `__: Add a brief note to " "indicate that any new ``sys.implementation`` required attributes must go " "through the PEP process." msgstr "" #: ../build/NEWS:8195 msgid "" "`bpo-30088 `__: Documented that :class:" "`mailbox.Maildir` constructor doesn't attempt to verify the maildir folder " "layout correctness. Patch by Sviatoslav Sydorenko." msgstr "" #: ../build/NEWS:8199 msgid "" "`bpo-37521 `__: Fix `importlib` examples " "to insert any newly created modules via importlib.util.module_from_spec() " "immediately into sys.modules instead of after calling loader.exec_module()." msgstr "" #: ../build/NEWS:8203 msgid "Thanks to Benjamin Mintz for finding the bug." msgstr "" #: ../build/NEWS:8205 msgid "" "`bpo-37456 `__: Slash ('/') is now part " "of syntax." msgstr "" #: ../build/NEWS:8207 msgid "" "`bpo-37487 `__: Fix PyList_GetItem index " "description to include 0." msgstr "" #: ../build/NEWS:8209 msgid "" "`bpo-37149 `__: Replace the dead link to " "the Tkinter 8.5 reference by John Shipman, New Mexico Tech, with a link to " "the archive.org copy." msgstr "" #: ../build/NEWS:8212 msgid "" "`bpo-37478 `__: Added possible " "exceptions to the description of os.chdir()." msgstr "" #: ../build/NEWS:8214 msgid "" "`bpo-34903 `__: Documented that in :meth:" "`datetime.datetime.strptime()`, the leading zero in some two-digit formats " "is optional. Patch by Mike Gleen." msgstr "" #: ../build/NEWS:8217 msgid "" "`bpo-36260 `__: Add decompression " "pitfalls to zipfile module documentation." msgstr "" #: ../build/NEWS:8219 msgid "" "`bpo-37004 `__: In the documentation for " "difflib, a note was added explicitly warning that the results of " "SequenceMatcher's ratio method may depend on the order of the input strings." msgstr "" #: ../build/NEWS:8223 msgid "" "`bpo-36960 `__: Restructured the :mod:" "`datetime` docs in the interest of making them more user-friendly and " "improving readability. Patch by Brad Solomon." msgstr "" #: ../build/NEWS:8226 msgid "" "`bpo-36487 `__: Make C-API docs clear " "about what the \"main\" interpreter is." msgstr "" #: ../build/NEWS:8228 msgid "" "`bpo-23460 `__: The documentation for " "decimal string formatting using the `:g` specifier has been updated to " "reflect the correct exponential notation cutoff point. Original patch " "contributed by Tuomas Suutari." msgstr "" #: ../build/NEWS:8232 msgid "" "`bpo-35803 `__: Document and test that " "``tempfile`` functions may accept a :term:`path-like object` for the ``dir`` " "argument. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:8236 msgid "" "`bpo-33944 `__: Added a note about the " "intended use of code in .pth files." msgstr "" #: ../build/NEWS:8238 msgid "" "`bpo-34293 `__: Fix the Doc/Makefile " "regarding PAPER environment variable and PDF builds" msgstr "" #: ../build/NEWS:8241 msgid "" "`bpo-25237 `__: Add documentation for " "tkinter modules" msgstr "" #: ../build/NEWS:8246 msgid "" "`bpo-38614 `__: Fix test_communicate() " "of test_asyncio.test_subprocess: use ``support.LONG_TIMEOUT`` (5 minutes), " "instead of just 1 minute." msgstr "" #: ../build/NEWS:8249 msgid "" "`bpo-38614 `__: Add timeout constants " "to :mod:`test.support`: :data:`~test.support.LOOPBACK_TIMEOUT`, :data:`~test." "support.INTERNET_TIMEOUT`, :data:`~test.support.SHORT_TIMEOUT` and :data:" "`~test.support.LONG_TIMEOUT`." msgstr "" #: ../build/NEWS:8255 msgid "" "`bpo-38502 `__: test.regrtest now uses " "process groups in the multiprocessing mode (-jN command line option) if " "process groups are available: if :func:`os.setsid` and :func:`os.killpg` " "functions are available." msgstr "" #: ../build/NEWS:8259 msgid "" "`bpo-35998 `__: Fix a race condition in " "test_asyncio.test_start_tls_server_1(). Previously, there was a race " "condition between the test main() function which replaces the protocol and " "the test ServerProto protocol which sends ANSWER once it gets HELLO. Now, " "only the test main() function is responsible to send data, ServerProto no " "longer sends data." msgstr "" #: ../build/NEWS:8265 msgid "" "`bpo-38470 `__: Fix ``test_compileall." "test_compile_dir_maxlevels()`` on Windows without long path support: only " "create 3 subdirectories instead of between 20 and 100 subdirectories." msgstr "" #: ../build/NEWS:8269 msgid "" "`bpo-37531 `__: On timeout, regrtest no " "longer attempts to call ``popen.communicate()`` again: it can hang until all " "child processes using stdout and stderr pipes completes. Kill the worker " "process and ignores its output. Change also the faulthandler timeout of the " "main process from 1 minute to 5 minutes, for Python slowest buildbots." msgstr "" #: ../build/NEWS:8275 msgid "" "`bpo-38239 `__: Fix test_gdb for Link " "Time Optimization (LTO) builds." msgstr "" #: ../build/NEWS:8277 msgid "" "`bpo-38275 `__: test_ssl now handles " "disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time " "settings are recognized and tests for disabled versions are skipped. Tests " "also accept more TLS minimum_versions for platforms that override OpenSSL's " "default with strict settings." msgstr "" #: ../build/NEWS:8282 msgid "" "`bpo-38271 `__: The private keys for " "test_ssl were encrypted with 3DES in traditional PKCS#5 format. 3DES and the " "digest algorithm of PKCS#5 are blocked by some strict crypto policies. Use " "PKCS#8 format with AES256 encryption instead." msgstr "" #: ../build/NEWS:8287 msgid "" "`bpo-38270 `__: test.support now has a " "helper function to check for availibility of a hash digest function. Several " "tests are refactored avoid MD5 and use SHA256 instead. Other tests are " "marked to use MD5 and skipped when MD5 is disabled." msgstr "" #: ../build/NEWS:8292 msgid "" "`bpo-37123 `__: Multiprocessing test " "test_mymanager() now also expects -SIGTERM, not only exitcode 0. BaseManager." "_finalize_manager() sends SIGTERM to the manager process if it takes longer " "than 1 second to stop, which happens on slow buildbots." msgstr "" #: ../build/NEWS:8297 msgid "" "`bpo-38212 `__: Multiprocessing tests: " "increase test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds." msgstr "" #: ../build/NEWS:8300 msgid "" "`bpo-38117 `__: Test with OpenSSL 1.1.1d" msgstr "" #: ../build/NEWS:8302 msgid "" "`bpo-38018 `__: Increase code coverage " "for multiprocessing.shared_memory." msgstr "" #: ../build/NEWS:8304 msgid "" "`bpo-37805 `__: Add tests for json." "dump(..., skipkeys=True). Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:8307 msgid "" "`bpo-37531 `__: Enhance regrtest " "multiprocess timeout: write a message when killing a worker process, catch " "popen.kill() and popen.wait() exceptions, put a timeout on the second call " "to popen.communicate()." msgstr "" #: ../build/NEWS:8311 msgid "" "`bpo-37876 `__: Add tests for ROT-13 " "codec." msgstr "" #: ../build/NEWS:8313 msgid "" "`bpo-36833 `__: Added tests for " "PyDateTime_xxx_GET_xxx() macros of the C API of the :mod:`datetime` module. " "Patch by Joannah Nanjekye." msgstr "" #: ../build/NEWS:8316 msgid "" "`bpo-37558 `__: Fix " "test_shared_memory_cleaned_after_process_termination name handling" msgstr "" #: ../build/NEWS:8319 msgid "" "`bpo-37526 `__: Add :func:`test.support." "catch_threading_exception`: context manager catching :class:`threading." "Thread` exception using :func:`threading.excepthook`." msgstr "" #: ../build/NEWS:8323 msgid "" "`bpo-37421 `__: test_concurrent_futures " "now explicitly stops the ForkServer instance if it's running." msgstr "" #: ../build/NEWS:8326 msgid "" "`bpo-37421 `__: multiprocessing tests " "now stop the ForkServer instance if it's running: close the \"alive\" file " "descriptor to ask the server to stop and then remove its UNIX address." msgstr "" #: ../build/NEWS:8330 msgid "" "`bpo-37421 `__: test_distutils." "test_build_ext() is now able to remove the temporary directory on Windows: " "don't import the newly built C extension (\"xx\") in the current process, " "but test it in a separated process." msgstr "" #: ../build/NEWS:8334 msgid "" "`bpo-37421 `__: test_concurrent_futures " "now cleans up multiprocessing to remove immediately temporary directories " "created by multiprocessing.util.get_temp_dir()." msgstr "" #: ../build/NEWS:8338 msgid "" "`bpo-37421 `__: test_winconsoleio " "doesn't leak a temporary file anymore: use tempfile.TemporaryFile() to " "remove it when the test completes." msgstr "" #: ../build/NEWS:8341 msgid "" "`bpo-37421 `__: multiprocessing tests " "now explicitly call ``_run_finalizers()`` to immediately remove temporary " "directories created by tests." msgstr "" #: ../build/NEWS:8344 msgid "" "`bpo-37421 `__: urllib.request tests now " "call :func:`~urllib.request.urlcleanup` to remove temporary files created by " "``urlretrieve()`` tests and to clear the ``_opener`` global variable set by " "``urlopen()`` and functions calling indirectly ``urlopen()``." msgstr "" #: ../build/NEWS:8349 msgid "" "`bpo-37472 `__: Remove ``Lib/test/" "outstanding_bugs.py``." msgstr "" #: ../build/NEWS:8351 msgid "" "`bpo-37199 `__: Fix test failures when " "IPv6 is unavailable or disabled." msgstr "" #: ../build/NEWS:8353 msgid "" "`bpo-19696 `__: Replace deprecated " "method \"random.choose\" with \"random.choice\" in \"test_pkg_import.py\"." msgstr "" #: ../build/NEWS:8356 msgid "" "`bpo-37335 `__: Remove no longer " "necessary code from c locale coercion tests" msgstr "" #: ../build/NEWS:8358 msgid "" "`bpo-37421 `__: Fix test_shutil to no " "longer leak temporary files." msgstr "" #: ../build/NEWS:8360 msgid "" "`bpo-37411 `__: Fix test_wsgiref." "testEnviron() to no longer depend on the environment variables (don't fail " "if \"X\" variable is set)." msgstr "" #: ../build/NEWS:8363 msgid "" "`bpo-37400 `__: Fix test_os." "test_chown(): use os.getgroups() rather than grp.getgrall() to get groups. " "Rename also the test to test_chown_gid()." msgstr "" #: ../build/NEWS:8366 msgid "" "`bpo-37359 `__: Add --cleanup option to " "python3 -m test to remove ``test_python_*`` directories of previous failed " "jobs. Add \"make cleantest\" to run ``python3 -m test --cleanup``." msgstr "" #: ../build/NEWS:8370 msgid "" "`bpo-37362 `__: test_gdb no longer fails " "if it gets an \"unexpected\" message on stderr: it now ignores stderr. The " "purpose of test_gdb is to test that python-gdb.py commands work as expected, " "not to test gdb." msgstr "" #: ../build/NEWS:8374 msgid "" "`bpo-35998 `__: Avoid TimeoutError in " "test_asyncio: test_start_tls_server_1()" msgstr "" #: ../build/NEWS:8376 msgid "" "`bpo-37278 `__: Fix test_asyncio " "ProactorLoopCtrlC: join the thread to prevent leaking a running thread and " "leaking a reference." msgstr "" #: ../build/NEWS:8379 msgid "" "`bpo-37261 `__: Fix :func:`test.support." "catch_unraisable_exception`: its __exit__() method now ignores unraisable " "exception raised when clearing its ``unraisable`` attribute." msgstr "" #: ../build/NEWS:8383 msgid "" "`bpo-37069 `__: regrtest now uses :func:" "`sys.unraisablehook` to mark a test as \"environment altered\" (ENV_CHANGED) " "if it emits an \"unraisable exception\". Moreover, regrtest logs a warning " "in this case." msgstr "" #: ../build/NEWS:8387 msgid "" "Use ``python3 -m test --fail-env-changed`` to catch unraisable exceptions in " "tests." msgstr "" #: ../build/NEWS:8390 msgid "" "`bpo-37252 `__: Fix assertions in " "``test_close`` and ``test_events_mask_overflow`` devpoll tests." msgstr "" #: ../build/NEWS:8393 msgid "" "`bpo-37169 `__: Rewrite " "``_PyObject_IsFreed()`` unit tests." msgstr "" #: ../build/NEWS:8395 msgid "" "`bpo-37153 `__: ``test_venv." "test_multiprocessing()`` now explicitly calls ``pool.terminate()`` to wait " "until the pool completes." msgstr "" #: ../build/NEWS:8398 msgid "" "`bpo-34001 `__: Make test_ssl pass with " "LibreSSL. LibreSSL handles minimum and maximum TLS version differently than " "OpenSSL." msgstr "" #: ../build/NEWS:8401 msgid "" "`bpo-36919 `__: Make " "``test_source_encoding.test_issue2301`` implementation independent. The test " "will work now for both CPython and IronPython." msgstr "" #: ../build/NEWS:8404 msgid "" "`bpo-30202 `__: Update ``test." "test_importlib.test_abc`` to test ``find_spec()``." msgstr "" #: ../build/NEWS:8407 msgid "" "`bpo-28009 `__: Modify the test_uuid " "logic to test when a program is available AND can be used to obtain a " "MACADDR as basis for an UUID. Patch by M. Felt" msgstr "" #: ../build/NEWS:8410 msgid "" "`bpo-34596 `__: Fallback to a default " "reason when :func:`unittest.skip` is uncalled. Patch by Naitree Zhu." msgstr "" #: ../build/NEWS:8416 msgid "" "`bpo-38809 `__: On Windows, build " "scripts will now recognize and use python.exe from an active virtual env." msgstr "" #: ../build/NEWS:8419 msgid "" "`bpo-38684 `__: Fix _hashlib build when " "Blake2 is disabled, but OpenSSL supports it." msgstr "" #: ../build/NEWS:8422 msgid "" "`bpo-38468 `__: Misc/python-config.in " "now uses `getvar()` for all still existing `sysconfig.get_config_var()` " "calls. Patch by Joannah Nanjekye." msgstr "" #: ../build/NEWS:8425 msgid "" "`bpo-37415 `__: Fix stdatomic.h header " "check for ICC compiler: the ICC implementation lacks atomic_uintptr_t type " "which is needed by Python." msgstr "" #: ../build/NEWS:8428 msgid "" "`bpo-38301 `__: In Solaris family, we " "must be sure to use ``-D_REENTRANT``. Patch by Jesús Cea Avión." msgstr "" #: ../build/NEWS:8431 msgid "" "`bpo-36002 `__: Locate ``llvm-profdata`` " "and ``llvm-ar`` binaries using ``AC_PATH_TOOL`` rather than " "``AC_PATH_TARGET_TOOL``." msgstr "" #: ../build/NEWS:8434 msgid "" "`bpo-37936 `__: The :file:`.gitignore` " "file systematically keeps \"rooted\", with a non-trailing slash, all the " "rules that are meant to apply to files in a specific place in the repo. " "Previously, when the intended file to ignore happened to be at the root of " "the repo, we'd most often accidentally also ignore files and directories " "with the same name anywhere in the tree." msgstr "" #: ../build/NEWS:8440 msgid "" "`bpo-37760 `__: The :file:`Tools/unicode/" "makeunicodedata.py` script, which is used for converting information from " "the Unicode Character Database into generated code and data used by the " "methods of :class:`str` and by the :mod:`unicodedata` module, now handles " "each character's data as a ``dataclass`` with named attributes, rather than " "a length-18 list of different fields." msgstr "" #: ../build/NEWS:8447 msgid "" "`bpo-37936 `__: The :file:`.gitignore` " "file no longer applies to any files that are in fact tracked in the Git " "repository. Patch by Greg Price." msgstr "" #: ../build/NEWS:8450 msgid "" "`bpo-37725 `__: Change \"clean\" " "makefile target to also clean the program guided optimization (PGO) data. " "Previously you would have to use \"make clean\" and \"make profile-removal" "\", or \"make clobber\"." msgstr "" #: ../build/NEWS:8454 msgid "" "`bpo-37707 `__: Mark some individual " "tests to skip when --pgo is used. The tests marked increase the PGO task " "time significantly and likely don't help improve optimization of the final " "executable." msgstr "" #: ../build/NEWS:8458 msgid "" "`bpo-36044 `__: Reduce the number of " "unit tests run for the PGO generation task. This speeds up the task by a " "factor of about 15x. Running the full unit test suite is slow. This change " "may result in a slightly less optimized build since not as many code " "branches will be executed. If you are willing to wait for the much slower " "build, the old behavior can be restored using './configure [..] PROFILE_TASK=" "\"-m test --pgo-extended\"'. We make no guarantees as to which PGO task set " "produces a faster build. Users who care should run their own relevant " "benchmarks as results can depend on the environment, workload, and compiler " "tool chain." msgstr "" #: ../build/NEWS:8468 msgid "" "`bpo-37468 `__: ``make install`` no " "longer installs ``wininst-*.exe`` files used by distutils bdist_wininst: " "bdist_wininst only works on Windows." msgstr "" #: ../build/NEWS:8471 msgid "" "`bpo-37189 `__: Many ``PyRun_XXX()`` " "functions like :c:func:`PyRun_String` were no longer exported in " "``libpython38.dll`` by mistake. Export them again to fix the ABI " "compatibility." msgstr "" #: ../build/NEWS:8475 msgid "" "`bpo-25361 `__: Enables use of SSE2 " "instructions in Windows 32-bit build." msgstr "" #: ../build/NEWS:8477 msgid "" "`bpo-36210 `__: Update optional " "extension module detection for AIX. ossaudiodev and spwd are not applicable " "for AIX, and are no longer reported as missing. 3rd-party packaging of " "ncurses (with ASIS support) conflicts with officially supported AIX curses " "library, so configure AIX to use libcurses.a. However, skip trying to build " "_curses_panel." msgstr "" #: ../build/NEWS:8483 msgid "patch by M Felt" msgstr "" #: ../build/NEWS:8488 msgid "" "`bpo-38589 `__: Fixes HTML Help shortcut " "when Windows is not installed to C drive" msgstr "" #: ../build/NEWS:8491 msgid "" "`bpo-38453 `__: Ensure ntpath.realpath() " "correctly resolves relative paths." msgstr "" #: ../build/NEWS:8493 msgid "" "`bpo-38519 `__: Restores the internal C " "headers that were missing from the nuget.org and Microsoft Store packages." msgstr "" #: ../build/NEWS:8496 msgid "" "`bpo-38492 `__: Remove ``pythonw.exe`` " "dependency on the Microsoft C++ runtime." msgstr "" #: ../build/NEWS:8498 msgid "" "`bpo-38344 `__: Fix error message in " "activate.bat" msgstr "" #: ../build/NEWS:8500 msgid "" "`bpo-38359 `__: Ensures ``pyw.exe`` " "launcher reads correct registry key." msgstr "" #: ../build/NEWS:8502 msgid "" "`bpo-38355 `__: Fixes ``ntpath." "realpath`` failing on ``sys.executable``." msgstr "" #: ../build/NEWS:8504 msgid "" "`bpo-38117 `__: Update bundled OpenSSL " "to 1.1.1d" msgstr "" #: ../build/NEWS:8506 msgid "" "`bpo-38092 `__: Reduce overhead when " "using multiprocessing in a Windows virtual environment." msgstr "" #: ../build/NEWS:8509 msgid "" "`bpo-38133 `__: Allow py.exe launcher to " "locate installations from the Microsoft Store and improve display of active " "virtual environments." msgstr "" #: ../build/NEWS:8512 msgid "" "`bpo-38114 `__: The ``pip.ini`` is no " "longer included in the Nuget package." msgstr "" #: ../build/NEWS:8514 msgid "" "`bpo-32592 `__: Set Windows 8 as the " "minimum required version for API support" msgstr "" #: ../build/NEWS:8516 msgid "" "`bpo-36634 `__: :func:`os.cpu_count` now " "returns active processors rather than maximum processors." msgstr "" #: ../build/NEWS:8519 msgid "" "`bpo-36634 `__: venv activate.bat now " "works when the existing variables contain double quote characters." msgstr "" #: ../build/NEWS:8522 msgid "" "`bpo-38081 `__: Prevent error calling :" "func:`os.path.realpath` on ``'NUL'``." msgstr "" #: ../build/NEWS:8524 msgid "" "`bpo-38087 `__: Fix case sensitivity in " "test_pathlib and test_ntpath." msgstr "" #: ../build/NEWS:8526 msgid "" "`bpo-38088 `__: Fixes distutils not " "finding vcruntime140.dll with only the v142 toolset installed." msgstr "" #: ../build/NEWS:8529 msgid "" "`bpo-37283 `__: Ensure command-line and " "unattend.xml setting override previously detected states in Windows " "installer." msgstr "" #: ../build/NEWS:8532 msgid "" "`bpo-38030 `__: Fixes :func:`os.stat` " "failing for block devices on Windows" msgstr "" #: ../build/NEWS:8534 msgid "" "`bpo-38020 `__: Fixes potential crash " "when calling :func:`os.readlink` (or indirectly through :func:`~os.path." "realpath`) on a file that is not a supported link." msgstr "" #: ../build/NEWS:8538 msgid "" "`bpo-37705 `__: Improve the " "implementation of ``winerror_to_errno()``." msgstr "" #: ../build/NEWS:8540 msgid "" "`bpo-37549 `__: :func:`os.dup` no longer " "fails for standard streams on Windows 7." msgstr "" #: ../build/NEWS:8543 msgid "" "`bpo-1311 `__: The ``nul`` file on " "Windows now returns True from :func:`~os.path.exists` and a valid result " "from :func:`os.stat` with ``S_IFCHR`` set." msgstr "" #: ../build/NEWS:8547 msgid "" "`bpo-9949 `__: Enable support for " "following symlinks in :func:`os.realpath`." msgstr "" #: ../build/NEWS:8549 msgid "" "`bpo-37834 `__: Treat all name surrogate " "reparse points on Windows in :func:`os.lstat` and other reparse points as " "regular files in :func:`os.stat`." msgstr "" #: ../build/NEWS:8553 msgid "" "`bpo-36266 `__: Add the module name in " "the formatted error message when DLL load fail happens during module import " "in ``_PyImport_FindSharedFuncptrWindows()``. Patch by Srinivas Nyayapati." msgstr "" #: ../build/NEWS:8557 msgid "" "`bpo-25172 `__: Trying to import the :" "mod:`crypt` module on Windows will result in an :exc:`ImportError` with a " "message explaining that the module isn't supported on Windows. On other " "platforms, if the underlying ``_crypt`` module is not available, the " "ImportError will include a message explaining the problem." msgstr "" #: ../build/NEWS:8563 msgid "" "`bpo-37778 `__: Fixes the icons used for " "file associations to the Microsoft Store package." msgstr "" #: ../build/NEWS:8566 msgid "" "`bpo-37734 `__: Fix use of registry " "values to launch Python from Microsoft Store app." msgstr "" #: ../build/NEWS:8569 msgid "" "`bpo-37702 `__: Fix memory leak on " "Windows in creating an SSLContext object or running urllib.request." "urlopen('https://...')." msgstr "" #: ../build/NEWS:8572 msgid "" "`bpo-37672 `__: Switch Windows Store " "package's pip to use bundled :file:`pip.ini` instead of :envvar:`PIP_USER` " "variable." msgstr "" #: ../build/NEWS:8575 msgid "" "`bpo-10945 `__: Officially drop support " "for creating bdist_wininst installers on non-Windows systems." msgstr "" #: ../build/NEWS:8578 msgid "" "`bpo-37445 `__: Include the " "``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in ``FormatMessageW()`` calls." msgstr "" #: ../build/NEWS:8581 msgid "" "`bpo-37369 `__: Fixes path for :data:" "`sys.executable` when running from the Microsoft Store." msgstr "" #: ../build/NEWS:8584 msgid "" "`bpo-37380 `__: Don't collect unfinished " "processes with ``subprocess._active`` on Windows to cleanup later. Patch by " "Ruslan Kuprieiev." msgstr "" #: ../build/NEWS:8587 msgid "" "`bpo-37351 `__: Removes libpython38.a " "from standard Windows distribution." msgstr "" #: ../build/NEWS:8589 msgid "" "`bpo-35360 `__: Update Windows builds to " "use SQLite 3.28.0." msgstr "" #: ../build/NEWS:8591 msgid "" "`bpo-37267 `__: On Windows, :func:`os." "dup` no longer creates an inheritable fd when handling a character file." msgstr "" #: ../build/NEWS:8594 msgid "" "`bpo-36779 `__: Ensure ``time.tzname`` " "is correct on Windows when the active code page is set to CP_UTF7 or CP_UTF8." msgstr "" #: ../build/NEWS:8597 msgid "" "`bpo-32587 `__: Make :data:`winreg." "REG_MULTI_SZ` support zero-length strings." msgstr "" #: ../build/NEWS:8599 msgid "" "`bpo-28269 `__: Replace use of :c:func:" "`strcasecmp` for the system function :c:func:`_stricmp`. Patch by Minmin " "Gong." msgstr "" #: ../build/NEWS:8602 msgid "" "`bpo-36590 `__: Add native Bluetooth " "RFCOMM support to socket module." msgstr "" #: ../build/NEWS:8607 msgid "" "`bpo-38117 `__: Updated OpenSSL to " "1.1.1d in macOS installer." msgstr "" #: ../build/NEWS:8609 msgid "" "`bpo-38089 `__: Move Azure Pipelines to " "latest VM versions and make macOS tests optional" msgstr "" #: ../build/NEWS:8612 msgid "" "`bpo-18049 `__: Increase the default " "stack size of threads from 5MB to 16MB on macOS, to match the stack size of " "the main thread. This avoids crashes on deep recursion in threads." msgstr "" #: ../build/NEWS:8616 msgid "" "`bpo-34602 `__: Avoid test suite " "failures on macOS by no longer calling resource.setrlimit to increase the " "process stack size limit at runtime. The runtime change is no longer needed " "since the interpreter is being built with a larger default stack size." msgstr "" #: ../build/NEWS:8621 msgid "" "`bpo-35360 `__: Update macOS installer " "to use SQLite 3.28.0." msgstr "" #: ../build/NEWS:8623 msgid "" "`bpo-34631 `__: Updated OpenSSL to " "1.1.1c in macOS installer." msgstr "" #: ../build/NEWS:8628 msgid "" "`bpo-26353 `__: Stop adding newline when " "saving an IDLE shell window." msgstr "" #: ../build/NEWS:8630 msgid "" "`bpo-4630 `__: Add an option to toggle " "IDLE's cursor blink for shell, editor, and output windows. See Settings, " "General, Window Preferences, Cursor Blink. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8634 msgid "" "`bpo-38598 `__: Do not try to compile " "IDLE shell or output windows" msgstr "" #: ../build/NEWS:8636 msgid "" "`bpo-36698 `__: IDLE no longer fails " "when write non-encodable characters to stderr. It now escapes them with a " "backslash, as the regular Python interpreter. Added the ``errors`` field to " "the standard streams." msgstr "" #: ../build/NEWS:8640 msgid "" "`bpo-35379 `__: When exiting IDLE, catch " "any AttributeError. One happens when EditorWindow.close is called twice. " "Printing a traceback, when IDLE is run from a terminal, is useless and " "annoying." msgstr "" #: ../build/NEWS:8644 msgid "" "`bpo-38183 `__: To avoid problems, " "test_idle ignores the user config directory. It no longer tries to create or " "access .idlerc or any files within. Users must run IDLE to discover problems " "with saving settings." msgstr "" #: ../build/NEWS:8648 msgid "" "`bpo-38077 `__: IDLE no longer adds " "'argv' to the user namespace when initializing it. This bug only affected " "3.7.4 and 3.8.0b2 to 3.8.0b4." msgstr "" #: ../build/NEWS:8651 msgid "" "`bpo-38041 `__: Shell restart lines now " "fill the window width, always start with '=', and avoid wrapping " "unnecessarily. The line will still wrap if the included file name is long " "relative to the width." msgstr "" #: ../build/NEWS:8655 msgid "" "`bpo-35771 `__: To avoid occasional " "spurious test_idle failures on slower machines, increase the ``hover_delay`` " "in test_tooltip." msgstr "" #: ../build/NEWS:8658 msgid "" "`bpo-37824 `__: Properly handle user " "input warnings in IDLE shell. Cease turning SyntaxWarnings into SyntaxErrors." msgstr "" #: ../build/NEWS:8661 msgid "" "`bpo-37929 `__: IDLE Settings dialog now " "closes properly when there is no shell window." msgstr "" #: ../build/NEWS:8664 msgid "" "`bpo-37902 `__: Add mousewheel scrolling " "for IDLE module, path, and stack browsers. Patch by George Zhang." msgstr "" #: ../build/NEWS:8667 msgid "" "`bpo-37849 `__: Fixed completions list " "appearing too high or low when shown above the current line." msgstr "" #: ../build/NEWS:8670 msgid "" "`bpo-36419 `__: Refactor IDLE " "autocomplete and improve testing." msgstr "" #: ../build/NEWS:8672 msgid "" "`bpo-37748 `__: Reorder the Run menu. " "Put the most common choice, Run Module, at the top." msgstr "" #: ../build/NEWS:8675 msgid "" "`bpo-37692 `__: Improve highlight config " "sample with example shell interaction and better labels for shell elements." msgstr "" #: ../build/NEWS:8678 msgid "" "`bpo-37628 `__: Settings dialog no " "longer expands with font size." msgstr "" #: ../build/NEWS:8680 msgid "" "`bpo-37627 `__: Initialize the Customize " "Run dialog with the command line arguments most recently entered before. " "The user can optionally edit before submitting them." msgstr "" #: ../build/NEWS:8684 msgid "" "`bpo-33610 `__: Fix code context not " "showing the correct context when first toggled on." msgstr "" #: ../build/NEWS:8687 msgid "" "`bpo-37530 `__: Optimize code context to " "reduce unneeded background activity. Font and highlight changes now occur " "along with text changes instead of after a random delay." msgstr "" #: ../build/NEWS:8691 msgid "" "`bpo-27452 `__: Cleanup ``config.py`` by " "inlining ``RemoveFile`` and simplifying the handling of ``file`` in " "``CreateConfigHandlers``." msgstr "" #: ../build/NEWS:8694 msgid "" "`bpo-37325 `__: Fix tab focus traversal " "order for help source and custom run dialogs." msgstr "" #: ../build/NEWS:8697 msgid "" "`bpo-37321 `__: Both subprocess " "connection error messages now refer to the 'Startup failure' section of the " "IDLE doc." msgstr "" #: ../build/NEWS:8700 msgid "" "`bpo-17535 `__: Add optional line " "numbers for IDLE editor windows. Windows open without line numbers unless " "set otherwise in the General tab of the configuration dialog." msgstr "" #: ../build/NEWS:8704 msgid "" "`bpo-26806 `__: To compensate for stack " "frames added by IDLE and avoid possible problems with low recursion limits, " "add 30 to limits in the user code execution process. Subtract 30 when " "reporting recursion limits to make this addition mostly transparent." msgstr "" #: ../build/NEWS:8709 msgid "" "`bpo-37177 `__: Properly 'attach' search " "dialogs to their main window so that they behave like other dialogs and do " "not get hidden behind their main window." msgstr "" #: ../build/NEWS:8713 msgid "" "`bpo-37039 `__: Adjust \"Zoom Height\" " "to individual screens by momentarily maximizing the window on first use with " "a particular screen. Changing screen settings may invalidate the saved " "height. While a window is maximized, \"Zoom Height\" has no effect." msgstr "" #: ../build/NEWS:8718 msgid "" "`bpo-35763 `__: Make calltip reminder " "about '/' meaning positional-only less obtrusive by only adding it when " "there is room on the first line." msgstr "" #: ../build/NEWS:8721 msgid "" "`bpo-5680 `__: Add 'Run... Customized' to " "the Run menu to run a module with customized settings. Any 'command line " "arguments' entered are added to sys.argv. One can suppress the normal Shell " "main module restart." msgstr "" #: ../build/NEWS:8725 msgid "" "`bpo-36390 `__: Gather Format menu " "functions into format.py. Combine paragraph.py, rstrip.py, and format " "methods from editor.py." msgstr "" #: ../build/NEWS:8731 msgid "" "`bpo-38118 `__: Update Valgrind " "suppression file to ignore a false alarm in :c:func:`PyUnicode_Decode` when " "using GCC builtin strcmp()." msgstr "" #: ../build/NEWS:8734 msgid "" "`bpo-38347 `__: pathfix.py: Assume all " "files that end on '.py' are Python scripts when working recursively." msgstr "" #: ../build/NEWS:8737 msgid "" "`bpo-37803 `__: pdb's ``--help`` and ``--" "version`` long options now work." msgstr "" #: ../build/NEWS:8739 msgid "" "`bpo-37942 `__: Improve ArgumentClinic " "converter for floats." msgstr "" #: ../build/NEWS:8741 msgid "" "`bpo-37704 `__: Remove ``Tools/scripts/" "h2py.py``: use cffi to access a C API in Python." msgstr "" #: ../build/NEWS:8744 msgid "" "`bpo-37675 `__: 2to3 now works when run " "from a zipped standard library." msgstr "" #: ../build/NEWS:8746 msgid "" "`bpo-37034 `__: Argument Clinic now uses " "the argument name on errors with keyword-only argument instead of their " "position. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:8750 msgid "" "`bpo-37064 `__: Add option -k to " "pathscript.py script: preserve shebang flags. Add option -a to pathscript.py " "script: add flags." msgstr "" #: ../build/NEWS:8756 msgid "" "`bpo-37633 `__: Re-export some function " "compatibility wrappers for macros in ``pythonrun.h``." msgstr "" #: ../build/NEWS:8759 msgid "" "`bpo-38644 `__: Provide :c:func:" "`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` as regular " "functions for the limited API. Previously, there were defined as macros, but " "these macros didn't work with the limited API which cannot access " "``PyThreadState.recursion_depth`` field. Remove ``_Py_CheckRecursionLimit`` " "from the stable ABI." msgstr "" #: ../build/NEWS:8765 msgid "" "`bpo-38650 `__: The global variable :c:" "data:`PyStructSequence_UnnamedField` is now a constant and refers to a " "constant string." msgstr "" #: ../build/NEWS:8768 msgid "" "`bpo-38540 `__: Fixed possible leak in :" "c:func:`PyArg_Parse` and similar functions for format units ``\"es#\"`` and " "``\"et#\"`` when the macro :c:macro:`PY_SSIZE_T_CLEAN` is not defined." msgstr "" #: ../build/NEWS:8772 msgid "" "`bpo-38395 `__: Fix a crash in :class:" "`weakref.proxy` objects due to incorrect lifetime management when calling " "some associated methods that may delete the last reference to object being " "referenced by the proxy. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8777 msgid "" "`bpo-36389 `__: The " "``_PyObject_CheckConsistency()`` function is now also available in release " "mode. For example, it can be used to debug a crash in the ``visit_decref()`` " "function of the GC." msgstr "" #: ../build/NEWS:8781 msgid "" "`bpo-38266 `__: Revert the removal of " "PyThreadState_DeleteCurrent() with documentation." msgstr "" #: ../build/NEWS:8784 msgid "" "`bpo-38303 `__: Update audioop extension " "module to use the stable ABI (PEP-384). Patch by Tyler Kieft." msgstr "" #: ../build/NEWS:8787 msgid "" "`bpo-38234 `__: :c:func:`Py_SetPath` now " "sets :data:`sys.executable` to the program full path (:c:func:" "`Py_GetProgramFullPath`) rather than to the program name (:c:func:" "`Py_GetProgramName`)." msgstr "" #: ../build/NEWS:8791 msgid "" "`bpo-38234 `__: Python ignored arguments " "passed to :c:func:`Py_SetPath`, :c:func:`Py_SetPythonHome` and :c:func:" "`Py_SetProgramName`: fix Python initialization to use specified arguments." msgstr "" #: ../build/NEWS:8795 msgid "" "`bpo-38205 `__: The :c:func:" "`Py_UNREACHABLE` macro now calls :c:func:`Py_FatalError`." msgstr "" #: ../build/NEWS:8798 msgid "" "`bpo-38140 `__: Make dict and weakref " "offsets opaque for C heap types by passing the offsets through PyMemberDef" msgstr "" #: ../build/NEWS:8801 msgid "" "`bpo-15088 `__: The C function " "``PyGen_NeedsFinalizing`` has been removed. It was not documented, tested or " "used anywhere within CPython after the implementation of :pep:`442`. Patch " "by Joannah Nanjekye. (Patch by Joannah Nanjekye)" msgstr "" #: ../build/NEWS:8806 msgid "" "`bpo-36763 `__: Options added by " "``PySys_AddXOption()`` are now handled the same way than ``PyConfig." "xoptions`` and command line ``-X`` options." msgstr "" #: ../build/NEWS:8809 msgid "" "`bpo-37926 `__: Fix a crash in " "``PySys_SetArgvEx(0, NULL, 0)``." msgstr "" #: ../build/NEWS:8811 msgid "" "`bpo-37879 `__: Fix subtype_dealloc to " "suppress the type decref when the base type is a C heap type" msgstr "" #: ../build/NEWS:8814 msgid "" "`bpo-37645 `__: Add :c:func:" "`_PyObject_FunctionStr` to get a user-friendly string representation of a " "function-like object. Patch by Jeroen Demeyer." msgstr "" #: ../build/NEWS:8817 msgid "" "`bpo-29548 `__: The functions " "``PyEval_CallObject``, ``PyEval_CallFunction``, ``PyEval_CallMethod`` and " "``PyEval_CallObjectWithKeywords`` are deprecated. Use :c:func:" "`PyObject_Call` and its variants instead." msgstr "" #: ../build/NEWS:8821 msgid "" "`bpo-37151 `__: ``PyCFunction_Call`` is " "now a deprecated alias of :c:func:`PyObject_Call`." msgstr "" #: ../build/NEWS:8824 msgid "" "`bpo-37540 `__: The vectorcall protocol " "now requires that the caller passes only strings as keyword names." msgstr "" #: ../build/NEWS:8827 msgid "" "`bpo-37207 `__: The vectorcall protocol " "is now enabled for ``type`` objects: set ``tp_vectorcall`` to a vectorcall " "function to be used instead of ``tp_new`` and ``tp_init`` when calling the " "class itself." msgstr "" #: ../build/NEWS:8831 msgid "" "`bpo-21120 `__: Exclude Python-ast.h, " "ast.h and asdl.h from the limited API." msgstr "" #: ../build/NEWS:8833 msgid "" "`bpo-37483 `__: Add new function " "``_PyObject_CallOneArg`` for calling an object with one positional argument." msgstr "" #: ../build/NEWS:8836 msgid "" "`bpo-36763 `__: Add :func:" "`PyConfig_SetWideStringList` function." msgstr "" #: ../build/NEWS:8838 msgid "" "`bpo-37337 `__: Add fast functions for " "calling methods: :c:func:`_PyObject_VectorcallMethod`, :c:func:" "`_PyObject_CallMethodNoArgs` and :c:func:`_PyObject_CallMethodOneArg`." msgstr "" #: ../build/NEWS:8842 msgid "" "`bpo-28805 `__: The :const:" "`METH_FASTCALL` calling convention has been documented." msgstr "" #: ../build/NEWS:8845 msgid "" "`bpo-37221 `__: The new function :c:func:" "`PyCode_NewWithPosOnlyArgs` allows to create code objects like :c:func:" "`PyCode_New`, but with an extra *posonlyargcount* parameter for indicating " "the number of positonal-only arguments." msgstr "" #: ../build/NEWS:8850 msgid "" "`bpo-37215 `__: Fix dtrace issue " "introduce by `bpo-36842 `__" msgstr "" #: ../build/NEWS:8852 msgid "" "`bpo-37194 `__: Add a new public :c:func:" "`PyObject_CallNoArgs` function to the C API: call a callable Python object " "without any arguments. It is the most efficient way to call a callback " "without any argument. On x86-64, for example, " "``PyObject_CallFunctionObjArgs(func, NULL)`` allocates 960 bytes on the " "stack per call, whereas ``PyObject_CallNoArgs(func)`` only allocates 624 " "bytes per call." msgstr "" #: ../build/NEWS:8859 msgid "" "`bpo-37170 `__: Fix the cast on error " "in :c:func:`PyLong_AsUnsignedLongLongMask()`." msgstr "" #: ../build/NEWS:8862 msgid "" "`bpo-35381 `__: Convert posixmodule.c " "statically allocated types ``DirEntryType`` and ``ScandirIteratorType`` to " "heap-allocated types." msgstr "" #: ../build/NEWS:8865 msgid "" "`bpo-34331 `__: Use singular/plural noun " "in error message when instantiating an abstract class with non-overriden " "abstract method(s)." msgstr "" #: ../build/NEWS:8870 msgid "Python 3.8.0 beta 1" msgstr "" #: ../build/NEWS:8872 msgid "*Release date: 2019-06-04*" msgstr "" #: ../build/NEWS:8877 msgid "" "`bpo-35907 `__: CVE-2019-9948: Avoid " "file reading by disallowing ``local-file://`` and ``local_file://`` URL " "schemes in ``URLopener().open()`` and ``URLopener().retrieve()`` of :mod:" "`urllib.request`." msgstr "" #: ../build/NEWS:8882 msgid "" "`bpo-33529 `__: Prevent fold function " "used in email header encoding from entering infinite loop when there are too " "many non-ASCII characters in a header." msgstr "" #: ../build/NEWS:8886 msgid "" "`bpo-33164 `__: Updated blake2 " "implementation which uses secure memset implementation provided by platform." msgstr "" #: ../build/NEWS:8892 msgid "" "`bpo-35814 `__: Allow unpacking in the " "right hand side of annotated assignments. In particular, ``t: " "Tuple[int, ...] = x, y, *z`` is now allowed." msgstr "" #: ../build/NEWS:8896 msgid "" "`bpo-37126 `__: All structseq objects " "are now tracked by the garbage collector. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8899 msgid "" "`bpo-37122 `__: Make the *co_argcount* " "attribute of code objects represent the total number of positional arguments " "(including positional-only arguments). The value of *co_posonlyargcount* can " "be used to distinguish which arguments are positional only, and the " "difference (*co_argcount* - *co_posonlyargcount*) is the number of " "positional-or-keyword arguments. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8906 msgid "" "`bpo-20092 `__: Constructors of :class:" "`int`, :class:`float` and :class:`complex` will now use the :meth:`~object." "__index__` special method, if available and the corresponding method :meth:" "`~object.__int__`, :meth:`~object.__float__` or :meth:`~object.__complex__` " "is not available." msgstr "" #: ../build/NEWS:8911 msgid "" "`bpo-37087 `__: Add native thread ID " "(TID) support to OpenBSD." msgstr "" #: ../build/NEWS:8913 msgid "" "`bpo-26219 `__: Implemented per opcode " "cache mechanism and ``LOAD_GLOBAL`` instruction use it. ``LOAD_GLOBAL`` is " "now about 40% faster. Contributed by Yury Selivanov, and Inada Naoki." msgstr "" #: ../build/NEWS:8917 msgid "" "`bpo-37072 `__: Fix crash in " "PyAST_FromNodeObject() when flags is NULL." msgstr "" #: ../build/NEWS:8919 msgid "" "`bpo-37029 `__: Freeing a great many " "small objects could take time quadratic in the number of arenas, due to " "using linear search to keep ``obmalloc.c``'s list of usable arenas sorted by " "order of number of free memory pools. This is accomplished without search " "now, leaving the worst-case time linear in the number of arenas. For " "programs where this quite visibly matters (typically with more than 100 " "thousand small objects alive simultaneously), this can greatly reduce the " "time needed to release their memory." msgstr "" #: ../build/NEWS:8928 msgid "" "`bpo-26423 `__: Fix possible overflow in " "``wrap_lenfunc()`` when ``sizeof(long) < sizeof(Py_ssize_t)`` (e.g., 64-bit " "Windows)." msgstr "" #: ../build/NEWS:8931 msgid "" "`bpo-37050 `__: Improve the AST for " "\"debug\" f-strings, which use '=' to print out the source of the expression " "being evaluated. Delete expr_text from the FormattedValue node, and instead " "use a Constant string node (possibly merged with adjacent constant " "expressions inside the f-string)." msgstr "" #: ../build/NEWS:8936 msgid "" "`bpo-22385 `__: The `bytes.hex`, " "`bytearray.hex`, and `memoryview.hex` methods as well as the `binascii." "hexlify` and `b2a_hex` functions now have the ability to include an optional " "separator between hex bytes. This functionality was inspired by " "MicroPython's hexlify implementation." msgstr "" #: ../build/NEWS:8941 msgid "" "`bpo-26836 `__: Add :func:`os." "memfd_create`." msgstr "" #: ../build/NEWS:8943 msgid "" "`bpo-37032 `__: Added new ``replace()`` " "method to the code type (:class:`types.CodeType`)." msgstr "" #: ../build/NEWS:8946 msgid "" "`bpo-37007 `__: Implement :func:`socket." "if_nameindex()`, :func:`socket.if_nametoindex()`, and :func:`socket." "if_indextoname()` on Windows." msgstr "" #: ../build/NEWS:8950 msgid "" "`bpo-36829 `__: :c:func:" "`PyErr_WriteUnraisable` now creates a traceback object if there is no " "current traceback. Moreover, call :c:func:`PyErr_NormalizeException` and :c:" "func:`PyException_SetTraceback` to normalize the exception value. Ignore any " "error." msgstr "" #: ../build/NEWS:8955 msgid "" "`bpo-36878 `__: Only accept text after " "`# type: ignore` if the first character is ASCII. This is to disallow things " "like `# type: ignoreé`." msgstr "" #: ../build/NEWS:8958 msgid "" "`bpo-36878 `__: Store text appearing " "after a `# type: ignore` comment in the AST. For example a type ignore like " "`# type: ignore[E1000]` will have the string `\"[E1000]\"` stored in its AST " "node." msgstr "" #: ../build/NEWS:8962 msgid "" "`bpo-2180 `__: Treat line continuation at " "EOF as a ``SyntaxError`` by Anthony Sottile." msgstr "" #: ../build/NEWS:8965 msgid "" "`bpo-36907 `__: Fix a crash when calling " "a C function with a keyword dict (``f(**kwargs)``) and changing the dict " "``kwargs`` while that function is running." msgstr "" #: ../build/NEWS:8969 msgid "" "`bpo-36946 `__: Fix possible signed " "integer overflow when handling slices." msgstr "" #: ../build/NEWS:8971 msgid "" "`bpo-36826 `__: Add NamedExpression kind " "support to ast_unparse.c" msgstr "" #: ../build/NEWS:8973 msgid "" "`bpo-1875 `__: A :exc:`SyntaxError` is " "now raised if a code blocks that will be optimized away (e.g. if conditions " "that are always false) contains syntax errors. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8977 msgid "" "`bpo-36027 `__: Allow computation of " "modular inverses via three-argument ``pow``: the second argument is now " "permitted to be negative in the case where the first and third arguments are " "relatively prime." msgstr "" #: ../build/NEWS:8981 msgid "" "`bpo-36861 `__: Update the Unicode " "database to version 12.1.0." msgstr "" #: ../build/NEWS:8983 msgid "" "`bpo-28866 `__: Avoid caching attributes " "of classes which type defines mro() to avoid a hard cache invalidation " "problem." msgstr "" #: ../build/NEWS:8986 msgid "" "`bpo-36851 `__: The ``FrameType`` stack " "is now correctly cleaned up if the execution ends with a return and the " "stack is not empty." msgstr "" #: ../build/NEWS:8989 msgid "" "`bpo-34616 `__: The ``compile()`` " "builtin functions now support the ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag, " "which allow to compile sources that contains top-level ``await``, ``async " "with`` or ``async for``. This is useful to evaluate async-code from with an " "already async functions; for example in a custom REPL." msgstr "" #: ../build/NEWS:8995 msgid "" "`bpo-36842 `__: Implement PEP 578, " "adding sys.audit, io.open_code and related APIs." msgstr "" #: ../build/NEWS:8998 msgid "" "`bpo-27639 `__: Correct return type for " "UserList slicing operations. Patch by Michael Blahay, Erick Cervantes, and " "vaultah" msgstr "" #: ../build/NEWS:9001 msgid "" "`bpo-36737 `__: Move PyRuntimeState." "warnings into per-interpreter state (via \"module state\")." msgstr "" #: ../build/NEWS:9004 msgid "" "`bpo-36793 `__: Removed ``__str__`` " "implementations from builtin types :class:`bool`, :class:`int`, :class:" "`float`, :class:`complex` and few classes from the standard library. They " "now inherit ``__str__()`` from :class:`object`." msgstr "" #: ../build/NEWS:9009 msgid "" "`bpo-36817 `__: Add a ``=`` feature f-" "strings for debugging. This can precede ``!s``, ``!r``, or ``!a``. It " "produces the text of the expression, followed by an equal sign, followed by " "the repr of the value of the expression. So ``f'{3*9+15=}'`` would be equal " "to the string ``'3*9+15=42'``. If ``=`` is specified, the default " "conversion is set to ``!r``, unless a format spec is given, in which case " "the formatting behavior is unchanged, and __format__ will be used." msgstr "" #: ../build/NEWS:9017 msgid "" "`bpo-24048 `__: Save the live exception " "during import.c's ``remove_module()``." msgstr "" #: ../build/NEWS:9019 msgid "" "`bpo-27987 `__: pymalloc returns memory " "blocks aligned by 16 bytes, instead of 8 bytes, on 64-bit platforms to " "conform x86-64 ABI. Recent compilers assume this alignment more often. Patch " "by Inada Naoki." msgstr "" #: ../build/NEWS:9023 msgid "" "`bpo-36601 `__: A long-since-meaningless " "check for ``getpid() == main_pid`` was removed from Python's internal C " "signal handler." msgstr "" #: ../build/NEWS:9026 msgid "" "`bpo-36594 `__: Fix incorrect use of ``" "%p`` in format strings. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9029 msgid "" "`bpo-36045 `__: builtins.help() now " "prefixes `async` for async functions" msgstr "" #: ../build/NEWS:9031 msgid "" "`bpo-36084 `__: Add native thread ID " "(TID) to threading.Thread objects (supported platforms: Windows, FreeBSD, " "Linux, macOS)" msgstr "" #: ../build/NEWS:9034 msgid "" "`bpo-36035 `__: Added fix for broken " "symlinks in combination with pathlib" msgstr "" #: ../build/NEWS:9036 msgid "" "`bpo-35983 `__: Added new trashcan " "macros to deal with a double deallocation that could occur when the " "`tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that " "base class uses the trashcan mechanism. Patch by Jeroen Demeyer." msgstr "" #: ../build/NEWS:9041 msgid "" "`bpo-20602 `__: Do not clear :data:`sys." "flags` and :data:`sys.float_info` during shutdown. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9044 msgid "" "`bpo-26826 `__: Expose :func:" "`copy_file_range` as a low level API in the :mod:`os` module." msgstr "" #: ../build/NEWS:9047 msgid "" "`bpo-32388 `__: Remove cross-version " "binary compatibility requirement in tp_flags." msgstr "" #: ../build/NEWS:9050 msgid "" "`bpo-31862 `__: Port binascii to PEP 489 " "multiphase initialization. Patch by Marcel Plch." msgstr "" #: ../build/NEWS:9056 msgid "" "`bpo-37128 `__: Added :func:`math.perm`." msgstr "" #: ../build/NEWS:9058 msgid "" "`bpo-37120 `__: Add SSLContext." "num_tickets to control the number of TLSv1.3 session tickets." msgstr "" #: ../build/NEWS:9061 msgid "" "`bpo-12202 `__: Fix the error handling " "in :meth:`msilib.SummaryInformation.GetProperty`. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9064 msgid "" "`bpo-26835 `__: The fcntl module now " "contains file sealing constants for sealing of memfds." msgstr "" #: ../build/NEWS:9067 msgid "" "`bpo-29262 `__: Add ``get_origin()`` and " "``get_args()`` introspection helpers to ``typing`` module." msgstr "" #: ../build/NEWS:9070 msgid "" "`bpo-12639 `__: :meth:`msilib.Directory." "start_component()` no longer fails if *keyfile* is not ``None``." msgstr "" #: ../build/NEWS:9073 msgid "" "`bpo-36999 `__: Add the ``asyncio.Task." "get_coro()`` method to publicly expose the tasks's coroutine object." msgstr "" #: ../build/NEWS:9076 msgid "" "`bpo-35246 `__: Make :func:`asyncio." "create_subprocess_exec` accept path-like arguments." msgstr "" #: ../build/NEWS:9079 msgid "" "`bpo-35279 `__: Change default " "*max_workers* of ``ThreadPoolExecutor`` from ``cpu_count() * 5`` to " "``min(32, cpu_count() + 4))``. Previous value was unreasonably large on " "many cores machines." msgstr "" #: ../build/NEWS:9083 msgid "" "`bpo-37076 `__: :func:`_thread." "start_new_thread` now logs uncaught exception raised by the function using :" "func:`sys.unraisablehook`, rather than :func:`sys.excepthook`, so the hook " "gets access to the function which raised the exception." msgstr "" #: ../build/NEWS:9088 msgid "" "`bpo-33725 `__: On macOS, the :mod:" "`multiprocessing` module now uses *spawn* start method by default." msgstr "" #: ../build/NEWS:9091 msgid "" "`bpo-37054 `__: Fix destructor :class:" "`_pyio.BytesIO` and :class:`_pyio.TextIOWrapper`: initialize their " "``_buffer`` attribute as soon as possible (in the class body), because it's " "used by ``__del__()`` which calls ``close()``." msgstr "" #: ../build/NEWS:9096 msgid "" "`bpo-37058 `__: PEP 544: Add " "``Protocol`` and ``@runtime_checkable`` to the ``typing`` module." msgstr "" #: ../build/NEWS:9099 msgid "" "`bpo-36933 `__: The functions ``sys." "set_coroutine_wrapper`` and ``sys.get_coroutine_wrapper`` that were " "deprecated and marked for removal in 3.8 have been removed." msgstr "" #: ../build/NEWS:9103 msgid "" "`bpo-37047 `__: Handle late binding and " "attribute access in :class:`unittest.mock.AsyncMock` setup for autospeccing. " "Document newly implemented async methods in :class:`unittest.mock.MagicMock`." msgstr "" #: ../build/NEWS:9107 msgid "" "`bpo-37049 `__: PEP 589: Add " "``TypedDict`` to the ``typing`` module." msgstr "" #: ../build/NEWS:9109 msgid "" "`bpo-37046 `__: PEP 586: Add ``Literal`` " "to the ``typing`` module." msgstr "" #: ../build/NEWS:9111 msgid "" "`bpo-37045 `__: PEP 591: Add ``Final`` " "qualifier and ``@final`` decorator to the ``typing`` module." msgstr "" #: ../build/NEWS:9114 msgid "" "`bpo-37035 `__: Don't log OSError based " "exceptions if a fatal error has occurred in asyncio transport. Peer can " "generate almost any OSError, user cannot avoid these exceptions by fixing " "own code. Errors are still propagated to user code, it's just logging them " "is pointless and pollute asyncio logs." msgstr "" #: ../build/NEWS:9120 msgid "" "`bpo-37001 `__: :func:`symtable." "symtable` now accepts the same input types for source code as the built-in :" "func:`compile` function. Patch by Dino Viehland." msgstr "" #: ../build/NEWS:9124 msgid "" "`bpo-37028 `__: Implement asyncio REPL" msgstr "" #: ../build/NEWS:9126 msgid "" "`bpo-37027 `__: Return safe to use proxy " "socket object from transport.get_extra_info('socket')" msgstr "" #: ../build/NEWS:9129 msgid "" "`bpo-32528 `__: Make asyncio." "CancelledError a BaseException." msgstr "" #: ../build/NEWS:9131 msgid "" "This will address the common mistake many asyncio users make: an \"except " "Exception\" clause breaking Tasks cancellation." msgstr "" #: ../build/NEWS:9134 msgid "" "In addition to this change, we stop inheriting asyncio.TimeoutError and " "asyncio.InvalidStateError from their concurrent.futures.* counterparts. " "There's no point for these exceptions to share the inheritance chain." msgstr "" #: ../build/NEWS:9138 msgid "" "`bpo-1230540 `__: Add a new :func:" "`threading.excepthook` function which handles uncaught :meth:`threading." "Thread.run` exception. It can be overridden to control how uncaught :meth:" "`threading.Thread.run` exceptions are handled." msgstr "" #: ../build/NEWS:9142 msgid "" "`bpo-36996 `__: Handle :func:`unittest." "mock.patch` used as a decorator on async functions." msgstr "" #: ../build/NEWS:9145 msgid "" "`bpo-37008 `__: Add support for calling :" "func:`next` with the mock resulting from :func:`unittest.mock.mock_open`" msgstr "" #: ../build/NEWS:9148 msgid "" "`bpo-27737 `__: Allow whitespace only " "header encoding in ``email.header`` - by Batuhan Taskaya" msgstr "" #: ../build/NEWS:9151 msgid "" "`bpo-36969 `__: PDB command `args` now " "display positional only arguments. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:9154 msgid "" "`bpo-36969 `__: PDB command `args` now " "display keyword only arguments. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:9157 msgid "" "`bpo-36983 `__: Add missing names to " "``typing.__all__``: ``ChainMap``, ``ForwardRef``, ``OrderedDict`` - by " "Anthony Sottile." msgstr "" #: ../build/NEWS:9160 msgid "" "`bpo-36972 `__: Add SupportsIndex " "protocol to the typing module to allow type checking to detect classes that " "can be passed to `hex()`, `oct()` and `bin()`." msgstr "" #: ../build/NEWS:9164 msgid "" "`bpo-32972 `__: Implement ``unittest." "IsolatedAsyncioTestCase`` to help testing asyncio-based code." msgstr "" #: ../build/NEWS:9167 msgid "" "`bpo-36952 `__: :func:`fileinput.input` " "and :class:`fileinput.FileInput` **bufsize** argument has been removed (was " "deprecated and ignored since Python 3.6), and as a result the **mode** and " "**openhook** arguments have been made keyword-only." msgstr "" #: ../build/NEWS:9172 msgid "" "`bpo-36952 `__: Starting with Python " "3.3, importing ABCs from :mod:`collections` is deprecated, and import should " "be done from :mod:`collections.abc`. Still being able to import from :mod:" "`collections` was marked for removal in 3.8, but has been delayed to 3.9; " "documentation and ``DeprecationWarning`` clarified." msgstr "" #: ../build/NEWS:9178 msgid "" "`bpo-36949 `__: Implement __repr__ for " "WeakSet objects." msgstr "" #: ../build/NEWS:9180 msgid "" "`bpo-36948 `__: Fix :exc:`NameError` in :" "meth:`urllib.request.URLopener.retrieve`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:9184 msgid "" "`bpo-33524 `__: Fix the folding of email " "header when the max_line_length is 0 or None and the header contains non-" "ascii characters. Contributed by Licht Takeuchi (@Licht-T)." msgstr "" #: ../build/NEWS:9188 msgid "" "`bpo-24564 `__: :func:`shutil.copystat` " "now ignores :const:`errno.EINVAL` on :func:`os.setxattr` which may occur " "when copying files on filesystems without extended attributes support." msgstr "" #: ../build/NEWS:9192 msgid "Original patch by Giampaolo Rodola, updated by Ying Wang." msgstr "" #: ../build/NEWS:9194 msgid "" "`bpo-36888 `__: Python child processes " "can now access the status of their parent process using multiprocessing." "process.parent_process" msgstr "" #: ../build/NEWS:9197 msgid "" "`bpo-36921 `__: Deprecate ``@coroutine`` " "for sake of ``async def``." msgstr "" #: ../build/NEWS:9199 msgid "" "`bpo-25652 `__: Fix bug in ``__rmod__`` " "of ``UserString`` - by Batuhan Taskaya." msgstr "" #: ../build/NEWS:9201 msgid "" "`bpo-36916 `__: Remove a message about " "an unhandled exception in a task when writer.write() is used without await " "and writer.drain() fails with an exception." msgstr "" #: ../build/NEWS:9205 msgid "" "`bpo-36889 `__: Introduce :class:" "`asyncio.Stream` class that merges :class:`asyncio.StreamReader` and :class:" "`asyncio.StreamWriter` functionality. :class:`asyncio.Stream` can work in " "readonly, writeonly and readwrite modes. Provide :func:`asyncio.connect`, :" "func:`asyncio.connect_unix`, :func:`asyncio.connect_read_pipe` and :func:" "`asyncio.connect_write_pipe` factories to open :class:`asyncio.Stream` " "connections. Provide :class:`asyncio.StreamServer` and :class:" "`UnixStreamServer` to serve servers with asyncio.Stream API. Modify :func:" "`asyncio.create_subprocess_shell` and :func:`asyncio.create_subprocess_exec` " "to use :class:`asyncio.Stream` instead of deprecated :class:`StreamReader` " "and :class:`StreamWriter`. Deprecate :class:`asyncio.StreamReader` and :" "class:`asyncio.StreamWriter`. Deprecate usage of private classes, e.g. :" "class:`asyncio.FlowControlMixing` and :class:`asyncio.StreamReaderProtocol` " "outside of asyncio package." msgstr "" #: ../build/NEWS:9221 msgid "" "`bpo-36845 `__: Added validation of " "integer prefixes to the construction of IP networks and interfaces in the " "ipaddress module." msgstr "" #: ../build/NEWS:9224 msgid "" "`bpo-23378 `__: Add an extend action to " "argparser." msgstr "" #: ../build/NEWS:9226 msgid "" "`bpo-36867 `__: Fix a bug making a " "SharedMemoryManager instance and its parent process use two separate " "resource_tracker processes." msgstr "" #: ../build/NEWS:9229 msgid "" "`bpo-23896 `__: Adds a grammar to " "lib2to3.pygram that contains exec as a function not as statement." msgstr "" #: ../build/NEWS:9232 msgid "" "`bpo-36895 `__: The function ``time." "clock()`` was deprecated in 3.3 in favor of ``time.perf_counter()`` and " "marked for removal in 3.8, it has removed." msgstr "" #: ../build/NEWS:9235 msgid "" "`bpo-35545 `__: Fix asyncio discarding " "IPv6 scopes when ensuring hostname resolutions internally" msgstr "" #: ../build/NEWS:9238 msgid "" "`bpo-36887 `__: Add new function :func:" "`math.isqrt` to compute integer square roots." msgstr "" #: ../build/NEWS:9241 msgid "" "`bpo-34632 `__: Introduce the " "``importlib.metadata`` module with (provisional) support for reading " "metadata from third-party packages." msgstr "" #: ../build/NEWS:9244 msgid "" "`bpo-36878 `__: When using " "`type_comments=True` in `ast.parse`, treat `# type: ignore` followed by a " "non-alphanumeric character and then arbitrary text as a type ignore, instead " "of requiring nothing but whitespace or another comment. This is to permit " "formations such as `# type: ignore[E1000]`." msgstr "" #: ../build/NEWS:9249 msgid "" "`bpo-36778 `__: ``cp65001`` encoding " "(Windows code page 65001) becomes an alias to ``utf_8`` encoding." msgstr "" #: ../build/NEWS:9252 msgid "" "`bpo-36867 `__: The multiprocessing." "resource_tracker replaces the multiprocessing.semaphore_tracker module. " "Other than semaphores, resource_tracker also tracks shared_memory segments." msgstr "" #: ../build/NEWS:9256 msgid "" "`bpo-30262 `__: The ``Cache`` and " "``Statement`` objects of the :mod:`sqlite3` module are not exposed to the " "user. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:9259 msgid "" "`bpo-24538 `__: In `shutil.copystat()`, " "first copy extended file attributes and then file permissions, since " "extended attributes can only be set on the destination while it is still " "writeable." msgstr "" #: ../build/NEWS:9263 msgid "" "`bpo-36829 `__: Add new :func:`sys." "unraisablehook` function which can be overridden to control how \"unraisable " "exceptions\" are handled. It is called when an exception has occurred but " "there is no way for Python to handle it. For example, when a destructor " "raises an exception or during garbage collection (:func:`gc.collect`)." msgstr "" #: ../build/NEWS:9269 msgid "" "`bpo-36832 `__: Introducing ``zipfile." "Path``, a pathlib-compatible wrapper for traversing zip files." msgstr "" #: ../build/NEWS:9272 msgid "" "`bpo-36814 `__: Fix an issue where os." "posix_spawnp() would incorrectly raise a TypeError when file_actions is None." msgstr "" #: ../build/NEWS:9275 msgid "" "`bpo-33110 `__: Handle exceptions raised " "by functions added by concurrent.futures add_done_callback correctly when " "the Future has already completed." msgstr "" #: ../build/NEWS:9279 msgid "" "`bpo-26903 `__: Limit `max_workers` in " "`ProcessPoolExecutor` to 61 to work around a WaitForMultipleObjects " "limitation." msgstr "" #: ../build/NEWS:9282 msgid "" "`bpo-36813 `__: Fix :class:`~logging." "handlers.QueueListener` to call ``queue.task_done()`` upon stopping. Patch " "by Bar Harel." msgstr "" #: ../build/NEWS:9285 msgid "" "`bpo-36806 `__: Forbid creation of " "asyncio stream objects like StreamReader, StreamWriter, Process, and their " "protocols outside of asyncio package." msgstr "" #: ../build/NEWS:9288 msgid "" "`bpo-36802 `__: Provide both sync and " "async calls for StreamWriter.write() and StreamWriter.close()" msgstr "" #: ../build/NEWS:9291 msgid "" "`bpo-36801 `__: Properly handle SSL " "connection closing in asyncio StreamWriter.drain() call." msgstr "" #: ../build/NEWS:9294 msgid "" "`bpo-36785 `__: Implement PEP 574 " "(pickle protocol 5 with out-of-band buffers)." msgstr "" #: ../build/NEWS:9296 msgid "" "`bpo-36772 `__: functools.lru_cache() " "can now be used as a straight decorator in addition to its existing usage as " "a function that returns a decorator." msgstr "" #: ../build/NEWS:9299 msgid "" "`bpo-6584 `__: Add a :exc:`~gzip." "BadGzipFile` exception to the :mod:`gzip` module." msgstr "" #: ../build/NEWS:9302 msgid "" "`bpo-36748 `__: Optimized write " "buffering in C implementation of ``TextIOWrapper``. Writing ASCII string to " "``TextIOWrapper`` with ascii, latin1, or utf-8 encoding is about 20% " "faster. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:9306 msgid "" "`bpo-8138 `__: Don't mark ``wsgiref." "simple_server.SimpleServer`` as multi-threaded since ``wsgiref.simple_server." "WSGIServer`` is single-threaded." msgstr "" #: ../build/NEWS:9310 msgid "" "`bpo-22640 `__: :func:`py_compile." "compile` now supports silent mode. Patch by Joannah Nanjekye" msgstr "" #: ../build/NEWS:9313 msgid "" "`bpo-29183 `__: Fix double exceptions " "in :class:`wsgiref.handlers.BaseHandler` by calling its :meth:`~wsgiref." "handlers.BaseHandler.close` method only when no exception is raised." msgstr "" #: ../build/NEWS:9317 msgid "" "`bpo-36548 `__: Improved the repr of " "regular expression flags." msgstr "" #: ../build/NEWS:9319 msgid "" "`bpo-36542 `__: The signature of Python " "functions can now be overridden by specifying the ``__text_signature__`` " "attribute." msgstr "" #: ../build/NEWS:9322 msgid "" "`bpo-36533 `__: Reinitialize logging." "Handler locks in forked child processes instead of attempting to acquire " "them all in the parent before forking only to be released in the child " "process. The acquire/release pattern was leading to deadlocks in code that " "has implemented any form of chained logging handlers that depend upon one " "another as the lock acquisition order cannot be guaranteed." msgstr "" #: ../build/NEWS:9329 msgid "" "`bpo-35252 `__: Throw a TypeError " "instead of an AssertionError when using an invalid type annotation with " "singledispatch." msgstr "" #: ../build/NEWS:9332 msgid "" "`bpo-35900 `__: Allow reduction methods " "to return a 6-item tuple where the 6th item specifies a custom state-setting " "method that's called instead of the regular ``__setstate__`` method." msgstr "" #: ../build/NEWS:9336 msgid "" "`bpo-35900 `__: enable custom reduction " "callback registration for functions and classes in _pickle.c, using the new " "Pickler's attribute ``reducer_override``" msgstr "" #: ../build/NEWS:9340 msgid "" "`bpo-36368 `__: Fix a bug crashing " "SharedMemoryManager instances in interactive sessions after a ctrl-c " "(KeyboardInterrupt) was sent" msgstr "" #: ../build/NEWS:9343 msgid "" "`bpo-31904 `__: Fix mmap fail for VxWorks" msgstr "" #: ../build/NEWS:9345 msgid "" "`bpo-27497 `__: :meth:`csv.DictWriter." "writeheader` now returns the return value of the underlying :meth:`csv." "Writer.writerow` method. Patch contributed by Ashish Nitin Patil." msgstr "" #: ../build/NEWS:9349 msgid "" "`bpo-36239 `__: Parsing .mo files now " "ignores comments starting and ending with #-#-#-#-#." msgstr "" #: ../build/NEWS:9352 msgid "" "`bpo-26707 `__: Enable plistlib to read " "and write binary plist files that were created as a KeyedArchive file. " "Specifically, this allows the plistlib to process 0x80 tokens as UID objects." msgstr "" #: ../build/NEWS:9356 msgid "" "`bpo-31904 `__: Add posix module support " "for VxWorks." msgstr "" #: ../build/NEWS:9358 msgid "" "`bpo-35125 `__: Asyncio: Remove inner " "callback on outer cancellation in shield" msgstr "" #: ../build/NEWS:9360 msgid "" "`bpo-35721 `__: Fix :meth:`asyncio." "SelectorEventLoop.subprocess_exec()` leaks file descriptors if ``Popen`` " "fails and called with ``stdin=subprocess.PIPE``. Patch by Niklas Fiekas." msgstr "" #: ../build/NEWS:9364 msgid "" "`bpo-31855 `__: :func:`unittest.mock." "mock_open` results now respects the argument of read([size]). Patch " "contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:9367 msgid "" "`bpo-35431 `__: Implement :func:`math." "comb` that returns binomial coefficient, that computes the number of ways to " "choose k items from n items without repetition and without order. Patch by " "Yash Aggarwal and Keller Fuchs." msgstr "" #: ../build/NEWS:9371 msgid "" "`bpo-26660 `__: Fixed permission errors " "in :class:`~tempfile.TemporaryDirectory` clean up. Previously " "``TemporaryDirectory.cleanup()`` failed when non-writeable or non-searchable " "files or directories were created inside a temporary directory." msgstr "" #: ../build/NEWS:9377 msgid "" "`bpo-34271 `__: Add debugging helpers to " "ssl module. It's now possible to dump key material and to trace TLS " "protocol. The default and stdlib contexts also support SSLKEYLOGFILE env var." msgstr "" #: ../build/NEWS:9381 msgid "" "`bpo-26467 `__: Added AsyncMock to " "support using unittest to mock asyncio coroutines. Patch by Lisa Roach." msgstr "" #: ../build/NEWS:9384 msgid "" "`bpo-33569 `__: dataclasses.InitVar: " "Exposes the type used to create the init var." msgstr "" #: ../build/NEWS:9387 msgid "" "`bpo-34424 `__: Fix serialization of " "messages containing encoded strings when the policy.linesep is set to a " "multi-character string. Patch by Jens Troeger." msgstr "" #: ../build/NEWS:9391 msgid "" "`bpo-34303 `__: Performance of :func:" "`functools.reduce` is slightly improved. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:9394 msgid "" "`bpo-33361 `__: Fix a bug in :class:" "`codecs.StreamRecoder` where seeking might leave old data in a buffer and " "break subsequent read calls. Patch by Ammar Askar." msgstr "" #: ../build/NEWS:9398 msgid "" "`bpo-22454 `__: The :mod:`shlex` module " "now exposes :func:`shlex.join`, the inverse of :func:`shlex.split`. Patch by " "Bo Bayles." msgstr "" #: ../build/NEWS:9401 msgid "" "`bpo-31922 `__: :meth:`asyncio." "AbstractEventLoop.create_datagram_endpoint`: Do not connect UDP socket when " "broadcast is allowed. This allows to receive replies after a UDP broadcast." msgstr "" #: ../build/NEWS:9405 msgid "" "`bpo-24882 `__: Change " "ThreadPoolExecutor to use existing idle threads before spinning up new ones." msgstr "" #: ../build/NEWS:9408 msgid "" "`bpo-31961 `__: Added support for bytes " "and path-like objects in :func:`subprocess.Popen` on Windows. The *args* " "parameter now accepts a :term:`path-like object` if *shell* is ``False`` and " "a sequence containing bytes and path-like objects. The *executable* " "parameter now accepts a bytes and :term:`path-like object`. The *cwd* " "parameter now accepts a bytes object. Based on patch by Anders Lorentsen." msgstr "" #: ../build/NEWS:9415 msgid "" "`bpo-33123 `__: :class:`pathlib.Path." "unlink` now accepts a *missing_ok* parameter to avoid a :exc:" "`FileNotFoundError` from being raised. Patch by Robert Buchholz." msgstr "" #: ../build/NEWS:9419 msgid "" "`bpo-32941 `__: Allow :class:`mmap.mmap` " "objects to access the madvise() system call (through :meth:`mmap.mmap." "madvise`)." msgstr "" #: ../build/NEWS:9422 msgid "" "`bpo-22102 `__: Added support for ZIP " "files with disks set to 0. Such files are commonly created by builtin tools " "on Windows when use ZIP64 extension. Patch by Francisco Facioni." msgstr "" #: ../build/NEWS:9426 msgid "" "`bpo-32515 `__: trace.py can now run " "modules via python3 -m trace -t --module module_name" msgstr "" #: ../build/NEWS:9429 msgid "" "`bpo-32299 `__: Changed :func:`unittest." "mock.patch.dict` to return the patched dictionary when used as context " "manager. Patch by Vadim Tsander." msgstr "" #: ../build/NEWS:9432 msgid "" "`bpo-27141 `__: Added a ``__copy__()`` " "to ``collections.UserList`` and ``collections.UserDict`` in order to " "correctly implement shallow copying of the objects. Patch by Bar Harel." msgstr "" #: ../build/NEWS:9436 msgid "" "`bpo-31829 `__: ``\\r``, ``\\0`` and ``" "\\x1a`` (end-of-file on Windows) are now escaped in protocol 0 pickles of " "Unicode strings. This allows to load them without loss from files open in " "text mode in Python 2." msgstr "" #: ../build/NEWS:9440 msgid "" "`bpo-23395 `__: ``_thread." "interrupt_main()`` now avoids setting the Python error status if the " "``SIGINT`` signal is ignored or not handled by Python." msgstr "" #: ../build/NEWS:9446 msgid "" "`bpo-36896 `__: Clarify that some types " "have unstable constructor signature between Python versions." msgstr "" #: ../build/NEWS:9449 msgid "" "`bpo-36686 `__: Improve documentation of " "the stdin, stdout, and stderr arguments of the ``asyncio.subprocess_exec`` " "function to specify which values are supported. Also mention that decoding " "as text is not supported." msgstr "" #: ../build/NEWS:9453 msgid "" "Add a few tests to verify that the various values passed to the std* " "arguments actually work." msgstr "" #: ../build/NEWS:9456 msgid "" "`bpo-36984 `__: Improve version added " "references in ``typing`` module - by Anthony Sottile." msgstr "" #: ../build/NEWS:9459 msgid "" "`bpo-36868 `__: What's new now mentions " "SSLContext.hostname_checks_common_name instead of SSLContext.host_flags." msgstr "" #: ../build/NEWS:9462 msgid "" "`bpo-35924 `__: Add a note to the " "``curses.addstr()`` documentation to warn that multiline strings can cause " "segfaults because of an ncurses bug." msgstr "" #: ../build/NEWS:9465 msgid "" "`bpo-36783 `__: Added C API " "Documentation for Time_FromTimeAndFold and PyDateTime_FromDateAndTimeAndFold " "as per PEP 495. Patch by Edison Abahurire." msgstr "" #: ../build/NEWS:9469 msgid "" "`bpo-36797 `__: More of the legacy " "distutils documentation has been either pruned, or else more clearly marked " "as being retained solely until the setuptools documentation covers it " "independently." msgstr "" #: ../build/NEWS:9473 msgid "" "`bpo-22865 `__: Add detail to the " "documentation on the `pty.spawn` function." msgstr "" #: ../build/NEWS:9475 msgid "" "`bpo-35397 `__: Remove deprecation and " "document urllib.parse.unwrap(). Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:9478 msgid "" "`bpo-32995 `__: Added the context " "variable in glossary." msgstr "" #: ../build/NEWS:9480 msgid "" "`bpo-33519 `__: Clarify that `copy()` is " "not part of the `MutableSequence` ABC." msgstr "" #: ../build/NEWS:9482 msgid "" "`bpo-33482 `__: Make `codecs." "StreamRecoder.writelines` take a list of bytes." msgstr "" #: ../build/NEWS:9484 msgid "" "`bpo-25735 `__: Added documentation for " "func factorial to indicate that returns integer values" msgstr "" #: ../build/NEWS:9487 msgid "" "`bpo-20285 `__: Expand object.__doc__ " "(docstring) to make it clearer. Modify pydoc.py so that help(object) lists " "object methods (for other classes, help omits methods of the object base " "class.)" msgstr "" #: ../build/NEWS:9494 msgid "" "`bpo-37069 `__: Modify test_coroutines, " "test_cprofile, test_generators, test_raise, test_ssl and test_yield_from to " "use :func:`test.support.catch_unraisable_exception` rather than :func:`test." "support.captured_stderr`." msgstr "" #: ../build/NEWS:9499 msgid "" "`bpo-37098 `__: Fix test_memfd_create on " "older Linux Kernels." msgstr "" #: ../build/NEWS:9501 msgid "" "`bpo-37081 `__: Test with OpenSSL 1.1.1c" msgstr "" #: ../build/NEWS:9503 msgid "" "`bpo-36829 `__: Add :func:`test.support." "catch_unraisable_exception`: context manager catching unraisable exception " "using :func:`sys.unraisablehook`." msgstr "" #: ../build/NEWS:9506 msgid "" "`bpo-36915 `__: The main regrtest " "process now always removes all temporary directories of worker processes " "even if they crash or if they are killed on KeyboardInterrupt (CTRL+c)." msgstr "" #: ../build/NEWS:9510 msgid "" "`bpo-36719 `__: \"python3 -m test -jN ..." "\" now continues the execution of next tests when a worker process crash " "(CHILD_ERROR state). Previously, the test suite stopped immediately. Use --" "failfast to stop at the first error." msgstr "" #: ../build/NEWS:9514 msgid "" "`bpo-36816 `__: Update Lib/test/" "selfsigned_pythontestdotnet.pem to match self-signed.pythontest.net's new " "TLS certificate." msgstr "" #: ../build/NEWS:9517 msgid "" "`bpo-35925 `__: Skip httplib and nntplib " "networking tests when they would otherwise fail due to a modern OS or distro " "with a default OpenSSL policy of rejecting connections to servers with weak " "certificates." msgstr "" #: ../build/NEWS:9521 msgid "" "`bpo-36782 `__: Add tests for several C " "API functions in the :mod:`datetime` module. Patch by Edison Abahurire." msgstr "" #: ../build/NEWS:9524 msgid "" "`bpo-36342 `__: Fix test_multiprocessing " "in test_venv if platform lacks functioning sem_open." msgstr "" #: ../build/NEWS:9530 msgid "" "`bpo-36721 `__: To embed Python into an " "application, a new ``--embed`` option must be passed to ``python3-config --" "libs --embed`` to get ``-lpython3.8`` (link the application to libpython). " "To support both 3.8 and older, try ``python3-config --libs --embed`` first " "and fallback to ``python3-config --libs`` (without ``--embed``) if the " "previous command fails." msgstr "" #: ../build/NEWS:9536 msgid "" "Add a pkg-config ``python-3.8-embed`` module to embed Python into an " "application: ``pkg-config python-3.8-embed --libs`` includes ``-" "lpython3.8``. To support both 3.8 and older, try ``pkg-config python-X.Y-" "embed --libs`` first and fallback to ``pkg-config python-X.Y --libs`` " "(without ``--embed``) if the previous command fails (replace ``X.Y`` with " "the Python version)." msgstr "" #: ../build/NEWS:9543 msgid "" "On the other hand, ``pkg-config python3.8 --libs`` no longer contains ``-" "lpython3.8``. C extensions must not be linked to libpython (except on " "Android, case handled by the script); this change is backward incompatible " "on purpose." msgstr "" #: ../build/NEWS:9548 msgid "" "`bpo-36786 `__: \"make install\" now " "runs compileall in parallel." msgstr "" #: ../build/NEWS:9553 msgid "" "`bpo-36965 `__: include of " "STATUS_CONTROL_C_EXIT without depending on MSC compiler" msgstr "" #: ../build/NEWS:9556 msgid "" "`bpo-35926 `__: Update to OpenSSL 1.1.1b " "for Windows." msgstr "" #: ../build/NEWS:9558 msgid "" "`bpo-29883 `__: Add Windows support for " "UDP transports for the Proactor Event Loop. Patch by Adam Meily." msgstr "" #: ../build/NEWS:9561 msgid "" "`bpo-33407 `__: The :c:macro:" "`Py_DEPRECATED()` macro has been implemented for MSVC." msgstr "" #: ../build/NEWS:9567 msgid "" "`bpo-36231 `__: Support building Python " "on macOS without /usr/include installed. As of macOS 10.14, system header " "files are only available within an SDK provided by either the Command Line " "Tools or the Xcode app." msgstr "" #: ../build/NEWS:9574 msgid "" "`bpo-35610 `__: Replace now redundant ." "context_use_ps1 with .prompt_last_line. This finishes change started in " "`bpo-31858 `__." msgstr "" #: ../build/NEWS:9577 msgid "" "`bpo-37038 `__: Make idlelib.run " "runnable; add test clause." msgstr "" #: ../build/NEWS:9579 msgid "" "`bpo-36958 `__: Print any argument other " "than None or int passed to SystemExit or sys.exit()." msgstr "" #: ../build/NEWS:9582 msgid "" "`bpo-36807 `__: When saving a file, call " "os.fsync() so bits are flushed to e.g. USB drive." msgstr "" #: ../build/NEWS:9585 msgid "" "`bpo-32411 `__: In browser.py, remove " "extraneous sorting by line number since dictionary was created in line " "number order." msgstr "" #: ../build/NEWS:9591 msgid "" "`bpo-37053 `__: Handle strings like u" "\"bar\" correctly in Tools/parser/unparse.py. Patch by Chih-Hsuan Yen." msgstr "" #: ../build/NEWS:9597 msgid "" "`bpo-36763 `__: Implement the :pep:`587` " "\"Python Initialization Configuration\"." msgstr "" #: ../build/NEWS:9599 msgid "" "`bpo-36379 `__: Fix crashes when " "attempting to use the *modulo* parameter when ``__ipow__`` is implemented in " "C." msgstr "" #: ../build/NEWS:9602 msgid "" "`bpo-37107 `__: Update :c:func:" "`PyObject_CallMethodObjArgs` and ``_PyObject_CallMethodIdObjArgs`` to use " "``_PyObject_GetMethod`` to avoid creating a bound method object in many " "cases. Patch by Michael J. Sullivan." msgstr "" #: ../build/NEWS:9607 msgid "" "`bpo-36974 `__: Implement :pep:`590`: " "Vectorcall: a fast calling protocol for CPython. This is a new protocol to " "optimize calls of custom callable objects." msgstr "" #: ../build/NEWS:9611 msgid "" "`bpo-36763 `__: ``Py_Main()`` now " "returns the exitcode rather than calling ``Py_Exit(exitcode)`` when calling " "``PyErr_Print()`` if the current exception type is ``SystemExit``." msgstr "" #: ../build/NEWS:9615 msgid "" "`bpo-36922 `__: Add new type flag " "``Py_TPFLAGS_METHOD_DESCRIPTOR`` for objects behaving like unbound methods. " "These are objects supporting the optimization given by the ``LOAD_METHOD``/" "``CALL_METHOD`` opcodes. See PEP 590." msgstr "" #: ../build/NEWS:9620 msgid "" "`bpo-36728 `__: The :c:func:" "`PyEval_ReInitThreads` function has been removed from the C API. It should " "not be called explicitly: use :c:func:`PyOS_AfterFork_Child` instead." msgstr "" #: ../build/NEWS:9626 msgid "Python 3.8.0 alpha 4" msgstr "" #: ../build/NEWS:9628 msgid "*Release date: 2019-05-06*" msgstr "" #: ../build/NEWS:9633 msgid "" "`bpo-36742 `__: Fixes mishandling of pre-" "normalization characters in urlsplit()." msgstr "" #: ../build/NEWS:9636 msgid "" "`bpo-30458 `__: Address CVE-2019-9740 by " "disallowing URL paths with embedded whitespace or control characters through " "into the underlying http client request. Such potentially malicious header " "injection URLs now cause an http.client.InvalidURL exception to be raised." msgstr "" #: ../build/NEWS:9641 msgid "" "`bpo-35755 `__: :func:`shutil.which` now " "uses ``os.confstr(\"CS_PATH\")`` if available and if the :envvar:`PATH` " "environment variable is not set. Remove also the current directory from :" "data:`posixpath.defpath`. On Unix, :func:`shutil.which` and the :mod:" "`subprocess` module no longer search the executable in the current directory " "if the :envvar:`PATH` environment variable is not set." msgstr "" #: ../build/NEWS:9651 msgid "" "`bpo-36722 `__: In debug build, import " "now also looks for C extensions compiled in release mode and for C " "extensions compiled in the stable ABI." msgstr "" #: ../build/NEWS:9654 msgid "" "`bpo-32849 `__: Fix Python " "Initialization code on FreeBSD to detect properly when stdin file descriptor " "(fd 0) is invalid." msgstr "" #: ../build/NEWS:9657 msgid "" "`bpo-36623 `__: Remove parser headers " "and related function declarations that lack implementations after the " "removal of pgen." msgstr "" #: ../build/NEWS:9660 msgid "" "`bpo-20180 `__: ``dict.pop()`` is now up " "to 33% faster thanks to Argument Clinic. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:9663 msgid "" "`bpo-36611 `__: Debug memory allocators: " "disable serialno field by default from debug hooks on Python memory " "allocators to reduce the memory footprint by 5%. Enable :mod:`tracemalloc` " "to get the traceback where a memory block has been allocated when a fatal " "memory error is logged to decide where to put a breakpoint. Compile Python " "with ``PYMEM_DEBUG_SERIALNO`` defined to get back the field." msgstr "" #: ../build/NEWS:9670 msgid "" "`bpo-36588 `__: On AIX, :attr:`sys." "platform` doesn't contain the major version anymore. Always return " "``'aix'``, instead of ``'aix3'`` .. ``'aix7'``. Since older Python versions " "include the version number, it is recommended to always use ``sys.platform." "startswith('aix')``. Contributed by M. Felt." msgstr "" #: ../build/NEWS:9675 msgid "" "`bpo-36549 `__: Change str.capitalize to " "use titlecase for the first character instead of uppercase." msgstr "" #: ../build/NEWS:9678 msgid "" "`bpo-36540 `__: Implement :pep:`570` " "(Python positional-only parameters). Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:9681 msgid "" "`bpo-36475 `__: :c:func:" "`PyEval_AcquireLock` and :c:func:`PyEval_AcquireThread` now terminate the " "current thread if called while the interpreter is finalizing, making them " "consistent with :c:func:`PyEval_RestoreThread`, :c:func:" "`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`." msgstr "" #: ../build/NEWS:9686 msgid "" "`bpo-36504 `__: Fix signed integer " "overflow in _ctypes.c's ``PyCArrayType_new()``." msgstr "" #: ../build/NEWS:9689 msgid "" "`bpo-20844 `__: Fix running script with " "encoding cookie and LF line ending may fail on Windows." msgstr "" #: ../build/NEWS:9692 msgid "" "`bpo-24214 `__: Fixed support of the " "surrogatepass error handler in the UTF-8 incremental decoder." msgstr "" #: ../build/NEWS:9695 msgid "" "`bpo-36452 `__: Changing ``dict`` keys " "during iteration of the dict itself, ``keys()``, ``values()``, or " "``items()`` will now be detected in certain corner cases where keys are " "deleted/added so that the number of keys isn't changed. A `RuntimeError` " "will be raised after ``len(dict)`` iterations. Contributed by Thomas Perl." msgstr "" #: ../build/NEWS:9701 msgid "" "`bpo-36459 `__: Fix a possible double " "``PyMem_FREE()`` due to tokenizer.c's ``tok_nextc()``." msgstr "" #: ../build/NEWS:9704 msgid "" "`bpo-36433 `__: Fixed TypeError message " "in classmethoddescr_call." msgstr "" #: ../build/NEWS:9706 msgid "" "`bpo-36430 `__: Fix a possible reference " "leak in :func:`itertools.count`." msgstr "" #: ../build/NEWS:9708 msgid "" "`bpo-36440 `__: Include node names in " "``ParserError`` messages, instead of numeric IDs. Patch by A. Skrobov." msgstr "" #: ../build/NEWS:9711 msgid "" "`bpo-36143 `__: Regenerate :mod:" "`keyword` from the Grammar and Tokens file using pgen. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:9714 msgid "" "`bpo-18372 `__: Add missing :c:func:" "`PyObject_GC_Track` calls in the :mod:`pickle` module. Patch by Zackery " "Spytz." msgstr "" #: ../build/NEWS:9720 msgid "" "`bpo-35952 `__: Fix pythoninfo when the " "compiler is missing." msgstr "" #: ../build/NEWS:9722 msgid "" "`bpo-28238 `__: The ``.find*()`` methods " "of xml.etree.ElementTree can now search for wildcards like ``{*}tag`` and " "``{ns}*`` that match a tag in any namespace or all tags in a namespace. " "Patch by Stefan Behnel." msgstr "" #: ../build/NEWS:9726 msgid "" "`bpo-26978 `__: `pathlib.path.link_to()` " "is now implemented. It creates a hard link pointing to a path." msgstr "" #: ../build/NEWS:9729 msgid "" "`bpo-1613500 `__: :class:`fileinput." "FileInput` now uses the input file mode to correctly set the output file " "mode (previously it was hardcoded to ``'w'``) when ``inplace=True`` is " "passed to its constructor." msgstr "" #: ../build/NEWS:9733 msgid "" "`bpo-36734 `__: Fix compilation of " "``faulthandler.c`` on HP-UX. Initialize ``stack_t current_stack`` to zero " "using ``memset()``." msgstr "" #: ../build/NEWS:9736 msgid "" "`bpo-13611 `__: The xml.etree." "ElementTree packages gained support for C14N 2.0 serialisation. Patch by " "Stefan Behnel." msgstr "" #: ../build/NEWS:9739 msgid "" "`bpo-36669 `__: Add missing matrix " "multiplication operator support to weakref.proxy." msgstr "" #: ../build/NEWS:9742 msgid "" "`bpo-36676 `__: The XMLParser() in xml." "etree.ElementTree provides namespace prefix context to the parser target if " "it defines the callback methods \"start_ns()\" and/or \"end_ns()\". Patch by " "Stefan Behnel." msgstr "" #: ../build/NEWS:9746 msgid "" "`bpo-36673 `__: The TreeBuilder and " "XMLPullParser in xml.etree.ElementTree gained support for parsing comments " "and processing instructions. Patch by Stefan Behnel." msgstr "" #: ../build/NEWS:9750 msgid "" "`bpo-36650 `__: The C version of " "functools.lru_cache() was treating calls with an empty ``**kwargs`` " "dictionary as being distinct from calls with no keywords at all. This did " "not result in an incorrect answer, but it did trigger an unexpected cache " "miss." msgstr "" #: ../build/NEWS:9755 msgid "" "`bpo-28552 `__: Fix :mod:`distutils." "sysconfig` if :data:`sys.executable` is ``None`` or an empty string: use :" "func:`os.getcwd` to initialize ``project_base``. Fix also the distutils " "build command: don't use :data:`sys.executable` if it is ``None`` or an " "empty string." msgstr "" #: ../build/NEWS:9760 msgid "" "`bpo-35755 `__: :func:`shutil.which` " "and :func:`distutils.spawn.find_executable` now use ``os.confstr(\"CS_PATH" "\")`` if available instead of :data:`os.defpath`, if the ``PATH`` " "environment variable is not set. Moreover, don't use ``os.confstr(\"CS_PATH" "\")`` nor :data:`os.defpath` if the ``PATH`` environment variable is set to " "an empty string." msgstr "" #: ../build/NEWS:9767 msgid "" "`bpo-25430 `__: improve performance of " "``IPNetwork.__contains__()``" msgstr "" #: ../build/NEWS:9769 msgid "" "`bpo-30485 `__: Path expressions in xml." "etree.ElementTree can now avoid explicit namespace prefixes for tags (or the " "\"{namespace}tag\" notation) by passing a default namespace with an empty " "string prefix." msgstr "" #: ../build/NEWS:9773 msgid "" "`bpo-36613 `__: Fix :mod:`asyncio` " "wait() not removing callback if exception" msgstr "" #: ../build/NEWS:9775 msgid "" "`bpo-36598 `__: Fix ``isinstance`` check " "for Mock objects with spec when the code is executed under tracing. Patch by " "Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:9778 msgid "" "`bpo-18748 `__: In development mode (:" "option:`-X` ``dev``) and in debug build, the :class:`io.IOBase` destructor " "now logs ``close()`` exceptions. These exceptions are silent by default in " "release mode." msgstr "" #: ../build/NEWS:9782 msgid "" "`bpo-36575 `__: The ``_lsprof`` module " "now uses internal timer same to ``time.perf_counter()`` by default. " "``gettimeofday(2)`` was used on Unix. New timer has better resolution on " "most Unix platforms and timings are no longer impacted by system clock " "updates since ``perf_counter()`` is monotonic. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:9788 msgid "" "`bpo-33461 `__: ``json.loads`` now emits " "``DeprecationWarning`` when ``encoding`` option is specified. Patch by " "Matthias Bussonnier." msgstr "" #: ../build/NEWS:9791 msgid "" "`bpo-36559 `__: The random module now " "prefers the lean internal _sha512 module over hashlib for seed(version=2) to " "optimize import time." msgstr "" #: ../build/NEWS:9794 msgid "" "`bpo-17561 `__: Set backlog=None as the " "default for socket.create_server." msgstr "" #: ../build/NEWS:9796 msgid "" "`bpo-34373 `__: Fix :func:`time.mktime` " "error handling on AIX for year before 1970." msgstr "" #: ../build/NEWS:9799 msgid "" "`bpo-36232 `__: Improve error message " "when trying to open existing DBM database that actually doesn't exist. Patch " "by Marco Rougeth." msgstr "" #: ../build/NEWS:9802 msgid "" "`bpo-36546 `__: Add statistics." "quantiles()" msgstr "" #: ../build/NEWS:9804 msgid "" "`bpo-36050 `__: Optimized ``http.client." "HTTPResponse.read()`` for large response. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:9807 msgid "" "`bpo-36522 `__: If *debuglevel* is set " "to >0 in :mod:`http.client`, print all values for headers with multiple " "values for the same header name. Patch by Matt Houglum." msgstr "" #: ../build/NEWS:9811 msgid "" "`bpo-36492 `__: Deprecated passing " "required arguments like *func* as keyword arguments in functions which " "should accept arbitrary keyword arguments and pass them to other function. " "Arbitrary keyword arguments (even with names \"self\" and \"func\") can now " "be passed to these functions if the required arguments are passed as " "positional arguments." msgstr "" #: ../build/NEWS:9817 msgid "" "`bpo-27181 `__: Add statistics." "geometric_mean()." msgstr "" #: ../build/NEWS:9819 msgid "" "`bpo-30427 `__: ``os.path.normcase()`` " "relies on ``os.fspath()`` to check the type of its argument. Redundant " "checks have been removed from its ``posixpath.normcase()`` and ``ntpath." "normcase()`` implementations. Patch by Wolfgang Maier." msgstr "" #: ../build/NEWS:9824 msgid "" "`bpo-36385 `__: Stop rejecting IPv4 " "octets for being ambiguously octal. Leading zeros are ignored, and no longer " "are assumed to specify octal octets. Octets are always decimal numbers. " "Octets must still be no more than three digits, including leading zeroes." msgstr "" #: ../build/NEWS:9829 msgid "" "`bpo-36434 `__: Errors during writing to " "a ZIP file no longer prevent to properly close it." msgstr "" #: ../build/NEWS:9832 msgid "" "`bpo-36407 `__: Fixed wrong indentation " "writing for CDATA section in xml.dom.minidom. Patch by Vladimir Surjaninov." msgstr "" #: ../build/NEWS:9835 msgid "" "`bpo-36326 `__: inspect.getdoc() can now " "find docstrings for member objects when __slots__ is a dictionary." msgstr "" #: ../build/NEWS:9838 msgid "" "`bpo-36366 `__: Calling ``stop()`` on an " "unstarted or stopped :func:`unittest.mock.patch` object will now return " "`None` instead of raising :exc:`RuntimeError`, making the method idempotent. " "Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:9843 msgid "" "`bpo-36348 `__: The :meth:`imap.IMAP4." "logout` method no longer ignores silently arbitrary exceptions." msgstr "" #: ../build/NEWS:9846 msgid "" "`bpo-31904 `__: Add time module support " "and fix test_time faiures for VxWorks." msgstr "" #: ../build/NEWS:9848 msgid "" "`bpo-36227 `__: Added support for " "keyword arguments `default_namespace` and `xml_declaration` in functions " "ElementTree.tostring() and ElementTree.tostringlist()." msgstr "" #: ../build/NEWS:9852 msgid "" "`bpo-36004 `__: Added new alternate " "constructors :meth:`datetime.date.fromisocalendar` and :meth:`datetime." "datetime.fromisocalendar`, which construct date objects from ISO year, week " "number and weekday; these are the inverse of each class's ``isocalendar`` " "method. Patch by Paul Ganssle." msgstr "" #: ../build/NEWS:9858 msgid "" "`bpo-35936 `__: :mod:`modulefinder` no " "longer depends on the deprecated :mod:`imp` module, and the initializer for :" "class:`modulefinder.ModuleFinder` now has immutable default arguments. Patch " "by Brandt Bucher." msgstr "" #: ../build/NEWS:9863 msgid "" "`bpo-35376 `__: :mod:`modulefinder` " "correctly handles modules that have the same name as a bad package. Patch by " "Brandt Bucher." msgstr "" #: ../build/NEWS:9866 msgid "" "`bpo-17396 `__: :mod:`modulefinder` no " "longer crashes when encountering syntax errors in followed imports. Patch by " "Brandt Bucher." msgstr "" #: ../build/NEWS:9869 msgid "" "`bpo-35934 `__: Added :meth:`~socket." "create_server()` and :meth:`~socket.has_dualstack_ipv6()` convenience " "functions to automate the necessary tasks usually involved when creating a " "server socket, including accepting both IPv4 and IPv6 connections on the " "same socket. (Contributed by Giampaolo Rodola in :issue:`17561`.)" msgstr "" #: ../build/NEWS:9875 msgid "" "`bpo-23078 `__: Add support for :func:" "`classmethod` and :func:`staticmethod` to :func:`unittest.mock." "create_autospec`. Initial patch by Felipe Ochoa." msgstr "" #: ../build/NEWS:9878 msgid "" "`bpo-35416 `__: Fix potential resource " "warnings in distutils. Patch by Mickaël Schoentgen." msgstr "" #: ../build/NEWS:9881 msgid "" "`bpo-25451 `__: Add transparency methods " "to :class:`tkinter.PhotoImage`. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9884 msgid "" "`bpo-35082 `__: Don't return deleted " "attributes when calling dir on a :class:`unittest.mock.Mock`." msgstr "" #: ../build/NEWS:9887 msgid "" "`bpo-34547 `__: :class:`wsgiref.handlers." "BaseHandler` now handles abrupt client connection terminations gracefully. " "Patch by Petter Strandmark." msgstr "" #: ../build/NEWS:9890 msgid "" "`bpo-31658 `__: :func:`xml.sax.parse` " "now supports :term:`path-like `. Patch by Mickaël " "Schoentgen." msgstr "" #: ../build/NEWS:9893 msgid "" "`bpo-34139 `__: Remove stale unix " "datagram socket before binding" msgstr "" #: ../build/NEWS:9895 msgid "" "`bpo-33530 `__: Implemented Happy " "Eyeballs in `asyncio.create_connection()`. Added two new arguments, " "*happy_eyeballs_delay* and *interleave*, to specify Happy Eyeballs behavior." msgstr "" #: ../build/NEWS:9899 msgid "" "`bpo-33291 `__: Do not raise " "AttributeError when calling the inspect functions isgeneratorfunction, " "iscoroutinefunction, isasyncgenfunction on a method created from an " "arbitrary callable. Instead, return False." msgstr "" #: ../build/NEWS:9903 msgid "" "`bpo-31310 `__: Fix the multiprocessing." "semaphore_tracker so it is reused by child processes" msgstr "" #: ../build/NEWS:9906 msgid "" "`bpo-31292 `__: Fix ``setup.py check --" "restructuredtext`` for files containing ``include`` directives." msgstr "" #: ../build/NEWS:9912 msgid "" "`bpo-36625 `__: Remove obsolete comments " "from docstrings in fractions.Fraction" msgstr "" #: ../build/NEWS:9914 msgid "" "`bpo-30840 `__: Document relative imports" msgstr "" #: ../build/NEWS:9916 msgid "" "`bpo-36523 `__: Add docstring for io." "IOBase.writelines()." msgstr "" #: ../build/NEWS:9918 msgid "" "`bpo-36425 `__: New documentation " "translation: `Simplified Chinese `_." msgstr "" #: ../build/NEWS:9921 msgid "" "`bpo-36345 `__: Avoid the duplication of " "code from ``Tools/scripts/serve.py`` in using the :rst:dir:`literalinclude` " "directive for the basic wsgiref-based web server in the documentation of :" "mod:`wsgiref`. Contributed by Stéphane Wirtel." msgstr "" #: ../build/NEWS:9926 msgid "" "`bpo-36345 `__: Using the code of the " "``Tools/scripts/serve.py`` script as an example in the :mod:`wsgiref` " "documentation. Contributed by Stéphane Wirtel." msgstr "" #: ../build/NEWS:9930 msgid "" "`bpo-36157 `__: Added Documention for " "PyInterpreterState_Main()." msgstr "" #: ../build/NEWS:9932 msgid "" "`bpo-33043 `__: Updates the docs.python." "org page with the addition of a 'Contributing to Docs' link at the end of " "the page (between 'Reporting Bugs' and 'About Documentation'). Updates the " "'Found a Bug' page with additional links and information in the " "Documentation Bugs section." msgstr "" #: ../build/NEWS:9937 msgid "" "`bpo-35581 `__: @typing.type_check_only " "now allows type stubs to mark functions and classes not available during " "runtime." msgstr "" #: ../build/NEWS:9940 msgid "" "`bpo-33832 `__: Add glossary entry for " "'magic method'." msgstr "" #: ../build/NEWS:9942 msgid "" "`bpo-32913 `__: Added re.Match.groupdict " "example to regex HOWTO." msgstr "" #: ../build/NEWS:9947 msgid "" "`bpo-36719 `__: regrtest now always " "detects uncollectable objects. Previously, the check was only enabled by ``--" "findleaks``. The check now also works with ``-jN/--multiprocess N``. ``--" "findleaks`` becomes a deprecated alias to ``--fail-env-changed``." msgstr "" #: ../build/NEWS:9952 msgid "" "`bpo-36725 `__: When using " "multiprocessing mode (-jN), regrtest now better reports errors if a worker " "process fails, and it exits immediately on a worker thread failure or when " "interrupted." msgstr "" #: ../build/NEWS:9956 msgid "" "`bpo-36454 `__: Change test_time." "test_monotonic() to test only the lower bound of elapsed time after a sleep " "command rather than the upper bound. This prevents unnecessary test failures " "on slow buildbots. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:9961 msgid "" "`bpo-32424 `__: Improve test coverage " "for xml.etree.ElementTree. Patch by Gordon P. Hemsley." msgstr "" #: ../build/NEWS:9964 msgid "" "`bpo-32424 `__: Fix typo in " "test_cyclic_gc() test for xml.etree.ElementTree. Patch by Gordon P. Hemsley." msgstr "" #: ../build/NEWS:9967 msgid "" "`bpo-36635 `__: Add a new :mod:" "`_testinternalcapi` module to test the internal C API." msgstr "" #: ../build/NEWS:9970 msgid "" "`bpo-36629 `__: Fix " "``test_imap4_host_default_value()`` of ``test_imaplib``: catch also :data:" "`errno.ENETUNREACH` error." msgstr "" #: ../build/NEWS:9973 msgid "" "`bpo-36611 `__: Fix ``test_sys." "test_getallocatedblocks()`` when :mod:`tracemalloc` is enabled." msgstr "" #: ../build/NEWS:9976 msgid "" "`bpo-36560 `__: Fix reference leak " "hunting in regrtest: compute also deltas (of reference count, allocated " "memory blocks, file descriptor count) during warmup, to ensure that " "everything is initialized before starting to hunt reference leaks." msgstr "" #: ../build/NEWS:9981 msgid "" "`bpo-36565 `__: Fix reference hunting " "(``python3 -m test -R 3:3``) when Python has no built-in abc module." msgstr "" #: ../build/NEWS:9984 msgid "" "`bpo-31904 `__: Port test_resource to " "VxWorks: skip tests cases setting RLIMIT_FSIZE and RLIMIT_CPU." msgstr "" #: ../build/NEWS:9987 msgid "" "`bpo-31904 `__: Fix test_tabnanny on " "VxWorks: adjust ENOENT error message." msgstr "" #: ../build/NEWS:9989 msgid "" "`bpo-36436 `__: Fix ``_testcapi." "pymem_buffer_overflow()``: handle memory allocation failure." msgstr "" #: ../build/NEWS:9992 msgid "" "`bpo-31904 `__: Fix test_utf8_mode on " "VxWorks: Python always use UTF-8 on VxWorks." msgstr "" #: ../build/NEWS:9995 msgid "" "`bpo-36341 `__: Fix tests that may fail " "with PermissionError upon calling bind() on AF_UNIX sockets." msgstr "" #: ../build/NEWS:10001 msgid "" "`bpo-36747 `__: Remove the stale " "scriptsinstall Makefile target." msgstr "" #: ../build/NEWS:10003 msgid "" "`bpo-21536 `__: On Unix, C extensions " "are no longer linked to libpython except on Android and Cygwin." msgstr "" #: ../build/NEWS:10006 msgid "" "It is now possible for a statically linked Python to load a C extension " "built using a shared library Python." msgstr "" #: ../build/NEWS:10009 msgid "" "When Python is embedded, ``libpython`` must not be loaded with " "``RTLD_LOCAL``, but ``RTLD_GLOBAL`` instead. Previously, using " "``RTLD_LOCAL``, it was already not possible to load C extensions which were " "not linked to ``libpython``, such as C extensions of the standard library " "built by the ``*shared*`` section of ``Modules/Setup``." msgstr "" #: ../build/NEWS:10015 msgid "distutils, python-config and python-config.py have been modified." msgstr "" #: ../build/NEWS:10017 msgid "" "`bpo-36707 `__: ``./configure --with-" "pymalloc`` no longer adds the ``m`` flag to SOABI (sys.implementation." "cache_tag). Enabling or disabling pymalloc has no impact on the ABI." msgstr "" #: ../build/NEWS:10021 msgid "" "`bpo-36635 `__: Change " "``PyAPI_FUNC(type)``, ``PyAPI_DATA(type)`` and ``PyMODINIT_FUNC`` macros of " "``pyport.h`` when ``Py_BUILD_CORE_MODULE`` is defined. The " "``Py_BUILD_CORE_MODULE`` define must be now be used to build a C extension " "as a dynamic library accessing Python internals: export the PyInit_xxx() " "function in DLL exports on Windows." msgstr "" #: ../build/NEWS:10027 msgid "" "`bpo-31904 `__: Don't build the " "``_crypt`` extension on VxWorks." msgstr "" #: ../build/NEWS:10029 msgid "" "`bpo-36618 `__: Add ``-fmax-type-" "align=8`` to CFLAGS when clang compiler is detected. The pymalloc memory " "allocator aligns memory on 8 bytes. On x86-64, clang expects alignment on 16 " "bytes by default and so uses MOVAPS instruction which can lead to " "segmentation fault. Instruct clang that Python is limited to alignment on 8 " "bytes to use MOVUPS instruction instead: slower but don't trigger a SIGSEGV " "if the memory is not aligned on 16 bytes. Sadly, the flag must be added to " "``CFLAGS`` and not just ``CFLAGS_NODIST``, since third party C extensions " "can have the same issue." msgstr "" #: ../build/NEWS:10038 msgid "" "`bpo-36605 `__: ``make tags`` and ``make " "TAGS`` now also parse ``Modules/_io/*.c`` and ``Modules/_io/*.h``." msgstr "" #: ../build/NEWS:10041 msgid "" "`bpo-36465 `__: Release builds and debug " "builds are now ABI compatible: defining the ``Py_DEBUG`` macro no longer " "implies the ``Py_TRACE_REFS`` macro, which introduces the only ABI " "incompatibility. The ``Py_TRACE_REFS`` macro, which adds the :func:`sys." "getobjects` function and the :envvar:`PYTHONDUMPREFS` environment variable, " "can be set using the new ``./configure --with-trace-refs`` build option." msgstr "" #: ../build/NEWS:10048 msgid "" "`bpo-36577 `__: setup.py now correctly " "reports missing OpenSSL headers and libraries again." msgstr "" #: ../build/NEWS:10051 msgid "" "`bpo-36544 `__: Fix regression " "introduced in `bpo-36146 `__ refactoring " "setup.py" msgstr "" #: ../build/NEWS:10053 msgid "" "`bpo-36508 `__: ``python-config --" "ldflags`` no longer includes flags of the ``LINKFORSHARED`` variable. The " "``LINKFORSHARED`` variable must only be used to build executables." msgstr "" #: ../build/NEWS:10057 msgid "" "`bpo-36503 `__: Remove references to " "\"aix3\" and \"aix4\". Patch by M. Felt." msgstr "" #: ../build/NEWS:10062 msgid "" "`bpo-35920 `__: Added platform." "win32_edition() and platform.win32_is_iot(). Added support for cross-" "compiling packages for Windows ARM32. Skip tests that are not expected to " "work on Windows IoT Core ARM32." msgstr "" #: ../build/NEWS:10066 msgid "" "`bpo-36649 `__: Remove trailing spaces " "for registry keys when installed via the Store." msgstr "" #: ../build/NEWS:10069 msgid "" "`bpo-34144 `__: Fixed activate.bat to " "correctly update codepage when chcp.com returns dots in output. Patch by " "Lorenz Mende." msgstr "" #: ../build/NEWS:10072 msgid "" "`bpo-36509 `__: Added preset-iot layout " "for Windows IoT ARM containers. This layout doesn't contain UI components " "like tkinter or IDLE. It also doesn't contain files to support on-target " "builds since Windows ARM32 builds must be cross-compiled when using MSVC." msgstr "" #: ../build/NEWS:10077 msgid "" "`bpo-35941 `__: enum_certificates " "function of the ssl module now returns certificates from all available " "certificate stores inside windows in a query instead of returning only " "certificates from the system wide certificate store. This includes " "certificates from these certificate stores: local machine, local machine " "enterprise, local machine group policy, current user, current user group " "policy, services, users. ssl.enum_crls() function is changed in the same way " "to return all certificate revocation lists inside the windows certificate " "revocation list stores." msgstr "" #: ../build/NEWS:10087 msgid "" "`bpo-36441 `__: Fixes creating a venv " "when debug binaries are installed." msgstr "" #: ../build/NEWS:10089 msgid "" "`bpo-36085 `__: Enable better DLL " "resolution on Windows by using safe DLL search paths and adding :func:`os." "add_dll_directory`." msgstr "" #: ../build/NEWS:10092 msgid "" "`bpo-36010 `__: Add the venv standard " "library module to the nuget distribution for Windows." msgstr "" #: ../build/NEWS:10095 msgid "" "`bpo-29515 `__: Add the following socket " "module constants on Windows: IPPROTO_AH IPPROTO_CBT IPPROTO_DSTOPTS " "IPPROTO_EGP IPPROTO_ESP IPPROTO_FRAGMENT IPPROTO_GGP IPPROTO_HOPOPTS " "IPPROTO_ICLFXBM IPPROTO_ICMPV6 IPPROTO_IDP IPPROTO_IGMP IPPROTO_IGP " "IPPROTO_IPV4 IPPROTO_IPV6 IPPROTO_L2TP IPPROTO_MAX IPPROTO_ND IPPROTO_NONE " "IPPROTO_PGM IPPROTO_PIM IPPROTO_PUP IPPROTO_RDP IPPROTO_ROUTING IPPROTO_SCTP " "IPPROTO_ST" msgstr "" #: ../build/NEWS:10103 msgid "" "`bpo-35947 `__: Added current version of " "libffi to cpython-source-deps. Change _ctypes to use current version of " "libffi on Windows." msgstr "" #: ../build/NEWS:10106 msgid "" "`bpo-34060 `__: Report system load when " "running test suite on Windows. Patch by Ammar Askar. Based on prior work by " "Jeremy Kloth." msgstr "" #: ../build/NEWS:10109 msgid "" "`bpo-31512 `__: With the Windows 10 " "Creators Update, non-elevated users can now create symlinks as long as the " "computer has Developer Mode enabled." msgstr "" #: ../build/NEWS:10115 msgid "" "`bpo-34602 `__: Avoid failures setting " "macOS stack resource limit with resource.setrlimit. This reverts an earlier " "fix for `bpo-18075 `__ which forced a " "non-default stack size when building the interpreter executable on macOS." msgstr "" #: ../build/NEWS:10123 msgid "" "`bpo-36429 `__: Fix starting IDLE with " "pyshell. Add idlelib.pyshell alias at top; remove pyshell alias at bottom. " "Remove obsolete __name__=='__main__' command." msgstr "" #: ../build/NEWS:10130 msgid "" "`bpo-14546 `__: Fix the argument " "handling in Tools/scripts/lll.py." msgstr "" #: ../build/NEWS:10135 msgid "" "`bpo-36763 `__: Fix memory leak in :c:" "func:`Py_SetStandardStreamEncoding`: release memory if the function is " "called twice." msgstr "" #: ../build/NEWS:10138 msgid "" "`bpo-36641 `__: :c:macro:" "`PyDoc_VAR(name)` and :c:macro:`PyDoc_STRVAR(name,str)` now create ``static " "const char name[]`` instead of ``static char name[]``. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:10142 msgid "" "`bpo-36389 `__: Change the value of " "``CLEANBYTE``, ``DEADDYTE`` and ``FORBIDDENBYTE`` internal constants used by " "debug hooks on Python memory allocators (:c:func:`PyMem_SetupDebugHooks` " "function). Byte patterns ``0xCB``, ``0xDB`` and ``0xFB`` have been replaced " "with ``0xCD``, ``0xDD`` and ``0xFD`` to use the same values than Windows CRT " "debug ``malloc()`` and ``free()``." msgstr "" #: ../build/NEWS:10149 msgid "" "`bpo-36443 `__: Since Python 3.7.0, " "calling :c:func:`Py_DecodeLocale` before :c:func:`Py_Initialize` produces " "mojibake if the ``LC_CTYPE`` locale is coerced and/or if the UTF-8 Mode is " "enabled by the user configuration. The LC_CTYPE coercion and UTF-8 Mode are " "now disabled by default to fix the mojibake issue. They must now be enabled " "explicitly (opt-in) using the new :c:func:`_Py_PreInitialize` API with " "``_PyPreConfig``." msgstr "" #: ../build/NEWS:10156 msgid "" "`bpo-36025 `__: Fixed an accidental " "change to the datetime C API where the arguments to the :c:func:" "`PyDate_FromTimestamp` function were incorrectly interpreted as a single " "timestamp rather than an arguments tuple, which causes existing code to " "start raising :exc:`TypeError`. The backwards-incompatible change was only " "present in alpha releases of Python 3.8. Patch by Paul Ganssle." msgstr "" #: ../build/NEWS:10163 msgid "" "`bpo-35810 `__: Modify ``PyObject_Init`` " "to correctly increase the refcount of heap- allocated Type objects. Also fix " "the refcounts of the heap-allocated types that were either doing this " "manually or not decreasing the type's refcount in tp_dealloc" msgstr "" #: ../build/NEWS:10170 msgid "Python 3.8.0 alpha 3" msgstr "" #: ../build/NEWS:10172 msgid "*Release date: 2019-03-25*" msgstr "" #: ../build/NEWS:10177 msgid "" "`bpo-36216 `__: Changes urlsplit() to " "raise ValueError when the URL contains characters that decompose under IDNA " "encoding (NFKC-normalization) into characters that affect how the URL is " "parsed." msgstr "" #: ../build/NEWS:10181 msgid "" "`bpo-35121 `__: Don't send cookies of " "domain A without Domain attribute to domain B when domain A is a suffix " "match of domain B while using a cookiejar with :class:`http.cookiejar." "DefaultCookiePolicy` policy. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:10189 msgid "" "`bpo-36421 `__: Fix a possible double " "decref in _ctypes.c's ``PyCArrayType_new()``." msgstr "" #: ../build/NEWS:10192 msgid "" "`bpo-36412 `__: Fix a possible crash " "when creating a new dictionary." msgstr "" #: ../build/NEWS:10194 msgid "" "`bpo-36398 `__: Fix a possible crash in " "``structseq_repr()``." msgstr "" #: ../build/NEWS:10196 msgid "" "`bpo-36256 `__: Fix bug in parsermodule " "when parsing a state in a DFA that has two or more arcs with labels of the " "same type. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10199 msgid "" "`bpo-36365 `__: repr(structseq) is no " "longer limited to 512 bytes." msgstr "" #: ../build/NEWS:10201 msgid "" "`bpo-36374 `__: Fix a possible null " "pointer dereference in ``merge_consts_recursive()``. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10204 msgid "" "`bpo-36236 `__: At Python " "initialization, the current directory is no longer prepended to :data:`sys." "path` if it has been removed." msgstr "" #: ../build/NEWS:10207 msgid "" "`bpo-36352 `__: Python initialization " "now fails with an error, rather than silently truncating paths, if a path is " "too long." msgstr "" #: ../build/NEWS:10210 msgid "" "`bpo-36301 `__: Python initialization " "now fails if decoding ``pybuilddir.txt`` configuration file fails at startup." msgstr "" #: ../build/NEWS:10213 msgid "" "`bpo-36333 `__: Fix leak in " "_PyRuntimeState_Fini. Contributed by Stéphane Wirtel." msgstr "" #: ../build/NEWS:10216 msgid "" "`bpo-36332 `__: The builtin :func:" "`compile` can now handle AST objects that contain assignment expressions. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10219 msgid "" "`bpo-36282 `__: Improved error message " "for too much positional arguments in some builtin functions." msgstr "" #: ../build/NEWS:10222 msgid "" "`bpo-30040 `__: New empty dict uses " "fewer memory for now. It used more memory than empty dict created by ``dict." "clear()``. And empty dict creation and deletion is about 2x faster. Patch " "by Inada Naoki." msgstr "" #: ../build/NEWS:10226 msgid "" "`bpo-36262 `__: Fix an unlikely memory " "leak on conversion from string to float in the function ``_Py_dg_strtod()`` " "used by ``float(str)``, ``complex(str)``, :func:`pickle.load`, :func:" "`marshal.load`, etc." msgstr "" #: ../build/NEWS:10230 msgid "" "`bpo-36252 `__: Update Unicode databases " "to version 12.0.0." msgstr "" #: ../build/NEWS:10232 msgid "" "`bpo-36218 `__: Fix a segfault occurring " "when sorting a list of heterogeneous values. Patch contributed by Rémi " "Lapeyre and Elliot Gorokhovsky." msgstr "" #: ../build/NEWS:10235 msgid "" "`bpo-36188 `__: Cleaned up left-over " "vestiges of Python 2 unbound method handling in method objects and " "documentation. Patch by Martijn Pieters" msgstr "" #: ../build/NEWS:10238 msgid "" "`bpo-36124 `__: Add a new interpreter-" "specific dict and expose it in the C-API via PyInterpreterState_GetDict(). " "This parallels PyThreadState_GetDict(). However, extension modules should " "continue using PyModule_GetState() for their own internal per-interpreter " "state." msgstr "" #: ../build/NEWS:10243 msgid "" "`bpo-35975 `__: Add a " "``feature_version`` flag to ``ast.parse()`` (documented) and ``compile()`` " "(hidden) that allows tweaking the parser to support older versions of the " "grammar. In particular, if ``feature_version`` is 5 or 6, the hacks for the " "``async`` and ``await`` keyword from PEP 492 are reinstated. (For 7 or " "higher, these are unconditionally treated as keywords, but they are still " "special tokens rather than ``NAME`` tokens that the parser driver " "recognizes.)" msgstr "" #: ../build/NEWS:10251 msgid "" "`bpo-31904 `__: Use UTF-8 as the system " "encoding on VxWorks." msgstr "" #: ../build/NEWS:10253 msgid "" "`bpo-36048 `__: The :meth:`~object." "__index__` special method will be used instead of :meth:`~object.__int__` " "for implicit conversion of Python numbers to C integers. Using the " "``__int__()`` method in implicit conversions has been deprecated." msgstr "" #: ../build/NEWS:10258 msgid "" "`bpo-35808 `__: Retire pgen and use a " "modified version of pgen2 to generate the parser. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10264 msgid "" "`bpo-36401 `__: The class documentation " "created by pydoc now has a separate section for readonly properties." msgstr "" #: ../build/NEWS:10267 msgid "" "`bpo-36320 `__: The typing.NamedTuple() " "class has deprecated the _field_types attribute in favor of the " "__annotations__ attribute which carried the same information. Also, both " "attributes were converted from OrderedDict to a regular dict." msgstr "" #: ../build/NEWS:10272 msgid "" "`bpo-34745 `__: Fix :mod:`asyncio` ssl " "memory issues caused by circular references" msgstr "" #: ../build/NEWS:10275 msgid "" "`bpo-36324 `__: Add method to statistics." "NormalDist for computing the inverse cumulative normal distribution." msgstr "" #: ../build/NEWS:10278 msgid "" "`bpo-36321 `__: collections.namedtuple() " "misspelled the name of an attribute. To be consistent with typing." "NamedTuple, the attribute name should have been \"_field_defaults\" instead " "of \"_fields_defaults\". For backwards compatibility, both spellings are " "now created. The misspelled version may be removed in the future." msgstr "" #: ../build/NEWS:10284 msgid "" "`bpo-36297 `__: \"unicode_internal\" " "codec is removed. It was deprecated since Python 3.3. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:10287 msgid "" "`bpo-36298 `__: Raise " "ModuleNotFoundError in pyclbr when a module can't be found. Thanks to " "'mental' for the bug report." msgstr "" #: ../build/NEWS:10290 msgid "" "`bpo-36268 `__: Switch the default " "format used for writing tars with mod:`tarfile` to the modern POSIX.1-2001 " "pax standard, from the vendor-specific GNU. Contributed by C.A.M. Gerlach." msgstr "" #: ../build/NEWS:10294 msgid "" "`bpo-36285 `__: Fix integer overflows in " "the array module. Patch by Stephan Hohe." msgstr "" #: ../build/NEWS:10297 msgid "" "`bpo-31904 `__: Add _signal module " "support for VxWorks." msgstr "" #: ../build/NEWS:10299 msgid "" "`bpo-36272 `__: :mod:`logging` does not " "silently ignore RecursionError anymore. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:10302 msgid "" "`bpo-36280 `__: Add a kind field to ast." "Constant. It is 'u' if the literal has a 'u' prefix (i.e. a Python 2 style " "unicode literal), else None." msgstr "" #: ../build/NEWS:10305 msgid "" "`bpo-35931 `__: The :mod:`pdb` ``debug`` " "command now gracefully handles all exceptions." msgstr "" #: ../build/NEWS:10308 msgid "" "`bpo-36251 `__: Fix format strings used " "for stderrprinter and re.Match reprs. Patch by Stephan Hohe." msgstr "" #: ../build/NEWS:10311 msgid "" "`bpo-36235 `__: Fix ``CFLAGS`` in " "``customize_compiler()`` of ``distutils.sysconfig``: when the ``CFLAGS`` " "environment variable is defined, don't override ``CFLAGS`` variable with the " "``OPT`` variable anymore. Initial patch written by David Malcolm." msgstr "" #: ../build/NEWS:10316 msgid "" "`bpo-35807 `__: Update ensurepip to " "install pip 19.0.3 and setuptools 40.8.0." msgstr "" #: ../build/NEWS:10318 msgid "" "`bpo-36139 `__: Release GIL when " "closing :class:`~mmap.mmap` objects." msgstr "" #: ../build/NEWS:10320 msgid "" "`bpo-36179 `__: Fix two unlikely " "reference leaks in _hashopenssl. The leaks only occur in out-of-memory cases." msgstr "" #: ../build/NEWS:10323 msgid "" "`bpo-36169 `__: Add overlap() method to " "statistics.NormalDist. Computes the overlapping coefficient for two normal " "distributions." msgstr "" #: ../build/NEWS:10326 msgid "" "`bpo-36103 `__: Default buffer size used " "by ``shutil.copyfileobj()`` is changed from 16 KiB to 64 KiB on non-Windows " "platform to reduce system call overhead. Contributed by Inada Naoki." msgstr "" #: ../build/NEWS:10330 msgid "" "`bpo-36130 `__: Fix ``pdb`` with " "``skip=...`` when stepping into a frame without a ``__name__`` global. " "Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:10333 msgid "" "`bpo-35652 `__: shutil." "copytree(copy_function=...) erroneously pass DirEntry instead of a path " "string." msgstr "" #: ../build/NEWS:10336 msgid "" "`bpo-35178 `__: Ensure custom :func:" "`warnings.formatwarning` function can receive `line` as positional argument. " "Based on patch by Tashrif Billah." msgstr "" #: ../build/NEWS:10339 msgid "" "`bpo-36106 `__: Resolve potential name " "clash with libm's sinpi(). Patch by Dmitrii Pasechnik." msgstr "" #: ../build/NEWS:10342 msgid "" "`bpo-36091 `__: Clean up reference to " "async generator in Lib/types. Patch by Henry Chen." msgstr "" #: ../build/NEWS:10345 msgid "" "`bpo-36043 `__: :class:`FileCookieJar` " "supports :term:`path-like object`. Contributed by Stéphane Wirtel" msgstr "" #: ../build/NEWS:10348 msgid "" "`bpo-35899 `__: Enum has been fixed to " "correctly handle empty strings and strings with non-Latin characters (ie. " "'α', 'א') without crashing. Original patch contributed by Maxwell. Assisted " "by Stéphane Wirtel." msgstr "" #: ../build/NEWS:10352 msgid "" "`bpo-21269 `__: Add ``args`` and " "``kwargs`` properties to mock call objects. Contributed by Kumar Akshay." msgstr "" #: ../build/NEWS:10355 msgid "" "`bpo-30670 `__: `pprint.pp` has been " "added to pretty-print objects with dictionary keys being sorted with their " "insertion order by default. Parameter *sort_dicts* has been added to `pprint." "pprint`, `pprint.pformat` and `pprint.PrettyPrinter`. Contributed by Rémi " "Lapeyre." msgstr "" #: ../build/NEWS:10360 msgid "" "`bpo-35843 `__: Implement " "``__getitem__`` for ``_NamespacePath``. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:10363 msgid "" "`bpo-35802 `__: Clean up code which " "checked presence of ``os.stat`` / ``os.lstat`` / ``os.chmod`` which are " "always present. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:10367 msgid "" "`bpo-35715 `__: Librates the return " "value of a ProcessPoolExecutor _process_worker after it's no longer needed " "to free memory" msgstr "" #: ../build/NEWS:10370 msgid "" "`bpo-35493 `__: Use :func:" "`multiprocessing.connection.wait` instead of polling each 0.2 seconds for " "worker updates in :class:`multiprocessing.Pool`. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10374 msgid "" "`bpo-35661 `__: Store the venv prompt in " "pyvenv.cfg." msgstr "" #: ../build/NEWS:10376 msgid "" "`bpo-35121 `__: Don't set cookie for a " "request when the request path is a prefix match of the cookie's path " "attribute but doesn't end with \"/\". Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:10380 msgid "" "`bpo-21478 `__: Calls to a child " "function created with :func:`unittest.mock.create_autospec` should propagate " "to the parent. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:10384 msgid "" "`bpo-35198 `__: Fix C++ extension " "compilation on AIX" msgstr "" #: ../build/NEWS:10389 msgid "" "`bpo-36329 `__: Declare the path of the " "Python binary for the usage of ``Tools/scripts/serve.py`` when executing " "``make -C Doc/ serve``. Contributed by Stéphane Wirtel" msgstr "" #: ../build/NEWS:10393 msgid "" "`bpo-36138 `__: Improve documentation " "about converting datetime.timedelta to scalars." msgstr "" #: ../build/NEWS:10396 msgid "" "`bpo-21314 `__: A new entry was added to " "the Core Language Section of the Programming FAQ, which explaines the usage " "of slash(/) in the signature of a function. Patch by Lysandros Nikolaou" msgstr "" #: ../build/NEWS:10403 msgid "" "`bpo-36234 `__: test_posix." "PosixUidGidTests: add tests for invalid uid/gid type (str). Initial patch " "written by David Malcolm." msgstr "" #: ../build/NEWS:10406 msgid "" "`bpo-29571 `__: Fix ``test_re." "test_locale_flag()``: use ``locale.getpreferredencoding()`` rather than " "``locale.getlocale()`` to get the locale encoding. With some locales, " "``locale.getlocale()`` returns the wrong encoding." msgstr "" #: ../build/NEWS:10411 msgid "" "`bpo-36123 `__: Fix race condition in " "test_socket." msgstr "" #: ../build/NEWS:10416 msgid "" "`bpo-36356 `__: Fix leaks that led to " "build failure when configured with address sanitizer." msgstr "" #: ../build/NEWS:10419 msgid "" "`bpo-36146 `__: Add ``TEST_EXTENSIONS`` " "constant to ``setup.py`` to allow to not build test extensions like " "``_testcapi``." msgstr "" #: ../build/NEWS:10422 msgid "" "`bpo-36146 `__: Fix setup.py on macOS: " "only add ``/usr/include/ffi`` to include directories of _ctypes, not for all " "extensions." msgstr "" #: ../build/NEWS:10425 msgid "" "`bpo-31904 `__: Enable build system to " "cross-build for VxWorks RTOS." msgstr "" #: ../build/NEWS:10430 msgid "" "`bpo-36312 `__: Fixed decoders for the " "following code pages: 50220, 50221, 50222, 50225, 50227, 50229, 57002 " "through 57011, 65000 and 42." msgstr "" #: ../build/NEWS:10433 msgid "" "`bpo-36264 `__: Don't honor POSIX " "``HOME`` in ``os.path.expanduser`` on windows. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:10436 msgid "" "`bpo-24643 `__: Fix name collisions due " "to ``#define timezone _timezone`` in PC/pyconfig.h." msgstr "" #: ../build/NEWS:10442 msgid "" "`bpo-36405 `__: Use dict unpacking in " "idlelib." msgstr "" #: ../build/NEWS:10444 msgid "" "`bpo-36396 `__: Remove fgBg param of " "idlelib.config.GetHighlight(). This param was only used twice and changed " "the return type." msgstr "" #: ../build/NEWS:10447 msgid "" "`bpo-36176 `__: Fix IDLE autocomplete & " "calltip popup colors. Prevent conflicts with Linux dark themes (and slightly " "darken calltip background)." msgstr "" #: ../build/NEWS:10450 msgid "" "`bpo-23205 `__: For the grep module, add " "tests for findfiles, refactor findfiles to be a module-level function, and " "refactor findfiles to use os.walk." msgstr "" #: ../build/NEWS:10454 msgid "" "`bpo-23216 `__: Add docstrings to IDLE " "search modules." msgstr "" #: ../build/NEWS:10456 msgid "" "`bpo-36152 `__: Remove colorizer." "ColorDelegator.close_when_done and the corresponding argument of .close(). " "In IDLE, both have always been None or False since 2007." msgstr "" #: ../build/NEWS:10460 msgid "" "`bpo-32129 `__: Avoid blurry IDLE " "application icon on macOS with Tk 8.6. Patch by Kevin Walzer." msgstr "" #: ../build/NEWS:10463 msgid "" "`bpo-36096 `__: Refactor class variables " "to instance variables in colorizer." msgstr "" #: ../build/NEWS:10465 msgid "" "`bpo-30348 `__: Increase test coverage " "of idlelib.autocomplete by 30%. Patch by Louie Lu" msgstr "" #: ../build/NEWS:10471 msgid "" "`bpo-35132 `__: Fix py-list and py-bt " "commands of python-gdb.py on gdb7." msgstr "" #: ../build/NEWS:10473 msgid "" "`bpo-32217 `__: Fix freeze script on " "Windows." msgstr "" #: ../build/NEWS:10478 msgid "" "`bpo-36381 `__: Raise " "``DeprecationWarning`` when '#' formats are used for building or parsing " "values without ``PY_SSIZE_T_CLEAN``." msgstr "" #: ../build/NEWS:10481 msgid "" "`bpo-36142 `__: The whole coreconfig.h " "header is now excluded from Py_LIMITED_API. Move functions definitions into " "a new internal pycore_coreconfig.h header." msgstr "" #: ../build/NEWS:10487 msgid "Python 3.8.0 alpha 2" msgstr "" #: ../build/NEWS:10489 msgid "*Release date: 2019-02-25*" msgstr "" #: ../build/NEWS:10494 msgid "" "`bpo-36052 `__: Raise a :exc:" "`SyntaxError` when assigning a value to `__debug__` with the Assignment " "Operator. Contributed by Stéphane Wirtel and Pablo Galindo." msgstr "" #: ../build/NEWS:10498 msgid "" "`bpo-36012 `__: Doubled the speed of " "class variable writes. When a non-dunder attribute was updated, there was " "an unnecessary call to update slots." msgstr "" #: ../build/NEWS:10501 msgid "" "`bpo-35942 `__: The error message " "emitted when returning invalid types from ``__fspath__`` in interfaces that " "allow passing :class:`~os.PathLike` objects has been improved and now it " "does explain the origin of the error." msgstr "" #: ../build/NEWS:10505 msgid "" "`bpo-36016 `__: ``gc.get_objects`` can " "now receive an optional parameter indicating a generation to get objects " "from. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10508 msgid "" "`bpo-1054041 `__: When the main " "interpreter exits due to an uncaught KeyboardInterrupt, the process now " "exits in the appropriate manner for its parent process to detect that a " "SIGINT or ^C terminated the process. This allows shells and batch scripts " "to understand that the user has asked them to stop." msgstr "" #: ../build/NEWS:10514 msgid "" "`bpo-35992 `__: Fix " "``__class_getitem__()`` not being called on a class with a custom non-" "subscriptable metaclass." msgstr "" #: ../build/NEWS:10517 msgid "" "`bpo-35993 `__: Fix a crash on fork when " "using subinterpreters. Contributed by Stéphane Wirtel" msgstr "" #: ../build/NEWS:10520 msgid "" "`bpo-35991 `__: Fix a potential double " "free in Modules/_randommodule.c." msgstr "" #: ../build/NEWS:10522 msgid "" "`bpo-35961 `__: Fix a crash in " "slice_richcompare(): use strong references rather than stolen references for " "the two temporary internal tuples." msgstr "" #: ../build/NEWS:10525 msgid "" "`bpo-35911 `__: Enable the creation of " "cell objects by adding a ``cell.__new__`` method, and expose the type " "``cell`` in ``Lib/types.py`` under the name CellType. Patch by Pierre Glaser." msgstr "" #: ../build/NEWS:10529 msgid "" "`bpo-12822 `__: Use monotonic clock for " "``pthread_cond_timedwait`` when ``pthread_condattr_setclock`` and " "``CLOCK_MONOTONIC`` are available." msgstr "" #: ../build/NEWS:10532 msgid "" "`bpo-15248 `__: The compiler emits now " "syntax warnings in the case when a comma is likely missed before tuple or " "list." msgstr "" #: ../build/NEWS:10535 msgid "" "`bpo-35886 `__: The implementation of " "PyInterpreterState has been moved into the internal header files (guarded by " "Py_BUILD_CORE)." msgstr "" #: ../build/NEWS:10538 msgid "" "`bpo-31506 `__: Clarify the errors " "reported when ``object.__new__`` and ``object.__init__`` receive more than " "one argument. Contributed by Sanyam Khurana." msgstr "" #: ../build/NEWS:10542 msgid "" "`bpo-35724 `__: Signal-handling is now " "guaranteed to happen relative to the main interpreter." msgstr "" #: ../build/NEWS:10545 msgid "" "`bpo-33608 `__: We added a new internal " "_Py_AddPendingCall() that operates relative to the provided interpreter. " "This allows us to use the existing implementation to ask another interpreter " "to do work that cannot be done in the current interpreter, like decref an " "object the other interpreter owns. The existing Py_AddPendingCall() only " "operates relative to the main interpreter." msgstr "" #: ../build/NEWS:10552 msgid "" "`bpo-33989 `__: Fix a possible crash in :" "meth:`list.sort` when sorting objects with ``ob_type->tp_richcompare == " "NULL``. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10558 msgid "" "`bpo-35512 `__: :func:`unittest.mock." "patch.dict` used as a decorator with string target resolves the target " "during function call instead of during decorator construction. Patch by " "Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:10562 msgid "" "`bpo-36018 `__: Add statistics." "NormalDist, a tool for creating and manipulating normal distributions of " "random variable. Features a composite class that treats the mean and " "standard deviation of measurement data as single entity." msgstr "" #: ../build/NEWS:10567 msgid "" "`bpo-35904 `__: Added statistics.fmean() " "as a faster, floating point variant of the existing mean() function." msgstr "" #: ../build/NEWS:10570 msgid "" "`bpo-35918 `__: Removed broken " "``has_key`` method from multiprocessing.managers.SyncManager.dict. " "Contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:10573 msgid "" "`bpo-18283 `__: Add support for bytes " "to :func:`shutil.which`." msgstr "" #: ../build/NEWS:10575 msgid "" "`bpo-35960 `__: Fix :func:`dataclasses." "field` throwing away empty mapping objects passed as metadata." msgstr "" #: ../build/NEWS:10578 msgid "" "`bpo-35500 `__: Write expected and " "actual call parameters on separate lines in :meth:`unittest.mock.Mock." "assert_called_with` assertion errors. Contributed by Susan Su." msgstr "" #: ../build/NEWS:10582 msgid "" "`bpo-35931 `__: The :mod:`pdb` ``debug`` " "command now gracefully handles syntax errors." msgstr "" #: ../build/NEWS:10585 msgid "" "`bpo-24209 `__: In http.server script, " "rely on getaddrinfo to bind to preferred address based on the bind " "parameter. Now default bind or binding to a name may bind to IPv6 or dual-" "stack, depending on the environment." msgstr "" #: ../build/NEWS:10589 msgid "" "`bpo-35321 `__: Set ``__spec__.origin`` " "of ``_frozen_importlib`` to frozen so that it matches the behavior of " "``_frozen_importlib_external``. Patch by Nina Zakharenko." msgstr "" #: ../build/NEWS:10593 msgid "" "`bpo-35378 `__: Fix a reference issue " "inside :class:`multiprocessing.Pool` that caused the pool to remain alive if " "it was deleted without being closed or terminated explicitly. A new strong " "reference is added to the pool iterators to link the lifetime of the pool to " "the lifetime of its iterators so the pool does not get destroyed if a pool " "iterator is still alive." msgstr "" #: ../build/NEWS:10600 msgid "" "`bpo-34294 `__: re module, fix wrong " "capturing groups in rare cases. :func:`re.search`, :func:`re.findall`, :func:" "`re.sub` and other functions that scan through string looking for a match, " "should reset capturing groups between two match attempts. Patch by Ma Lin." msgstr "" #: ../build/NEWS:10605 msgid "" "`bpo-35615 `__: :mod:`weakref`: Fix a " "RuntimeError when copying a WeakKeyDictionary or a WeakValueDictionary, due " "to some keys or values disappearing while iterating." msgstr "" #: ../build/NEWS:10609 msgid "" "`bpo-35606 `__: Implement :func:`math." "prod` as analogous function to :func:`sum` that returns the product of a " "'start' value (default: 1) times an iterable of numbers. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:10613 msgid "" "`bpo-32417 `__: Performing arithmetic " "between :class:`datetime.datetime` subclasses and :class:`datetime." "timedelta` now returns an object of the same type as the :class:`datetime." "datetime` subclass. As a result, :meth:`datetime.datetime.astimezone` and " "alternate constructors like :meth:`datetime.datetime.now` and :meth:" "`datetime.fromtimestamp` called with a ``tz`` argument now *also* retain " "their subclass." msgstr "" #: ../build/NEWS:10620 msgid "" "`bpo-35153 `__: Add *headers* optional " "keyword-only parameter to :class:`xmlrpc.client.ServerProxy`, :class:`xmlrpc." "client.Transport` and :class:`xmlrpc.client.SafeTransport`. Patch by Cédric " "Krier." msgstr "" #: ../build/NEWS:10624 msgid "" "`bpo-34572 `__: Fix C implementation of " "pickle.loads to use importlib's locking mechanisms, and thereby avoid using " "partially-loaded modules. Patch by Tim Burgess." msgstr "" #: ../build/NEWS:10631 msgid "" "`bpo-36083 `__: Fix formatting of --" "check-hash-based-pycs options in the manpage Synopsis." msgstr "" #: ../build/NEWS:10634 msgid "" "`bpo-36007 `__: Bump minimum sphinx " "version to 1.8. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:10636 msgid "" "`bpo-22062 `__: Update documentation and " "docstrings for pathlib. Original patch by Mike Short." msgstr "" #: ../build/NEWS:10642 msgid "" "`bpo-27313 `__: Avoid test_ttk_guionly " "ComboboxTest failure with macOS Cocoa Tk." msgstr "" #: ../build/NEWS:10645 msgid "" "`bpo-36019 `__: Add test.support." "TEST_HTTP_URL and replace references of http://www.example.com by this new " "constant. Contributed by Stéphane Wirtel." msgstr "" #: ../build/NEWS:10649 msgid "" "`bpo-36037 `__: Fix test_ssl for strict " "OpenSSL configuration like RHEL8 strict crypto policy. Use older TLS version " "for minimum TLS version of the server SSL context if needed, to test TLS " "version older than default minimum TLS version." msgstr "" #: ../build/NEWS:10654 msgid "" "`bpo-35798 `__: Added :func:`test." "support.check_syntax_warning`." msgstr "" #: ../build/NEWS:10656 msgid "" "`bpo-35505 `__: Make " "test_imap4_host_default_value independent on whether the local IMAP server " "is running." msgstr "" #: ../build/NEWS:10659 msgid "" "`bpo-35917 `__: multiprocessing: provide " "unit tests for SyncManager and SharedMemoryManager classes + all the " "shareable types which are supposed to be supported by them. (patch by " "Giampaolo Rodola)" msgstr "" #: ../build/NEWS:10663 msgid "" "`bpo-35704 `__: Skip ``test_shutil." "test_unpack_archive_xztar`` to prevent a MemoryError on 32-bit AIX when " "MAXDATA setting is less than 0x20000000." msgstr "" #: ../build/NEWS:10666 msgid "Patch by Michael Felt (aixtools)" msgstr "" #: ../build/NEWS:10668 msgid "" "`bpo-34720 `__: Assert m_state != NULL " "to mimic GC traversal functions that do not correctly handle module creation " "when the module state has not been created." msgstr "" #: ../build/NEWS:10675 msgid "" "`bpo-35976 `__: Added ARM build support " "to Windows build files in PCBuild." msgstr "" #: ../build/NEWS:10677 msgid "" "`bpo-35692 `__: ``pathlib`` no longer " "raises when checking file and directory existence on drives that are not " "ready" msgstr "" #: ../build/NEWS:10680 msgid "" "`bpo-35872 `__: Uses the base Python " "executable when invoking venv in a virtual environment" msgstr "" #: ../build/NEWS:10683 msgid "" "`bpo-35873 `__: Prevents venv paths " "being inherited by child processes" msgstr "" #: ../build/NEWS:10685 msgid "" "`bpo-35299 `__: Fix sysconfig detection " "of the source directory and distutils handling of pyconfig.h during PGO " "profiling" msgstr "" #: ../build/NEWS:10691 msgid "" "`bpo-24310 `__: IDLE -- Document " "settings dialog font tab sample." msgstr "" #: ../build/NEWS:10693 msgid "" "`bpo-35833 `__: Revise IDLE doc for " "control codes sent to Shell. Add a code example block." msgstr "" #: ../build/NEWS:10696 msgid "" "`bpo-35689 `__: Add docstrings and " "unittests for colorizer.py." msgstr "" #: ../build/NEWS:10700 msgid "Python 3.8.0 alpha 1" msgstr "" #: ../build/NEWS:10702 msgid "*Release date: 2019-02-03*" msgstr "" #: ../build/NEWS:10707 msgid "" "`bpo-35746 `__: [CVE-2019-5010] 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. Vulnerability (TALOS-2018-0758) " "reported by Colin Read and Nicolas Edet of Cisco." msgstr "" #: ../build/NEWS:10713 msgid "" "`bpo-34812 `__: The :option:`-I` command " "line option (run Python in isolated mode) is now also copied by the :mod:" "`multiprocessing` and :mod:`distutils` modules when spawning child " "processes. Previously, only :option:`-E` and :option:`-s` options (enabled " "by :option:`-I`) were copied." msgstr "" #: ../build/NEWS:10719 msgid "" "`bpo-34791 `__: The xml.sax and xml.dom." "domreg no longer use environment variables to override parser " "implementations when sys.flags.ignore_environment is set by -E or -I " "arguments." msgstr "" #: ../build/NEWS:10723 msgid "" "`bpo-17239 `__: The xml.sax and xml.dom." "minidom parsers no longer processes external entities by default. External " "DTD and ENTITY declarations no longer load files or create network " "connections." msgstr "" #: ../build/NEWS:10727 msgid "" "`bpo-34623 `__: CVE-2018-14647: The C " "accelerated _elementtree module now initializes hash randomization salt from " "_Py_HashSecret instead of libexpat's default CSPRNG." msgstr "" #: ../build/NEWS:10731 msgid "" "`bpo-34405 `__: Updated to OpenSSL " "1.1.0i for Windows builds." msgstr "" #: ../build/NEWS:10733 msgid "" "`bpo-33871 `__: Fixed sending the part " "of the file in :func:`os.sendfile` on macOS. Using the *trailers* argument " "could cause sending more bytes from the input file than was specified." msgstr "" #: ../build/NEWS:10737 msgid "" "`bpo-32533 `__: Fixed thread-safety of " "error handling in _ssl." msgstr "" #: ../build/NEWS:10739 ../build/NEWS:14238 msgid "" "`bpo-33136 `__: Harden ssl module " "against LibreSSL CVE-2018-8970. X509_VERIFY_PARAM_set1_host() is called with " "an explicit namelen. A new test ensures that NULL bytes are not allowed." msgstr "" #: ../build/NEWS:10743 ../build/NEWS:14242 ../build/NEWS:18635 msgid "" "`bpo-33001 `__: Minimal fix to prevent " "buffer overrun in os.symlink on Windows" msgstr "" #: ../build/NEWS:10745 ../build/NEWS:14244 ../build/NEWS:18637 msgid "" "`bpo-32981 `__: Regexes in difflib and " "poplib were vulnerable to catastrophic backtracking. These regexes formed " "potential DOS vectors (REDOS). They have been refactored. This resolves " "CVE-2018-1060 and CVE-2018-1061. Patch by Jamie Davis." msgstr "" #: ../build/NEWS:10750 ../build/NEWS:14456 msgid "" "`bpo-28414 `__: The ssl module now " "allows users to perform their own IDN en/decoding when using SNI." msgstr "" #: ../build/NEWS:10756 msgid "" "`bpo-35877 `__: Make parenthesis " "optional for named expressions in while statement. Patch by Karthikeyan " "Singaravelan." msgstr "" #: ../build/NEWS:10759 msgid "" "`bpo-35814 `__: Allow same right hand " "side expressions in annotated assignments as in normal ones. In particular, " "``x: Tuple[int, int] = 1, 2`` (without parentheses on the right) is now " "allowed." msgstr "" #: ../build/NEWS:10763 msgid "" "`bpo-35766 `__: Add the option to parse " "PEP 484 type comments in the ast module. (Off by default.) This is merging " "the key functionality of the third party fork thereof, [typed_ast](https://" "github.com/python/typed_ast)." msgstr "" #: ../build/NEWS:10768 msgid "" "`bpo-35713 `__: Reorganize Python " "initialization to get working exceptions and sys.stderr earlier." msgstr "" #: ../build/NEWS:10771 msgid "" "`bpo-33416 `__: Add end line and end " "column position information to the Python AST nodes. This is a C-level " "backwards incompatible change." msgstr "" #: ../build/NEWS:10774 msgid "" "`bpo-35720 `__: Fixed a minor memory " "leak in pymain_parse_cmdline_impl function in Modules/main.c" msgstr "" #: ../build/NEWS:10777 msgid "" "`bpo-35634 `__: ``func(**kwargs)`` will " "now raise an error when ``kwargs`` is a mapping containing multiple entries " "with the same key. An error was already raised when other keyword arguments " "are passed before ``**kwargs`` since Python 3.6." msgstr "" #: ../build/NEWS:10782 msgid "" "`bpo-35623 `__: Fix a crash when sorting " "very long lists. Patch by Stephan Hohe." msgstr "" #: ../build/NEWS:10785 msgid "" "`bpo-35214 `__: clang Memory Sanitizer " "build instrumentation was added to work around false positives from posix, " "socket, time, test_io, and test_faulthandler." msgstr "" #: ../build/NEWS:10789 msgid "" "`bpo-35560 `__: Fix an assertion error " "in :func:`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." msgstr "" #: ../build/NEWS:10793 msgid "" "`bpo-35552 `__: Format characters ``%s`` " "and ``%V`` in :c:func:`PyUnicode_FromFormat` and ``%s`` in :c:func:" "`PyBytes_FromFormat` no longer read memory past the limit if *precision* is " "specified." msgstr "" #: ../build/NEWS:10797 msgid "" "`bpo-35504 `__: Fix segfaults and :exc:" "`SystemError`\\ s when deleting certain attributes. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10800 msgid "" "`bpo-35504 `__: Fixed a SystemError when " "delete the characters_written attribute of an OSError." msgstr "" #: ../build/NEWS:10803 msgid "" "`bpo-35494 `__: Improved syntax error " "messages for unbalanced parentheses in f-string." msgstr "" #: ../build/NEWS:10806 msgid "" "`bpo-35444 `__: Fixed error handling in " "pickling methods when fail to look up builtin \"getattr\". Sped up pickling " "iterators." msgstr "" #: ../build/NEWS:10809 msgid "" "`bpo-35436 `__: Fix various issues with " "memory allocation error handling. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10812 msgid "" "`bpo-35423 `__: Separate 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." msgstr "" #: ../build/NEWS:10816 msgid "" "`bpo-35357 `__: Internal attributes' " "names of unittest.mock._Call and unittest.mock.MagicProxy (name, parent & " "from_kall) are now prefixed with _mock_ in order to prevent clashes with " "widely used object attributes. Fixed minor typo in test function name." msgstr "" #: ../build/NEWS:10821 msgid "" "`bpo-35372 `__: Fixed the code page " "decoder for input longer than 2 GiB containing undecodable bytes." msgstr "" #: ../build/NEWS:10824 msgid "" "`bpo-35336 `__: Fix " "PYTHONCOERCECLOCALE=1 environment variable: only coerce the C locale if the " "LC_CTYPE locale is \"C\"." msgstr "" #: ../build/NEWS:10827 msgid "" "`bpo-31241 `__: The *lineno* and " "*col_offset* attributes of AST nodes for list comprehensions, generator " "expressions and tuples are now point to the opening parenthesis or square " "brace. For tuples without parenthesis they point to the position of the " "first item." msgstr "" #: ../build/NEWS:10832 msgid "" "`bpo-33954 `__: For :meth:`str.format`, :" "meth:`float.__format__` and :meth:`complex.__format__` methods for non-ASCII " "decimal point when using the \"n\" formatter." msgstr "" #: ../build/NEWS:10836 msgid "" "`bpo-35269 `__: Fix a possible segfault " "involving a newly-created coroutine. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10839 msgid "" "`bpo-35224 `__: Implement :pep:`572` " "(assignment expressions). Patch by Emily Morehouse." msgstr "" #: ../build/NEWS:10842 msgid "" "`bpo-32492 `__: Speed up :class:" "`namedtuple` attribute access by 1.6x using a C fast-path for the name " "descriptors. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10845 msgid "" "`bpo-35214 `__: Fixed an out of bounds " "memory access when parsing a truncated unicode escape sequence at the end of " "a string such as ``'\\N'``. It would read one byte beyond the end of the " "memory allocation." msgstr "" #: ../build/NEWS:10849 msgid "" "`bpo-35214 `__: The interpreter and " "extension modules have had annotations added so that they work properly " "under clang's Memory Sanitizer. A new configure flag --with-memory-" "sanitizer has been added to make test builds of this nature easier to " "perform." msgstr "" #: ../build/NEWS:10854 msgid "" "`bpo-35193 `__: Fix an off by one error " "in the bytecode peephole optimizer where it could read bytes beyond the end " "of bounds of an array when removing unreachable code. This bug was present " "in every release of Python 3.6 and 3.7 until now." msgstr "" #: ../build/NEWS:10859 msgid "" "`bpo-35169 `__: Improved error messages " "for forbidden assignments." msgstr "" #: ../build/NEWS:10861 msgid "" "`bpo-34022 `__: Fix handling of hash-" "based bytecode files in :mod:`zipimport`. Patch by Elvis Pranskevichus." msgstr "" #: ../build/NEWS:10864 msgid "" "`bpo-28401 `__: Debug builds will no " "longer to attempt to import extension modules built for the ABI as they were " "never compatible to begin with. Patch by Stefano Rivera." msgstr "" #: ../build/NEWS:10868 msgid "" "`bpo-29341 `__: Clarify in the " "docstrings of :mod:`os` methods that path-like objects are also accepted as " "input parameters." msgstr "" #: ../build/NEWS:10871 msgid "" "`bpo-35050 `__: :mod:`socket`: Fix off-" "by-one bug in length check for ``AF_ALG`` name and type." msgstr "" #: ../build/NEWS:10874 msgid "" "`bpo-29743 `__: Raise :exc:`ValueError` " "instead of :exc:`OverflowError` in case of a negative ``_length_`` in a :" "class:`ctypes.Array` subclass. Also raise :exc:`TypeError` instead of :exc:" "`AttributeError` for non-integer ``_length_``. Original patch by Oren Milman." msgstr "" #: ../build/NEWS:10879 msgid "" "`bpo-16806 `__: Fix ``lineno`` and " "``col_offset`` for multi-line string tokens." msgstr "" #: ../build/NEWS:10881 msgid "" "`bpo-35029 `__: :exc:`SyntaxWarning` " "raised as an exception at code generation time will be now replaced with a :" "exc:`SyntaxError` for better error reporting." msgstr "" #: ../build/NEWS:10885 msgid "" "`bpo-34983 `__: Expose :meth:`symtable." "Symbol.is_nonlocal` in the symtable module. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10888 msgid "" "`bpo-34974 `__: :class:`bytes` and :" "class:`bytearray` constructors no longer convert unexpected exceptions (e." "g. :exc:`MemoryError` and :exc:`KeyboardInterrupt`) to :exc:`TypeError`." msgstr "" #: ../build/NEWS:10892 msgid "" "`bpo-34939 `__: Allow annotated names in " "module namespace that are declared global before the annotation happens. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:10895 msgid "" "`bpo-34973 `__: Fixed crash in :func:" "`bytes` when the :class:`list` argument is mutated while it is iterated." msgstr "" #: ../build/NEWS:10898 msgid "" "`bpo-34876 `__: The *lineno* and " "*col_offset* attributes of the AST for decorated function and class refer " "now to the position of the corresponding ``def``, ``async def`` and " "``class`` instead of the position of the first decorator. This leads to more " "correct line reporting in tracing. This is the only case when the position " "of child AST nodes can precede the position of the parent AST node." msgstr "" #: ../build/NEWS:10905 msgid "" "`bpo-34879 `__: Fix a possible null " "pointer dereference in bytesobject.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10908 msgid "" "`bpo-34784 `__: Fix the implementation " "of PyStructSequence_NewType in order to create heap allocated " "StructSequences." msgstr "" #: ../build/NEWS:10911 msgid "" "`bpo-32912 `__: A :exc:`SyntaxWarning` " "is now emitted instead of a :exc:`DeprecationWarning` for invalid escape " "sequences in string and bytes literals." msgstr "" #: ../build/NEWS:10915 msgid "" "`bpo-34854 `__: Fixed a crash in " "compiling string annotations containing a lambda with a keyword-only " "argument that doesn't have a default value." msgstr "" #: ../build/NEWS:10918 msgid "" "`bpo-34850 `__: The compiler now " "produces a :exc:`SyntaxWarning` when identity checks (``is`` and ``is not``) " "are used with certain types of literals (e.g. strings, ints). These can " "often work by accident in CPython, but are not guaranteed by the language " "spec. The warning advises users to use equality tests (``==`` and ``!=``) " "instead." msgstr "" #: ../build/NEWS:10924 msgid "" "`bpo-34824 `__: Fix a possible null " "pointer dereference in Modules/_ssl.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10927 msgid "" "`bpo-30156 `__: The C function " "``property_descr_get()`` uses a \"cached\" tuple to optimize function calls. " "But this tuple can be discovered in debug mode with :func:`sys." "getobjects()`. Remove the optimization, it's not really worth it and it " "causes 3 different crashes last years." msgstr "" #: ../build/NEWS:10932 msgid "" "`bpo-34762 `__: Fix contextvars C API to " "use PyObject* pointer types." msgstr "" #: ../build/NEWS:10934 msgid "" "`bpo-34751 `__: The hash function for " "tuples is now based on xxHash which gives better collision results on " "(formerly) pathological cases. Additionally, on 64-bit systems it improves " "tuple hashes in general. Patch by Jeroen Demeyer with substantial " "contributions by Tim Peters." msgstr "" #: ../build/NEWS:10939 msgid "" "`bpo-34735 `__: Fix a memory leak in " "Modules/timemodule.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:10942 msgid "" "`bpo-34683 `__: Fixed a bug where some " "SyntaxError error pointed to locations that were off-by-one." msgstr "" #: ../build/NEWS:10945 msgid "" "`bpo-34651 `__: Only allow the main " "interpreter to fork. The avoids the possibility of affecting the main " "interpreter, which is critical to operation of the runtime." msgstr "" #: ../build/NEWS:10949 msgid "" "`bpo-34653 `__: Remove unused function " "PyParser_SimpleParseStringFilename." msgstr "" #: ../build/NEWS:10951 msgid "" "`bpo-32236 `__: Warn that line buffering " "is not supported if :func:`open` is called with binary mode and " "``buffering=1``." msgstr "" #: ../build/NEWS:10954 msgid "" "`bpo-34641 `__: Further restrict the " "syntax of the left-hand side of keyword arguments in function calls. In " "particular, ``f((keyword)=arg)`` is now disallowed." msgstr "" #: ../build/NEWS:10958 msgid "" "`bpo-34637 `__: Make the *start* " "argument to *sum()* visible as a keyword argument." msgstr "" #: ../build/NEWS:10961 msgid "" "`bpo-1621 `__: Do not assume signed " "integer overflow behavior (C undefined behavior) when performing set hash " "table resizing." msgstr "" #: ../build/NEWS:10964 msgid "" "`bpo-34588 `__: Fix an off-by-one in the " "recursive call pruning feature of traceback formatting." msgstr "" #: ../build/NEWS:10967 msgid "" "`bpo-34485 `__: On Windows, the LC_CTYPE " "is now set to the user preferred locale at startup. Previously, the LC_CTYPE " "locale was \"C\" at startup, but changed when calling setlocale(LC_CTYPE, " "\"\") or setlocale(LC_ALL, \"\")." msgstr "" #: ../build/NEWS:10971 msgid "" "`bpo-34485 `__: Standard streams like " "sys.stdout now use the \"surrogateescape\" error handler, instead of \"strict" "\", on the POSIX locale (when the C locale is not coerced and the UTF-8 Mode " "is disabled)." msgstr "" #: ../build/NEWS:10975 msgid "" "`bpo-34485 `__: Fix the error handler of " "standard streams like sys.stdout: PYTHONIOENCODING=\":\" is now ignored " "instead of setting the error handler to \"strict\"." msgstr "" #: ../build/NEWS:10979 msgid "" "`bpo-34485 `__: Python now gets the " "locale encoding with C code to initialize the encoding of standard streams " "like sys.stdout. Moreover, the encoding is now initialized to the Python " "codec name to get a normalized encoding name and to ensure that the codec is " "loaded. The change avoids importing _bootlocale and _locale modules at " "startup by default." msgstr "" #: ../build/NEWS:10985 msgid "" "`bpo-34527 `__: On FreeBSD, " "Py_DecodeLocale() and Py_EncodeLocale() now also forces the ASCII encoding " "if the LC_CTYPE locale is \"POSIX\", not only if the LC_CTYPE locale is \"C" "\"." msgstr "" #: ../build/NEWS:10989 msgid "" "`bpo-34527 `__: The UTF-8 Mode is now " "also enabled by the \"POSIX\" locale, not only by the \"C\" locale." msgstr "" #: ../build/NEWS:10992 msgid "" "`bpo-34403 `__: On HP-UX with C or POSIX " "locale, sys.getfilesystemencoding() now returns \"ascii\" instead of " "\"roman8\" (when the UTF-8 Mode is disabled and the C locale is not coerced)." msgstr "" #: ../build/NEWS:10996 msgid "" "`bpo-34523 `__: The Python filesystem " "encoding is now read earlier during the Python initialization." msgstr "" #: ../build/NEWS:10999 msgid "" "`bpo-12458 `__: Tracebacks show now " "correct line number for subexpressions in multiline expressions. Tracebacks " "show now the line number of the first line for multiline expressions instead " "of the line number of the last subexpression." msgstr "" #: ../build/NEWS:11004 msgid "" "`bpo-34408 `__: Prevent a null pointer " "dereference and resource leakage in ``PyInterpreterState_New()``." msgstr "" #: ../build/NEWS:11007 msgid "" "`bpo-34400 `__: Fix undefined behavior " "in parsetok.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11009 msgid "" "`bpo-33073 `__: Added as_integer_ratio " "to ints to make them more interoperable with floats." msgstr "" #: ../build/NEWS:11012 msgid "" "`bpo-34377 `__: Update valgrind " "suppression list to use ``_PyObject_Free``/``_PyObject_Realloc`` instead of " "``PyObject_Free``/``PyObject_Realloc``." msgstr "" #: ../build/NEWS:11016 msgid "" "`bpo-34353 `__: Added the \"socket\" " "option in the `stat.filemode()` Python implementation to match the C " "implementation." msgstr "" #: ../build/NEWS:11019 msgid "" "`bpo-34320 `__: Fix ``dict(od)`` didn't " "copy iteration order of OrderedDict." msgstr "" #: ../build/NEWS:11021 msgid "" "`bpo-34113 `__: Fixed crash on debug " "builds when opcode stack was adjusted with negative numbers. Patch by " "Constantin Petrisor." msgstr "" #: ../build/NEWS:11024 msgid "" "`bpo-34100 `__: Compiler now merges " "constants in tuples and frozensets recursively. Code attributes like " "``co_names`` are merged too." msgstr "" #: ../build/NEWS:11027 msgid "" "`bpo-34151 `__: Performance of list " "concatenation, repetition and slicing operations is slightly improved. Patch " "by Sergey Fedoseev." msgstr "" #: ../build/NEWS:11030 msgid "" "`bpo-34170 `__: -X dev: it is now " "possible to override the memory allocator using PYTHONMALLOC even if the " "developer mode is enabled." msgstr "" #: ../build/NEWS:11033 msgid "" "`bpo-33237 `__: Improved :exc:" "`AttributeError` message for partially initialized module." msgstr "" #: ../build/NEWS:11036 msgid "" "`bpo-34149 `__: Fix min and max " "functions to get default behavior when key is None." msgstr "" #: ../build/NEWS:11039 msgid "" "`bpo-34125 `__: Profiling of unbound " "built-in methods now works when ``**kwargs`` is given." msgstr "" #: ../build/NEWS:11042 msgid "" "`bpo-34141 `__: Optimized pickling " "atomic types (None, bool, int, float, bytes, str)." msgstr "" #: ../build/NEWS:11045 msgid "" "`bpo-34126 `__: Fix crashes when " "profiling certain invalid calls of unbound methods. Patch by Jeroen Demeyer." msgstr "" #: ../build/NEWS:11048 msgid "" "`bpo-24618 `__: Fixed reading invalid " "memory when create the code object with too small varnames tuple or too " "large argument counts." msgstr "" #: ../build/NEWS:11051 msgid "" "`bpo-34068 `__: In :meth:`io.IOBase." "close`, ensure that the :attr:`~io.IOBase.closed` attribute is not set with " "a live exception. Patch by Zackery Spytz and Serhiy Storchaka." msgstr "" #: ../build/NEWS:11055 msgid "" "`bpo-34087 `__: Fix buffer overflow " "while converting unicode to numeric values." msgstr "" #: ../build/NEWS:11057 msgid "" "`bpo-34080 `__: Fixed a memory leak in " "the compiler when it raised some uncommon errors during tokenizing." msgstr "" #: ../build/NEWS:11060 msgid "" "`bpo-34066 `__: Disabled interruption by " "Ctrl-C between calling ``open()`` and entering a **with** block in ``with " "open()``." msgstr "" #: ../build/NEWS:11063 msgid "" "`bpo-34042 `__: Fix dict.copy() to " "maintain correct total refcount (as reported by sys.gettotalrefcount())." msgstr "" #: ../build/NEWS:11066 msgid "" "`bpo-33418 `__: Fix potential memory " "leak in function object when it creates reference cycle." msgstr "" #: ../build/NEWS:11069 msgid "" "`bpo-33985 `__: Implement contextvars." "ContextVar.name attribute." msgstr "" #: ../build/NEWS:11071 msgid "" "`bpo-33956 `__: Update vendored Expat " "library copy to version 2.2.5." msgstr "" #: ../build/NEWS:11073 msgid "" "`bpo-24596 `__: Decref the module object " "in :c:func:`PyRun_SimpleFileExFlags` before calling :c:func:" "`PyErr_Print()`. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11076 msgid "" "`bpo-33451 `__: Close directly executed " "pyc files before calling ``PyEval_EvalCode()``." msgstr "" #: ../build/NEWS:11079 msgid "" "`bpo-1617161 `__: The hash of :class:" "`BuiltinMethodType` instances (methods of built-in classes) now depends on " "the hash of the identity of *__self__* instead of its value. The hash and " "equality of :class:`ModuleType` and :class:`MethodWrapperType` instances " "(methods of user-defined classes and some methods of built-in classes like " "``str.__add__``) now depend on the hash and equality of the identity of " "*__self__* instead of its value. :class:`MethodWrapperType` instances no " "longer support ordering." msgstr "" #: ../build/NEWS:11087 msgid "" "`bpo-33824 `__: Fix \"LC_ALL=C python3.7 " "-V\": reset properly the command line parser when the encoding changes after " "reading the Python configuration." msgstr "" #: ../build/NEWS:11090 ../build/NEWS:13736 msgid "" "`bpo-33803 `__: Fix a crash in hamt.c " "caused by enabling GC tracking for an object that hadn't all of its fields " "set to NULL." msgstr "" #: ../build/NEWS:11093 msgid "" "`bpo-33738 `__: Seven macro " "incompatibilities with the Limited API were fixed, and the macros :c:func:" "`PyIter_Check`, :c:func:`PyIndex_Check` and :c:func:`PyExceptionClass_Name` " "were added as functions. A script for automatic macro checks was added." msgstr "" #: ../build/NEWS:11098 ../build/NEWS:18308 msgid "" "`bpo-33786 `__: Fix asynchronous " "generators to handle GeneratorExit in athrow() correctly" msgstr "" #: ../build/NEWS:11101 msgid "" "`bpo-30167 `__: " "``PyRun_SimpleFileExFlags`` removes ``__cached__`` from module in addition " "to ``__file__``." msgstr "" #: ../build/NEWS:11104 ../build/NEWS:13739 msgid "" "`bpo-33706 `__: Fix a crash in Python " "initialization when parsing the command line options. Thanks Christoph " "Gohlke for the bug report and the fix!" msgstr "" #: ../build/NEWS:11107 msgid "" "`bpo-33597 `__: Reduce ``PyGC_Head`` " "size from 3 words to 2 words." msgstr "" #: ../build/NEWS:11109 ../build/NEWS:13742 ../build/NEWS:18311 msgid "" "`bpo-30654 `__: Fixed reset of the " "SIGINT handler to SIG_DFL on interpreter shutdown even when there was a " "custom handler set previously. Patch by Philipp Kerling." msgstr "" #: ../build/NEWS:11113 ../build/NEWS:13848 ../build/NEWS:18315 msgid "" "`bpo-33622 `__: Fixed a leak when the " "garbage collector fails to add an object with the ``__del__`` method or " "referenced by it into the :data:`gc.garbage` list. :c:func:`PyGC_Collect` " "can now be called when an exception is set and preserves it." msgstr "" #: ../build/NEWS:11118 msgid "" "`bpo-33462 `__: Make dict and dict views " "reversible. Patch by Rémi Lapeyre." msgstr "" #: ../build/NEWS:11120 msgid "" "`bpo-23722 `__: A :exc:`RuntimeError` is " "now raised when the custom metaclass doesn't provide the ``__classcell__`` " "entry in the namespace passed to ``type.__new__``. A :exc:" "`DeprecationWarning` was emitted in Python 3.6--3.7." msgstr "" #: ../build/NEWS:11125 msgid "" "`bpo-33499 `__: Add :envvar:" "`PYTHONPYCACHEPREFIX` environment variable and :option:`-X` " "``pycache_prefix`` command-line option to set an alternate root directory " "for writing module bytecode cache files." msgstr "" #: ../build/NEWS:11129 msgid "" "`bpo-25711 `__: The :mod:`zipimport` " "module has been rewritten in pure Python." msgstr "" #: ../build/NEWS:11131 ../build/NEWS:13853 msgid "" "`bpo-33509 `__: Fix module_globals " "parameter of warnings.warn_explicit(): don't crash if module_globals is not " "a dict." msgstr "" #: ../build/NEWS:11134 ../build/NEWS:13746 ../build/NEWS:18320 msgid "" "`bpo-31849 `__: Fix signed/unsigned " "comparison warning in pyhash.c." msgstr "" #: ../build/NEWS:11136 ../build/NEWS:13860 msgid "" "`bpo-33475 `__: Fixed miscellaneous bugs " "in converting annotations to strings and optimized parentheses in the string " "representation." msgstr "" #: ../build/NEWS:11139 msgid "" "`bpo-20104 `__: Added support for the " "`setpgroup`, `resetids`, `setsigmask`, `setsigdef` and `scheduler` " "parameters of `posix_spawn`. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:11143 ../build/NEWS:13863 ../build/NEWS:18322 msgid "" "`bpo-33391 `__: Fix a leak in " "set_symmetric_difference()." msgstr "" #: ../build/NEWS:11145 ../build/NEWS:14061 msgid "" "`bpo-33363 `__: Raise a SyntaxError for " "``async with`` and ``async for`` statements outside of async functions." msgstr "" #: ../build/NEWS:11148 ../build/NEWS:13865 ../build/NEWS:18324 msgid "" "`bpo-28055 `__: Fix unaligned accesses " "in siphash24(). Patch by Rolf Eike Beer." msgstr "" #: ../build/NEWS:11150 ../build/NEWS:14064 msgid "" "`bpo-33128 `__: Fix a bug that causes " "PathFinder to appear twice on sys.meta_path. Patch by Pablo Galindo Salgado." msgstr "" #: ../build/NEWS:11153 msgid "" "`bpo-33331 `__: Modules imported last " "are now cleared first at interpreter shutdown." msgstr "" #: ../build/NEWS:11156 ../build/NEWS:14067 msgid "" "`bpo-33312 `__: Fixed clang ubsan " "(undefined behavior sanitizer) warnings in dictobject.c by adjusting how the " "internal struct _dictkeysobject shared keys structure is declared." msgstr "" #: ../build/NEWS:11160 msgid "" "`bpo-33305 `__: Improved syntax error " "messages for invalid numerical literals." msgstr "" #: ../build/NEWS:11162 msgid "" "`bpo-33306 `__: Improved syntax error " "messages for unbalanced parentheses." msgstr "" #: ../build/NEWS:11164 msgid "" "`bpo-33234 `__: The list constructor " "will pre-size and not over-allocate when the input length is known." msgstr "" #: ../build/NEWS:11167 msgid "" "`bpo-33270 `__: Intern the names for all " "anonymous code objects. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11170 msgid "" "`bpo-30455 `__: The C and Python code " "and the documentation related to tokens are now generated from a single " "source file :file:`Grammar/Tokens`." msgstr "" #: ../build/NEWS:11173 msgid "" "`bpo-33176 `__: Add a ``toreadonly()`` " "method to memoryviews." msgstr "" #: ../build/NEWS:11175 ../build/NEWS:14071 ../build/NEWS:18326 msgid "" "`bpo-33231 `__: Fix potential memory " "leak in ``normalizestring()``." msgstr "" #: ../build/NEWS:11177 ../build/NEWS:14073 msgid "" "`bpo-33205 `__: Change dict growth " "function from ``round_up_to_power_2(used*2+hashtable_size/2)`` to " "``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when " "``used == 0``. Now dict has more chance to be shrinked." msgstr "" #: ../build/NEWS:11182 ../build/NEWS:14078 ../build/NEWS:18328 msgid "" "`bpo-29922 `__: Improved error messages " "in 'async with' when ``__aenter__()`` or ``__aexit__()`` return non-" "awaitable object." msgstr "" #: ../build/NEWS:11185 ../build/NEWS:14081 ../build/NEWS:18331 msgid "" "`bpo-33199 `__: Fix ``ma_version_tag`` " "in dict implementation is uninitialized when copying from key-sharing dict." msgstr "" #: ../build/NEWS:11188 ../build/NEWS:14252 msgid "" "`bpo-33053 `__: When using the -m " "switch, sys.path[0] is now explicitly expanded as the *starting* working " "directory, rather than being left as the empty path (which allows imports " "from the current working directory at the time of the import)" msgstr "" #: ../build/NEWS:11193 msgid "" "`bpo-33138 `__: Changed standard error " "message for non-pickleable and non-copyable types. It now says \"cannot " "pickle\" instead of \"can't pickle\" or \"cannot serialize\"." msgstr "" #: ../build/NEWS:11197 ../build/NEWS:14257 msgid "" "`bpo-33018 `__: Improve consistency of " "errors raised by ``issubclass()`` when called with a non-class and an " "abstract base class as the first and second arguments, respectively. Patch " "by Josh Bronson." msgstr "" #: ../build/NEWS:11201 msgid "" "`bpo-33083 `__: ``math.factorial`` no " "longer accepts arguments that are not int-like. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:11204 msgid "" "`bpo-33041 `__: Added new opcode :opcode:" "`END_ASYNC_FOR` and fixes the following issues:" msgstr "" #: ../build/NEWS:11207 msgid "" "Setting global :exc:`StopAsyncIteration` no longer breaks ``async for`` " "loops." msgstr "" #: ../build/NEWS:11209 msgid "Jumping into an ``async for`` loop is now disabled." msgstr "" #: ../build/NEWS:11210 msgid "Jumping out of an ``async for`` loop no longer corrupts the stack." msgstr "" #: ../build/NEWS:11212 msgid "" "`bpo-25750 `__: Fix rare Python crash " "due to bad refcounting in ``type_getattro()`` if a descriptor deletes itself " "from the class. Patch by Jeroen Demeyer." msgstr "" #: ../build/NEWS:11216 msgid "" "`bpo-33041 `__: Fixed bytecode " "generation for \"async for\" with a complex target. A StopAsyncIteration " "raised on assigning or unpacking will be now propagated instead of stopping " "the iteration." msgstr "" #: ../build/NEWS:11220 ../build/NEWS:14263 ../build/NEWS:18645 msgid "" "`bpo-33026 `__: Fixed jumping out of " "\"with\" block by setting f_lineno." msgstr "" #: ../build/NEWS:11222 ../build/NEWS:14265 msgid "" "`bpo-33005 `__: Fix a crash on fork when " "using a custom memory allocator (ex: using PYTHONMALLOC env var). " "_PyGILState_Reinit() and _PyInterpreterState_Enable() now use the default " "RAW memory allocator to allocate a new interpreters mutex on fork." msgstr "" #: ../build/NEWS:11227 ../build/NEWS:13867 msgid "" "`bpo-32911 `__: Due to unexpected " "compatibility issues discovered during downstream beta testing, reverted :" "issue:`29463`. ``docstring`` field is removed from Module, ClassDef, " "FunctionDef, and AsyncFunctionDef ast nodes which was added in 3.7a1. " "Docstring expression is restored as a first statement in their body. Based " "on patch by Inada Naoki." msgstr "" #: ../build/NEWS:11233 ../build/NEWS:14270 ../build/NEWS:18647 msgid "" "`bpo-17288 `__: Prevent jumps from " "'return' and 'exception' trace events." msgstr "" #: ../build/NEWS:11235 msgid "" "`bpo-32946 `__: Importing names from " "already imported module with \"from ... import ...\" is now 30% faster if " "the module is not a package." msgstr "" #: ../build/NEWS:11238 msgid "" "`bpo-32932 `__: Make error message more " "revealing when there are non-str objects in ``__all__``." msgstr "" #: ../build/NEWS:11241 msgid "" "`bpo-32925 `__: Optimized iterating and " "containing test for literal lists consisting of non-constants: ``x in [a, " "b]`` and ``for x in [a, b]``. The case of all constant elements already was " "optimized." msgstr "" #: ../build/NEWS:11245 ../build/NEWS:14462 ../build/NEWS:18649 msgid "" "`bpo-32889 `__: Update Valgrind " "suppression list to account for the rename of ``Py_ADDRESS_IN_RANG`` to " "``address_in_range``." msgstr "" #: ../build/NEWS:11248 ../build/NEWS:14272 msgid "" "`bpo-32836 `__: Don't use temporary " "variables in cases of list/dict/set comprehensions" msgstr "" #: ../build/NEWS:11251 ../build/NEWS:14465 msgid "" "`bpo-31356 `__: Remove the new API added " "in `bpo-31356 `__ (gc.ensure_disabled() " "context manager)." msgstr "" #: ../build/NEWS:11254 ../build/NEWS:14468 msgid "" "`bpo-32305 `__: For namespace packages, " "ensure that both ``__file__`` and ``__spec__.origin`` are set to None." msgstr "" #: ../build/NEWS:11257 ../build/NEWS:14471 msgid "" "`bpo-32303 `__: Make sure ``__spec__." "loader`` matches ``__loader__`` for namespace packages." msgstr "" #: ../build/NEWS:11260 ../build/NEWS:14474 msgid "" "`bpo-32711 `__: Fix the warning messages " "for Python/ast_unparse.c. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:11263 ../build/NEWS:14477 ../build/NEWS:18660 msgid "" "`bpo-32583 `__: Fix possible crashing in " "builtin Unicode decoders caused by write out-of-bound errors when using " "customized decode error handlers." msgstr "" #: ../build/NEWS:11266 msgid "" "`bpo-32489 `__: A :keyword:`continue` " "statement is now allowed in the :keyword:`finally` clause." msgstr "" #: ../build/NEWS:11269 msgid "" "`bpo-17611 `__: Simplified the " "interpreter loop by moving the logic of unrolling the stack of blocks into " "the compiler. The compiler emits now explicit instructions for adjusting the " "stack of values and calling the cleaning up code for :keyword:`break`, :" "keyword:`continue` and :keyword:`return`." msgstr "" #: ../build/NEWS:11275 msgid "" "Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" "`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" "`ROT_FOUR`, :opcode:`BEGIN_FINALLY` and :opcode:`CALL_FINALLY` and :opcode:" "`POP_FINALLY`. Changed the behavior of :opcode:`END_FINALLY` and :opcode:" "`WITH_CLEANUP_START`." msgstr "" #: ../build/NEWS:11281 msgid "" "`bpo-32285 `__: New function unicodedata." "is_normalized, which can check whether a string is in a specific normal form." msgstr "" #: ../build/NEWS:11284 msgid "" "`bpo-10544 `__: Yield expressions are " "now disallowed in comprehensions and generator expressions except the " "expression for the outermost iterable." msgstr "" #: ../build/NEWS:11287 msgid "" "`bpo-32117 `__: Iterable unpacking is " "now allowed without parentheses in yield and return statements, e.g. ``yield " "1, 2, 3, *rest``. Thanks to David Cuthbert for the change and Jordan Chapman " "for added tests." msgstr "" #: ../build/NEWS:11291 msgid "" "`bpo-31902 `__: Fix the ``col_offset`` " "attribute for ast nodes ``ast.AsyncFor``, ``ast.AsyncFunctionDef``, and " "``ast.AsyncWith``. Previously, ``col_offset`` pointed to the keyword after " "``async``." msgstr "" #: ../build/NEWS:11295 msgid "" "`bpo-25862 `__: Fix assertion failures " "in the ``tell()`` method of ``io.TextIOWrapper``. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11298 ../build/NEWS:13873 ../build/NEWS:18339 msgid "" "`bpo-21983 `__: Fix a crash in `ctypes." "cast()` in case the type argument is a ctypes structured data type. Patch by " "Eryk Sun and Oren Milman." msgstr "" #: ../build/NEWS:11301 msgid "" "`bpo-31577 `__: Fix a crash in `os." "utime()` in case of a bad ns argument. Patch by Oren Milman." msgstr "" #: ../build/NEWS:11304 msgid "" "`bpo-29832 `__: Remove references to " "'getsockaddrarg' from various socket error messages. Patch by Oren Milman." msgstr "" #: ../build/NEWS:11310 msgid "" "`bpo-35845 `__: Add 'order' parameter to " "memoryview.tobytes()." msgstr "" #: ../build/NEWS:11312 msgid "" "`bpo-35864 `__: The _asdict() method for " "collections.namedtuple now returns a regular dict instead of an OrderedDict." msgstr "" #: ../build/NEWS:11315 msgid "" "`bpo-35537 `__: An ExitStack is now used " "internally within subprocess.Popen to clean up pipe file handles. No " "behavior change in normal operation. But if closing one handle were ever to " "cause an exception, the others will now be closed instead of leaked. (patch " "by Giampaolo Rodola)" msgstr "" #: ../build/NEWS:11320 msgid "" "`bpo-35847 `__: RISC-V needed the " "CTYPES_PASS_BY_REF_HACK. Fixes ctypes Structure test_pass_by_value." msgstr "" #: ../build/NEWS:11323 msgid "" "`bpo-35813 `__: Shared memory submodule " "added to multiprocessing to avoid need for serialization between processes" msgstr "" #: ../build/NEWS:11326 msgid "" "`bpo-35780 `__: Fix lru_cache() errors " "arising in recursive, reentrant, or multi-threaded code. These errors could " "result in orphan links and in the cache being trapped in a state with fewer " "than the specified maximum number of links. Fix handling of negative maxsize " "which should have been treated as zero. Fix errors in toggling the \"full\" " "status flag. Fix misordering of links when errors are encountered. Sync-up " "the C code and pure Python code for the space saving path in functions with " "a single positional argument. In this common case, the space overhead of an " "lru cache entry is reduced by almost half. Fix counting of cache misses. In " "error cases, the miss count was out of sync with the actual number of times " "the underlying user function was called." msgstr "" #: ../build/NEWS:11338 msgid "" "`bpo-35537 `__: :func:`os.posix_spawn` " "and :func:`os.posix_spawnp` now have a *setsid* parameter." msgstr "" #: ../build/NEWS:11341 msgid "" "`bpo-23846 `__: :class:`asyncio." "ProactorEventLoop` now catches and logs send errors when the self-pipe is " "full." msgstr "" #: ../build/NEWS:11344 msgid "" "`bpo-34323 `__: :mod:`asyncio`: Enhance " "``IocpProactor.close()`` log: wait 1 second before the first log, then log " "every second. Log also the number of seconds since ``close()`` was called." msgstr "" #: ../build/NEWS:11348 msgid "" "`bpo-35674 `__: Add a new :func:`os." "posix_spawnp` function. Patch by Joannah Nanjekye." msgstr "" #: ../build/NEWS:11351 msgid "" "`bpo-35733 `__: ``ast." "Constant(boolean)`` no longer an instance of :class:`ast.Num`. Patch by " "Anthony Sottile." msgstr "" #: ../build/NEWS:11354 msgid "" "`bpo-35726 `__: QueueHandler.prepare() " "now makes a copy of the record before modifying and enqueueing it, to avoid " "affecting other handlers in the chain." msgstr "" #: ../build/NEWS:11358 msgid "" "`bpo-35719 `__: Sped up multi-argument :" "mod:`math` functions atan2(), copysign(), remainder() and hypot() by " "1.3--2.5 times." msgstr "" #: ../build/NEWS:11361 msgid "" "`bpo-35717 `__: Fix KeyError exception " "raised when using enums and compile. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:11364 msgid "" "`bpo-35699 `__: Fixed detection of " "Visual Studio Build Tools 2017 in distutils" msgstr "" #: ../build/NEWS:11366 msgid "" "`bpo-32710 `__: Fix memory leaks in " "asyncio ProactorEventLoop on overlapped operation failure." msgstr "" #: ../build/NEWS:11369 msgid "" "`bpo-35702 `__: The :data:`time." "CLOCK_UPTIME_RAW` constant is now available for macOS 10.12." msgstr "" #: ../build/NEWS:11372 msgid "" "`bpo-32710 `__: Fix a memory leak in " "asyncio in the ProactorEventLoop when ``ReadFile()`` or ``WSASend()`` " "overlapped operation fail immediately: release the internal buffer." msgstr "" #: ../build/NEWS:11376 msgid "" "`bpo-35682 `__: Fix ``asyncio." "ProactorEventLoop.sendfile()``: don't attempt to set the result of an " "internal future if it's already done." msgstr "" #: ../build/NEWS:11379 msgid "" "`bpo-35283 `__: Add a deprecated warning " "for the :meth:`threading.Thread.isAlive` method. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:11382 msgid "" "`bpo-35664 `__: Improve operator." "itemgetter() performance by 33% with optimized argument handling and with " "adding a fast path for the common case of a single non-negative integer " "index into a tuple (which is the typical use case in the standard library)." msgstr "" #: ../build/NEWS:11387 msgid "" "`bpo-35643 `__: Fixed a SyntaxWarning: " "invalid escape sequence in Modules/_sha3/cleanup.py. Patch by Mickaël " "Schoentgen." msgstr "" #: ../build/NEWS:11390 msgid "" "`bpo-35619 `__: Improved support of " "custom data descriptors in :func:`help` and :mod:`pydoc`." msgstr "" #: ../build/NEWS:11393 msgid "" "`bpo-28503 `__: The `crypt` module now " "internally uses the `crypt_r()` library function instead of `crypt()` when " "available." msgstr "" #: ../build/NEWS:11396 msgid "" "`bpo-35614 `__: Fixed help() on " "metaclasses. Patch by Sanyam Khurana." msgstr "" #: ../build/NEWS:11398 msgid "" "`bpo-35568 `__: Expose ``raise(signum)`` " "as `raise_signal`" msgstr "" #: ../build/NEWS:11400 msgid "" "`bpo-35588 `__: The floor division and " "modulo operations and the :func:`divmod` function on :class:`fractions." "Fraction` types are 2--4x faster. Patch by Stefan Behnel." msgstr "" #: ../build/NEWS:11404 msgid "" "`bpo-35585 `__: Speed-up building enums " "by value, e.g. http.HTTPStatus(200)." msgstr "" #: ../build/NEWS:11406 msgid "" "`bpo-30561 `__: random.gammavariate(1.0, " "beta) now computes the same result as random.expovariate(1.0 / beta). This " "synchronizes the two algorithms and eliminates some idiosyncrasies in the " "old implementation. It does however produce a difference stream of random " "variables than it used to." msgstr "" #: ../build/NEWS:11411 msgid "" "`bpo-35537 `__: The :mod:`subprocess` " "module can now use the :func:`os.posix_spawn` function in some cases for " "better performance." msgstr "" #: ../build/NEWS:11414 msgid "" "`bpo-35526 `__: Delaying the 'joke' of " "barry_as_FLUFL.mandatory to Python version 4.0" msgstr "" #: ../build/NEWS:11417 msgid "" "`bpo-35523 `__: Remove :mod:`ctypes` " "callback workaround: no longer create a callback at startup. Avoid SELinux " "alert on ``import ctypes`` and ``import uuid``." msgstr "" #: ../build/NEWS:11421 msgid "" "`bpo-31784 `__: :func:`uuid.uuid1` now " "calls :func:`time.time_ns` rather than ``int(time.time() * 1e9)``." msgstr "" #: ../build/NEWS:11424 msgid "" "`bpo-35513 `__: :class:`~unittest.runner." "TextTestRunner` of :mod:`unittest.runner` now uses :func:`time.perf_counter` " "rather than :func:`time.time` to measure the execution time of a test: :func:" "`time.time` can go backwards, whereas :func:`time.perf_counter` is monotonic." msgstr "" #: ../build/NEWS:11430 msgid "" "`bpo-35502 `__: Fixed reference leaks " "in :class:`xml.etree.ElementTree.TreeBuilder` in case of unfinished building " "of the tree (in particular when an error was raised during parsing XML)." msgstr "" #: ../build/NEWS:11434 msgid "" "`bpo-35348 `__: Make :func:`platform." "architecture` parsing of ``file`` command output more reliable: add the ``-" "b`` option to the ``file`` command to omit the filename, force the usage of " "the C locale, and search also the \"shared object\" pattern." msgstr "" #: ../build/NEWS:11439 msgid "" "`bpo-35491 `__: :mod:`multiprocessing`: " "Add ``Pool.__repr__()`` and enhance ``BaseProcess.__repr__()`` (add pid and " "parent pid) to ease debugging. Pool state constant values are now strings " "instead of integers, for example ``RUN`` value becomes ``'RUN'`` instead of " "``0``." msgstr "" #: ../build/NEWS:11444 msgid "" "`bpo-35477 `__: :meth:`multiprocessing." "Pool.__enter__` now fails if the pool is not running: ``with pool:`` fails " "if used more than once." msgstr "" #: ../build/NEWS:11447 msgid "" "`bpo-31446 `__: Copy command line that " "was passed to CreateProcessW since this function can change the content of " "the input buffer." msgstr "" #: ../build/NEWS:11450 msgid "" "`bpo-35471 `__: Python 2.4 dropped MacOS " "9 support. The macpath module was deprecated in Python 3.7. The module is " "now removed." msgstr "" #: ../build/NEWS:11453 msgid "" "`bpo-23057 `__: Unblock Proactor event " "loop when keyboard interrupt is received on Windows" msgstr "" #: ../build/NEWS:11456 msgid "" "`bpo-35052 `__: Fix xml.dom.minidom " "cloneNode() on a document with an entity: pass the correct arguments to the " "user data handler of an entity." msgstr "" #: ../build/NEWS:11459 msgid "" "`bpo-20239 `__: Allow repeated " "assignment deletion of :class:`unittest.mock.Mock` attributes. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:11462 msgid "" "`bpo-17185 `__: Set ``__signature__`` on " "mock for :mod:`inspect` to get signature. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:11465 msgid "" "`bpo-35445 `__: Memory errors during " "creating posix.environ no longer ignored." msgstr "" #: ../build/NEWS:11467 msgid "" "`bpo-35415 `__: Validate fileno= " "argument to socket.socket()." msgstr "" #: ../build/NEWS:11469 msgid "" "`bpo-35424 `__: :class:`multiprocessing." "Pool` destructor now emits :exc:`ResourceWarning` if the pool is still " "running." msgstr "" #: ../build/NEWS:11472 msgid "" "`bpo-35330 `__: When a :class:`Mock` " "instance was used to wrap an object, if `side_effect` is used in one of the " "mocks of it methods, don't call the original implementation and return the " "result of using the side effect the same way that it is done with " "return_value." msgstr "" #: ../build/NEWS:11477 msgid "" "`bpo-35346 `__: Drop Mac OS 9 and " "Rhapsody support from the :mod:`platform` module. Rhapsody last release was " "in 2000. Mac OS 9 last release was in 2001." msgstr "" #: ../build/NEWS:11481 msgid "" "`bpo-10496 `__: :func:`~distutils.utils." "check_environ` of :mod:`distutils.utils` now catches :exc:`KeyError` on " "calling :func:`pwd.getpwuid`: don't create the ``HOME`` environment variable " "in this case." msgstr "" #: ../build/NEWS:11486 msgid "" "`bpo-10496 `__: :func:`posixpath." "expanduser` now returns the input *path* unchanged if the ``HOME`` " "environment variable is not set and the current user has no home directory " "(if the current user identifier doesn't exist in the password database). " "This change fix the :mod:`site` module if the current user doesn't exist in " "the password database (if the user has no home directory)." msgstr "" #: ../build/NEWS:11493 msgid "" "`bpo-35389 `__: :func:`platform." "libc_ver` now uses ``os.confstr('CS_GNU_LIBC_VERSION')`` if available and " "the *executable* parameter is not set." msgstr "" #: ../build/NEWS:11497 msgid "" "`bpo-35394 `__: Add empty slots to " "asyncio abstract protocols." msgstr "" #: ../build/NEWS:11499 msgid "" "`bpo-35310 `__: Fix a bug in :func:" "`select.select` where, in some cases, the file descriptor sequences were " "returned unmodified after a signal interruption, even though the file " "descriptors might not be ready yet. :func:`select.select` will now always " "return empty lists if a timeout has occurred. Patch by Oran Avraham." msgstr "" #: ../build/NEWS:11505 msgid "" "`bpo-35380 `__: Enable TCP_NODELAY on " "Windows for proactor asyncio event loop." msgstr "" #: ../build/NEWS:11507 msgid "" "`bpo-35341 `__: Add generic version of " "``collections.OrderedDict`` to the ``typing`` module. Patch by Ismo Toijala." msgstr "" #: ../build/NEWS:11510 msgid "" "`bpo-35371 `__: Fixed possible crash in " "``os.utime()`` on Windows when pass incorrect arguments." msgstr "" #: ../build/NEWS:11513 msgid "" "`bpo-35346 `__: :func:`platform.uname` " "now redirects ``stderr`` to :data:`os.devnull` when running external " "programs like ``cmd /c ver``." msgstr "" #: ../build/NEWS:11516 msgid "" "`bpo-35066 `__: Previously, calling the " "strftime() method on a datetime object with a trailing '%' in the format " "string would result in an exception. However, this only occurred 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 '%'." msgstr "" #: ../build/NEWS:11522 msgid "" "`bpo-35345 `__: The function `platform." "popen` has been removed, it was deprecated since Python 3.3: use :func:`os." "popen` instead." msgstr "" #: ../build/NEWS:11525 msgid "" "`bpo-35344 `__: On macOS, :func:" "`platform.platform` now uses :func:`platform.mac_ver`, if it returns a non-" "empty release string, to get the macOS version rather than the darwin " "version." msgstr "" #: ../build/NEWS:11529 msgid "" "`bpo-35312 `__: Make ``lib2to3.pgen2." "parse.ParseError`` round-trip pickle-able. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:11532 msgid "" "`bpo-35308 `__: Fix regression in " "``webbrowser`` where default browsers may be preferred over browsers in the " "``BROWSER`` environment variable." msgstr "" #: ../build/NEWS:11535 msgid "" "`bpo-24746 `__: Avoid stripping trailing " "whitespace in doctest fancy diff. Original patch by R. David Murray & Jairo " "Trad. Enhanced by Sanyam Khurana." msgstr "" #: ../build/NEWS:11539 msgid "" "`bpo-28604 `__: :func:`locale." "localeconv` now sets temporarily the ``LC_CTYPE`` locale to the " "``LC_MONETARY`` locale if the two locales are different and monetary strings " "are non-ASCII. This temporary change affects other threads." msgstr "" #: ../build/NEWS:11544 msgid "" "`bpo-35277 `__: Update ensurepip to " "install pip 18.1 and setuptools 40.6.2." msgstr "" #: ../build/NEWS:11546 msgid "" "`bpo-24209 `__: Adds IPv6 support when " "invoking http.server directly." msgstr "" #: ../build/NEWS:11548 msgid "" "`bpo-35226 `__: Recursively check " "arguments when testing for equality of :class:`unittest.mock.call` objects " "and add note that tracking of parameters used to create ancestors of mocks " "in ``mock_calls`` is not possible." msgstr "" #: ../build/NEWS:11553 msgid "" "`bpo-29564 `__: The warnings module now " "suggests to enable tracemalloc if the source is specified, the tracemalloc " "module is available, but tracemalloc is not tracing memory allocations." msgstr "" #: ../build/NEWS:11557 msgid "" "`bpo-35189 `__: Modify the following " "fnctl function to retry if interrupted by a signal (EINTR): flock, lockf, " "fnctl" msgstr "" #: ../build/NEWS:11560 msgid "" "`bpo-30064 `__: Use add_done_callback() " "in sock_* asyncio API to unsubscribe reader/writer early on calcellation." msgstr "" #: ../build/NEWS:11563 msgid "" "`bpo-35186 `__: Removed the \"built with" "\" comment added when ``setup.py upload`` is used with either ``bdist_rpm`` " "or ``bdist_dumb``." msgstr "" #: ../build/NEWS:11566 msgid "" "`bpo-35152 `__: Allow sending more than " "2 GB at once on a multiprocessing connection on non-Windows systems." msgstr "" #: ../build/NEWS:11569 msgid "" "`bpo-35062 `__: Fix incorrect parsing " "of :class:`_io.IncrementalNewlineDecoder`'s *translate* argument." msgstr "" #: ../build/NEWS:11572 msgid "" "`bpo-35065 `__: Remove " "`StreamReaderProtocol._untrack_reader`. The call to `_untrack_reader` is " "currently performed too soon, causing the protocol to forget about the " "reader before `connection_lost` can run and feed the EOF to the reader." msgstr "" #: ../build/NEWS:11577 msgid "" "`bpo-34160 `__: ElementTree and minidom " "now preserve the attribute order specified by the user." msgstr "" #: ../build/NEWS:11580 msgid "" "`bpo-35079 `__: Improve difflib." "SequenceManager.get_matching_blocks doc by adding 'non-overlapping' and " "changing '!=' to '<'." msgstr "" #: ../build/NEWS:11583 msgid "" "`bpo-33710 `__: Deprecated " "``l*gettext()`` functions and methods in the :mod:`gettext` module. They " "return encoded bytes instead of Unicode strings and are artifacts from " "Python 2 times. Also deprecated functions and methods related to setting the " "charset for ``l*gettext()`` functions and methods." msgstr "" #: ../build/NEWS:11589 msgid "" "`bpo-35017 `__: :meth:`socketserver." "BaseServer.serve_forever` now exits immediately if it's :meth:`~socketserver." "BaseServer.shutdown` method is called while it is polling for new events." msgstr "" #: ../build/NEWS:11593 msgid "" "`bpo-35024 `__: `importlib` no longer " "logs `wrote ` redundantly after `(created|could not create) " "` is already logged. Patch by Quentin Agren." msgstr "" #: ../build/NEWS:11597 msgid "" "`bpo-35047 `__: ``unittest.mock`` now " "includes mock calls in exception messages if ``assert_not_called``, " "``assert_called_once``, or ``assert_called_once_with`` fails. Patch by " "Petter Strandmark." msgstr "" #: ../build/NEWS:11601 msgid "" "`bpo-31047 `__: Fix ``ntpath.abspath`` " "regression where it didn't remove a trailing separator on Windows. Patch by " "Tim Graham." msgstr "" #: ../build/NEWS:11604 msgid "" "`bpo-35053 `__: tracemalloc now tries to " "update the traceback when an object is reused from a \"free list" "\" (optimization for faster object creation, used by the builtin list type " "for example)." msgstr "" #: ../build/NEWS:11608 msgid "" "`bpo-31553 `__: Add the --json-lines " "option to json.tool. Patch by hongweipeng." msgstr "" #: ../build/NEWS:11610 msgid "" "`bpo-34794 `__: Fixed a leak in Tkinter " "when pass the Python wrapper around Tcl_Obj back to Tcl/Tk." msgstr "" #: ../build/NEWS:11613 msgid "" "`bpo-34909 `__: Enum: fix grandchildren " "subclassing when parent mixed with concrete data types." msgstr "" #: ../build/NEWS:11616 msgid "" "`bpo-35022 `__: :class:`unittest.mock." "MagicMock` now supports the ``__fspath__`` method (from :class:`os." "PathLike`)." msgstr "" #: ../build/NEWS:11619 msgid "" "`bpo-35008 `__: Fixed references leaks " "when call the ``__setstate__()`` method of :class:`xml.etree.ElementTree." "Element` in the C implementation for already initialized element." msgstr "" #: ../build/NEWS:11623 msgid "" "`bpo-23420 `__: Verify the value for the " "parameter '-s' of the cProfile CLI. Patch by Robert Kuska" msgstr "" #: ../build/NEWS:11626 msgid "" "`bpo-33947 `__: dataclasses now handle " "recursive reprs without raising RecursionError." msgstr "" #: ../build/NEWS:11629 msgid "" "`bpo-34890 `__: Make :func:`inspect." "iscoroutinefunction`, :func:`inspect.isgeneratorfunction` and :func:`inspect." "isasyncgenfunction` work with :func:`functools.partial`. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:11633 msgid "" "`bpo-34521 `__: Use :func:`socket." "CMSG_SPACE` to calculate ancillary data size instead of :func:`socket." "CMSG_LEN` in :func:`multiprocessing.reduction.recvfds` as :rfc:`3542` " "requires the use of the former for portable applications." msgstr "" #: ../build/NEWS:11638 msgid "" "`bpo-31522 `__: The `mailbox.mbox." "get_string` function *from_* parameter can now successfully be set to a non-" "default value." msgstr "" #: ../build/NEWS:11641 msgid "" "`bpo-34970 `__: Protect tasks weak set " "manipulation in ``asyncio.all_tasks()``" msgstr "" #: ../build/NEWS:11643 msgid "" "`bpo-34969 `__: gzip: Add --fast, --best " "on the gzip CLI, these parameters will be used for the fast compression " "method (quick) or the best method compress (slower, but smaller file). Also, " "change the default compression level to 6 (tradeoff)." msgstr "" #: ../build/NEWS:11648 msgid "" "`bpo-16965 `__: The :term:" "`2to3` :2to3fixer:`execfile` fixer now opens the file with mode ``'rb'``. " "Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11651 msgid "" "`bpo-34966 `__: :mod:`pydoc` now " "supports aliases not only to methods defined in the end class, but also to " "inherited methods. The docstring is not duplicated for aliases." msgstr "" #: ../build/NEWS:11655 msgid "" "`bpo-34926 `__: :meth:`mimetypes." "MimeTypes.guess_type` now accepts :term:`path-like object` in addition to " "url strings. Patch by Mayank Asthana." msgstr "" #: ../build/NEWS:11659 msgid "" "`bpo-23831 `__: Add ``moveto()`` method " "to the ``tkinter.Canvas`` widget. Patch by Juliette Monsel." msgstr "" #: ../build/NEWS:11662 msgid "" "`bpo-34941 `__: Methods ``find()``, " "``findtext()`` and ``findall()`` of the ``Element`` class in the :mod:`xml." "etree.ElementTree` module are now able to find children which are instances " "of ``Element`` subclasses." msgstr "" #: ../build/NEWS:11666 msgid "" "`bpo-32680 `__: :class:`smtplib.SMTP` " "objects now always have a `sock` attribute present" msgstr "" #: ../build/NEWS:11669 msgid "" "`bpo-34769 `__: Fix for async generators " "not finalizing when event loop is in debug mode and garbage collector runs " "in another thread." msgstr "" #: ../build/NEWS:11672 msgid "" "`bpo-34936 `__: Fix ``TclError`` in " "``tkinter.Spinbox.selection_element()``. Patch by Juliette Monsel." msgstr "" #: ../build/NEWS:11675 msgid "" "`bpo-34829 `__: Add methods " "``selection_from``, ``selection_range``, ``selection_present`` and " "``selection_to`` to the ``tkinter.Spinbox`` for consistency with the " "``tkinter.Entry`` widget. Patch by Juliette Monsel." msgstr "" #: ../build/NEWS:11679 msgid "" "`bpo-34911 `__: Added *secure_protocols* " "argument to *http.cookiejar.DefaultCookiePolicy* to allow for tweaking of " "protocols and also to add support by default for *wss*, the secure websocket " "protocol." msgstr "" #: ../build/NEWS:11684 msgid "" "`bpo-34922 `__: Fixed integer overflow " "in the :meth:`~hashlib.shake.digest()` and :meth:`~hashlib.shake." "hexdigest()` methods for the SHAKE algorithm in the :mod:`hashlib` module." msgstr "" #: ../build/NEWS:11688 msgid "" "`bpo-34925 `__: 25% speedup in argument " "parsing for the functions in the bisect module." msgstr "" #: ../build/NEWS:11691 msgid "" "`bpo-34900 `__: Fixed :meth:`unittest." "TestCase.debug` when used to call test methods with subtests. Patch by " "Bruno Oliveira." msgstr "" #: ../build/NEWS:11694 msgid "" "`bpo-34844 `__: logging.Formatter " "enhancement - Ensure styles and fmt matches in logging.Formatter - Added " "validate method in each format style class: StrFormatStyle, PercentStyle, " "StringTemplateStyle. - This method is called in the constructor of logging." "Formatter class - Also re-raise the KeyError in the format method of each " "style class, so it would a bit clear that it's an error with the invalid " "format fields." msgstr "" #: ../build/NEWS:11701 msgid "" "`bpo-34897 `__: Adjust test.support." "missing_compiler_executable check so that a nominal command name of \"\" is " "ignored. Patch by Michael Felt." msgstr "" #: ../build/NEWS:11704 msgid "" "`bpo-34871 `__: Fix inspect module " "polluted ``sys.modules`` when parsing ``__text_signature__`` of callable." msgstr "" #: ../build/NEWS:11707 msgid "" "`bpo-34898 `__: Add `mtime` argument to " "`gzip.compress` for reproducible output. Patch by Guo Ci Teo." msgstr "" #: ../build/NEWS:11710 msgid "" "`bpo-28441 `__: On Cygwin and MinGW, " "ensure that ``sys.executable`` always includes the full filename in the " "path, including the ``.exe`` suffix (unless it is a symbolic link)." msgstr "" #: ../build/NEWS:11714 msgid "" "`bpo-34866 `__: Adding " "``max_num_fields`` to ``cgi.FieldStorage`` to make DOS attacks harder by " "limiting the number of ``MiniFieldStorage`` objects created by " "``FieldStorage``." msgstr "" #: ../build/NEWS:11718 msgid "" "`bpo-34711 `__: http.server ensures it " "reports HTTPStatus.NOT_FOUND when the local path ends with \"/\" and is not " "a directory, even if the underlying OS (e.g. AIX) accepts such paths as a " "valid file reference. Patch by Michael Felt." msgstr "" #: ../build/NEWS:11723 msgid "" "`bpo-34872 `__: Fix self-cancellation in " "C implementation of asyncio.Task" msgstr "" #: ../build/NEWS:11725 msgid "" "`bpo-34849 `__: Don't log waiting for " "``selector.select`` in asyncio loop iteration. The waiting is pretty normal " "for any asyncio program, logging its time just adds a noise to logs without " "any useful information provided." msgstr "" #: ../build/NEWS:11730 msgid "" "`bpo-34022 `__: The :envvar:" "`SOURCE_DATE_EPOCH` environment variable no longer overrides the value of " "the *invalidation_mode* argument to :func:`py_compile.compile`, and " "determines its default value instead." msgstr "" #: ../build/NEWS:11734 msgid "" "`bpo-34819 `__: Use a monotonic clock to " "compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order " "to prevent timeouts from deviating when the system clock is adjusted." msgstr "" #: ../build/NEWS:11738 msgid "" "`bpo-34758 `__: Add .wasm -> application/" "wasm to list of recognized file types and content type headers" msgstr "" #: ../build/NEWS:11741 msgid "" "`bpo-34789 `__: :func:`xml.sax." "make_parser` now accepts any iterable as its *parser_list* argument. Patch " "by Andrés Delfino." msgstr "" #: ../build/NEWS:11744 msgid "" "`bpo-34334 `__: In :class:" "`QueueHandler`, clear `exc_text` from :class:`LogRecord` to prevent " "traceback from being written twice." msgstr "" #: ../build/NEWS:11747 msgid "" "`bpo-34687 `__: On Windows, asyncio now " "uses ProactorEventLoop, instead of SelectorEventLoop, by default." msgstr "" #: ../build/NEWS:11750 msgid "" "`bpo-5950 `__: Support reading zip files " "with archive comments in :mod:`zipimport`." msgstr "" #: ../build/NEWS:11753 msgid "" "`bpo-32892 `__: The parser now " "represents all constants as :class:`ast.Constant` instead of using specific " "constant AST types (``Num``, ``Str``, ``Bytes``, ``NameConstant`` and " "``Ellipsis``). These classes are considered deprecated and will be removed " "in future Python versions." msgstr "" #: ../build/NEWS:11759 msgid "" "`bpo-34728 `__: Add deprecation warning " "when `loop` is used in methods: `asyncio.sleep`, `asyncio.wait` and `asyncio." "wait_for`." msgstr "" #: ../build/NEWS:11762 msgid "" "`bpo-34738 `__: ZIP files created by :" "mod:`distutils` will now include entries for directories." msgstr "" #: ../build/NEWS:11765 msgid "" "`bpo-34659 `__: Add an optional " "*initial* argument to itertools.accumulate()." msgstr "" #: ../build/NEWS:11767 msgid "" "`bpo-29577 `__: Support multiple mixin " "classes when creating Enums." msgstr "" #: ../build/NEWS:11769 msgid "" "`bpo-34670 `__: Add SSLContext." "post_handshake_auth and SSLSocket.verify_client_post_handshake for TLS 1.3's " "post handshake authentication feature." msgstr "" #: ../build/NEWS:11773 msgid "" "`bpo-32718 `__: The Activate.ps1 script " "from venv works with PowerShell Core 6.1 and is now available under all " "operating systems." msgstr "" #: ../build/NEWS:11776 msgid "" "`bpo-31177 `__: Fix bug that prevented " "using :meth:`reset_mock ` on mock instances " "with deleted attributes" msgstr "" #: ../build/NEWS:11779 msgid "" "`bpo-34672 `__: Add a workaround, so the " "``'Z'`` :func:`time.strftime` specifier on the musl C library can work in " "some cases." msgstr "" #: ../build/NEWS:11782 msgid "" "`bpo-34666 `__: Implement ``asyncio." "StreamWriter.awrite`` and ``asyncio.StreamWriter.aclose()`` coroutines. " "Methods are needed for providing a consistent stream API with control flow " "switched on by default." msgstr "" #: ../build/NEWS:11787 msgid "" "`bpo-6721 `__: Acquire the logging " "module's commonly used internal locks while fork()ing to avoid deadlocks in " "the child process." msgstr "" #: ../build/NEWS:11790 msgid "" "`bpo-34658 `__: Fix a rare interpreter " "unhandled exception state SystemError only seen when using subprocess with a " "preexec_fn while an after_parent handler has been registered with os." "register_at_fork and the fork system call fails." msgstr "" #: ../build/NEWS:11795 msgid "" "`bpo-34652 `__: Ensure :func:`os.lchmod` " "is never defined on Linux." msgstr "" #: ../build/NEWS:11797 msgid "" "`bpo-34638 `__: Store a weak reference " "to stream reader to break strong references loop between reader and " "protocol. It allows to detect and close the socket if the stream is deleted " "(garbage collected) without ``close()`` call." msgstr "" #: ../build/NEWS:11802 msgid "" "`bpo-34536 `__: `Enum._missing_`: raise " "`ValueError` if None returned and `TypeError` if non-member is returned." msgstr "" #: ../build/NEWS:11805 msgid "" "`bpo-34636 `__: Speed up re scanning of " "many non-matching characters for \\s \\w and \\d within bytes objects. " "(microoptimization)" msgstr "" #: ../build/NEWS:11808 msgid "" "`bpo-24412 `__: Add :func:`~unittest." "addModuleCleanup()` and :meth:`~unittest.TestCase.addClassCleanup()` to " "unittest to support cleanups for :func:`~unittest.setUpModule()` and :meth:" "`~unittest.TestCase.setUpClass()`. Patch by Lisa Roach." msgstr "" #: ../build/NEWS:11813 msgid "" "`bpo-34630 `__: Don't log SSL " "certificate errors in asyncio code (connection error logging is skipped " "already)." msgstr "" #: ../build/NEWS:11816 msgid "" "`bpo-32490 `__: Prevent filename " "duplication in :mod:`subprocess` exception messages. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11819 msgid "" "`bpo-34363 `__: dataclasses.asdict() " "and .astuple() now handle namedtuples correctly." msgstr "" #: ../build/NEWS:11822 msgid "" "`bpo-34625 `__: Update vendorized expat " "library version to 2.2.6." msgstr "" #: ../build/NEWS:11824 msgid "" "`bpo-32270 `__: The subprocess module no " "longer mistakenly closes redirected fds even when they were in pass_fds when " "outside of the default {0, 1, 2} set." msgstr "" #: ../build/NEWS:11828 msgid "" "`bpo-34622 `__: Create a dedicated " "``asyncio.CancelledError``, ``asyncio.InvalidStateError`` and ``asyncio." "TimeoutError`` exception classes. Inherit them from corresponding " "exceptions from ``concurrent.futures`` package. Extract ``asyncio`` " "exceptions into a separate file." msgstr "" #: ../build/NEWS:11834 msgid "" "`bpo-34610 `__: Fixed iterator of :class:" "`multiprocessing.managers.DictProxy`." msgstr "" #: ../build/NEWS:11836 msgid "" "`bpo-34421 `__: Fix distutils logging " "for non-ASCII strings. This caused installation issues on Windows." msgstr "" #: ../build/NEWS:11839 msgid "" "`bpo-34604 `__: Fix possible mojibake in " "the error message of `pwd.getpwnam` and `grp.getgrnam` using string " "representation because of invisible characters or trailing whitespaces. " "Patch by William Grzybowski." msgstr "" #: ../build/NEWS:11843 msgid "" "`bpo-30977 `__: Make uuid.UUID use " "``__slots__`` to reduce its memory footprint. Based on original patch by " "Wouter Bolsterlee." msgstr "" #: ../build/NEWS:11846 msgid "" "`bpo-34574 `__: OrderedDict iterators " "are not exhausted during pickling anymore. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:11849 msgid "" "`bpo-8110 `__: Refactored :mod:" "`subprocess` to check for Windows-specific modules rather than ``sys." "platform == 'win32'``." msgstr "" #: ../build/NEWS:11852 msgid "" "`bpo-34530 `__: ``distutils.spawn." "find_executable()`` now falls back on :data:`os.defpath` if the ``PATH`` " "environment variable is not set." msgstr "" #: ../build/NEWS:11855 msgid "" "`bpo-34563 `__: On Windows, fix " "multiprocessing.Connection for very large read: fix _winapi.PeekNamedPipe() " "and _winapi.ReadFile() for read larger than INT_MAX (usually 2^31-1)." msgstr "" #: ../build/NEWS:11859 msgid "" "`bpo-34558 `__: Correct typo in Lib/" "ctypes/_aix.py" msgstr "" #: ../build/NEWS:11861 msgid "" "`bpo-34282 `__: Move ``Enum._convert`` " "to ``EnumMeta._convert_`` and fix enum members getting shadowed by parent " "attributes." msgstr "" #: ../build/NEWS:11864 msgid "" "`bpo-22872 `__: When the queue is " "closed, :exc:`ValueError` is now raised by :meth:`multiprocessing.Queue.put` " "and :meth:`multiprocessing.Queue.get` instead of :exc:`AssertionError` and :" "exc:`OSError`, respectively. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11869 msgid "" "`bpo-34515 `__: Fix parsing non-ASCII " "identifiers in :mod:`lib2to3.pgen2.tokenize` (PEP 3131)." msgstr "" #: ../build/NEWS:11872 msgid "" "`bpo-13312 `__: Avoids a possible " "integer underflow (undefined behavior) in the time module's year handling " "code when passed a very low negative year value." msgstr "" #: ../build/NEWS:11876 msgid "" "`bpo-34472 `__: Improved compatibility " "for streamed files in :mod:`zipfile`. Previously an optional signature was " "not being written and certain ZIP applications were not supported. Patch by " "Silas Sewell." msgstr "" #: ../build/NEWS:11880 msgid "" "`bpo-34454 `__: Fix the .fromisoformat() " "methods of datetime types crashing when given unicode with non-UTF-8-" "encodable code points. Specifically, datetime.fromisoformat() now accepts " "surrogate unicode code points used as the separator. Report and tests by " "Alexey Izbyshev, patch by Paul Ganssle." msgstr "" #: ../build/NEWS:11885 msgid "" "`bpo-6700 `__: Fix inspect.getsourcelines " "for module level frames/tracebacks. Patch by Vladimir Matveev." msgstr "" #: ../build/NEWS:11888 msgid "" "`bpo-34171 `__: Running the :mod:`trace` " "module no longer creates the ``trace.cover`` file." msgstr "" #: ../build/NEWS:11891 msgid "" "`bpo-34441 `__: Fix crash when an " "``ABC``-derived class with invalid ``__subclasses__`` is passed as the " "second argument to :func:`issubclass()`. Patch by Alexey Izbyshev." msgstr "" #: ../build/NEWS:11895 msgid "" "`bpo-34427 `__: Fix infinite loop in ``a." "extend(a)`` for ``MutableSequence`` subclasses." msgstr "" #: ../build/NEWS:11898 msgid "" "`bpo-34412 `__: Make :func:`signal." "strsignal` work on HP-UX. Patch by Michael Osipov." msgstr "" #: ../build/NEWS:11901 msgid "" "`bpo-20849 `__: shutil.copytree now " "accepts a new ``dirs_exist_ok`` keyword argument. Patch by Josh Bronson." msgstr "" #: ../build/NEWS:11904 msgid "" "`bpo-31715 `__: Associate ``.mjs`` file " "extension with ``application/javascript`` MIME Type." msgstr "" #: ../build/NEWS:11907 msgid "" "`bpo-34384 `__: :func:`os.readlink` now " "accepts :term:`path-like ` and :class:`bytes` objects on " "Windows." msgstr "" #: ../build/NEWS:11910 msgid "" "`bpo-22602 `__: The UTF-7 decoder now " "raises :exc:`UnicodeDecodeError` for ill-formed sequences starting with \"+" "\" (as specified in RFC 2152). Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11914 msgid "" "`bpo-2122 `__: The :meth:`mmap.flush() " "` method now returns ``None`` on success, raises an " "exception on error under all platforms." msgstr "" #: ../build/NEWS:11917 msgid "" "`bpo-34341 `__: Appending to the ZIP " "archive with the ZIP64 extension no longer grows the size of extra fields of " "existing entries." msgstr "" #: ../build/NEWS:11920 msgid "" "`bpo-34333 `__: Fix %-formatting in :" "meth:`pathlib.PurePath.with_suffix` when formatting an error message." msgstr "" #: ../build/NEWS:11923 msgid "" "`bpo-18540 `__: The :class:`imaplib." "IMAP4` and :class:`imaplib.IMAP4_SSL` classes now resolve to the local host " "IP correctly when the default value of *host* parameter (``''``) is used." msgstr "" #: ../build/NEWS:11927 msgid "" "`bpo-26502 `__: Implement ``traceback." "FrameSummary.__len__()`` method to preserve compatibility with the old tuple " "API." msgstr "" #: ../build/NEWS:11930 msgid "" "`bpo-34318 `__: :func:`~unittest." "TestCase.assertRaises`, :func:`~unittest.TestCase.assertRaisesRegex`, :func:" "`~unittest.TestCase.assertWarns` and :func:`~unittest.TestCase." "assertWarnsRegex` no longer success if the passed callable is None. They no " "longer ignore unknown keyword arguments in the context manager mode. A " "DeprecationWarning was raised in these cases since Python 3.5." msgstr "" #: ../build/NEWS:11938 msgid "" "`bpo-9372 `__: Deprecate :meth:" "`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`, :class:" "`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput`." msgstr "" #: ../build/NEWS:11942 msgid "" "`bpo-33613 `__: Fix a race condition in " "``multiprocessing.semaphore_tracker`` when the tracker receives SIGINT " "before it can register signal handlers for ignoring it." msgstr "" #: ../build/NEWS:11946 msgid "" "`bpo-34248 `__: Report filename in the " "exception raised when the database file cannot be opened by :func:`dbm.gnu." "open` and :func:`dbm.ndbm.open` due to OS-related error. Patch by Zsolt " "Cserna." msgstr "" #: ../build/NEWS:11950 msgid "" "`bpo-33089 `__: Add math.dist() to " "compute the Euclidean distance between two points." msgstr "" #: ../build/NEWS:11953 msgid "" "`bpo-34246 `__: :meth:`smtplib.SMTP." "send_message` no longer modifies the content of the *mail_options* argument. " "Patch by Pablo S. Blum de Aguiar." msgstr "" #: ../build/NEWS:11956 msgid "" "`bpo-31047 `__: Fix ``ntpath.abspath`` " "for invalid paths on windows. Patch by Franz Woellert." msgstr "" #: ../build/NEWS:11959 msgid "" "`bpo-32321 `__: Add pure Python fallback " "for functools.reduce. Patch by Robert Wright." msgstr "" #: ../build/NEWS:11962 msgid "" "`bpo-34270 `__: The default asyncio task " "class now always has a name which can be get or set using two new methods (:" "meth:`~asyncio.Task.get_name()` and :meth:`~asyncio.Task.set_name`) and is " "visible in the :func:`repr` output. An initial name can also be set using " "the new ``name`` keyword argument to :func:`asyncio.create_task` or the :" "meth:`~asyncio.AbstractEventLoop.create_task` method of the event loop. If " "no initial name is set, the default Task implementation generates a name " "like ``Task-1`` using a monotonic counter." msgstr "" #: ../build/NEWS:11971 msgid "" "`bpo-34263 `__: asyncio's event loop " "will not pass timeouts longer than one day to epoll/select etc." msgstr "" #: ../build/NEWS:11974 msgid "" "`bpo-34035 `__: Fix several " "AttributeError in zipfile seek() methods. Patch by Mickaël Schoentgen." msgstr "" #: ../build/NEWS:11977 msgid "" "`bpo-32215 `__: Fix performance " "regression in :mod:`sqlite3` when a DML statement appeared in a different " "line than the rest of the SQL query." msgstr "" #: ../build/NEWS:11980 msgid "" "`bpo-34075 `__: Deprecate passing non-" "ThreadPoolExecutor instances to :meth:`AbstractEventLoop." "set_default_executor`." msgstr "" #: ../build/NEWS:11983 msgid "" "`bpo-34251 `__: Restore ``msilib.Win64`` " "to preserve backwards compatibility since it's already used by :mod:" "`distutils`' ``bdist_msi`` command." msgstr "" #: ../build/NEWS:11986 msgid "" "`bpo-19891 `__: Ignore errors caused by " "missing / non-writable homedir while writing history during exit of an " "interactive session. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:11990 msgid "" "`bpo-33089 `__: Enhanced math.hypot() to " "support more than two dimensions." msgstr "" #: ../build/NEWS:11992 msgid "" "`bpo-34228 `__: tracemalloc: " "PYTHONTRACEMALLOC=0 environment variable and -X tracemalloc=0 command line " "option are now allowed to disable explicitly tracemalloc at startup." msgstr "" #: ../build/NEWS:11996 msgid "" "`bpo-13041 `__: Use :func:`shutil." "get_terminal_size` to calculate the terminal width correctly in the " "``argparse.HelpFormatter`` class. Initial patch by Zbyszek Jędrzejewski-" "Szmek." msgstr "" #: ../build/NEWS:12000 msgid "" "`bpo-34213 `__: Allow frozen dataclasses " "to have a field named \"object\". Previously this conflicted with an " "internal use of \"object\"." msgstr "" #: ../build/NEWS:12003 msgid "" "`bpo-34052 `__: :meth:`sqlite3." "Connection.create_aggregate`, :meth:`sqlite3.Connection.create_function`, :" "meth:`sqlite3.Connection.set_authorizer`, :meth:`sqlite3.Connection." "set_progress_handler` methods raises TypeError when unhashable objects are " "passed as callable. These methods now don't pass such objects to SQLite API. " "Previous behavior could lead to segfaults. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:12011 msgid "" "`bpo-34197 `__: Attributes " "*skipinitialspace*, *doublequote* and *strict* of the *dialect* attribute of " "the :mod:`csv` reader are now :class:`bool` instances instead of integers 0 " "or 1." msgstr "" #: ../build/NEWS:12015 msgid "" "`bpo-32788 `__: Errors other than :exc:" "`TypeError` raised in methods ``__adapt__()`` and ``__conform__()`` in the :" "mod:`sqlite3` module are now propagated to the user." msgstr "" #: ../build/NEWS:12019 msgid "" "`bpo-21446 `__: The :2to3fixer:`reload` " "fixer now uses :func:`importlib.reload` instead of deprecated :func:`imp." "reload`." msgstr "" #: ../build/NEWS:12022 msgid "" "`bpo-940286 `__: pydoc's ``Helper." "showtopic()`` method now prints the cross references of a topic correctly." msgstr "" #: ../build/NEWS:12025 msgid "" "`bpo-34164 `__: :func:`base64.b32decode` " "could raise UnboundLocalError or OverflowError for incorrect padding. Now " "it always raises :exc:`base64.Error` in these cases." msgstr "" #: ../build/NEWS:12029 msgid "" "`bpo-33729 `__: Fixed issues with " "arguments parsing in :mod:`hashlib`." msgstr "" #: ../build/NEWS:12031 msgid "" "`bpo-34097 `__: ZipFile can zip files " "older than 1980-01-01 and newer than 2107-12-31 using a new " "``strict_timestamps`` parameter at the cost of setting the timestamp to the " "limit." msgstr "" #: ../build/NEWS:12035 msgid "" "`bpo-34108 `__: Remove extraneous CR in " "2to3 refactor." msgstr "" #: ../build/NEWS:12037 msgid "" "`bpo-34070 `__: Make sure to only check " "if the handle is a tty, when opening a file with ``buffering=-1``." msgstr "" #: ../build/NEWS:12040 msgid "" "`bpo-27494 `__: Reverted :issue:`27494`. " "2to3 rejects now a trailing comma in generator expressions." msgstr "" #: ../build/NEWS:12043 msgid "" "`bpo-33967 `__: functools.singledispatch " "now raises TypeError instead of IndexError when no positional arguments are " "passed." msgstr "" #: ../build/NEWS:12046 msgid "" "`bpo-34041 `__: Add the parameter " "*deterministic* to the :meth:`sqlite3.Connection.create_function` method. " "Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:12050 msgid "" "`bpo-34056 `__: Ensure the loader shim " "created by ``imp.load_module`` always returns bytes from its ``get_data()`` " "function. This fixes using ``imp.load_module`` with :pep:`552` hash-based " "pycs." msgstr "" #: ../build/NEWS:12054 msgid "" "`bpo-34054 `__: The multiprocessing " "module now uses the monotonic clock :func:`time.monotonic` instead of the " "system clock :func:`time.time` to implement timeout." msgstr "" #: ../build/NEWS:12058 msgid "" "`bpo-34043 `__: Optimize tarfile " "uncompress performance about 15% when gzip is used." msgstr "" #: ../build/NEWS:12061 msgid "" "`bpo-34044 `__: ``subprocess.Popen`` now " "copies the *startupinfo* argument to leave it unchanged: it will modify the " "copy, so that the same ``STARTUPINFO`` object can be used multiple times." msgstr "" #: ../build/NEWS:12065 msgid "" "`bpo-34010 `__: Fixed a performance " "regression for reading streams with tarfile. The buffered read should use a " "list, instead of appending to a bytes object." msgstr "" #: ../build/NEWS:12069 msgid "" "`bpo-34019 `__: webbrowser: Correct the " "arguments passed to Opera Browser when opening a new URL using the " "``webbrowser`` module. Patch by Bumsik Kim." msgstr "" #: ../build/NEWS:12072 msgid "" "`bpo-34003 `__: csv.DictReader now " "creates dicts instead of OrderedDicts. Patch by Michael Selik." msgstr "" #: ../build/NEWS:12075 msgid "" "`bpo-33978 `__: Closed existing logging " "handlers before reconfiguration via fileConfig and dictConfig. Patch by " "Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:12078 msgid "" "`bpo-14117 `__: Make minor tweaks to " "turtledemo. The 'wikipedia' example is now 'rosette', describing what it " "draws. The 'penrose' print output is reduced. The'1024' output of 'tree' is " "eliminated." msgstr "" #: ../build/NEWS:12082 msgid "" "`bpo-33974 `__: Fixed passing lists and " "tuples of strings containing special characters ``\"``, ``\\``, ``{``, ``}`` " "and ``\\n`` as options to :mod:`~tkinter.ttk` widgets." msgstr "" #: ../build/NEWS:12086 msgid "" "`bpo-27500 `__: Fix getaddrinfo to " "resolve IPv6 addresses correctly." msgstr "" #: ../build/NEWS:12088 msgid "" "`bpo-24567 `__: Improve random.choices() " "to handle subnormal input weights that could occasionally trigger an " "IndexError." msgstr "" #: ../build/NEWS:12091 msgid "" "`bpo-33871 `__: Fixed integer overflow " "in :func:`os.readv`, :func:`os.writev`, :func:`os.preadv` and :func:`os." "pwritev` and in :func:`os.sendfile` with *headers* or *trailers* arguments " "(on BSD-based OSes and macOS)." msgstr "" #: ../build/NEWS:12095 msgid "" "`bpo-25007 `__: Add :func:`copy.copy` " "and :func:`copy.deepcopy` support to zlib compressors and decompressors. " "Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:12098 msgid "" "`bpo-33929 `__: multiprocessing: Fix a " "race condition in Popen of multiprocessing.popen_spawn_win32. The child " "process now duplicates the read end of pipe instead of \"stealing\" it. " "Previously, the read end of pipe was \"stolen\" by the child process, but it " "leaked a handle if the child process had been terminated before it could " "steal the handle from the parent process." msgstr "" #: ../build/NEWS:12105 msgid "" "`bpo-33899 `__: Tokenize module now " "implicitly emits a NEWLINE when provided with input that does not have a " "trailing new line. This behavior now matches what the C tokenizer does " "internally. Contributed by Ammar Askar." msgstr "" #: ../build/NEWS:12109 msgid "" "`bpo-33897 `__: Added a 'force' keyword " "argument to logging.basicConfig()." msgstr "" #: ../build/NEWS:12111 msgid "" "`bpo-33695 `__: :func:`shutil.copytree` " "uses :func:`os.scandir` function and all copy functions depending from it " "use cached :func:`os.stat` values. The speedup for copying a directory with " "8000 files is around +9% on Linux, +20% on Windows and + 30% on a Windows " "SMB share. Also the number of :func:`os.stat` syscalls is reduced by 38% " "making :func:`shutil.copytree` especially faster on network filesystems. " "(Contributed by Giampaolo Rodola' in :issue:`33695`.)" msgstr "" #: ../build/NEWS:12119 msgid "" "`bpo-33916 `__: bz2 and lzma: When " "Decompressor.__init__() is called twice, free the old lock to not leak " "memory." msgstr "" #: ../build/NEWS:12122 msgid "" "`bpo-32568 `__: Make select.epoll() and " "its documentation consistent regarding *sizehint* and *flags*." msgstr "" #: ../build/NEWS:12125 msgid "" "`bpo-33833 `__: Fixed bug in asyncio " "where ProactorSocketTransport logs AssertionError if force closed during " "write." msgstr "" #: ../build/NEWS:12128 msgid "" "`bpo-33663 `__: Convert content length " "to string before putting to header." msgstr "" #: ../build/NEWS:12130 msgid "" "`bpo-33721 `__: :mod:`os.path` functions " "that return a boolean result like :func:`~os.path.exists`, :func:`~os.path." "lexists`, :func:`~os.path.isdir`, :func:`~os.path.isfile`, :func:`~os.path." "islink`, and :func:`~os.path.ismount`, and :mod:`pathlib.Path` methods that " "return a boolean result like :meth:`~pathlib.Path.exists()`, :meth:`~pathlib." "Path.is_dir()`, :meth:`~pathlib.Path.is_file()`, :meth:`~pathlib.Path." "is_mount()`, :meth:`~pathlib.Path.is_symlink()`, :meth:`~pathlib.Path." "is_block_device()`, :meth:`~pathlib.Path.is_char_device()`, :meth:`~pathlib." "Path.is_fifo()`, :meth:`~pathlib.Path.is_socket()` now return ``False`` " "instead of raising :exc:`ValueError` or its subclasses :exc:" "`UnicodeEncodeError` and :exc:`UnicodeDecodeError` for paths that contain " "characters or bytes unrepresentable at the OS level." msgstr "" #: ../build/NEWS:12144 msgid "" "`bpo-26544 `__: Fixed implementation of :" "func:`platform.libc_ver`. It almost always returned version '2.9' for glibc." msgstr "" #: ../build/NEWS:12147 msgid "" "`bpo-33843 `__: Remove deprecated ``cgi." "escape``, ``cgi.parse_qs`` and ``cgi.parse_qsl``." msgstr "" #: ../build/NEWS:12150 msgid "" "`bpo-33842 `__: Remove ``tarfile." "filemode`` which is deprecated since Python 3.3." msgstr "" #: ../build/NEWS:12153 ../build/NEWS:13751 ../build/NEWS:18345 msgid "" "`bpo-30167 `__: Prevent site.main() " "exception if PYTHONSTARTUP is set. Patch by Steve Weber." msgstr "" #: ../build/NEWS:12156 msgid "" "`bpo-33805 `__: Improve error message of " "dataclasses.replace() when an InitVar is not specified" msgstr "" #: ../build/NEWS:12159 msgid "" "`bpo-33687 `__: Fix the call to ``os." "chmod()`` for ``uu.decode()`` if a mode is given or decoded. Patch by Timo " "Furrer." msgstr "" #: ../build/NEWS:12162 ../build/NEWS:13754 ../build/NEWS:18348 msgid "" "`bpo-33812 `__: Datetime instance d with " "non-None tzinfo, but with d.tzinfo.utcoffset(d) returning None is now " "treated as naive by the astimezone() method." msgstr "" #: ../build/NEWS:12166 msgid "" "`bpo-32108 `__: In configparser, don't " "clear section when it is assigned to itself." msgstr "" #: ../build/NEWS:12169 msgid "" "`bpo-27397 `__: Make email module " "properly handle invalid-length base64 strings." msgstr "" #: ../build/NEWS:12172 msgid "" "`bpo-33578 `__: Implement multibyte " "encoder/decoder state methods" msgstr "" #: ../build/NEWS:12174 ../build/NEWS:13758 ../build/NEWS:18352 msgid "" "`bpo-30805 `__: Avoid race condition " "with debug logging" msgstr "" #: ../build/NEWS:12176 msgid "" "`bpo-33476 `__: Fix _header_value_parser." "py when address group is missing final ';'. Contributed by Enrique Perez-" "Terron" msgstr "" #: ../build/NEWS:12179 ../build/NEWS:13760 msgid "" "`bpo-33694 `__: asyncio: Fix a race " "condition causing data loss on pause_reading()/resume_reading() when using " "the ProactorEventLoop." msgstr "" #: ../build/NEWS:12182 ../build/NEWS:13763 msgid "" "`bpo-32493 `__: Correct test for " "``uuid_enc_be`` availability in ``configure.ac``. Patch by Michael Felt." msgstr "" #: ../build/NEWS:12185 ../build/NEWS:13766 msgid "" "`bpo-33792 `__: Add asyncio." "WindowsSelectorEventLoopPolicy and asyncio.WindowsProactorEventLoopPolicy." msgstr "" #: ../build/NEWS:12188 msgid "" "`bpo-33274 `__: W3C DOM Level 1 " "specifies return value of Element.removeAttributeNode() as \"The Attr node " "that was removed.\" xml.dom.minidom now complies with this requirement." msgstr "" #: ../build/NEWS:12192 ../build/NEWS:13769 msgid "" "`bpo-33778 `__: Update ``unicodedata``'s " "database to Unicode version 11.0.0." msgstr "" #: ../build/NEWS:12194 msgid "" "`bpo-33165 `__: Added a stacklevel " "parameter to logging calls to allow use of wrapper/helper functions for " "logging APIs." msgstr "" #: ../build/NEWS:12197 ../build/NEWS:13771 msgid "" "`bpo-33770 `__: improve base64 exception " "message for encoded inputs of invalid length" msgstr "" #: ../build/NEWS:12200 ../build/NEWS:13774 msgid "" "`bpo-33769 `__: asyncio/start_tls: Fix " "error message; cancel callbacks in case of an unhandled error; mark " "SSLTransport as closed if it is aborted." msgstr "" #: ../build/NEWS:12203 ../build/NEWS:13777 ../build/NEWS:18354 msgid "" "`bpo-33767 `__: The concatenation (``" "+``) and repetition (``*``) sequence operations now raise :exc:`TypeError` " "instead of :exc:`SystemError` when performed on :class:`mmap.mmap` objects. " "Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:12207 ../build/NEWS:13781 msgid "" "`bpo-33734 `__: asyncio/ssl: Fix " "AttributeError, increase default handshake timeout" msgstr "" #: ../build/NEWS:12210 msgid "" "`bpo-31014 `__: Fixed creating a " "controller for :mod:`webbrowser` when a user specifies a path to an entry in " "the BROWSER environment variable. Based on patch by John Still." msgstr "" #: ../build/NEWS:12214 msgid "" "`bpo-2504 `__: Add gettext.pgettext() and " "variants." msgstr "" #: ../build/NEWS:12216 msgid "" "`bpo-33197 `__: Add description property " "for _ParameterKind" msgstr "" #: ../build/NEWS:12218 ../build/NEWS:13879 msgid "" "`bpo-32751 `__: When cancelling the task " "due to a timeout, :meth:`asyncio.wait_for` will now wait until the " "cancellation is complete." msgstr "" #: ../build/NEWS:12221 ../build/NEWS:13882 ../build/NEWS:18358 msgid "" "`bpo-32684 `__: Fix gather to propagate " "cancellation of itself even with return_exceptions." msgstr "" #: ../build/NEWS:12224 ../build/NEWS:13885 msgid "" "`bpo-33654 `__: Support protocol type " "switching in SSLTransport.set_protocol()." msgstr "" #: ../build/NEWS:12226 ../build/NEWS:13887 msgid "" "`bpo-33674 `__: Pause the transport as " "early as possible to further reduce the risk of data_received() being called " "before connection_made()." msgstr "" #: ../build/NEWS:12229 msgid "" "`bpo-33671 `__: :func:`shutil." "copyfile`, :func:`shutil.copy`, :func:`shutil.copy2`, :func:`shutil." "copytree` and :func:`shutil.move` use platform-specific fast-copy syscalls " "on Linux and macOS in order to copy the file more efficiently. On Windows :" "func:`shutil.copyfile` uses a bigger default buffer size (1 MiB instead of " "16 KiB) and a :func:`memoryview`-based variant of :func:`shutil.copyfileobj` " "is used. The speedup for copying a 512MiB file is about +26% on Linux, +50% " "on macOS and +40% on Windows. Also, much less CPU cycles are consumed. " "(Contributed by Giampaolo Rodola' in :issue:`25427`.)" msgstr "" #: ../build/NEWS:12239 ../build/NEWS:13890 ../build/NEWS:18361 msgid "" "`bpo-33674 `__: Fix a race condition in " "SSLProtocol.connection_made() of asyncio.sslproto: start immediately the " "handshake instead of using call_soon(). Previously, data_received() could be " "called before the handshake started, causing the handshake to hang or fail." msgstr "" #: ../build/NEWS:12244 ../build/NEWS:13895 ../build/NEWS:18366 msgid "" "`bpo-31647 `__: Fixed bug where calling " "write_eof() on a _SelectorSocketTransport after it's already closed raises " "AttributeError." msgstr "" #: ../build/NEWS:12247 ../build/NEWS:13898 msgid "" "`bpo-32610 `__: Make asyncio.all_tasks() " "return only pending tasks." msgstr "" #: ../build/NEWS:12249 ../build/NEWS:13900 msgid "" "`bpo-32410 `__: Avoid blocking on file " "IO in sendfile fallback code" msgstr "" #: ../build/NEWS:12251 ../build/NEWS:13902 ../build/NEWS:18371 msgid "" "`bpo-33469 `__: Fix RuntimeError after " "closing loop that used run_in_executor" msgstr "" #: ../build/NEWS:12253 ../build/NEWS:13904 ../build/NEWS:18369 msgid "" "`bpo-33672 `__: Fix Task.__repr__ crash " "with Cython's bogus coroutines" msgstr "" #: ../build/NEWS:12255 ../build/NEWS:13906 msgid "" "`bpo-33654 `__: Fix transport." "set_protocol() to support switching between asyncio.Protocol and asyncio." "BufferedProtocol. Fix loop.start_tls() to work with asyncio." "BufferedProtocols." msgstr "" #: ../build/NEWS:12259 ../build/NEWS:13910 msgid "" "`bpo-33652 `__: Pickles of type " "variables and subscripted generics are now future-proof and compatible with " "older Python versions." msgstr "" #: ../build/NEWS:12262 ../build/NEWS:13913 msgid "" "`bpo-32493 `__: Fixed :func:`uuid.uuid1` " "on FreeBSD." msgstr "" #: ../build/NEWS:12264 msgid "" "`bpo-33238 `__: Add " "``InvalidStateError`` to :mod:`concurrent.futures`. ``Future.set_result`` " "and ``Future.set_exception`` now raise ``InvalidStateError`` if the futures " "are not pending or running. Patch by Jason Haydaman." msgstr "" #: ../build/NEWS:12269 ../build/NEWS:13915 msgid "" "`bpo-33618 `__: Finalize and document " "preliminary and experimental TLS 1.3 support with OpenSSL 1.1.1" msgstr "" #: ../build/NEWS:12272 msgid "" "`bpo-33625 `__: Release GIL on `grp." "getgrnam`, `grp.getgrgid`, `pwd.getpwnam` and `pwd.getpwuid` if reentrant " "variants of these functions are available. Patch by William Grzybowski." msgstr "" #: ../build/NEWS:12276 ../build/NEWS:13918 msgid "" "`bpo-33623 `__: Fix possible SIGSGV when " "asyncio.Future is created in __del__" msgstr "" #: ../build/NEWS:12278 ../build/NEWS:13784 ../build/NEWS:18373 msgid "" "`bpo-11874 `__: Use a better regex when " "breaking usage into wrappable parts. Avoids bogus assertion errors from " "custom metavar strings." msgstr "" #: ../build/NEWS:12281 ../build/NEWS:13920 ../build/NEWS:18376 msgid "" "`bpo-30877 `__: Fixed a bug in the " "Python implementation of the JSON decoder that prevented the cache of parsed " "strings from clearing after finishing the decoding. Based on patch by c-fos." msgstr "" #: ../build/NEWS:12285 msgid "" "`bpo-33604 `__: Remove HMAC default to " "md5 marked for removal in 3.8 (removal originally planned in 3.6, bump to " "3.8 in gh-7062)." msgstr "" #: ../build/NEWS:12288 ../build/NEWS:13787 msgid "" "`bpo-33582 `__: Emit a deprecation " "warning for inspect.formatargspec" msgstr "" #: ../build/NEWS:12290 msgid "" "`bpo-21145 `__: Add ``functools." "cached_property`` decorator, for computed properties cached for the life of " "the instance." msgstr "" #: ../build/NEWS:12293 ../build/NEWS:13924 msgid "" "`bpo-33570 `__: Change TLS 1.3 cipher " "suite settings for compatibility with OpenSSL 1.1.1-pre6 and newer. OpenSSL " "1.1.1 will have TLS 1.3 ciphers enabled by default." msgstr "" #: ../build/NEWS:12297 ../build/NEWS:13928 msgid "" "`bpo-28556 `__: Do not simplify " "arguments to `typing.Union`. Now `Union[Manager, Employee]` is not " "simplified to `Employee` at runtime. Such simplification previously caused " "several bugs and limited possibilities for introspection." msgstr "" #: ../build/NEWS:12302 msgid "" "`bpo-12486 `__: :func:`tokenize." "generate_tokens` is now documented as a public API to tokenize unicode " "strings. It was previously present but undocumented." msgstr "" #: ../build/NEWS:12306 ../build/NEWS:13933 msgid "" "`bpo-33540 `__: Add a new " "``block_on_close`` class attribute to ``ForkingMixIn`` and " "``ThreadingMixIn`` classes of :mod:`socketserver`." msgstr "" #: ../build/NEWS:12309 ../build/NEWS:13936 ../build/NEWS:18380 msgid "" "`bpo-33548 `__: tempfile." "_candidate_tempdir_list should consider common TEMP locations" msgstr "" #: ../build/NEWS:12312 ../build/NEWS:13939 msgid "" "`bpo-33109 `__: argparse subparsers are " "once again not required by default, reverting the change in behavior " "introduced by `bpo-26510 `__ in 3.7.0a2." msgstr "" #: ../build/NEWS:12315 msgid "" "`bpo-33541 `__: Remove unused private " "method ``_strptime.LocaleTime.__pad`` (a.k.a. ``_LocaleTime__pad``)." msgstr "" #: ../build/NEWS:12318 ../build/NEWS:13942 msgid "" "`bpo-33536 `__: dataclasses." "make_dataclass now checks for invalid field names and duplicate fields. " "Also, added a check for invalid field specifications." msgstr "" #: ../build/NEWS:12322 ../build/NEWS:13946 ../build/NEWS:18383 msgid "" "`bpo-33542 `__: Prevent ``uuid." "get_node`` from using a DUID instead of a MAC on Windows. Patch by Zvi Effron" msgstr "" #: ../build/NEWS:12325 ../build/NEWS:13949 ../build/NEWS:18386 msgid "" "`bpo-26819 `__: Fix race condition with " "`ReadTransport.resume_reading` in Windows proactor event loop." msgstr "" #: ../build/NEWS:12328 ../build/NEWS:13952 msgid "" "Fix failure in `typing.get_type_hints()` when ClassVar was provided as a " "string forward reference." msgstr "" #: ../build/NEWS:12331 msgid "" "`bpo-33516 `__: :class:`unittest.mock." "MagicMock` now supports the ``__round__`` magic method." msgstr "" #: ../build/NEWS:12334 msgid "" "`bpo-28612 `__: Added support for Site " "Maps to urllib's ``RobotFileParser`` as :meth:`RobotFileParser.site_maps() " "`. Patch by Lady Red, based on " "patch by Peter Wirtz." msgstr "" #: ../build/NEWS:12339 msgid "" "`bpo-28167 `__: Remove platform." "linux_distribution, which was deprecated since 3.5." msgstr "" #: ../build/NEWS:12342 msgid "" "`bpo-33504 `__: Switch the default " "dictionary implementation for :mod:`configparser` from :class:`collections." "OrderedDict` to the standard :class:`dict` type." msgstr "" #: ../build/NEWS:12346 ../build/NEWS:13955 msgid "" "`bpo-33505 `__: Optimize asyncio." "ensure_future() by reordering if checks: 1.17x faster." msgstr "" #: ../build/NEWS:12349 ../build/NEWS:13958 msgid "" "`bpo-33497 `__: Add errors param to cgi." "parse_multipart and make an encoding in FieldStorage use the given errors " "(needed for Twisted). Patch by Amber Brown." msgstr "" #: ../build/NEWS:12353 msgid "" "`bpo-29235 `__: The :class:`cProfile." "Profile` class can now be used as a context manager. Patch by Scott " "Sanderson." msgstr "" #: ../build/NEWS:12356 ../build/NEWS:13962 msgid "" "`bpo-33495 `__: Change dataclasses." "Fields repr to use the repr of each of its members, instead of str. This " "makes it more clear what each field actually represents. This is especially " "true for the 'type' member." msgstr "" #: ../build/NEWS:12360 msgid "" "`bpo-26103 `__: Correct ``inspect." "isdatadescriptor`` to look for ``__set__`` or ``__delete__``. Patch by " "Aaron Hall." msgstr "" #: ../build/NEWS:12363 msgid "" "`bpo-29209 `__: Removed the " "``doctype()`` method and the *html* parameter of the constructor of :class:" "`~xml.etree.ElementTree.XMLParser`. The ``doctype()`` method defined in a " "subclass will no longer be called. Deprecated methods ``getchildren()`` and " "``getiterator()`` in the :mod:`~xml.etree.ElementTree` module emit now a :" "exc:`DeprecationWarning` instead of :exc:`PendingDeprecationWarning`." msgstr "" #: ../build/NEWS:12370 ../build/NEWS:13966 msgid "" "`bpo-33453 `__: Fix dataclasses to work " "if using literal string type annotations or if using PEP 563 \"Postponed " "Evaluation of Annotations\". Only specific string prefixes are detected for " "both ClassVar (\"ClassVar\" and \"typing.ClassVar\") and InitVar (\"InitVar" "\" and \"dataclasses.InitVar\")." msgstr "" #: ../build/NEWS:12375 ../build/NEWS:13971 ../build/NEWS:18389 msgid "" "`bpo-28556 `__: Minor fixes in typing " "module: add annotations to ``NamedTuple.__new__``, pass ``*args`` and " "``**kwds`` in ``Generic.__new__``. Original PRs by Paulius Šarka and Chad " "Dombrova." msgstr "" #: ../build/NEWS:12379 msgid "" "`bpo-33365 `__: Print the header values " "besides the header keys instead just the header keys if *debuglevel* is set " "to >0 in :mod:`http.client`. Patch by Marco Strigl." msgstr "" #: ../build/NEWS:12383 ../build/NEWS:13975 ../build/NEWS:18393 msgid "" "`bpo-20087 `__: Updated alias mapping " "with glibc 2.27 supported locales." msgstr "" #: ../build/NEWS:12385 ../build/NEWS:13977 ../build/NEWS:18395 msgid "" "`bpo-33422 `__: Fix trailing quotation " "marks getting deleted when looking up byte/string literals on pydoc. Patch " "by Andrés Delfino." msgstr "" #: ../build/NEWS:12388 ../build/NEWS:13980 msgid "" "`bpo-28167 `__: The function ``platform." "linux_distribution`` and ``platform.dist`` now trigger a " "``DeprecationWarning`` and have been marked for removal in Python 3.8" msgstr "" #: ../build/NEWS:12392 ../build/NEWS:14087 msgid "" "`bpo-33281 `__: Fix ctypes.util." "find_library regression on macOS." msgstr "" #: ../build/NEWS:12394 msgid "" "`bpo-33311 `__: Text and html output " "generated by cgitb does not display parentheses if the current call is done " "directly in the module. Patch by Stéphane Blondon." msgstr "" #: ../build/NEWS:12398 msgid "" "`bpo-27300 `__: The file classes in " "*tempfile* now accept an *errors* parameter that complements the already " "existing *encoding*. Patch by Stephan Hohe." msgstr "" #: ../build/NEWS:12401 msgid "" "`bpo-32933 `__: :func:`unittest.mock." "mock_open` now supports iteration over the file contents. Patch by Tony " "Flury." msgstr "" #: ../build/NEWS:12404 msgid "" "`bpo-33217 `__: Raise :exc:`TypeError` " "when looking up non-Enum objects in Enum classes and Enum members." msgstr "" #: ../build/NEWS:12407 ../build/NEWS:13984 ../build/NEWS:18398 msgid "" "`bpo-33197 `__: Update error message " "when constructing invalid inspect.Parameters Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:12410 ../build/NEWS:14089 ../build/NEWS:18401 msgid "" "`bpo-33383 `__: Fixed crash in the get() " "method of the :mod:`dbm.ndbm` database object when it is called with a " "single argument." msgstr "" #: ../build/NEWS:12413 msgid "" "`bpo-33375 `__: The warnings module now " "finds the Python file associated with a warning from the code object, rather " "than the frame's global namespace. This is consistent with how tracebacks " "and pdb find filenames, and should work better for dynamically executed code." msgstr "" #: ../build/NEWS:12418 msgid "" "`bpo-33336 `__: ``imaplib`` now allows " "``MOVE`` command in ``IMAP4.uid()`` (RFC 6851: IMAP MOVE Extension) and " "potentially as a name of supported method of ``IMAP4`` object." msgstr "" #: ../build/NEWS:12422 msgid "" "`bpo-32455 `__: Added *jump* parameter " "to :func:`dis.stack_effect`." msgstr "" #: ../build/NEWS:12424 msgid "" "`bpo-27485 `__: Rename and deprecate " "undocumented functions in :func:`urllib.parse`." msgstr "" #: ../build/NEWS:12427 msgid "" "`bpo-33332 `__: Add ``signal." "valid_signals()`` to expose the POSIX sigfillset() functionality." msgstr "" #: ../build/NEWS:12430 msgid "" "`bpo-33251 `__: `ConfigParser.items()` " "was fixed so that key-value pairs passed in via `vars` are not included in " "the resulting output." msgstr "" #: ../build/NEWS:12433 ../build/NEWS:14092 ../build/NEWS:18404 msgid "" "`bpo-33329 `__: Fix multiprocessing " "regression on newer glibcs" msgstr "" #: ../build/NEWS:12435 msgid "" "`bpo-33334 `__: :func:`dis.stack_effect` " "now supports all defined opcodes including NOP and EXTENDED_ARG." msgstr "" #: ../build/NEWS:12438 ../build/NEWS:14094 ../build/NEWS:18406 msgid "" "`bpo-991266 `__: Fix quoting of the " "``Comment`` attribute of :class:`http.cookies.SimpleCookie`." msgstr "" #: ../build/NEWS:12441 ../build/NEWS:14097 ../build/NEWS:18409 msgid "" "`bpo-33131 `__: Upgrade bundled version " "of pip to 10.0.1." msgstr "" #: ../build/NEWS:12443 ../build/NEWS:14099 ../build/NEWS:18411 msgid "" "`bpo-33308 `__: Fixed a crash in the :" "mod:`parser` module when converting an ST object to a tree of tuples or " "lists with ``line_info=False`` and ``col_info=True``." msgstr "" #: ../build/NEWS:12447 msgid "" "`bpo-23403 `__: lib2to3 now uses pickle " "protocol 4 for pre-computed grammars." msgstr "" #: ../build/NEWS:12449 ../build/NEWS:14103 msgid "" "`bpo-33266 `__: lib2to3 now recognizes " "``rf'...'`` strings." msgstr "" #: ../build/NEWS:12451 ../build/NEWS:14105 msgid "" "`bpo-11594 `__: Ensure line-endings are " "respected when using lib2to3." msgstr "" #: ../build/NEWS:12453 ../build/NEWS:14107 msgid "" "`bpo-33254 `__: Have :func:`importlib." "resources.contents` and :meth:`importlib.abc.ResourceReader.contents` return " "an :term:`iterable` instead of an :term:`iterator`." msgstr "" #: ../build/NEWS:12457 msgid "" "`bpo-33265 `__: ``contextlib.ExitStack`` " "and ``contextlib.AsyncExitStack`` now use a method instead of a wrapper " "function for exit callbacks." msgstr "" #: ../build/NEWS:12460 ../build/NEWS:13987 ../build/NEWS:18415 msgid "" "`bpo-33263 `__: Fix FD leak in " "`_SelectorSocketTransport` Patch by Vlad Starostin." msgstr "" #: ../build/NEWS:12463 ../build/NEWS:14111 ../build/NEWS:18418 msgid "" "`bpo-33256 `__: Fix display of " "```` call in the html produced by ``cgitb.html()``. Patch by " "Stéphane Blondon." msgstr "" #: ../build/NEWS:12466 msgid "" "`bpo-33144 `__: ``random.Random()`` and " "its subclassing mechanism got optimized to check only once at class/subclass " "instantiation time whether its ``getrandbits()`` method can be relied on by " "other methods, including ``randrange()``, for the generation of arbitrarily " "large random integers. Patch by Wolfgang Maier." msgstr "" #: ../build/NEWS:12472 msgid "" "`bpo-33185 `__: Fixed regression when " "running pydoc with the :option:`-m` switch. (The regression was introduced " "in 3.7.0b3 by the resolution of :issue:`33053`)" msgstr "" #: ../build/NEWS:12476 msgid "" "This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when " "necessary, rather than adding ``\".\"``." msgstr "" #: ../build/NEWS:12479 msgid "" "`bpo-29613 `__: Added support for the " "``SameSite`` cookie flag to the ``http.cookies`` module." msgstr "" #: ../build/NEWS:12482 ../build/NEWS:14119 msgid "" "`bpo-33169 `__: Delete entries of " "``None`` in :data:`sys.path_importer_cache` when :meth:`importlib.machinery." "invalidate_caches` is called." msgstr "" #: ../build/NEWS:12485 ../build/NEWS:14125 ../build/NEWS:18421 msgid "" "`bpo-33203 `__: ``random.Random." "choice()`` now raises ``IndexError`` for empty sequences consistently even " "when called from subclasses without a ``getrandbits()`` implementation." msgstr "" #: ../build/NEWS:12489 ../build/NEWS:14129 ../build/NEWS:18425 msgid "" "`bpo-33224 `__: Update difflib.mdiff() " "for :pep:`479`. Convert an uncaught StopIteration in a generator into a " "return-statement." msgstr "" #: ../build/NEWS:12492 ../build/NEWS:14132 ../build/NEWS:18428 msgid "" "`bpo-33209 `__: End framing at the end " "of C implementation of :func:`pickle.Pickler.dump`." msgstr "" #: ../build/NEWS:12495 msgid "" "`bpo-32861 `__: The urllib.robotparser's " "``__str__`` representation now includes wildcard entries and the \"Crawl-" "delay\" and \"Request-rate\" fields. Also removes extra newlines that were " "being appended to the end of the string. Patch by Michael Lazar." msgstr "" #: ../build/NEWS:12500 msgid "" "`bpo-23403 `__: ``DEFAULT_PROTOCOL`` in :" "mod:`pickle` was bumped to 4. Protocol 4 is described in :pep:`3154` and " "available since Python 3.4. It offers better performance and smaller size " "compared to protocol 3 introduced in Python 3.0." msgstr "" #: ../build/NEWS:12505 ../build/NEWS:14135 msgid "" "`bpo-20104 `__: Improved error handling " "and fixed a reference leak in :func:`os.posix_spawn()`." msgstr "" #: ../build/NEWS:12508 msgid "" "`bpo-33106 `__: Deleting a key from a " "read-only dbm database raises module specific error instead of KeyError." msgstr "" #: ../build/NEWS:12511 ../build/NEWS:14138 msgid "" "`bpo-33175 `__: In dataclasses, Field." "__set_name__ now looks up the __set_name__ special method on the class, not " "the instance, of the default value." msgstr "" #: ../build/NEWS:12515 msgid "" "`bpo-32380 `__: Create functools." "singledispatchmethod to support generic single dispatch on descriptors and " "methods." msgstr "" #: ../build/NEWS:12518 ../build/NEWS:14278 msgid "" "`bpo-33141 `__: Have Field objects pass " "through __set_name__ to their default values, if they have their own " "__set_name__." msgstr "" #: ../build/NEWS:12521 ../build/NEWS:14281 ../build/NEWS:18435 msgid "" "`bpo-33096 `__: Allow ttk.Treeview." "insert to insert iid that has a false boolean value. Note iid=0 and " "iid=False would be same. Patch by Garvit Khatri." msgstr "" #: ../build/NEWS:12525 ../build/NEWS:14285 msgid "" "`bpo-32873 `__: Treat type variables and " "special typing forms as immutable by copy and pickle. This fixes several " "minor issues and inconsistencies, and improves backwards compatibility with " "Python 3.6." msgstr "" #: ../build/NEWS:12529 ../build/NEWS:14289 msgid "" "`bpo-33134 `__: When computing " "dataclass's __hash__, use the lookup table to contain the function which " "returns the __hash__ value. This is an improvement over looking up a " "string, and then testing that string to see what to do." msgstr "" #: ../build/NEWS:12534 ../build/NEWS:14294 ../build/NEWS:18439 msgid "" "`bpo-33127 `__: The ssl module now " "compiles with LibreSSL 2.7.1." msgstr "" #: ../build/NEWS:12536 ../build/NEWS:14296 msgid "" "`bpo-32505 `__: Raise TypeError if a " "member variable of a dataclass is of type Field, but doesn't have a type " "annotation." msgstr "" #: ../build/NEWS:12539 ../build/NEWS:14299 msgid "" "`bpo-33078 `__: Fix the failure on OSX " "caused by the tests relying on sem_getvalue" msgstr "" #: ../build/NEWS:12542 ../build/NEWS:14302 msgid "" "`bpo-33116 `__: Add 'Field' to " "dataclasses.__all__." msgstr "" #: ../build/NEWS:12544 ../build/NEWS:14304 msgid "" "`bpo-32896 `__: Fix an error where " "subclassing a dataclass with a field that uses a default_factory would " "generate an incorrect class." msgstr "" #: ../build/NEWS:12547 ../build/NEWS:14307 msgid "" "`bpo-33100 `__: Dataclasses: If a field " "has a default value that's a MemberDescriptorType, then it's from that field " "being in __slots__, not an actual default value." msgstr "" #: ../build/NEWS:12551 ../build/NEWS:14311 msgid "" "`bpo-32953 `__: If a non-dataclass " "inherits from a frozen dataclass, allow attributes to be added to the " "derived class. Only attributes from the frozen dataclass cannot be assigned " "to. Require all dataclasses in a hierarchy to be either all frozen or all " "non-frozen." msgstr "" #: ../build/NEWS:12556 ../build/NEWS:14142 msgid "" "`bpo-33097 `__: Raise RuntimeError when " "``executor.submit`` is called during interpreter shutdown." msgstr "" #: ../build/NEWS:12559 msgid "" "`bpo-32968 `__: Modulo and floor " "division involving Fraction and float should return float." msgstr "" #: ../build/NEWS:12562 ../build/NEWS:14316 msgid "" "`bpo-33061 `__: Add missing ``NoReturn`` " "to ``__all__`` in typing.py" msgstr "" #: ../build/NEWS:12564 ../build/NEWS:14318 msgid "" "`bpo-33078 `__: Fix the size handling in " "multiprocessing.Queue when a pickling error occurs." msgstr "" #: ../build/NEWS:12567 ../build/NEWS:14321 ../build/NEWS:18691 msgid "" "`bpo-33064 `__: lib2to3 now properly " "supports trailing commas after ``*args`` and ``**kwargs`` in function " "signatures." msgstr "" #: ../build/NEWS:12570 ../build/NEWS:14324 msgid "" "`bpo-33056 `__: FIX properly close " "leaking fds in concurrent.futures.ProcessPoolExecutor." msgstr "" #: ../build/NEWS:12573 ../build/NEWS:14327 ../build/NEWS:18441 msgid "" "`bpo-33021 `__: Release the GIL during " "fstat() calls, avoiding hang of all threads when calling mmap.mmap(), os." "urandom(), and random.seed(). Patch by Nir Soffer." msgstr "" #: ../build/NEWS:12577 ../build/NEWS:14331 ../build/NEWS:18694 msgid "" "`bpo-31804 `__: Avoid failing in " "multiprocessing.Process if the standard streams are closed or None at exit." msgstr "" #: ../build/NEWS:12580 msgid "" "`bpo-33034 `__: Providing an explicit " "error message when casting the port property to anything that is not an " "integer value using ``urlparse()`` and ``urlsplit()``. Patch by Matt Eaton." msgstr "" #: ../build/NEWS:12584 msgid "" "`bpo-30249 `__: Improve struct." "unpack_from() exception messages for problems with the buffer size and " "offset." msgstr "" #: ../build/NEWS:12587 ../build/NEWS:14334 ../build/NEWS:18697 msgid "" "`bpo-33037 `__: Skip sending/receiving " "data after SSL transport closing." msgstr "" #: ../build/NEWS:12589 ../build/NEWS:14336 ../build/NEWS:18445 msgid "" "`bpo-27683 `__: Fix a regression in :mod:" "`ipaddress` that result of :meth:`hosts` is empty when the network is " "constructed by a tuple containing an integer mask and only 1 bit left for " "addresses." msgstr "" #: ../build/NEWS:12593 msgid "" "`bpo-22674 `__: Add the strsignal() " "function in the signal module that returns the system description of the " "given signal, as returned by strsignal(3)." msgstr "" #: ../build/NEWS:12596 ../build/NEWS:14340 msgid "" "`bpo-32999 `__: Fix C implementation of " "``ABC.__subclasscheck__(cls, subclass)`` crashed when ``subclass`` is not a " "type object." msgstr "" #: ../build/NEWS:12599 ../build/NEWS:14343 ../build/NEWS:18701 msgid "" "`bpo-33009 `__: Fix inspect.signature() " "for single-parameter partialmethods." msgstr "" #: ../build/NEWS:12601 ../build/NEWS:14345 ../build/NEWS:18703 msgid "" "`bpo-32969 `__: Expose several missing " "constants in zlib and fix corresponding documentation." msgstr "" #: ../build/NEWS:12604 ../build/NEWS:14348 msgid "" "`bpo-32056 `__: Improved exceptions " "raised for invalid number of channels and sample width when read an audio " "file in modules :mod:`aifc`, :mod:`wave` and :mod:`sunau`." msgstr "" #: ../build/NEWS:12608 msgid "" "`bpo-32970 `__: Improved disassembly of " "the MAKE_FUNCTION instruction." msgstr "" #: ../build/NEWS:12610 ../build/NEWS:14352 ../build/NEWS:18449 msgid "" "`bpo-32844 `__: Fix wrong redirection of " "a low descriptor (0 or 1) to stderr in subprocess if another low descriptor " "is closed." msgstr "" #: ../build/NEWS:12613 ../build/NEWS:14483 msgid "" "`bpo-32960 `__: For dataclasses, " "disallow inheriting frozen from non-frozen classes, and also disallow " "inheriting non-frozen from frozen classes. This restriction will be relaxed " "at a future date." msgstr "" #: ../build/NEWS:12617 ../build/NEWS:14487 ../build/NEWS:18706 msgid "" "`bpo-32713 `__: Fixed tarfile.itn " "handling of out-of-bounds float values. Patch by Joffrey Fuhrer." msgstr "" #: ../build/NEWS:12620 ../build/NEWS:13994 msgid "" "`bpo-32257 `__: The ssl module now " "contains OP_NO_RENEGOTIATION constant, available with OpenSSL 1.1.0h or " "1.1.1." msgstr "" #: ../build/NEWS:12623 ../build/NEWS:14490 msgid "" "`bpo-32951 `__: Direct instantiation of " "SSLSocket and SSLObject objects is now prohibited. The constructors were " "never documented, tested, or designed as public constructors. Users were " "suppose to use ssl.wrap_socket() or SSLContext." msgstr "" #: ../build/NEWS:12628 ../build/NEWS:14495 msgid "" "`bpo-32929 `__: Remove the tri-state " "parameter \"hash\", and add the boolean \"unsafe_hash\". If unsafe_hash is " "True, add a __hash__ function, but if a __hash__ exists, raise TypeError. " "If unsafe_hash is False, add a __hash__ based on the values of eq= and " "frozen=. The unsafe_hash=False behavior is the same as the old hash=None " "behavior. unsafe_hash=False is the default, just as hash=None used to be." msgstr "" #: ../build/NEWS:12635 ../build/NEWS:14502 msgid "" "`bpo-32947 `__: Add " "OP_ENABLE_MIDDLEBOX_COMPAT and test workaround for TLSv1.3 for future " "compatibility with OpenSSL 1.1.1." msgstr "" #: ../build/NEWS:12638 msgid "" "`bpo-32146 `__: Document the interaction " "between frozen executables and the spawn and forkserver start methods in " "multiprocessing." msgstr "" #: ../build/NEWS:12641 ../build/NEWS:14505 ../build/NEWS:18709 msgid "" "`bpo-30622 `__: The ssl module now " "detects missing NPN support in LibreSSL." msgstr "" #: ../build/NEWS:12643 ../build/NEWS:14507 ../build/NEWS:18711 msgid "" "`bpo-32922 `__: dbm.open() now encodes " "filename with the filesystem encoding rather than default encoding." msgstr "" #: ../build/NEWS:12646 msgid "" "`bpo-32759 `__: Free unused arenas in " "multiprocessing.heap." msgstr "" #: ../build/NEWS:12648 ../build/NEWS:14510 ../build/NEWS:18714 msgid "" "`bpo-32859 `__: In ``os.dup2``, don't " "check every call whether the ``dup3`` syscall exists or not." msgstr "" #: ../build/NEWS:12651 ../build/NEWS:14513 msgid "" "`bpo-32556 `__: nt._getfinalpathname, nt." "_getvolumepathname and nt._getdiskusage now correctly convert from bytes." msgstr "" #: ../build/NEWS:12654 ../build/NEWS:14519 ../build/NEWS:18717 msgid "" "`bpo-21060 `__: Rewrite confusing " "message from setup.py upload from \"No dist file created in earlier command" "\" to the more helpful \"Must create and upload files in one command\"." msgstr "" #: ../build/NEWS:12658 ../build/NEWS:14355 ../build/NEWS:18721 msgid "" "`bpo-32857 `__: In :mod:`tkinter`, " "``after_cancel(None)`` now raises a :exc:`ValueError` instead of canceling " "the first scheduled function. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:12662 ../build/NEWS:14523 ../build/NEWS:18725 msgid "" "`bpo-32852 `__: Make sure sys.argv " "remains as a list when running trace." msgstr "" #: ../build/NEWS:12664 msgid "" "`bpo-31333 `__: ``_abc`` module is " "added. It is a speedup module with C implementations for various functions " "and methods in ``abc``. Creating an ABC subclass and calling ``isinstance`` " "or ``issubclass`` with an ABC subclass are up to 1.5x faster. In addition, " "this makes Python start-up up to 10% faster." msgstr "" #: ../build/NEWS:12670 msgid "" "Note that the new implementation hides internal registry and caches, " "previously accessible via private attributes ``_abc_registry``, " "``_abc_cache``, and ``_abc_negative_cache``. There are three debugging " "helper methods that can be used instead ``_dump_registry``, " "``_abc_registry_clear``, and ``_abc_caches_clear``." msgstr "" #: ../build/NEWS:12676 ../build/NEWS:14535 ../build/NEWS:18727 msgid "" "`bpo-32841 `__: Fixed `asyncio." "Condition` issue which silently ignored cancellation after notifying and " "cancelling a conditional lock. Patch by Bar Harel." msgstr "" #: ../build/NEWS:12680 ../build/NEWS:14539 msgid "" "`bpo-32819 `__: ssl.match_hostname() has " "been simplified and no longer depends on re and ipaddress module for " "wildcard and IP addresses. Error reporting for invalid wildcards has been " "improved." msgstr "" #: ../build/NEWS:12684 msgid "" "`bpo-19675 `__: ``multiprocessing.Pool`` " "no longer leaks processes if its initialization fails." msgstr "" #: ../build/NEWS:12687 ../build/NEWS:14543 msgid "" "`bpo-32394 `__: socket: Remove " "TCP_FASTOPEN,TCP_KEEPCNT,TCP_KEEPIDLE,TCP_KEEPINTVL flags on older version " "Windows during run-time." msgstr "" #: ../build/NEWS:12691 ../build/NEWS:14547 ../build/NEWS:18731 msgid "" "`bpo-31787 `__: Fixed refleaks of " "``__init__()`` methods in various modules. (Contributed by Oren Milman)" msgstr "" #: ../build/NEWS:12694 ../build/NEWS:14550 ../build/NEWS:18734 msgid "" "`bpo-30157 `__: Fixed guessing quote and " "delimiter in csv.Sniffer.sniff() when only the last field is quoted. Patch " "by Jake Davis." msgstr "" #: ../build/NEWS:12697 msgid "" "`bpo-30688 `__: Added support of ``" "\\N{name}`` escapes in regular expressions. Based on patch by Jonathan " "Eunice." msgstr "" #: ../build/NEWS:12700 ../build/NEWS:14553 msgid "" "`bpo-32792 `__: collections.ChainMap() " "preserves the order of the underlying mappings." msgstr "" #: ../build/NEWS:12703 ../build/NEWS:14556 msgid "" "`bpo-32775 `__: :func:`fnmatch." "translate()` no longer produces patterns which contain set operations. Sets " "starting with '[' or containing '--', '&&', '~~' or '||' will be interpreted " "differently in regular expressions in future versions. Currently they emit " "warnings. fnmatch.translate() now avoids producing patterns containing such " "sets by accident." msgstr "" #: ../build/NEWS:12709 ../build/NEWS:14562 msgid "" "`bpo-32622 `__: Implement native fast " "sendfile for Windows proactor event loop." msgstr "" #: ../build/NEWS:12711 ../build/NEWS:14564 ../build/NEWS:18740 msgid "" "`bpo-32777 `__: Fix a rare but potential " "pre-exec child process deadlock in subprocess on POSIX systems when marking " "file descriptors inheritable on exec in the child process. This bug appears " "to have been introduced in 3.4." msgstr "" #: ../build/NEWS:12716 ../build/NEWS:14569 ../build/NEWS:18745 msgid "" "`bpo-32647 `__: The ctypes module used " "to depend on indirect linking for dlopen. The shared extension is now " "explicitly linked against libdl on platforms with dl." msgstr "" #: ../build/NEWS:12720 msgid "" "`bpo-32749 `__: A :mod:`dbm.dumb` " "database opened with flags 'r' is now read-only. :func:`dbm.dumb.open` with " "flags 'r' and 'w' no longer creates a database if it does not exist." msgstr "" #: ../build/NEWS:12724 ../build/NEWS:14573 msgid "" "`bpo-32741 `__: Implement ``asyncio." "TimerHandle.when()`` method." msgstr "" #: ../build/NEWS:12726 ../build/NEWS:14575 msgid "" "`bpo-32691 `__: Use mod_spec.parent when " "running modules with pdb" msgstr "" #: ../build/NEWS:12728 ../build/NEWS:14577 ../build/NEWS:18749 msgid "" "`bpo-32734 `__: Fixed ``asyncio.Lock()`` " "safety issue which allowed acquiring and locking the same lock multiple " "times, without it being free. Patch by Bar Harel." msgstr "" #: ../build/NEWS:12732 ../build/NEWS:14581 ../build/NEWS:18753 msgid "" "`bpo-32727 `__: Do not include name " "field in SMTP envelope from address. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:12735 ../build/NEWS:14584 msgid "" "`bpo-31453 `__: Add TLSVersion constants " "and SSLContext.maximum_version / minimum_version attributes. The new API " "wraps OpenSSL 1.1 https://www.openssl.org/docs/man1.1.0/ssl/" "SSL_CTX_set_min_proto_version.html feature." msgstr "" #: ../build/NEWS:12740 ../build/NEWS:14589 msgid "" "`bpo-24334 `__: Internal implementation " "details of ssl module were cleaned up. The SSLSocket has one less layer of " "indirection. Owner and session information are now handled by the SSLSocket " "and SSLObject constructor. Channel binding implementation has been " "simplified." msgstr "" #: ../build/NEWS:12745 ../build/NEWS:14594 ../build/NEWS:18766 msgid "" "`bpo-31848 `__: Fix the error handling " "in Aifc_read.initfp() when the SSND chunk is not found. Patch by Zackery " "Spytz." msgstr "" #: ../build/NEWS:12748 ../build/NEWS:14597 msgid "" "`bpo-32585 `__: Add Ttk spinbox widget " "to :mod:`tkinter.ttk`. Patch by Alan D Moore." msgstr "" #: ../build/NEWS:12751 msgid "" "`bpo-32512 `__: :mod:`profile` CLI " "accepts `-m module_name` as an alternative to script path." msgstr "" #: ../build/NEWS:12754 msgid "" "`bpo-8525 `__: help() on a type now " "displays builtin subclasses. This is intended primarily to help with " "notification of more specific exception subclasses." msgstr "" #: ../build/NEWS:12758 msgid "Patch by Sanyam Khurana." msgstr "" #: ../build/NEWS:12760 msgid "" "`bpo-31639 `__: http.server now exposes " "a ThreadingHTTPServer class and uses it when the module is run with ``-m`` " "to cope with web browsers pre-opening sockets." msgstr "" #: ../build/NEWS:12764 msgid "" "`bpo-29877 `__: compileall: import " "ProcessPoolExecutor only when needed, preventing hangs on low resource " "platforms" msgstr "" #: ../build/NEWS:12767 ../build/NEWS:14600 msgid "" "`bpo-32221 `__: Various functions " "returning tuple containing IPv6 addresses now omit ``%scope`` part since the " "same information is already encoded in *scopeid* tuple item. Especially this " "speeds up :func:`socket.recvfrom` when it receives multicast packet since " "useless resolving of network interface name is omitted." msgstr "" #: ../build/NEWS:12773 msgid "" "`bpo-32147 `__: :func:`binascii." "unhexlify` is now up to 2 times faster. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:12776 ../build/NEWS:14606 msgid "" "`bpo-30693 `__: The TarFile class now " "recurses directories in a reproducible way." msgstr "" #: ../build/NEWS:12779 ../build/NEWS:14609 msgid "" "`bpo-30693 `__: The ZipFile class now " "recurses directories in a reproducible way." msgstr "" #: ../build/NEWS:12782 msgid "" "`bpo-31680 `__: Added :data:`curses." "ncurses_version`." msgstr "" #: ../build/NEWS:12784 ../build/NEWS:14145 ../build/NEWS:18452 msgid "" "`bpo-31908 `__: Fix output of cover " "files for ``trace`` module command-line tool. Previously emitted cover files " "only when ``--missing`` option was used. Patch by Michael Selik." msgstr "" #: ../build/NEWS:12788 msgid "" "`bpo-31608 `__: Raise a ``TypeError`` " "instead of crashing if a ``collections.deque`` subclass returns a non-deque " "from ``__new__``. Patch by Oren Milman." msgstr "" #: ../build/NEWS:12792 msgid "" "`bpo-31425 `__: Add support for sockets " "of the AF_QIPCRTR address family, supported by the Linux kernel. This is " "used to communicate with services, such as GPS or radio, running on Qualcomm " "devices. Patch by Bjorn Andersson." msgstr "" #: ../build/NEWS:12797 msgid "" "`bpo-22005 `__: Implemented unpickling " "instances of :class:`~datetime.datetime`, :class:`~datetime.date` and :class:" "`~datetime.time` pickled by Python 2. ``encoding='latin1'`` should be used " "for successful decoding." msgstr "" #: ../build/NEWS:12802 ../build/NEWS:14363 msgid "" "`bpo-27645 `__: :class:`sqlite3." "Connection` now exposes a :class:`~sqlite3.Connection.backup` method, if the " "underlying SQLite library is at version 3.6.11 or higher. Patch by Lele " "Gaifax." msgstr "" #: ../build/NEWS:12806 ../build/NEWS:13997 ../build/NEWS:18459 msgid "" "`bpo-16865 `__: Support arrays >=2GiB " "in :mod:`ctypes`. Patch by Segev Finer." msgstr "" #: ../build/NEWS:12808 msgid "" "`bpo-31508 `__: Removed support of " "arguments in `tkinter.ttk.Treeview.selection`. It was deprecated in 3.6. " "Use specialized methods like `selection_set` for changing the selection." msgstr "" #: ../build/NEWS:12812 msgid "" "`bpo-29456 `__: Fix bugs in hangul " "normalization: u1176, u11a7 and u11c3" msgstr "" #: ../build/NEWS:12817 msgid "" "`bpo-21257 `__: Document :func:`http." "client.parse_headers`." msgstr "" #: ../build/NEWS:12819 msgid "" "`bpo-34764 `__: Improve example of " "iter() with 2nd sentinel argument." msgstr "" #: ../build/NEWS:12821 msgid "" "`bpo-35564 `__: Explicitly set " "master_doc variable in conf.py for compliance with Sphinx 2.0" msgstr "" #: ../build/NEWS:12824 msgid "" "`bpo-35511 `__: Specified that profile." "Profile class doesn't not support enable or disable methods. Also, " "elaborated that Profile object as a context manager is only supported in " "cProfile module." msgstr "" #: ../build/NEWS:12828 msgid "" "`bpo-10536 `__: Enhance the gettext " "docs. Patch by Éric Araujo" msgstr "" #: ../build/NEWS:12830 msgid "" "`bpo-35089 `__: Remove mention of " "``typing.io`` and ``typing.re``. Their types should be imported from " "``typing`` directly." msgstr "" #: ../build/NEWS:12833 msgid "" "`bpo-35038 `__: Fix the documentation " "about an unexisting `f_restricted` attribute in the frame object. Patch by " "Stéphane Wirtel" msgstr "" #: ../build/NEWS:12836 msgid "" "`bpo-35042 `__: Replace PEP XYZ by the " "pep role and allow to use the direct links to the PEPs." msgstr "" #: ../build/NEWS:12839 msgid "" "`bpo-35044 `__: Fix the documentation " "with the role ``exc`` for the appropriated exception. Patch by Stéphane " "Wirtel" msgstr "" #: ../build/NEWS:12842 msgid "" "`bpo-35035 `__: Rename documentation " "for :mod:`email.utils` to ``email.utils.rst``." msgstr "" #: ../build/NEWS:12845 msgid "" "`bpo-34967 `__: Use app." "add_object_type() instead of the deprecated Sphinx function app." "description_unit()" msgstr "" #: ../build/NEWS:12848 msgid "" "`bpo-34913 `__: Add documentation about " "the new command line interface of the gzip module." msgstr "" #: ../build/NEWS:12851 msgid "" "`bpo-32174 `__: chm document displays " "non-ASCII charaters properly on some MBCS Windows systems." msgstr "" #: ../build/NEWS:12854 msgid "" "`bpo-11233 `__: Create availability " "directive for documentation. Original patch by Georg Brandl." msgstr "" #: ../build/NEWS:12857 msgid "" "`bpo-34790 `__: Document how passing " "coroutines to asyncio.wait() can be confusing." msgstr "" #: ../build/NEWS:12860 msgid "" "`bpo-34552 `__: Make clear that ``==`` " "operator sometimes is equivalent to `is`. The ``<``, ``<=``, ``>`` and " "``>=`` operators are only defined where they make sense." msgstr "" #: ../build/NEWS:12864 msgid "" "`bpo-28617 `__: Fixed info in the " "stdtypes docs concerning the types that support membership tests." msgstr "" #: ../build/NEWS:12867 msgid "" "`bpo-20177 `__: Migrate datetime.date." "fromtimestamp to Argument Clinic. Patch by Tim Hoffmann." msgstr "" #: ../build/NEWS:12870 msgid "" "`bpo-34065 `__: Fix wrongly written " "basicConfig documentation markup syntax" msgstr "" #: ../build/NEWS:12872 msgid "" "`bpo-33460 `__: replaced ellipsis with " "correct error codes in tutorial chapter 3." msgstr "" #: ../build/NEWS:12875 msgid "" "`bpo-33847 `__: Add '@' operator entry " "to index." msgstr "" #: ../build/NEWS:12877 ../build/NEWS:13792 msgid "" "`bpo-33409 `__: Clarified the " "relationship between :pep:`538`'s PYTHONCOERCECLOCALE and PEP 540's " "PYTHONUTF8 mode." msgstr "" #: ../build/NEWS:12880 msgid "" "`bpo-33197 `__: Add versionadded tag to " "the documentation of ParameterKind.description" msgstr "" #: ../build/NEWS:12883 msgid "" "`bpo-17045 `__: Improve the C-API doc " "for PyTypeObject. This includes adding several quick-reference tables and a " "lot of missing slot/typedef entries. The existing entries were also cleaned " "up with a slightly more consistent format." msgstr "" #: ../build/NEWS:12888 ../build/NEWS:13795 msgid "" "`bpo-33736 `__: Improve the " "documentation of :func:`asyncio.open_connection`, :func:`asyncio." "start_server` and their UNIX socket counterparts." msgstr "" #: ../build/NEWS:12891 ../build/NEWS:14002 msgid "" "`bpo-23859 `__: Document that `asyncio." "wait()` does not cancel its futures on timeout." msgstr "" #: ../build/NEWS:12894 ../build/NEWS:14005 msgid "" "`bpo-32436 `__: Document :pep:`567` " "changes to asyncio." msgstr "" #: ../build/NEWS:12896 ../build/NEWS:14007 msgid "" "`bpo-33604 `__: Update HMAC md5 default " "to a DeprecationWarning, bump removal to 3.8." msgstr "" #: ../build/NEWS:12899 msgid "" "`bpo-33594 `__: Document ``getargspec``, " "``from_function`` and ``from_builtin`` as deprecated in their respective " "docstring, and include version since deprecation in DeprecationWarning " "message." msgstr "" #: ../build/NEWS:12903 ../build/NEWS:14010 ../build/NEWS:18468 msgid "" "`bpo-33503 `__: Fix broken pypi link" msgstr "" #: ../build/NEWS:12905 ../build/NEWS:14012 ../build/NEWS:18470 msgid "" "`bpo-33421 `__: Add missing " "documentation for ``typing.AsyncContextManager``." msgstr "" #: ../build/NEWS:12907 msgid "" "`bpo-33487 `__: BZ2file now emit a " "DeprecationWarning when buffering=None is passed, the deprecation message " "and documentation also now explicitly state it is deprecated since 3.0." msgstr "" #: ../build/NEWS:12911 ../build/NEWS:14152 ../build/NEWS:18472 msgid "" "`bpo-33378 `__: Add Korean language " "switcher for https://docs.python.org/3/" msgstr "" #: ../build/NEWS:12913 ../build/NEWS:14154 ../build/NEWS:18474 msgid "" "`bpo-33276 `__: Clarify that the " "``__path__`` attribute on modules cannot be just any value." msgstr "" #: ../build/NEWS:12916 ../build/NEWS:14157 ../build/NEWS:18477 msgid "" "`bpo-33201 `__: Modernize documentation " "for writing C extension types." msgstr "" #: ../build/NEWS:12918 ../build/NEWS:14159 ../build/NEWS:18479 msgid "" "`bpo-33195 `__: Deprecate ``Py_UNICODE`` " "usage in ``c-api/arg`` document. ``Py_UNICODE`` related APIs are deprecated " "since Python 3.3, but it is missed in the document." msgstr "" #: ../build/NEWS:12922 ../build/NEWS:14370 ../build/NEWS:18483 msgid "" "`bpo-33126 `__: Document " "PyBuffer_ToContiguous()." msgstr "" #: ../build/NEWS:12924 ../build/NEWS:14372 ../build/NEWS:18485 msgid "" "`bpo-27212 `__: Modify documentation for " "the :func:`islice` recipe to consume initial values up to the start index." msgstr "" #: ../build/NEWS:12927 ../build/NEWS:14375 ../build/NEWS:18488 msgid "" "`bpo-28247 `__: Update :mod:`zipapp` " "documentation to describe how to make standalone applications." msgstr "" #: ../build/NEWS:12930 ../build/NEWS:14378 ../build/NEWS:18491 msgid "" "`bpo-18802 `__: Documentation changes " "for ipaddress. Patch by Jon Foster and Berker Peksag." msgstr "" #: ../build/NEWS:12933 ../build/NEWS:14381 ../build/NEWS:18494 msgid "" "`bpo-27428 `__: Update documentation to " "clarify that ``WindowsRegistryFinder`` implements ``MetaPathFinder``. (Patch " "by Himanshu Lakhara)" msgstr "" #: ../build/NEWS:12936 ../build/NEWS:14615 msgid "" "`bpo-28124 `__: The ssl module function " "ssl.wrap_socket() has been de-emphasized and deprecated in favor of the more " "secure and efficient SSLContext.wrap_socket() method." msgstr "" #: ../build/NEWS:12940 ../build/NEWS:14619 ../build/NEWS:18824 msgid "" "`bpo-17232 `__: Clarify docs for -O and -" "OO. Patch by Terry Reedy." msgstr "" #: ../build/NEWS:12942 ../build/NEWS:14621 msgid "" "`bpo-32436 `__: Add documentation for " "the contextvars module (PEP 567)." msgstr "" #: ../build/NEWS:12944 ../build/NEWS:14623 ../build/NEWS:18826 msgid "" "`bpo-32800 `__: Update link to w3c doc " "for xml default namespaces." msgstr "" #: ../build/NEWS:12946 ../build/NEWS:14625 msgid "" "`bpo-11015 `__: Update :mod:`test." "support` documentation." msgstr "" #: ../build/NEWS:12948 msgid "" "`bpo-32613 `__: Update the faq/windows." "html to use the py command from PEP 397 instead of python." msgstr "" #: ../build/NEWS:12951 ../build/NEWS:14627 ../build/NEWS:18828 msgid "" "`bpo-8722 `__: Document :meth:" "`__getattr__` behavior when property :meth:`get` method raises :exc:" "`AttributeError`." msgstr "" #: ../build/NEWS:12954 ../build/NEWS:14630 ../build/NEWS:18831 msgid "" "`bpo-32614 `__: Modify RE examples in " "documentation to use raw strings to prevent :exc:`DeprecationWarning` and " "add text to REGEX HOWTO to highlight the deprecation." msgstr "" #: ../build/NEWS:12958 msgid "" "`bpo-20709 `__: Remove the paragraph " "where we explain that os.utime() does not support a directory as path under " "Windows. Patch by Jan-Philip Gehrcke" msgstr "" #: ../build/NEWS:12961 msgid "" "`bpo-32722 `__: Remove the bad example " "in the tutorial of the Generator Expression. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:12964 ../build/NEWS:14634 ../build/NEWS:18835 msgid "" "`bpo-31972 `__: Improve docstrings for " "`pathlib.PurePath` subclasses." msgstr "" #: ../build/NEWS:12966 msgid "" "`bpo-30607 `__: Use the externalized " "``python-docs-theme`` package when building the documentation." msgstr "" #: ../build/NEWS:12969 ../build/NEWS:14163 ../build/NEWS:18497 msgid "" "`bpo-8243 `__: Add a note about curses." "addch and curses.addstr exception behavior when writing outside a window, or " "pad." msgstr "" #: ../build/NEWS:12972 ../build/NEWS:14166 msgid "" "`bpo-32337 `__: Update documentation " "related with ``dict`` order." msgstr "" #: ../build/NEWS:12974 msgid "" "`bpo-25041 `__: Document ``AF_PACKET`` " "in the :mod:`socket` module." msgstr "" #: ../build/NEWS:12976 ../build/NEWS:13798 ../build/NEWS:18500 msgid "" "`bpo-31432 `__: Clarify meaning of " "CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for ssl.SSLContext." "verify_mode." msgstr "" #: ../build/NEWS:12982 msgid "" "`bpo-35772 `__: Fix sparse file tests of " "test_tarfile on ppc64 with the tmpfs filesystem. Fix the function testing if " "the filesystem supports sparse files: create a file which contains data and " "\"holes\", instead of creating a file which contains no data. tmpfs " "effective block size is a page size (tmpfs lives in the page cache). RHEL " "uses 64 KiB pages on aarch64, ppc64, ppc64le, only s390x and x86_64 use 4 " "KiB pages, whereas the test punch holes of 4 KiB." msgstr "" #: ../build/NEWS:12990 msgid "" "`bpo-35045 `__: Make ssl tests less " "strict and also accept TLSv1 as system default. The changes unbreaks " "test_min_max_version on Fedora 29." msgstr "" #: ../build/NEWS:12993 msgid "" "`bpo-32710 `__: ``test_asyncio/" "test_sendfile.py`` now resets the event loop policy using :func:" "`tearDownModule` as done in other tests, to prevent a warning when running " "tests on Windows." msgstr "" #: ../build/NEWS:12997 msgid "" "`bpo-33717 `__: test.pythoninfo now logs " "information of all clocks, not only time.time() and time.perf_counter()." msgstr "" #: ../build/NEWS:13000 msgid "" "`bpo-35488 `__: Add a test to pathlib's " "Path.match() to verify it does not support glob-style ** recursive pattern " "matching." msgstr "" #: ../build/NEWS:13003 msgid "" "`bpo-31731 `__: Fix a race condition in " "``check_interrupted_write()`` of test_io: create directly the thread with " "SIGALRM signal blocked, rather than blocking the signal later from the " "thread. Previously, it was possible that the thread gets the signal before " "the signal is blocked." msgstr "" #: ../build/NEWS:13008 msgid "" "`bpo-35424 `__: Fix " "test_multiprocessing_main_handling: use :class:`multiprocessing.Pool` with a " "context manager and then explicitly join the pool." msgstr "" #: ../build/NEWS:13012 msgid "" "`bpo-35519 `__: Rename :mod:`test." "bisect` module to :mod:`test.bisect_cmd` to avoid conflict with :mod:" "`bisect` module when running directly a test like ``./python Lib/test/" "test_xmlrpc.py``." msgstr "" #: ../build/NEWS:13016 msgid "" "`bpo-35513 `__: Replace :func:`time." "time` with :func:`time.monotonic` in tests to measure time delta." msgstr "" #: ../build/NEWS:13019 msgid "" "`bpo-34279 `__: :func:`test.support." "run_unittest` no longer raise :exc:`TestDidNotRun` if the test result " "contains skipped tests. The exception is now only raised if no test have " "been run and no test have been skipped." msgstr "" #: ../build/NEWS:13024 msgid "" "`bpo-35412 `__: Add testcase to " "``test_future4``: check unicode literal." msgstr "" #: ../build/NEWS:13026 msgid "" "`bpo-26704 `__: Added test demonstrating " "double-patching of an instance method. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:13029 msgid "" "`bpo-33725 `__: " "test_multiprocessing_fork may crash on recent versions of macOS. Until the " "issue is resolved, skip the test on macOS." msgstr "" #: ../build/NEWS:13032 msgid "" "`bpo-35352 `__: Modify test_asyncio to " "use the certificate set from the test directory." msgstr "" #: ../build/NEWS:13035 msgid "" "`bpo-35317 `__: Fix ``mktime()`` " "overflow error in ``test_email``: run " "``test_localtime_daylight_true_dst_true()`` and " "``test_localtime_daylight_false_dst_true()`` with a specific timezone." msgstr "" #: ../build/NEWS:13039 msgid "" "`bpo-21263 `__: After several reports " "that test_gdb does not work properly on macOS and since gdb is not shipped " "by default anymore, test_gdb is now skipped on macOS when LLVM Clang has " "been used to compile Python. Patch by Lysandros Nikolaou" msgstr "" #: ../build/NEWS:13044 msgid "" "`bpo-34279 `__: regrtest issue a warning " "when no tests have been executed in a particular test file. Also, a new " "final result state is issued if no test have been executed across all test " "files. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:13048 msgid "" "`bpo-34962 `__: make docstest in Doc now " "passes., and is enforced in CI" msgstr "" #: ../build/NEWS:13050 msgid "" "`bpo-23596 `__: Use argparse for the " "command line of the gzip module. Patch by Antony Lee" msgstr "" #: ../build/NEWS:13053 msgid "" "`bpo-34537 `__: Fix ``test_gdb." "test_strings()`` when ``LC_ALL=C`` and GDB was compiled with Python 3.6 or " "earlier." msgstr "" #: ../build/NEWS:13056 msgid "" "`bpo-34587 `__: test_socket: Remove " "RDSTest.testCongestion(). The test tries to fill the receiver's socket " "buffer and expects an error. But the RDS protocol doesn't require that. " "Moreover, the Linux implementation of RDS expects that the producer of the " "messages reduces its rate, it's not the role of the receiver to trigger an " "error. The test fails on Fedora 28 by design, so just remove it." msgstr "" #: ../build/NEWS:13063 msgid "" "`bpo-34661 `__: Fix test_shutil if unzip " "doesn't support -t." msgstr "" #: ../build/NEWS:13065 msgid "" "`bpo-34200 `__: Fixed non-deterministic " "flakiness of test_pkg by not using the scary test.support.module_cleanup() " "logic to save and restore sys.modules contents between test cases." msgstr "" #: ../build/NEWS:13069 msgid "" "`bpo-34569 `__: The experimental PEP 554 " "data channels now correctly pass negative PyLong objects between " "subinterpreters on 32-bit systems. Patch by Michael Felt." msgstr "" #: ../build/NEWS:13073 msgid "" "`bpo-34594 `__: Fix usage of hardcoded " "``errno`` values in the tests." msgstr "" #: ../build/NEWS:13075 msgid "" "`bpo-34579 `__: Fix test_embed for AIX " "Patch by Michael Felt" msgstr "" #: ../build/NEWS:13077 msgid "" "`bpo-34542 `__: Use 3072 RSA keys and " "SHA-256 signature for test certs and keys." msgstr "" #: ../build/NEWS:13080 msgid "" "`bpo-11193 `__: Remove special condition " "for AIX in `test_subprocess.test_undecodable_env`" msgstr "" #: ../build/NEWS:13083 msgid "" "`bpo-34347 `__: Fix `test_utf8_mode." "test_cmd_line` for AIX" msgstr "" #: ../build/NEWS:13085 msgid "" "`bpo-34490 `__: On AIX with AF_UNIX " "family sockets getsockname() does not provide 'sockname', so skip calls to " "transport.get_extra_info('sockname')" msgstr "" #: ../build/NEWS:13088 msgid "" "`bpo-34391 `__: Fix ftplib test for TLS " "1.3 by reading from data socket." msgstr "" #: ../build/NEWS:13090 msgid "" "`bpo-11192 `__: Fix `test_socket` on AIX " "6.1 and later IPv6 zone id supports only supported by inet_pton6_zone() " "Switch to runtime-based platform.system() to establish current platform " "rather than build-time based sys.platform()" msgstr "" #: ../build/NEWS:13095 msgid "" "`bpo-34399 `__: Update all RSA keys and " "DH params to use at least 2048 bits." msgstr "" #: ../build/NEWS:13097 msgid "" "`bpo-34373 `__: Fix ``test_mktime`` and " "``test_pthread_getcpuclickid`` tests for AIX Add range checking for " "``_PyTime_localtime`` for AIX Patch by Michael Felt" msgstr "" #: ../build/NEWS:13101 msgid "" "`bpo-11191 `__: Skip the distutils test " "'test_search_cpp' when using XLC as compiler patch by aixtools (Michael Felt)" msgstr "" #: ../build/NEWS:13104 msgid "Improved an error message when mock assert_has_calls fails." msgstr "" #: ../build/NEWS:13106 msgid "" "`bpo-33746 `__: Fix test_unittest when " "run in verbose mode." msgstr "" #: ../build/NEWS:13108 msgid "" "`bpo-33901 `__: Fix test_dbm_gnu on " "macOS with gdbm 1.15: add a larger value to make sure that the file size " "changes." msgstr "" #: ../build/NEWS:13111 msgid "" "`bpo-33873 `__: Fix a bug in " "``regrtest`` that caused an extra test to run if --huntrleaks/-R was used. " "Exit with error in case that invalid parameters are specified to --" "huntrleaks/-R (at least one warmup run and one repetition must be used)." msgstr "" #: ../build/NEWS:13116 msgid "" "`bpo-33562 `__: Check that a global " "asyncio event loop policy is not left behind by any tests." msgstr "" #: ../build/NEWS:13119 ../build/NEWS:14017 ../build/NEWS:18506 msgid "" "`bpo-33655 `__: Ignore " "test_posix_fallocate failures on BSD platforms that might be due to running " "on ZFS." msgstr "" #: ../build/NEWS:13122 msgid "" "`bpo-32962 `__: Fixed test_gdb when " "Python is compiled with flags -mcet -fcf-protection -O0." msgstr "" #: ../build/NEWS:13125 ../build/NEWS:14171 msgid "" "`bpo-33358 `__: Fix ``test_embed." "test_pre_initialization_sys_options()`` when the interpreter is built with " "``--enable-shared``." msgstr "" #: ../build/NEWS:13128 ../build/NEWS:14387 ../build/NEWS:18619 msgid "" "`bpo-32872 `__: Avoid regrtest " "compatibility issue with namespace packages." msgstr "" #: ../build/NEWS:13130 ../build/NEWS:14389 ../build/NEWS:18844 msgid "" "`bpo-32517 `__: Fix failing " "``test_asyncio`` on macOS 10.12.2+ due to transport of ``KqueueSelector`` " "loop was not being closed." msgstr "" #: ../build/NEWS:13133 msgid "" "`bpo-32663 `__: Making sure the " "`SMTPUTF8SimTests` class of tests gets run in test_smtplib.py." msgstr "" #: ../build/NEWS:13136 msgid "" "`bpo-27643 `__: Test_C test case needs " "\"signed short\" bitfields, but the IBM XLC compiler (on AIX) does not " "support this Skip the code and test when AIX and XLC are used" msgstr "" #: ../build/NEWS:13140 msgid "Applicable to Python2-2.7 and later" msgstr "" #: ../build/NEWS:13142 ../build/NEWS:14392 ../build/NEWS:18509 msgid "`bpo-19417 `__: Add test_bdb.py." msgstr "" #: ../build/NEWS:13144 ../build/NEWS:14639 msgid "" "`bpo-31809 `__: Add tests to verify " "connection with secp ECDH curves." msgstr "" #: ../build/NEWS:13149 msgid "" "`bpo-34691 `__: The _contextvars module " "is now built into the core Python library on Windows." msgstr "" #: ../build/NEWS:13152 msgid "" "`bpo-35683 `__: Improved Azure Pipelines " "build steps and now verifying layouts correctly" msgstr "" #: ../build/NEWS:13155 msgid "" "`bpo-35642 `__: Remove asynciomodule.c " "from pythoncore.vcxproj" msgstr "" #: ../build/NEWS:13157 msgid "" "`bpo-35550 `__: Fix incorrect Solaris " "#ifdef checks to look for __sun && __SVR4 instead of sun when compiling." msgstr "" #: ../build/NEWS:13160 msgid "" "`bpo-35499 `__: ``make profile-opt`` no " "longer replaces ``CFLAGS_NODIST`` with ``CFLAGS``. It now adds profile-" "guided optimization (PGO) flags to ``CFLAGS_NODIST``: existing " "``CFLAGS_NODIST`` flags are kept." msgstr "" #: ../build/NEWS:13164 msgid "" "`bpo-35257 `__: Avoid leaking the linker " "flags from Link Time Optimizations (LTO) into distutils when compiling C " "extensions." msgstr "" #: ../build/NEWS:13167 msgid "" "`bpo-35351 `__: When building Python " "with clang and LTO, LTO flags are no longer passed into CFLAGS to build " "third-party C extensions through distutils." msgstr "" #: ../build/NEWS:13171 msgid "" "`bpo-35139 `__: Fix a compiler error " "when statically linking `pyexpat` in `Modules/Setup`." msgstr "" #: ../build/NEWS:13174 msgid "" "`bpo-35059 `__: PCbuild: Set " "InlineFunctionExpansion to OnlyExplicitInline (\"/Ob1\" option) in pyproject." "props in Debug mode to expand functions marked as inline. This change should " "make Python compiled in Debug mode a little bit faster on Windows." msgstr "" #: ../build/NEWS:13179 msgid "" "`bpo-35011 `__: Restores the use of " "pyexpatns.h to isolate our embedded copy of the expat C library so that its " "symbols do not conflict at link or dynamic loading time with an embedding " "application or other extension modules with their own version of libexpat." msgstr "" #: ../build/NEWS:13184 msgid "" "`bpo-28015 `__: Have --with-lto works " "correctly with clang." msgstr "" #: ../build/NEWS:13186 msgid "" "`bpo-34765 `__: Update the outdated " "install-sh file to the latest revision from automake v1.16.1" msgstr "" #: ../build/NEWS:13189 msgid "" "`bpo-34585 `__: Check for floating-point " "byte order in configure.ac using compilation tests instead of executing " "code, so that these checks work in cross-compiled builds." msgstr "" #: ../build/NEWS:13193 msgid "" "`bpo-34710 `__: Fixed SSL module build " "with OpenSSL & pedantic CFLAGS." msgstr "" #: ../build/NEWS:13195 msgid "" "`bpo-34582 `__: Add JUnit XML output for " "regression tests and update Azure DevOps builds." msgstr "" #: ../build/NEWS:13198 msgid "" "`bpo-34081 `__: Make Sphinx warnings as " "errors in the Docs Makefile." msgstr "" #: ../build/NEWS:13200 msgid "" "`bpo-34555 `__: Fix for case where it " "was not possible to have both ``HAVE_LINUX_VM_SOCKETS_H`` and " "``HAVE_SOCKADDR_ALG`` be undefined." msgstr "" #: ../build/NEWS:13203 msgid "" "`bpo-33015 `__: Fix an undefined " "behaviour in the pthread implementation of :c:func:" "`PyThread_start_new_thread`: add a function wrapper to always return " "``NULL``." msgstr "" #: ../build/NEWS:13207 msgid "" "`bpo-34245 `__: The Python shared " "library is now installed with write permission (mode 0755), which is the " "standard way of installing such libraries." msgstr "" #: ../build/NEWS:13211 msgid "" "`bpo-34121 `__: Fix detection of C11 " "atomic support on clang." msgstr "" #: ../build/NEWS:13213 msgid "" "`bpo-32430 `__: Rename Modules/Setup." "dist to Modules/Setup, and remove the necessity to copy the former manually " "to the latter when updating the local source tree." msgstr "" #: ../build/NEWS:13217 msgid "" "`bpo-30345 `__: Add -g to LDFLAGS when " "compiling with LTO to get debug symbols." msgstr "" #: ../build/NEWS:13219 ../build/NEWS:13804 ../build/NEWS:18514 msgid "" "`bpo-5755 `__: Move ``-Wstrict-" "prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This option emitted " "annoying warnings when building extension modules written in C++." msgstr "" #: ../build/NEWS:13223 ../build/NEWS:14026 ../build/NEWS:18518 msgid "" "`bpo-33614 `__: Ensures module " "definition files for the stable ABI on Windows are correctly regenerated." msgstr "" #: ../build/NEWS:13226 msgid "" "`bpo-33648 `__: The --with-c-locale-" "warning configuration flag has been removed. It has had no effect for about " "a year." msgstr "" #: ../build/NEWS:13229 ../build/NEWS:14029 ../build/NEWS:18521 msgid "" "`bpo-33522 `__: Enable CI builds on " "Visual Studio Team Services at https://python.visualstudio.com/cpython" msgstr "" #: ../build/NEWS:13232 msgid "" "`bpo-33512 `__: configure's check for " "\"long double\" has been simplified" msgstr "" #: ../build/NEWS:13234 msgid "" "`bpo-33483 `__: C compiler is now " "correctly detected from the standard environment variables. --without-gcc " "and --with-icc options have been removed." msgstr "" #: ../build/NEWS:13238 ../build/NEWS:14177 ../build/NEWS:18528 msgid "" "`bpo-33394 `__: Enable the verbose build " "for extension modules, when GNU make is passed macros on the command line." msgstr "" #: ../build/NEWS:13241 ../build/NEWS:14180 msgid "" "`bpo-33393 `__: Update config.guess and " "config.sub files." msgstr "" #: ../build/NEWS:13243 ../build/NEWS:14182 msgid "" "`bpo-33377 `__: Add new triplets for " "mips r6 and riscv variants (used in extension suffixes)." msgstr "" #: ../build/NEWS:13246 ../build/NEWS:14185 msgid "" "`bpo-32232 `__: By default, modules " "configured in `Modules/Setup` are no longer built with `-DPy_BUILD_CORE`. " "Instead, modules that specifically need that preprocessor definition include " "it in their individual entries." msgstr "" #: ../build/NEWS:13250 ../build/NEWS:14189 msgid "" "`bpo-33182 `__: The embedding tests can " "once again be built with clang 6.0" msgstr "" #: ../build/NEWS:13252 ../build/NEWS:14397 ../build/NEWS:18624 msgid "" "`bpo-33163 `__: Upgrade pip to 9.0.3 and " "setuptools to v39.0.1." msgstr "" #: ../build/NEWS:13254 msgid "" "`bpo-33012 `__: gcc 8 has added a new " "warning heuristic to detect invalid function casts and a stock python build " "seems to hit that warning quite often. The most common is the cast of a " "METH_NOARGS function (that uses just one argument) to a PyCFunction. Fix " "this by adding a dummy argument to all functions that implement METH_NOARGS." msgstr "" #: ../build/NEWS:13260 ../build/NEWS:14644 msgid "" "`bpo-32898 `__: Fix the python debug " "build when using COUNT_ALLOCS." msgstr "" #: ../build/NEWS:13262 msgid "" "`bpo-29442 `__: Replace optparse with " "argparse in setup.py" msgstr "" #: ../build/NEWS:13267 msgid "" "`bpo-35890 `__: Fix API calling " "consistency of GetVersionEx and wcstok." msgstr "" #: ../build/NEWS:13269 msgid "" "`bpo-32560 `__: The ``py`` launcher now " "forwards its ``STARTUPINFO`` structure to child processes." msgstr "" #: ../build/NEWS:13272 msgid "" "`bpo-35854 `__: Fix EnvBuilder and --" "symlinks in venv on Windows" msgstr "" #: ../build/NEWS:13274 msgid "" "`bpo-35811 `__: Avoid propagating venv " "settings when launching via py.exe" msgstr "" #: ../build/NEWS:13276 msgid "" "`bpo-35797 `__: Fix default executable " "used by the multiprocessing module" msgstr "" #: ../build/NEWS:13278 msgid "" "`bpo-35758 `__: Allow building on ARM " "with MSVC." msgstr "" #: ../build/NEWS:13280 msgid "" "`bpo-29734 `__: Fix handle leaks in os." "stat on Windows." msgstr "" #: ../build/NEWS:13282 msgid "" "`bpo-35596 `__: Use unchecked PYCs for " "the embeddable distro to avoid zipimport restrictions." msgstr "" #: ../build/NEWS:13285 msgid "" "`bpo-35596 `__: Fix vcruntime140.dll " "being added to embeddable distro multiple times." msgstr "" #: ../build/NEWS:13288 msgid "" "`bpo-35402 `__: Update Windows build to " "use Tcl and Tk 8.6.9" msgstr "" #: ../build/NEWS:13290 msgid "" "`bpo-35401 `__: Updates Windows build to " "OpenSSL 1.1.0j" msgstr "" #: ../build/NEWS:13292 msgid "" "`bpo-34977 `__: venv on Windows will now " "use a python.exe redirector rather than copying the actual binaries from the " "base environment." msgstr "" #: ../build/NEWS:13295 msgid "" "`bpo-34977 `__: Adds support for " "building a Windows App Store package" msgstr "" #: ../build/NEWS:13297 msgid "" "`bpo-35067 `__: Remove _distutils_findvs " "module and use vswhere.exe instead." msgstr "" #: ../build/NEWS:13299 msgid "" "`bpo-32557 `__: Allow shutil.disk_usage " "to take a file path on Windows" msgstr "" #: ../build/NEWS:13301 msgid "" "`bpo-34770 `__: Fix a possible null " "pointer dereference in pyshellext.cpp." msgstr "" #: ../build/NEWS:13303 msgid "" "`bpo-34603 `__: Fix returning structs " "from functions produced by MSVC" msgstr "" #: ../build/NEWS:13305 msgid "" "`bpo-34581 `__: Guard MSVC-specific code " "in socketmodule.c with ``#ifdef _MSC_VER``." msgstr "" #: ../build/NEWS:13308 msgid "" "`bpo-34532 `__: Fixes exit code of list " "version arguments for py.exe." msgstr "" #: ../build/NEWS:13310 msgid "" "`bpo-34062 `__: Fixed the '--list' and " "'--list-paths' arguments for the py.exe launcher" msgstr "" #: ../build/NEWS:13313 msgid "" "`bpo-34225 `__: Ensure INCLUDE and LIB " "directories do not end with a backslash." msgstr "" #: ../build/NEWS:13315 msgid "" "`bpo-34011 `__: A suite of code has been " "changed which copied across DLLs and init.tcl from the running Python " "location into a venv being created. These copies are needed only when " "running from a Python source build, and the copying code is now only run " "when that is the case, rather than whenever a venv is created." msgstr "" #: ../build/NEWS:13321 msgid "" "`bpo-34006 `__: Revert line length limit " "for Windows help docs. The line-length limit is not needed because the pages " "appear in a separate app rather than on a browser tab. It can also interact " "badly with the DPI setting." msgstr "" #: ../build/NEWS:13325 msgid "" "`bpo-31546 `__: Restore running " "PyOS_InputHook while waiting for user input at the prompt. The restores " "integration of interactive GUI windows (such as Matplotlib figures) with the " "prompt on Windows." msgstr "" #: ../build/NEWS:13329 msgid "" "`bpo-30237 `__: Output error when " "ReadConsole is canceled by CancelSynchronousIo instead of crashing." msgstr "" #: ../build/NEWS:13332 msgid "" "`bpo-33895 `__: GIL is released while " "calling functions that acquire Windows loader lock." msgstr "" #: ../build/NEWS:13335 ../build/NEWS:13811 msgid "" "`bpo-33720 `__: Reduces maximum marshal " "recursion depth on release builds." msgstr "" #: ../build/NEWS:13337 msgid "" "`bpo-29097 `__: Fix bug where :meth:" "`datetime.fromtimestamp` erroneously throws an :exc:`OSError` on Windows for " "values between 0 and 86400. Patch by Ammar Askar." msgstr "" #: ../build/NEWS:13341 msgid "" "`bpo-33316 `__: PyThread_release_lock " "always fails" msgstr "" #: ../build/NEWS:13343 ../build/NEWS:14194 msgid "" "`bpo-33184 `__: Update Windows installer " "to use OpenSSL 1.1.0h." msgstr "" #: ../build/NEWS:13345 msgid "" "`bpo-32890 `__: Fix usage of " "GetLastError() instead of errno in os.execve() and os.truncate()." msgstr "" #: ../build/NEWS:13348 ../build/NEWS:14402 ../build/NEWS:18865 msgid "" "`bpo-33016 `__: Fix potential use of " "uninitialized memory in nt._getfinalpathname" msgstr "" #: ../build/NEWS:13351 ../build/NEWS:14405 ../build/NEWS:18868 msgid "" "`bpo-32903 `__: Fix a memory leak in os." "chdir() on Windows if the current directory is set to a UNC path." msgstr "" #: ../build/NEWS:13354 ../build/NEWS:14649 msgid "" "`bpo-32901 `__: Update Tcl and Tk " "versions to 8.6.8" msgstr "" #: ../build/NEWS:13356 ../build/NEWS:14651 ../build/NEWS:18871 msgid "" "`bpo-31966 `__: Fixed WindowsConsoleIO." "write() for writing empty data." msgstr "" #: ../build/NEWS:13358 ../build/NEWS:14653 ../build/NEWS:18873 msgid "" "`bpo-32409 `__: Ensures activate.bat can " "handle Unicode contents." msgstr "" #: ../build/NEWS:13360 ../build/NEWS:14655 ../build/NEWS:18875 msgid "" "`bpo-32457 `__: Improves handling of " "denormalized executable path when launching Python." msgstr "" #: ../build/NEWS:13363 ../build/NEWS:14658 ../build/NEWS:18878 msgid "" "`bpo-32370 `__: Use the correct encoding " "for ipconfig output in the uuid module. Patch by Segev Finer." msgstr "" #: ../build/NEWS:13366 ../build/NEWS:14661 ../build/NEWS:18881 msgid "" "`bpo-29248 `__: Fix :func:`os.readlink` " "on Windows, which was mistakenly treating the ``PrintNameOffset`` field of " "the reparse data buffer as a number of characters instead of bytes. Patch by " "Craig Holmquist and SSE4." msgstr "" #: ../build/NEWS:13370 msgid "" "`bpo-1104 `__: Correctly handle string " "length in ``msilib.SummaryInfo.GetProperty()`` to prevent it from truncating " "the last character." msgstr "" #: ../build/NEWS:13377 msgid "" "`bpo-35401 `__: Update macOS installer " "to use OpenSSL 1.1.0j." msgstr "" #: ../build/NEWS:13379 msgid "" "`bpo-35025 `__: Properly guard the use " "of the ``CLOCK_GETTIME`` et al. macros in ``timemodule`` on macOS." msgstr "" #: ../build/NEWS:13382 msgid "" "`bpo-24658 `__: On macOS, fix reading " "from and writing into a file with a size larger than 2 GiB." msgstr "" #: ../build/NEWS:13385 msgid "" "`bpo-34405 `__: Update to OpenSSL 1.1.0i " "for macOS installer builds." msgstr "" #: ../build/NEWS:13387 msgid "" "`bpo-33635 `__: In macOS stat on some " "file descriptors (/dev/fd/3 f.e) will result in bad file descriptor OSError. " "Guard against this exception was added in is_dir, is_file and similar " "methods. DirEntry.is_dir can also throw this exception so " "_RecursiveWildcardSelector._iterate_directories was also extended with the " "same error ignoring pattern." msgstr "" #: ../build/NEWS:13393 ../build/NEWS:14039 msgid "" "`bpo-13631 `__: The .editrc file in " "user's home directory is now processed correctly during the readline " "initialization through editline emulation on macOS." msgstr "" #: ../build/NEWS:13397 ../build/NEWS:14199 msgid "" "`bpo-33184 `__: Update macOS installer " "build to use OpenSSL 1.1.0h." msgstr "" #: ../build/NEWS:13399 ../build/NEWS:14411 msgid "" "`bpo-32726 `__: Build and link with " "private copy of Tcl/Tk 8.6 for the macOS 10.6+ installer. The 10.9+ " "installer variant already does this. This means that the Python 3.7 " "provided by the python.org macOS installers no longer need or use any " "external versions of Tcl/Tk, either system-provided or user-installed, such " "as ActiveTcl." msgstr "" #: ../build/NEWS:13405 ../build/NEWS:14668 msgid "" "`bpo-32901 `__: Update macOS 10.9+ " "installer to Tcl/Tk 8.6.8." msgstr "" #: ../build/NEWS:13407 msgid "" "`bpo-31903 `__: In :mod:`_scproxy`, drop " "the GIL when calling into ``SystemConfiguration`` to avoid deadlocks." msgstr "" #: ../build/NEWS:13413 msgid "" "`bpo-35770 `__: IDLE macosx deletes " "Options => Configure IDLE. 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." msgstr "" #: ../build/NEWS:13418 msgid "" "`bpo-35769 `__: Change IDLE's new file " "name from 'Untitled' to 'untitled'" msgstr "" #: ../build/NEWS:13420 msgid "" "`bpo-35660 `__: Fix imports in idlelib." "window." msgstr "" #: ../build/NEWS:13422 msgid "" "`bpo-35641 `__: Proper format `calltip` " "when the function has no docstring." msgstr "" #: ../build/NEWS:13424 msgid "" "`bpo-33987 `__: Use ttk Frame for ttk " "widgets." msgstr "" #: ../build/NEWS:13426 msgid "" "`bpo-34055 `__: Fix erroneous 'smart' " "indents and newlines in IDLE Shell." msgstr "" #: ../build/NEWS:13428 msgid "" "`bpo-35591 `__: Find Selection now works " "when selection not found." msgstr "" #: ../build/NEWS:13430 msgid "" "`bpo-35196 `__: Speed up squeezer line " "counting." msgstr "" #: ../build/NEWS:13432 msgid "" "`bpo-35598 `__: Update config_key: use " "PEP 8 names and ttk widgets, make some objects global, and add tests." msgstr "" #: ../build/NEWS:13435 msgid "" "`bpo-28097 `__: Add Previous/Next " "History entries to Shell menu." msgstr "" #: ../build/NEWS:13437 msgid "" "`bpo-35208 `__: Squeezer now properly " "counts wrapped lines before newlines." msgstr "" #: ../build/NEWS:13439 msgid "" "`bpo-35555 `__: Gray out Code Context " "menu entry when it's not applicable." msgstr "" #: ../build/NEWS:13441 msgid "" "`bpo-35521 `__: Document the IDLE editor " "code context feature. Add some internal references within the IDLE doc." msgstr "" #: ../build/NEWS:13444 msgid "" "`bpo-22703 `__: The Code Context menu " "label now toggles between Show/Hide Code Context. The Zoom Height menu now " "toggles between Zoom/Restore Height. Zoom Height has moved from the Window " "menu to the Options menu." msgstr "" #: ../build/NEWS:13448 msgid "" "`bpo-35213 `__: Where appropriate, use " "'macOS' in idlelib." msgstr "" #: ../build/NEWS:13450 msgid "" "`bpo-34864 `__: On macOS, warn if the " "system preference \"Prefer tabs when opening documents\" is set to \"Always" "\"." msgstr "" #: ../build/NEWS:13453 msgid "" "`bpo-34864 `__: Document two IDLE on " "MacOS issues. The System Preferences Dock \"prefer tabs always\" setting " "disables some IDLE features. Menus are a bit different than as described " "for Windows and Linux." msgstr "" #: ../build/NEWS:13457 msgid "" "`bpo-35202 `__: Remove unused imports " "from lib/idlelib" msgstr "" #: ../build/NEWS:13459 msgid "" "`bpo-33000 `__: Document that IDLE's " "shell has no line limit. A program that runs indefinitely can overfill " "memory." msgstr "" #: ../build/NEWS:13462 msgid "" "`bpo-23220 `__: Explain how IDLE's Shell " "displays output." msgstr "" #: ../build/NEWS:13464 msgid "" "`bpo-35099 `__: Improve the doc about " "IDLE running user code. The section is renamed from \"IDLE -- console " "differences\" is renamed \"Running user code\". It mostly covers the " "implications of using custom sys.stdxxx objects." msgstr "" #: ../build/NEWS:13468 msgid "" "`bpo-35097 `__: Add IDLE doc subsection " "explaining editor windows. Topics include opening, title and status bar, ." "py* extension, and running." msgstr "" #: ../build/NEWS:13471 msgid "" "`bpo-35093 `__: Document the IDLE " "document viewer in the IDLE doc. Add a paragraph in \"Help and preferences" "\", \"Help sources\" subsection." msgstr "" #: ../build/NEWS:13474 msgid "" "`bpo-35088 `__: Update idlelib.help." "copy_string docstring. We now use git and backporting instead of hg and " "forward merging." msgstr "" #: ../build/NEWS:13477 msgid "" "`bpo-35087 `__: Update idlelib help " "files for the current doc build. The main change is the elimination of " "chapter-section numbers." msgstr "" #: ../build/NEWS:13480 msgid "" "`bpo-34548 `__: Use configured color " "theme for read-only text views." msgstr "" #: ../build/NEWS:13482 msgid "" "`bpo-1529353 `__: Enable \"squeezing\" " "of long outputs in the shell, to avoid performance degradation and to clean " "up the history without losing it. Squeezed outputs may be copied, viewed in " "a separate window, and \"unsqueezed\"." msgstr "" #: ../build/NEWS:13487 msgid "" "`bpo-34047 `__: Fixed mousewheel " "scrolling direction on macOS." msgstr "" #: ../build/NEWS:13489 msgid "" "`bpo-34275 `__: Make IDLE calltips " "always visible on Mac. Some MacOS-tk combinations need .update_idletasks(). " "Patch by Kevin Walzer." msgstr "" #: ../build/NEWS:13492 msgid "" "`bpo-34120 `__: Fix unresponsiveness " "after closing certain windows and dialogs." msgstr "" #: ../build/NEWS:13494 msgid "" "`bpo-33975 `__: Avoid small type when " "running htests. Since part of the purpose of human-viewed tests is to " "determine that widgets look right, it is important that they look the same " "for testing as when running IDLE." msgstr "" #: ../build/NEWS:13498 msgid "" "`bpo-33905 `__: Add test for idlelib." "stackview.StackBrowser." msgstr "" #: ../build/NEWS:13500 msgid "" "`bpo-33924 `__: Change mainmenu.menudefs " "key 'windows' to 'window'. Every other menudef key is lowercase version of " "main menu entry." msgstr "" #: ../build/NEWS:13503 msgid "" "`bpo-33906 `__: Rename idlelib.windows " "as window Match Window on the main menu and remove last plural module name." msgstr "" #: ../build/NEWS:13506 msgid "" "`bpo-33917 `__: Fix and document idlelib/" "idle_test/template.py. The revised file compiles, runs, and tests OK. " "idle_test/README.txt explains how to use it to create new IDLE test files." msgstr "" #: ../build/NEWS:13510 msgid "" "`bpo-33904 `__: IDLE: In rstrip, rename " "class RstripExtension as Rstrip" msgstr "" #: ../build/NEWS:13512 msgid "" "`bpo-33907 `__: For consistency and " "clarity, rename an IDLE module and classes. Module calltips and its class " "CallTips are now calltip and Calltip. In module calltip_w, class CallTip is " "now CalltipWindow." msgstr "" #: ../build/NEWS:13516 msgid "" "`bpo-33856 `__: Add \"help\" in the " "welcome message of IDLE" msgstr "" #: ../build/NEWS:13518 msgid "" "`bpo-33839 `__: IDLE: refactor ToolTip " "and CallTip and add documentation and tests" msgstr "" #: ../build/NEWS:13521 msgid "" "`bpo-33855 `__: Minimally test all IDLE " "modules. Add missing files, import module, instantiate classes, and check " "coverage. Check existing files." msgstr "" #: ../build/NEWS:13524 ../build/NEWS:13816 ../build/NEWS:18544 msgid "" "`bpo-33656 `__: On Windows, add API call " "saying that tk scales for DPI. On Windows 8.1+ or 10, with DPI compatibility " "properties of the Python binary unchanged, and a monitor resolution greater " "than 96 DPI, this should make text and lines sharper. It should otherwise " "have no effect." msgstr "" #: ../build/NEWS:13529 ../build/NEWS:13821 ../build/NEWS:18549 msgid "" "`bpo-33768 `__: Clicking on a context " "line moves that line to the top of the editor window." msgstr "" #: ../build/NEWS:13532 ../build/NEWS:13824 ../build/NEWS:18552 msgid "" "`bpo-33763 `__: IDLE: Use read-only text " "widget for code context instead of label widget." msgstr "" #: ../build/NEWS:13535 ../build/NEWS:13827 ../build/NEWS:18555 msgid "" "`bpo-33664 `__: Scroll IDLE editor text " "by lines. Previously, the mouse wheel and scrollbar slider moved text by a " "fixed number of pixels, resulting in partial lines at the top of the editor " "box. The change also applies to the shell and grep output windows, but not " "to read-only text views." msgstr "" #: ../build/NEWS:13540 ../build/NEWS:13832 ../build/NEWS:18560 msgid "" "`bpo-33679 `__: Enable theme-specific " "color configuration for Code Context. Use the Highlights tab to see the " "setting for built-in themes or add settings to custom themes." msgstr "" #: ../build/NEWS:13544 ../build/NEWS:13836 ../build/NEWS:18564 msgid "" "`bpo-33642 `__: Display up to maxlines " "non-blank lines for Code Context. If there is no current context, show a " "single blank line." msgstr "" #: ../build/NEWS:13547 ../build/NEWS:14046 ../build/NEWS:18567 msgid "" "`bpo-33628 `__: IDLE: Cleanup " "codecontext.py and its test." msgstr "" #: ../build/NEWS:13549 ../build/NEWS:14048 ../build/NEWS:18569 msgid "" "`bpo-33564 `__: IDLE's code context now " "recognizes async as a block opener." msgstr "" #: ../build/NEWS:13551 ../build/NEWS:14204 ../build/NEWS:18574 msgid "" "`bpo-21474 `__: Update word/identifier " "definition from ascii to unicode. In text and entry boxes, this affects " "selection by double-click, movement left/right by control-left/right, and " "deletion left/right by control-BACKSPACE/DEL." msgstr "" #: ../build/NEWS:13556 ../build/NEWS:14209 ../build/NEWS:18579 msgid "" "`bpo-33204 `__: IDLE: consistently color " "invalid string prefixes. A 'u' string prefix cannot be paired with either " "'r' or 'f'. Consistently color as much of the prefix, starting at the right, " "as is valid. Revise and extend colorizer test." msgstr "" #: ../build/NEWS:13561 ../build/NEWS:14420 ../build/NEWS:18898 msgid "" "`bpo-32984 `__: Set ``__file__`` while " "running a startup file. Like Python, IDLE optionally runs one startup file " "in the Shell window before presenting the first interactive input prompt. " "For IDLE, ``-s`` runs a file named in environmental variable :envvar:" "`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`; ``-r file`` runs ``file``. Python " "sets ``__file__`` to the startup file name before running the file and " "unsets it before the first prompt. IDLE now does the same when run " "normally, without the ``-n`` option." msgstr "" #: ../build/NEWS:13570 ../build/NEWS:14429 ../build/NEWS:18907 msgid "" "`bpo-32940 `__: Simplify and rename " "StringTranslatePseudoMapping in pyparse." msgstr "" #: ../build/NEWS:13572 ../build/NEWS:14673 ../build/NEWS:18909 msgid "" "`bpo-32916 `__: Change ``str`` to " "``code`` in pyparse." msgstr "" #: ../build/NEWS:13574 ../build/NEWS:14675 ../build/NEWS:18911 msgid "" "`bpo-32905 `__: Remove unused code in " "pyparse module." msgstr "" #: ../build/NEWS:13576 ../build/NEWS:14677 ../build/NEWS:18913 msgid "" "`bpo-32874 `__: Add tests for pyparse." msgstr "" #: ../build/NEWS:13578 ../build/NEWS:14679 ../build/NEWS:18915 msgid "" "`bpo-32837 `__: Using the system and " "place-dependent default encoding for open() is a bad idea for IDLE's system " "and location-independent files." msgstr "" #: ../build/NEWS:13581 ../build/NEWS:14682 ../build/NEWS:18918 msgid "" "`bpo-32826 `__: Add \"encoding=utf-8\" " "to open() in IDLE's test_help_about. GUI test test_file_buttons() only looks " "at initial ascii-only lines, but failed on systems where open() defaults to " "'ascii' because readline() internally reads and decodes far enough ahead to " "encounter a non-ascii character in CREDITS.txt." msgstr "" #: ../build/NEWS:13587 ../build/NEWS:14050 ../build/NEWS:18584 msgid "" "`bpo-32831 `__: Add docstrings and tests " "for codecontext." msgstr "" #: ../build/NEWS:13589 ../build/NEWS:14688 ../build/NEWS:18924 msgid "" "`bpo-32765 `__: Update configdialog " "General tab docstring to add new widgets to the widget list." msgstr "" #: ../build/NEWS:13595 msgid "" "`bpo-35884 `__: Add a benchmark script " "for timing various ways to access variables: ``Tools/scripts/" "var_access_benchmark.py``." msgstr "" #: ../build/NEWS:13598 msgid "" "`bpo-34989 `__: python-gdb.py now " "handles errors on computing the line number of a Python frame." msgstr "" #: ../build/NEWS:13601 msgid "" "`bpo-20260 `__: Argument Clinic now has " "non-bitwise unsigned int converters." msgstr "" #: ../build/NEWS:13603 msgid "" "`bpo-32962 `__: python-gdb now catches " "``UnicodeDecodeError`` exceptions when calling ``string()``." msgstr "" #: ../build/NEWS:13606 msgid "" "`bpo-32962 `__: python-gdb now catches " "ValueError on read_var(): when Python has no debug symbols for example." msgstr "" #: ../build/NEWS:13609 ../build/NEWS:14217 ../build/NEWS:18589 msgid "" "`bpo-33189 `__: :program:`pygettext.py` " "now recognizes only literal strings as docstrings and translatable strings, " "and rejects bytes literals and f-string expressions." msgstr "" #: ../build/NEWS:13613 ../build/NEWS:14221 ../build/NEWS:18593 msgid "" "`bpo-31920 `__: Fixed handling " "directories as arguments in the ``pygettext`` script. Based on patch by Oleg " "Krasnikov." msgstr "" #: ../build/NEWS:13616 ../build/NEWS:14224 ../build/NEWS:18596 msgid "" "`bpo-29673 `__: Fix pystackv and pystack " "gdbinit macros." msgstr "" #: ../build/NEWS:13618 msgid "" "`bpo-25427 `__: Remove the pyvenv script " "in favor of ``python3 -m venv`` in order to lower confusion as to what " "Python interpreter a virtual environment will be created for." msgstr "" #: ../build/NEWS:13622 ../build/NEWS:14434 ../build/NEWS:18598 msgid "" "`bpo-32885 `__: Add an ``-n`` flag for " "``Tools/scripts/pathfix.py`` to disable automatic backup creation (files " "with ``~`` suffix)." msgstr "" #: ../build/NEWS:13625 ../build/NEWS:14694 ../build/NEWS:18934 msgid "" "`bpo-32222 `__: Fix pygettext not " "extracting docstrings for functions with type annotated arguments. Patch by " "Toby Harradine." msgstr "" #: ../build/NEWS:13628 ../build/NEWS:14226 ../build/NEWS:18601 msgid "" "`bpo-31583 `__: Fix 2to3 for using with " "--add-suffix option but without --output-dir option for relative path to " "files in current directory." msgstr "" #: ../build/NEWS:13634 msgid "" "`bpo-35713 `__: The :c:func:" "`PyByteArray_Init` and :c:func:`PyByteArray_Fini` functions have been " "removed. They did nothing since Python 2.7.4 and Python 3.2.0, were excluded " "from the limited API (stable ABI), and were not documented." msgstr "" #: ../build/NEWS:13639 msgid "" "`bpo-33817 `__: Fixed :c:func:" "`_PyBytes_Resize` for empty bytes objects." msgstr "" #: ../build/NEWS:13641 msgid "" "`bpo-35322 `__: Fix memory leak in :c:" "func:`PyUnicode_EncodeLocale` and :c:func:`PyUnicode_EncodeFSDefault` on " "error handling." msgstr "" #: ../build/NEWS:13644 msgid "" "`bpo-35059 `__: The following C macros " "have been converted to static inline functions: :c:func:`Py_INCREF`, :c:func:" "`Py_DECREF`, :c:func:`Py_XINCREF`, :c:func:`Py_XDECREF`, :c:func:" "`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`." msgstr "" #: ../build/NEWS:13649 msgid "" "`bpo-35296 `__: ``make install`` now " "also installs the internal API: ``Include/internal/*.h`` header files." msgstr "" #: ../build/NEWS:13652 msgid "" "`bpo-35081 `__: Internal APIs surrounded " "by ``#ifdef Py_BUILD_CORE`` have been moved from ``Include/*.h`` headers to " "new header files ``Include/internal/pycore_*.h``." msgstr "" #: ../build/NEWS:13656 msgid "" "`bpo-35259 `__: Conditionally declare :c:" "func:`Py_FinalizeEx()` (new in 3.6) based on Py_LIMITED_API. Patch by Arthur " "Neufeld." msgstr "" #: ../build/NEWS:13659 msgid "" "`bpo-35081 `__: The :c:func:" "`_PyObject_GC_TRACK` and :c:func:`_PyObject_GC_UNTRACK` macros have been " "removed from the public C API." msgstr "" #: ../build/NEWS:13663 msgid "" "`bpo-35134 `__: Creation of a new " "``Include/cpython/`` subdirectory." msgstr "" #: ../build/NEWS:13665 msgid "" "`bpo-34725 `__: Adds " "_Py_SetProgramFullPath so embedders may override sys.executable" msgstr "" #: ../build/NEWS:13668 msgid "" "`bpo-34910 `__: Ensure that :c:func:" "`PyObject_Print` always returns ``-1`` on error. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:13671 msgid "" "`bpo-34523 `__: Py_DecodeLocale() and " "Py_EncodeLocale() now use the UTF-8 encoding on Windows if " "Py_LegacyWindowsFSEncodingFlag is zero." msgstr "" #: ../build/NEWS:13674 msgid "" "`bpo-34193 `__: Fix pluralization in " "TypeError messages in getargs.c and typeobject.c: '1 argument' instead of '1 " "arguments' and '1 element' instead of '1 elements'." msgstr "" #: ../build/NEWS:13678 msgid "" "`bpo-34127 `__: Return grammatically " "correct error message based on argument count. Patch by Karthikeyan " "Singaravelan." msgstr "" #: ../build/NEWS:13681 msgid "" "`bpo-23927 `__: Fixed :exc:`SystemError` " "in :c:func:`PyArg_ParseTupleAndKeywords` when the ``w*`` format unit is used " "for optional parameter." msgstr "" #: ../build/NEWS:13685 msgid "" "`bpo-32455 `__: Added :c:func:" "`PyCompile_OpcodeStackEffectWithJump`." msgstr "" #: ../build/NEWS:13687 msgid "" "`bpo-34008 `__: Py_Main() can again be " "called after Py_Initialize(), as in Python 3.6." msgstr "" #: ../build/NEWS:13690 msgid "" "`bpo-32500 `__: Fixed error messages " "for :c:func:`PySequence_Size`, :c:func:`PySequence_GetItem`, :c:func:" "`PySequence_SetItem` and :c:func:`PySequence_DelItem` called with a mapping " "and :c:func:`PyMapping_Size` called with a sequence." msgstr "" #: ../build/NEWS:13695 msgid "" "`bpo-33818 `__: :c:func:" "`PyExceptionClass_Name` will now return ``const char *`` instead of ``char " "*``." msgstr "" #: ../build/NEWS:13698 ../build/NEWS:14440 msgid "" "`bpo-33042 `__: Embedding applications " "may once again call PySys_ResetWarnOptions, PySys_AddWarnOption, and " "PySys_AddXOption prior to calling Py_Initialize." msgstr "" #: ../build/NEWS:13702 ../build/NEWS:14444 ../build/NEWS:18607 msgid "" "`bpo-32374 `__: Document that m_traverse " "for multi-phase initialized modules can be called with m_state=NULL, and add " "a sanity check" msgstr "" #: ../build/NEWS:13705 msgid "" "`bpo-30863 `__: :c:func:" "`PyUnicode_AsWideChar` and :c:func:`PyUnicode_AsWideCharString` no longer " "cache the ``wchar_t*`` representation of string objects." msgstr "" #: ../build/NEWS:13711 msgid "Python 3.7.0 final" msgstr "" #: ../build/NEWS:13713 ../build/NEWS:18294 msgid "*Release date: 2018-06-27*" msgstr "" #: ../build/NEWS:13718 msgid "" "`bpo-33851 `__: Fix :func:`ast." "get_docstring` for a node that lacks a docstring." msgstr "" #: ../build/NEWS:13724 msgid "" "`bpo-33932 `__: Calling Py_Initialize() " "twice does nothing, instead of failing with a fatal error: restore the " "Python 3.6 behaviour." msgstr "" #: ../build/NEWS:13729 msgid "Python 3.7.0 release candidate 1" msgstr "" #: ../build/NEWS:13731 msgid "*Release date: 2018-06-12*" msgstr "" #: ../build/NEWS:13841 msgid "Python 3.7.0 beta 5" msgstr "" #: ../build/NEWS:13843 msgid "*Release date: 2018-05-30*" msgstr "" #: ../build/NEWS:13856 msgid "" "`bpo-20104 `__: The new `os.posix_spawn` " "added in 3.7.0b1 was removed as we are still working on what the API should " "look like. Expect this in 3.8 instead." msgstr "" #: ../build/NEWS:13990 ../build/NEWS:18431 msgid "" "`bpo-32861 `__: The urllib.robotparser's " "``__str__`` representation now includes wildcard entries and the \"Crawl-" "delay\" and \"Request-rate\" fields. Patch by Michael Lazar." msgstr "" #: ../build/NEWS:14020 msgid "" "`bpo-32604 `__: Remove the " "_xxsubinterpreters module (meant for testing) and associated helpers. This " "module was originally added recently in 3.7b1." msgstr "" #: ../build/NEWS:14032 ../build/NEWS:18524 msgid "" "`bpo-33012 `__: Add ``-Wno-cast-function-" "type`` for gcc 8 for silencing warnings about function casts like casting to " "PyCFunction in method definition lists." msgstr "" #: ../build/NEWS:14054 msgid "Python 3.7.0 beta 4" msgstr "" #: ../build/NEWS:14056 msgid "*Release date: 2018-05-02*" msgstr "" #: ../build/NEWS:14114 msgid "" "`bpo-33185 `__: Fixed regression when " "running pydoc with the :option:`-m` switch. (The regression was introduced " "in 3.7.0b3 by the resolution of :issue:`33053`) This fix also changed pydoc " "to add ``os.getcwd()`` to :data:`sys.path` when necessary, rather than " "adding ``\".\"``." msgstr "" #: ../build/NEWS:14122 msgid "" "`bpo-33217 `__: Deprecate looking up non-" "Enum objects in Enum classes and Enum members (will raise :exc:`TypeError` " "in 3.8+)." msgstr "" #: ../build/NEWS:14231 msgid "Python 3.7.0 beta 3" msgstr "" #: ../build/NEWS:14233 msgid "*Release date: 2018-03-29*" msgstr "" #: ../build/NEWS:14261 ../build/NEWS:18334 msgid "" "`bpo-33041 `__: Fixed jumping when the " "function contains an ``async for`` loop." msgstr "" #: ../build/NEWS:14359 msgid "" "`bpo-31639 `__: http.server now exposes " "a ThreadedHTTPServer class and uses it when the module is run with ``-m`` to " "cope with web browsers pre-opening sockets." msgstr "" #: ../build/NEWS:14449 msgid "Python 3.7.0 beta 2" msgstr "" #: ../build/NEWS:14451 msgid "*Release date: 2018-02-27*" msgstr "" #: ../build/NEWS:14516 msgid "" "`bpo-25988 `__: Emit a :exc:" "`DeprecationWarning` when using or importing an ABC directly from :mod:" "`collections` rather than from :mod:`collections.abc`." msgstr "" #: ../build/NEWS:14525 msgid "" "`bpo-31333 `__: ``_abc`` module is " "added. It is a speedup module with C implementations for various functions " "and methods in ``abc``. Creating an ABC subclass and calling ``isinstance`` " "or ``issubclass`` with an ABC subclass are up to 1.5x faster. In addition, " "this makes Python start-up up to 10% faster. Note that the new " "implementation hides internal registry and caches, previously accessible via " "private attributes ``_abc_registry``, ``_abc_cache``, and " "``_abc_negative_cache``. There are three debugging helper methods that can " "be used instead ``_dump_registry``, ``_abc_registry_clear``, and " "``_abc_caches_clear``." msgstr "" #: ../build/NEWS:14699 msgid "Python 3.7.0 beta 1" msgstr "" #: ../build/NEWS:14701 msgid "*Release date: 2018-01-30*" msgstr "" #: ../build/NEWS:14706 msgid "" "`bpo-32703 `__: Fix coroutine's " "ResourceWarning when there's an active error set when it's being finalized." msgstr "" #: ../build/NEWS:14709 ../build/NEWS:18652 msgid "" "`bpo-32650 `__: Pdb and other debuggers " "dependent on bdb.py will correctly step over (next command) native " "coroutines. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:14712 msgid "" "`bpo-28685 `__: Optimize list.sort() and " "sorted() by using type specialized comparisons when possible." msgstr "" #: ../build/NEWS:14715 ../build/NEWS:18655 msgid "" "`bpo-32685 `__: Improve suggestion when " "the Python 2 form of print statement is either present on the same line as " "the header of a compound statement or else terminated by a semi-colon " "instead of a newline. Patch by Nitish Chandra." msgstr "" #: ../build/NEWS:14720 msgid "" "`bpo-32697 `__: Python now explicitly " "preserves the definition order of keyword-only parameters. It's always " "preserved their order, but this behavior was never guaranteed before; this " "behavior is now guaranteed and tested." msgstr "" #: ../build/NEWS:14725 msgid "" "`bpo-32690 `__: The locals() dictionary " "now displays in the lexical order that variables were defined. Previously, " "the order was reversed." msgstr "" #: ../build/NEWS:14728 msgid "" "`bpo-32677 `__: Add ``.isascii()`` " "method to ``str``, ``bytes`` and ``bytearray``. It can be used to test that " "string contains only ASCII characters." msgstr "" #: ../build/NEWS:14732 msgid "" "`bpo-32670 `__: Enforce :pep:`479` for " "all code. This means that manually raising a StopIteration exception from a " "generator is prohibited for all code, regardless of whether 'from __future__ " "import generator_stop' was used or not." msgstr "" #: ../build/NEWS:14737 msgid "" "`bpo-32591 `__: Added built-in support " "for tracking the origin of coroutine objects; see sys." "set_coroutine_origin_tracking_depth and CoroutineType.cr_origin. This " "replaces the asyncio debug mode's use of coroutine wrapping for native " "coroutine objects." msgstr "" #: ../build/NEWS:14742 msgid "" "`bpo-31368 `__: Expose preadv and " "pwritev system calls in the os module. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:14745 msgid "" "`bpo-32544 `__: ``hasattr(obj, name)`` " "and ``getattr(obj, name, default)`` are about 4 times faster than before " "when ``name`` is not found and ``obj`` doesn't override ``__getattr__`` or " "``__getattribute__``." msgstr "" #: ../build/NEWS:14749 ../build/NEWS:18663 msgid "" "`bpo-26163 `__: Improved frozenset() " "hash to create more distinct hash values when faced with datasets containing " "many similar values." msgstr "" #: ../build/NEWS:14752 msgid "" "`bpo-32550 `__: Remove the " "STORE_ANNOTATION bytecode." msgstr "" #: ../build/NEWS:14754 msgid "" "`bpo-20104 `__: Expose posix_spawn as a " "low level API in the os module. (removed before 3.7.0rc1)" msgstr "" #: ../build/NEWS:14757 msgid "" "`bpo-24340 `__: Fixed estimation of the " "code stack size." msgstr "" #: ../build/NEWS:14759 msgid "" "`bpo-32436 `__: Implement :pep:`567` " "Context Variables." msgstr "" #: ../build/NEWS:14761 ../build/NEWS:18676 msgid "" "`bpo-18533 `__: ``repr()`` on a dict " "containing its own ``values()`` or ``items()`` no longer raises " "``RecursionError``; OrderedDict similarly. Instead, use ``...``, as for " "other recursive structures. Patch by Ben North." msgstr "" #: ../build/NEWS:14766 msgid "" "`bpo-20891 `__: Py_Initialize() now " "creates the GIL. The GIL is no longer created \"on demand\" to fix a race " "condition when PyGILState_Ensure() is called in a non-Python thread." msgstr "" #: ../build/NEWS:14770 ../build/NEWS:18681 msgid "" "`bpo-32028 `__: Leading whitespace is " "now correctly ignored when generating suggestions for converting Py2 print " "statements to Py3 builtin print function calls. Patch by Sanyam Khurana." msgstr "" #: ../build/NEWS:14774 msgid "" "`bpo-31179 `__: Make dict.copy() up to " "5.5 times faster." msgstr "" #: ../build/NEWS:14776 msgid "" "`bpo-31113 `__: Get rid of recursion in " "the compiler for normal control flow." msgstr "" #: ../build/NEWS:14781 msgid "" "`bpo-25988 `__: Deprecate exposing the " "contents of collections.abc in the regular collections module." msgstr "" #: ../build/NEWS:14784 msgid "" "`bpo-31429 `__: The default cipher suite " "selection of the ssl module now uses a blacklist approach rather than a hard-" "coded whitelist. Python no longer re-enables ciphers that have been blocked " "by OpenSSL security update. Default cipher suite selection can be configured " "on compile time." msgstr "" #: ../build/NEWS:14789 msgid "" "`bpo-30306 `__: contextlib." "contextmanager now releases the arguments passed to the underlying generator " "as soon as the context manager is entered. Previously it would keep them " "alive for as long as the context manager was alive, even when not being used " "as a function decorator. Patch by Martin Teichmann." msgstr "" #: ../build/NEWS:14795 msgid "" "`bpo-21417 `__: Added support for " "setting the compression level for zipfile.ZipFile." msgstr "" #: ../build/NEWS:14798 msgid "" "`bpo-32251 `__: Implement asyncio." "BufferedProtocol (provisional API)." msgstr "" #: ../build/NEWS:14800 msgid "" "`bpo-32513 `__: In dataclasses, allow " "easier overriding of dunder methods without specifying decorator parameters." msgstr "" #: ../build/NEWS:14803 msgid "" "`bpo-32660 `__: :mod:`termios` makes " "available ``FIONREAD``, ``FIONCLEX``, ``FIOCLEX``, ``FIOASYNC`` and " "``FIONBIO`` also under Solaris/derivatives." msgstr "" #: ../build/NEWS:14806 ../build/NEWS:18756 msgid "" "`bpo-27931 `__: Fix email address header " "parsing error when the username is an empty quoted string. Patch by Xiang " "Zhang." msgstr "" #: ../build/NEWS:14809 msgid "" "`bpo-32659 `__: Under Solaris and " "derivatives, :class:`os.stat_result` provides a st_fstype attribute." msgstr "" #: ../build/NEWS:14812 msgid "" "`bpo-32662 `__: Implement Server." "start_serving(), Server.serve_forever(), and Server.is_serving() methods. " "Add 'start_serving' keyword parameter to loop.create_server() and loop." "create_unix_server()." msgstr "" #: ../build/NEWS:14816 msgid "" "`bpo-32391 `__: Implement :meth:`asyncio." "StreamWriter.wait_closed` and :meth:`asyncio.StreamWriter.is_closing` methods" msgstr "" #: ../build/NEWS:14819 msgid "" "`bpo-32643 `__: Make Task._step, Task." "_wakeup and Future._schedule_callbacks methods private." msgstr "" #: ../build/NEWS:14822 msgid "" "`bpo-32630 `__: Refactor decimal module " "to use contextvars to store decimal context." msgstr "" #: ../build/NEWS:14825 msgid "" "`bpo-32622 `__: Add :meth:`asyncio." "AbstractEventLoop.sendfile` method." msgstr "" #: ../build/NEWS:14827 ../build/NEWS:18759 msgid "" "`bpo-32304 `__: distutils' upload " "command no longer corrupts tar files ending with a CR byte, and no longer " "tries to convert CR to CRLF in any of the upload text fields." msgstr "" #: ../build/NEWS:14831 ../build/NEWS:18763 msgid "" "`bpo-32502 `__: uuid.uuid1 no longer " "raises an exception if a 64-bit hardware address is encountered." msgstr "" #: ../build/NEWS:14834 msgid "" "`bpo-32596 `__: ``concurrent.futures`` " "imports ``ThreadPoolExecutor`` and ``ProcessPoolExecutor`` lazily (using :" "pep:`562`). It makes ``import asyncio`` about 15% faster because asyncio " "uses only ``ThreadPoolExecutor`` by default." msgstr "" #: ../build/NEWS:14839 msgid "" "`bpo-31801 `__: Add ``_ignore_`` to " "``Enum`` so temporary variables can be used during class construction " "without being turned into members." msgstr "" #: ../build/NEWS:14842 msgid "" "`bpo-32576 `__: Use queue.SimpleQueue() " "in places where it can be invoked from a weakref callback." msgstr "" #: ../build/NEWS:14845 msgid "" "`bpo-32574 `__: Fix memory leak in " "asyncio.Queue, when the queue has limited size and it is full, the " "cancelation of queue.put() can cause a memory leak. Patch by: José Melero." msgstr "" #: ../build/NEWS:14849 ../build/NEWS:18773 msgid "" "`bpo-32521 `__: The nis module is now " "compatible with new libnsl and headers location." msgstr "" #: ../build/NEWS:14852 msgid "" "`bpo-32467 `__: collections.abc." "ValuesView now inherits from collections.abc.Collection." msgstr "" #: ../build/NEWS:14855 ../build/NEWS:18776 msgid "" "`bpo-32473 `__: Improve ABCMeta." "_dump_registry() output readability" msgstr "" #: ../build/NEWS:14857 msgid "" "`bpo-32102 `__: New argument " "``capture_output`` for subprocess.run" msgstr "" #: ../build/NEWS:14859 ../build/NEWS:18778 msgid "" "`bpo-32521 `__: glibc has removed Sun " "RPC. Use replacement libtirpc headers and library in nis module." msgstr "" #: ../build/NEWS:14862 msgid "" "`bpo-32493 `__: UUID module fixes build " "for FreeBSD/OpenBSD" msgstr "" #: ../build/NEWS:14864 msgid "" "`bpo-32503 `__: Pickling with protocol 4 " "no longer creates too small frames." msgstr "" #: ../build/NEWS:14866 msgid "" "`bpo-29237 `__: Create enum for pstats " "sorting options" msgstr "" #: ../build/NEWS:14868 msgid "" "`bpo-32454 `__: Add close(fd) function " "to the socket module." msgstr "" #: ../build/NEWS:14870 msgid "" "`bpo-25942 `__: The subprocess module is " "now more graceful when handling a Ctrl-C KeyboardInterrupt during subprocess." "call, subprocess.run, or a Popen context manager. It now waits a short " "amount of time for the child (presumed to have also gotten the SIGINT) to " "exit, before continuing the KeyboardInterrupt exception handling. This " "still includes a SIGKILL in the call() and run() APIs, but at least the " "child had a chance first." msgstr "" #: ../build/NEWS:14877 msgid "" "`bpo-32433 `__: The hmac module now has " "hmac.digest(), which provides an optimized HMAC digest." msgstr "" #: ../build/NEWS:14880 msgid "" "`bpo-28134 `__: Sockets now auto-detect " "family, type and protocol from file descriptor by default." msgstr "" #: ../build/NEWS:14883 msgid "" "`bpo-32404 `__: Fix bug where :meth:" "`datetime.datetime.fromtimestamp` did not call __new__ in :class:`datetime." "datetime` subclasses." msgstr "" #: ../build/NEWS:14886 msgid "" "`bpo-32403 `__: Improved speed of :class:" "`datetime.date` and :class:`datetime.datetime` alternate constructors." msgstr "" #: ../build/NEWS:14889 ../build/NEWS:18781 msgid "" "`bpo-32228 `__: Ensure that " "``truncate()`` preserves the file position (as reported by ``tell()``) after " "writes longer than the buffer size." msgstr "" #: ../build/NEWS:14892 msgid "" "`bpo-32410 `__: Implement ``loop." "sock_sendfile`` for asyncio event loop." msgstr "" #: ../build/NEWS:14894 msgid "" "`bpo-22908 `__: Added seek and tell to " "the ZipExtFile class. This only works if the file object used to open the " "zipfile is seekable." msgstr "" #: ../build/NEWS:14897 msgid "" "`bpo-32373 `__: Add socket.getblocking() " "method." msgstr "" #: ../build/NEWS:14899 msgid "" "`bpo-32248 `__: Add :mod:`importlib." "resources` and :class:`importlib.abc.ResourceReader` as the unified API for " "reading resources contained within packages. Loaders wishing to support " "resource reading must implement the :meth:`get_resource_reader()` method. " "File-based and zipimport-based loaders both implement these APIs. :class:" "`importlib.abc.ResourceLoader` is deprecated in favor of these new APIs." msgstr "" #: ../build/NEWS:14907 msgid "" "`bpo-32320 `__: collections.namedtuple() " "now supports default values." msgstr "" #: ../build/NEWS:14909 msgid "" "`bpo-29302 `__: Add contextlib." "AsyncExitStack. Patch by Alexander Mohr and Ilya Kulakov." msgstr "" #: ../build/NEWS:14912 msgid "" "`bpo-31961 `__: *Removed in Python " "3.7.0b2.* The *args* argument of subprocess.Popen can now be a :term:`path-" "like object`. If *args* is given as a sequence, it's first element can now " "be a :term:`path-like object` as well." msgstr "" #: ../build/NEWS:14917 ../build/NEWS:18809 msgid "" "`bpo-31900 `__: The :func:`locale." "localeconv` function now sets temporarily the ``LC_CTYPE`` locale to the " "``LC_NUMERIC`` locale to decode ``decimal_point`` and ``thousands_sep`` byte " "strings if they are non-ASCII or longer than 1 byte, and the ``LC_NUMERIC`` " "locale is different than the ``LC_CTYPE`` locale. This temporary change " "affects other threads. Same change for the :meth:`str.format` method when " "formatting a number (:class:`int`, :class:`float`, :class:`float` and " "subclasses) with the ``n`` type (ex: ``'{:n}'.format(1234)``)." msgstr "" #: ../build/NEWS:14926 msgid "" "`bpo-31853 `__: Use super().method " "instead of socket.method in SSLSocket. They were there most likely for " "legacy reasons." msgstr "" #: ../build/NEWS:14929 msgid "" "`bpo-31399 `__: The ssl module now uses " "OpenSSL's X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API " "to verify hostname and IP addresses. Subject common name fallback can be " "disabled with SSLContext.hostname_checks_common_name." msgstr "" #: ../build/NEWS:14934 msgid "" "`bpo-14976 `__: Add a queue.SimpleQueue " "class, an unbounded FIFO queue with a reentrant C implementation of put()." msgstr "" #: ../build/NEWS:14940 msgid "" "`bpo-32724 `__: Add references to some " "commands in the documentation of Pdb. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:14943 msgid "" "`bpo-32649 `__: Complete the C API " "documentation, profiling and tracing part with the newly added per-opcode " "events." msgstr "" #: ../build/NEWS:14946 ../build/NEWS:18837 msgid "" "`bpo-17799 `__: Explain real behaviour " "of sys.settrace and sys.setprofile and their C-API counterparts regarding " "which type of events are received in each function. Patch by Pablo Galindo " "Salgado." msgstr "" #: ../build/NEWS:14953 ../build/NEWS:18847 msgid "" "`bpo-32721 `__: Fix test_hashlib to not " "fail if the _md5 module is not built." msgstr "" #: ../build/NEWS:14955 msgid "" "`bpo-28414 `__: Add test cases for IDNA " "2003 and 2008 host names. IDNA 2003 internationalized host names are working " "since `bpo-31399 `__ has landed. IDNA " "2008 are still broken." msgstr "" #: ../build/NEWS:14959 msgid "" "`bpo-32604 `__: Add a new " "\"_xxsubinterpreters\" extension module that exposes the existing " "subinterpreter C-API and a new cross-interpreter data sharing mechanism. The " "module is primarily intended for more thorough testing of the existing " "subinterpreter support. Note that the _xxsubinterpreters module has been " "removed in 3.7.0rc1." msgstr "" #: ../build/NEWS:14965 msgid "" "`bpo-32602 `__: Add test certs and test " "for ECDSA cert and EC/RSA dual mode." msgstr "" #: ../build/NEWS:14967 msgid "" "`bpo-32549 `__: On Travis CI, Python now " "Compiles and uses a local copy of OpenSSL 1.1.0g for testing." msgstr "" #: ../build/NEWS:14973 ../build/NEWS:18859 msgid "" "`bpo-32635 `__: Fix segfault of the " "crypt module when libxcrypt is provided instead of libcrypt at the system." msgstr "" #: ../build/NEWS:14976 msgid "" "`bpo-32598 `__: Use autoconf to detect " "OpenSSL libs, headers and supported features. The ax_check_openssl M4 macro " "uses pkg-config to locate OpenSSL and falls back to manual search." msgstr "" #: ../build/NEWS:14980 msgid "" "`bpo-32593 `__: Drop support of FreeBSD " "9 and older." msgstr "" #: ../build/NEWS:14982 msgid "" "`bpo-29708 `__: If the :envvar:" "`SOURCE_DATE_EPOCH` environment variable is set, :mod:`py_compile` will " "always create hash-based ``.pyc`` files." msgstr "" #: ../build/NEWS:14988 msgid "" "`bpo-32588 `__: Create standalone " "_distutils_findvs module and add missing _queue module to installer." msgstr "" #: ../build/NEWS:14991 msgid "" "`bpo-29911 `__: Ensure separate Modify " "and Uninstall buttons are displayed." msgstr "" #: ../build/NEWS:14993 msgid "" "`bpo-32507 `__: Use app-local UCRT " "install rather than the proper update for old versions of Windows." msgstr "" #: ../build/NEWS:14999 msgid "" "`bpo-32726 `__: Provide an additional, " "more modern macOS installer variant that supports macOS 10.9+ systems in 64-" "bit mode only. Upgrade the supplied third-party libraries to OpenSSL 1.1.0g " "and to SQLite 3.22.0. The 10.9+ installer now links with and supplies its " "own copy of Tcl/Tk 8.6." msgstr "" #: ../build/NEWS:15004 msgid "" "`bpo-28440 `__: No longer add /Library/" "Python/3.x/site-packages to sys.path for macOS framework builds to avoid " "future conflicts." msgstr "" #: ../build/NEWS:15010 msgid "" "`bpo-32681 `__: Fix uninitialized " "variable 'res' in the C implementation of os.dup2. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:15013 msgid "" "`bpo-10381 `__: Add C API access to the " "``datetime.timezone`` constructor and ``datetime.timzone.UTC`` singleton." msgstr "" #: ../build/NEWS:15018 msgid "Python 3.7.0 alpha 4" msgstr "" #: ../build/NEWS:15020 msgid "*Release date: 2018-01-08*" msgstr "" #: ../build/NEWS:15025 msgid "" "`bpo-31975 `__: The default warning " "filter list now starts with a \"default::DeprecationWarning:__main__\" " "entry, so deprecation warnings are once again shown by default in single-" "file scripts and at the interactive prompt." msgstr "" #: ../build/NEWS:15030 msgid "" "`bpo-32226 `__: ``__class_getitem__`` is " "now an automatic class method." msgstr "" #: ../build/NEWS:15032 msgid "" "`bpo-32399 `__: Add AIX uuid library " "support for RFC4122 using uuid_create() in libc.a" msgstr "" #: ../build/NEWS:15035 msgid "" "`bpo-32390 `__: Fix the compilation " "failure on AIX after the f_fsid field has been added to the object returned " "by os.statvfs() (`bpo-32143 `__). " "Original patch by Michael Felt." msgstr "" #: ../build/NEWS:15039 msgid "" "`bpo-32379 `__: Make MRO computation " "faster when a class inherits from a single base." msgstr "" #: ../build/NEWS:15042 msgid "" "`bpo-32259 `__: The error message of a " "TypeError raised when unpack non-iterable is now more specific." msgstr "" #: ../build/NEWS:15045 ../build/NEWS:18666 msgid "" "`bpo-27169 `__: The ``__debug__`` " "constant is now optimized out at compile time. This fixes also `bpo-22091 " "`__." msgstr "" #: ../build/NEWS:15048 msgid "" "`bpo-32329 `__: The :option:`-R` option " "now turns on hash randomization when the :envvar:`PYTHONHASHSEED` " "environment variable is set to ``0``. Previously, the option was ignored. " "Moreover, ``sys.flags.hash_randomization`` is now properly set to 0 when " "hash randomization is turned off by ``PYTHONHASHSEED=0``." msgstr "" #: ../build/NEWS:15054 msgid "" "`bpo-30416 `__: The optimizer is now " "protected from spending much time doing complex calculations and consuming " "much memory for creating large constants in constant folding. Increased " "limits for constants that can be produced in constant folding." msgstr "" #: ../build/NEWS:15059 ../build/NEWS:18336 msgid "" "`bpo-32282 `__: Fix an unnecessary ifdef " "in the include of VersionHelpers.h in socketmodule on Windows." msgstr "" #: ../build/NEWS:15062 msgid "" "`bpo-30579 `__: Implement TracebackType." "__new__ to allow Python-level creation of traceback objects, and make " "TracebackType.tb_next mutable." msgstr "" #: ../build/NEWS:15065 msgid "" "`bpo-32260 `__: Don't byte swap the " "input keys to the SipHash algorithm on big-endian platforms. This should " "ensure siphash gives consistent results across platforms." msgstr "" #: ../build/NEWS:15069 msgid "" "`bpo-31506 `__: Improve the error " "message logic for object.__new__ and object.__init__. Patch by Sanyam " "Khurana." msgstr "" #: ../build/NEWS:15072 msgid "" "`bpo-20361 `__: ``-b`` and ``-bb`` now " "inject ``'default::BytesWarning'`` and ``error::BytesWarning`` entries into " "``sys.warnoptions``, ensuring that they take precedence over any other " "warning filters configured via the ``-W`` option or the ``PYTHONWARNINGS`` " "environment variable." msgstr "" #: ../build/NEWS:15077 msgid "" "`bpo-32230 `__: `-X dev` now injects a " "``'default'`` entry into sys.warnoptions, ensuring that it behaves " "identically to actually passing ``-Wdefault`` at the command line." msgstr "" #: ../build/NEWS:15081 msgid "" "`bpo-29240 `__: Add a new UTF-8 mode: " "implementation of the :pep:`540`." msgstr "" #: ../build/NEWS:15083 msgid "" "`bpo-32226 `__: :pep:`560`: Add support " "for ``__mro_entries__`` and ``__class_getitem__``. Implemented by Ivan " "Levkivskyi." msgstr "" #: ../build/NEWS:15086 msgid "" "`bpo-32225 `__: :pep:`562`: Add support " "for module ``__getattr__`` and ``__dir__``. Implemented by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:15089 msgid "" "`bpo-31901 `__: The `atexit` module now " "has its callback stored per interpreter." msgstr "" #: ../build/NEWS:15092 msgid "" "`bpo-31650 `__: Implement :pep:`552` " "(Deterministic pycs). Python now supports invalidating bytecode cache files " "bashed on a source content hash rather than source last-modified time." msgstr "" #: ../build/NEWS:15096 msgid "" "`bpo-29469 `__: Move constant folding " "from bytecode layer to AST layer. Original patch by Eugene Toder." msgstr "" #: ../build/NEWS:15102 msgid "" "`bpo-32506 `__: Now that dict is defined " "as keeping insertion order, drop OrderedDict and just use plain dict." msgstr "" #: ../build/NEWS:15105 msgid "" "`bpo-32279 `__: Add params to " "dataclasses.make_dataclasses(): init, repr, eq, order, hash, and frozen. " "Pass them through to dataclass()." msgstr "" #: ../build/NEWS:15108 msgid "" "`bpo-32278 `__: Make type information " "optional on dataclasses.make_dataclass(). If omitted, the string 'typing." "Any' is used." msgstr "" #: ../build/NEWS:15111 msgid "" "`bpo-32499 `__: Add dataclasses." "is_dataclass(obj), which returns True if obj is a dataclass or an instance " "of one." msgstr "" #: ../build/NEWS:15114 msgid "" "`bpo-32468 `__: Improve frame repr() to " "mention filename, code name and current line number." msgstr "" #: ../build/NEWS:15117 msgid "" "`bpo-23749 `__: asyncio: Implement loop." "start_tls()" msgstr "" #: ../build/NEWS:15119 msgid "" "`bpo-32441 `__: Return the new file " "descriptor (i.e., the second argument) from ``os.dup2``. Previously, " "``None`` was always returned." msgstr "" #: ../build/NEWS:15122 msgid "" "`bpo-32422 `__: ``functools.lru_cache`` " "uses less memory (3 words for each cached key) and takes about 1/3 time for " "cyclic GC." msgstr "" #: ../build/NEWS:15125 msgid "" "`bpo-31721 `__: Prevent Python crash " "from happening when Future._log_traceback is set to True manually. Now it " "can only be set to False, or a ValueError is raised." msgstr "" #: ../build/NEWS:15129 msgid "" "`bpo-32415 `__: asyncio: Add Task." "get_loop() and Future.get_loop()" msgstr "" #: ../build/NEWS:15131 ../build/NEWS:18784 msgid "" "`bpo-26133 `__: Don't unsubscribe " "signals in asyncio UNIX event loop on interpreter shutdown." msgstr "" #: ../build/NEWS:15134 msgid "" "`bpo-32363 `__: Make asyncio.Task." "set_exception() and set_result() raise NotImplementedError. Task._step() and " "Future.__await__() raise proper exceptions when they are in an invalid " "state, instead of raising an AssertionError." msgstr "" #: ../build/NEWS:15139 msgid "" "`bpo-32357 `__: Optimize asyncio." "iscoroutine() and loop.create_task() for non-native coroutines (e.g. async/" "await compiled with Cython). 'loop.create_task(python_coroutine)' used to be " "20% faster than 'loop.create_task(cython_coroutine)'. Now, the latter is as " "fast." msgstr "" #: ../build/NEWS:15144 msgid "" "`bpo-32356 `__: asyncio.transport." "resume_reading() and pause_reading() are now idempotent. New transport." "is_reading() method is added." msgstr "" #: ../build/NEWS:15147 msgid "" "`bpo-32355 `__: Optimize asyncio." "gather(); now up to 15% faster." msgstr "" #: ../build/NEWS:15149 msgid "" "`bpo-32351 `__: Use fastpath in asyncio." "sleep if delay<0 (2x boost)" msgstr "" #: ../build/NEWS:15151 msgid "" "`bpo-32348 `__: Optimize asyncio.Future " "schedule/add/remove callback. The optimization shows 3-6% performance " "improvements of async/await code." msgstr "" #: ../build/NEWS:15154 msgid "" "`bpo-32331 `__: Fix socket.settimeout() " "and socket.setblocking() to keep socket.type as is. Fix socket.socket() " "constructor to reset any bit flags applied to socket's type. This change " "only affects OSes that have SOCK_NONBLOCK and/or SOCK_CLOEXEC." msgstr "" #: ../build/NEWS:15159 msgid "" "`bpo-32248 `__: Add :class:`importlib." "abc.ResourceReader` as an ABC for loaders to provide a unified API for " "reading resources contained within packages. Also add :mod:`importlib." "resources` as the port of ``importlib_resources``." msgstr "" #: ../build/NEWS:15164 msgid "" "`bpo-32311 `__: Implement asyncio." "create_task(coro) shortcut" msgstr "" #: ../build/NEWS:15166 msgid "" "`bpo-32327 `__: Convert asyncio " "functions that were documented as coroutines to coroutines. Affected " "functions: loop.sock_sendall, loop.sock_recv, loop.sock_accept, loop." "getaddrinfo, loop.getnameinfo." msgstr "" #: ../build/NEWS:15170 ../build/NEWS:18790 msgid "" "`bpo-32323 `__: :func:`urllib.parse." "urlsplit()` does not convert zone-id (scope) to lower case for scoped IPv6 " "addresses in hostnames now." msgstr "" #: ../build/NEWS:15173 ../build/NEWS:18793 msgid "" "`bpo-32302 `__: Fix bdist_wininst of " "distutils for CRT v142: it binary compatible with CRT v140." msgstr "" #: ../build/NEWS:15176 msgid "" "`bpo-29711 `__: Fix ``stop_serving`` in " "asyncio proactor loop kill all listening servers" msgstr "" #: ../build/NEWS:15179 msgid "" "`bpo-32308 `__: :func:`re.sub()` now " "replaces empty matches adjacent to a previous non-empty match." msgstr "" #: ../build/NEWS:15182 msgid "" "`bpo-29970 `__: Abort asyncio " "SSLProtocol connection if handshake not complete within 10s" msgstr "" #: ../build/NEWS:15185 msgid "" "`bpo-32314 `__: Implement asyncio.run()." msgstr "" #: ../build/NEWS:15187 msgid "" "`bpo-17852 `__: Revert incorrect fix " "based on misunderstanding of _Py_PyAtExit() semantics." msgstr "" #: ../build/NEWS:15190 msgid "" "`bpo-32296 `__: Implement asyncio." "_get_running_loop() and get_event_loop() in C. This makes them 4x faster." msgstr "" #: ../build/NEWS:15193 msgid "" "`bpo-32250 `__: Implement ``asyncio." "current_task()`` and ``asyncio.all_tasks()``. Add helpers intended to be " "used by alternative task implementations: ``asyncio._register_task``, " "``asyncio._enter_task``, ``asyncio._leave_task`` and ``asyncio." "_unregister_task``. Deprecate ``asyncio.Task.current_task()`` and ``asyncio." "Task.all_tasks()``." msgstr "" #: ../build/NEWS:15199 ../build/NEWS:18796 msgid "" "`bpo-32255 `__: A single empty field is " "now always quoted when written into a CSV file. This allows to distinguish " "an empty row from a row consisting of a single empty field. Patch by Licht " "Takeuchi." msgstr "" #: ../build/NEWS:15203 ../build/NEWS:18800 msgid "" "`bpo-32277 `__: Raise " "``NotImplementedError`` instead of ``SystemError`` on platforms where " "``chmod(..., follow_symlinks=False)`` is not supported. Patch by Anthony " "Sottile." msgstr "" #: ../build/NEWS:15207 msgid "" "`bpo-30050 `__: New argument " "warn_on_full_buffer to signal.set_wakeup_fd lets you control whether Python " "prints a warning on stderr when the wakeup fd buffer overflows." msgstr "" #: ../build/NEWS:15211 msgid "" "`bpo-29137 `__: The ``fpectl`` library " "has been removed. It was never enabled by default, never worked correctly on " "x86-64, and it changed the Python ABI in ways that caused unexpected " "breakage of C extensions." msgstr "" #: ../build/NEWS:15215 msgid "" "`bpo-32273 `__: Move asyncio.test_utils " "to test.test_asyncio." msgstr "" #: ../build/NEWS:15217 msgid "" "`bpo-32272 `__: Remove asyncio.async() " "function." msgstr "" #: ../build/NEWS:15219 msgid "" "`bpo-32269 `__: Add asyncio." "get_running_loop() function." msgstr "" #: ../build/NEWS:15221 msgid "" "`bpo-32265 `__: All class and static " "methods of builtin types now are correctly classified by inspect." "classify_class_attrs() and grouped in pydoc ouput. Added types." "ClassMethodDescriptorType for unbound class methods of builtin types." msgstr "" #: ../build/NEWS:15226 msgid "" "`bpo-32253 `__: Deprecate ``yield from " "lock``, ``await lock``, ``with (yield from lock)`` and ``with await lock`` " "for asyncio synchronization primitives." msgstr "" #: ../build/NEWS:15230 msgid "" "`bpo-22589 `__: Changed MIME type of ." "bmp from 'image/x-ms-bmp' to 'image/bmp'" msgstr "" #: ../build/NEWS:15232 msgid "" "`bpo-32193 `__: Convert asyncio to use " "*async/await* syntax. Old styled ``yield from`` is still supported too." msgstr "" #: ../build/NEWS:15235 msgid "" "`bpo-32206 `__: Add support to run " "modules with pdb" msgstr "" #: ../build/NEWS:15237 msgid "" "`bpo-32227 `__: ``functools." "singledispatch`` now supports registering implementations using type " "annotations." msgstr "" #: ../build/NEWS:15240 msgid "" "`bpo-15873 `__: Added new alternate " "constructors :meth:`datetime.datetime.fromisoformat`, :meth:`datetime.time." "fromisoformat` and :meth:`datetime.date.fromisoformat` as the inverse " "operation of each classes's respective ``isoformat`` methods." msgstr "" #: ../build/NEWS:15246 ../build/NEWS:18804 msgid "" "`bpo-32199 `__: The getnode() ip getter " "now uses 'ip link' instead of 'ip link list'." msgstr "" #: ../build/NEWS:15249 msgid "" "`bpo-32143 `__: os.statvfs() includes " "the f_fsid field from statvfs(2)" msgstr "" #: ../build/NEWS:15251 msgid "" "`bpo-26439 `__: Fix ctypes.util." "find_library() for AIX by implementing ctypes._aix.find_library() Patch by: " "Michael Felt" msgstr "" #: ../build/NEWS:15254 msgid "" "`bpo-31993 `__: The pickler now uses " "less memory when serializing large bytes and str objects into a file. " "Pickles created with protocol 4 will require less memory for unpickling " "large bytes and str objects." msgstr "" #: ../build/NEWS:15258 ../build/NEWS:18807 msgid "" "`bpo-27456 `__: Ensure TCP_NODELAY is " "set on Linux. Tests by Victor Stinner." msgstr "" #: ../build/NEWS:15260 msgid "" "`bpo-31778 `__: ast.literal_eval() is " "now more strict. Addition and subtraction of arbitrary numbers no longer " "allowed." msgstr "" #: ../build/NEWS:15263 ../build/NEWS:18818 msgid "" "`bpo-31802 `__: Importing native path " "module (``posixpath``, ``ntpath``) now works even if the ``os`` module still " "is not imported." msgstr "" #: ../build/NEWS:15266 msgid "" "`bpo-30241 `__: Add contextlib." "AbstractAsyncContextManager. Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:15269 msgid "" "`bpo-31699 `__: Fix deadlocks in :class:" "`concurrent.futures.ProcessPoolExecutor` when task arguments or results " "cause pickling or unpickling errors. This should make sure that calls to " "the :class:`ProcessPoolExecutor` API always eventually return." msgstr "" #: ../build/NEWS:15274 msgid "" "`bpo-15216 `__: ``TextIOWrapper." "reconfigure()`` supports changing *encoding*, *errors*, and *newline*." msgstr "" #: ../build/NEWS:15280 msgid "" "`bpo-32418 `__: Add get_loop() method to " "Server and AbstractServer classes." msgstr "" #: ../build/NEWS:15285 ../build/NEWS:18849 msgid "" "`bpo-32252 `__: Fix " "faulthandler_suppress_crash_report() used to prevent core dump files when " "testing crashes. getrlimit() returns zero on success." msgstr "" #: ../build/NEWS:15288 msgid "" "`bpo-32002 `__: Adjust C locale coercion " "testing for the empty locale and POSIX locale cases to more readily adjust " "to platform dependent behaviour." msgstr "" #: ../build/NEWS:15294 msgid "" "`bpo-19764 `__: Implement support for " "`subprocess.Popen(close_fds=True)` on Windows. Patch by Segev Finer." msgstr "" #: ../build/NEWS:15300 ../build/NEWS:18930 msgid "" "`bpo-24960 `__: 2to3 and lib2to3 can now " "read pickled grammar files using pkgutil.get_data() rather than probing the " "filesystem. This lets 2to3 and lib2to3 work when run from a zipfile." msgstr "" #: ../build/NEWS:15307 msgid "" "`bpo-32030 `__: Py_Initialize() doesn't " "reset the memory allocators to default if the ``PYTHONMALLOC`` environment " "variable is not set." msgstr "" #: ../build/NEWS:15310 ../build/NEWS:18940 msgid "" "`bpo-29084 `__: Undocumented C API for " "OrderedDict has been excluded from the limited C API. It was added by " "mistake and actually never worked in the limited C API." msgstr "" #: ../build/NEWS:15314 msgid "" "`bpo-32264 `__: Moved the pygetopt.h " "header into internal/, since it has no public APIs." msgstr "" #: ../build/NEWS:15317 msgid "" "`bpo-32241 `__: :c:func:" "`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the ``const " "wchar *`` arguments instead of ``wchar *``." msgstr "" #: ../build/NEWS:15322 msgid "Python 3.7.0 alpha 3" msgstr "" #: ../build/NEWS:15324 ../build/NEWS:18957 msgid "*Release date: 2017-12-05*" msgstr "" #: ../build/NEWS:15329 ../build/NEWS:18962 msgid "" "`bpo-32176 `__: co_flags.CO_NOFREE is " "now always set correctly by the code object constructor based on freevars " "and cellvars, rather than needing to be set correctly by the caller. This " "ensures it will be cleared automatically when additional cell references are " "injected into a modified code object and function." msgstr "" #: ../build/NEWS:15335 msgid "" "`bpo-10544 `__: Yield expressions are " "now deprecated in comprehensions and generator expressions. They are still " "permitted in the definition of the outermost iterable, as that is evaluated " "directly in the enclosing scope." msgstr "" #: ../build/NEWS:15339 ../build/NEWS:18685 msgid "" "`bpo-32137 `__: The repr of deeply " "nested dict now raises a RecursionError instead of crashing due to a stack " "overflow." msgstr "" #: ../build/NEWS:15342 msgid "" "`bpo-32096 `__: Revert memory allocator " "changes in the C API: move structures back from _PyRuntime to Objects/" "obmalloc.c. The memory allocators are once again initialized statically, and " "so PyMem_RawMalloc() and Py_DecodeLocale() can be called before " "_PyRuntime_Initialize()." msgstr "" #: ../build/NEWS:15347 msgid "" "`bpo-32043 `__: Add a new \"developer " "mode\": new \"-X dev\" command line option to enable debug checks at runtime." msgstr "" #: ../build/NEWS:15350 msgid "" "`bpo-32023 `__: SyntaxError is now " "correctly raised when a generator expression without parenthesis is used " "instead of an inheritance list in a class definition. The duplication of the " "parentheses can be omitted only on calls." msgstr "" #: ../build/NEWS:15355 msgid "" "`bpo-32012 `__: SyntaxError is now " "correctly raised when a generator expression without parenthesis is passed " "as an argument, but followed by a trailing comma. A generator expression " "always needs to be directly inside a set of parentheses and cannot have a " "comma on either side." msgstr "" #: ../build/NEWS:15360 msgid "" "`bpo-28180 `__: A new internal " "``_Py_SetLocaleFromEnv(category)`` helper function has been added in order " "to improve the consistency of behaviour across different ``libc`` " "implementations (e.g. Android doesn't support setting the locale from the " "environment by default)." msgstr "" #: ../build/NEWS:15365 ../build/NEWS:18968 msgid "" "`bpo-31949 `__: Fixed several issues in " "printing tracebacks (PyTraceBack_Print()). Setting sys.tracebacklimit to 0 " "or less now suppresses printing tracebacks. Setting sys.tracebacklimit to " "None now causes using the default limit. Setting sys.tracebacklimit to an " "integer larger than LONG_MAX now means using the limit LONG_MAX rather than " "the default limit. Fixed integer overflows in the case of more than 2**31 " "traceback items on Windows. Fixed output errors handling." msgstr "" #: ../build/NEWS:15373 ../build/NEWS:18976 msgid "" "`bpo-30696 `__: Fix the interactive " "interpreter looping endlessly when no memory." msgstr "" #: ../build/NEWS:15376 ../build/NEWS:18979 msgid "" "`bpo-20047 `__: Bytearray methods " "partition() and rpartition() now accept only bytes-like objects as " "separator, as documented. In particular they now raise TypeError rather of " "returning a bogus result when an integer is passed as a separator." msgstr "" #: ../build/NEWS:15381 ../build/NEWS:18987 msgid "" "`bpo-21720 `__: BytesWarning no longer " "emitted when the *fromlist* argument of ``__import__()`` or the ``__all__`` " "attribute of the module contain bytes instances." msgstr "" #: ../build/NEWS:15385 msgid "" "`bpo-31845 `__: Environment variables " "are once more read correctly at interpreter startup." msgstr "" #: ../build/NEWS:15388 msgid "" "`bpo-28936 `__: Ensure that lexically " "first syntax error involving a parameter and ``global`` or ``nonlocal`` is " "detected first at a given scope. Patch by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:15392 ../build/NEWS:18991 msgid "" "`bpo-31825 `__: Fixed OverflowError in " "the 'unicode-escape' codec and in codecs.escape_decode() when decode an " "escaped non-ascii byte." msgstr "" #: ../build/NEWS:15395 msgid "" "`bpo-31618 `__: The per-frame tracing " "logic added in 3.7a1 has been altered so that ``frame->f_lineno`` is updated " "before either ``\"line\"`` or ``\"opcode\"`` events are emitted. Previously, " "opcode events were emitted first, and therefore would occasionally see stale " "line numbers on the frame. The behavior of this feature has changed slightly " "as a result: when both ``f_trace_lines`` and ``f_trace_opcodes`` are " "enabled, line events now occur first." msgstr "" #: ../build/NEWS:15403 ../build/NEWS:18994 msgid "" "`bpo-28603 `__: Print the full context/" "cause chain of exceptions on interpreter exit, even if an exception in the " "chain is unhashable or compares equal to later ones. Patch by Zane Bitter." msgstr "" #: ../build/NEWS:15407 ../build/NEWS:18998 msgid "" "`bpo-31786 `__: Fix timeout rounding in " "the select module to round correctly negative timeouts between -1.0 and 0.0. " "The functions now block waiting for events as expected. Previously, the call " "was incorrectly non-blocking. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:15412 msgid "" "`bpo-31781 `__: Prevent crashes when " "calling methods of an uninitialized ``zipimport.zipimporter`` object. Patch " "by Oren Milman." msgstr "" #: ../build/NEWS:15415 msgid "" "`bpo-30399 `__: Standard repr() of " "BaseException with a single argument no longer contains redundant trailing " "comma." msgstr "" #: ../build/NEWS:15418 ../build/NEWS:19006 msgid "" "`bpo-31626 `__: Fixed a bug in debug " "memory allocator. There was a write to freed memory after shrinking a " "memory block." msgstr "" #: ../build/NEWS:15421 ../build/NEWS:19051 msgid "" "`bpo-30817 `__: `PyErr_PrintEx()` clears " "now the ignored exception that may be raised by `_PySys_SetObjectId()`, for " "example when no memory." msgstr "" #: ../build/NEWS:15427 ../build/NEWS:19057 msgid "" "`bpo-28556 `__: Two minor fixes for " "``typing`` module: allow shallow copying instances of generic classes, " "improve interaction of ``__init_subclass__`` with generics. Original PRs by " "Ivan Levkivskyi." msgstr "" #: ../build/NEWS:15431 msgid "" "`bpo-32214 `__: PEP 557, Data Classes. " "Provides a decorator which adds boilerplate methods to classes which use " "type annotations so specify fields." msgstr "" #: ../build/NEWS:15435 ../build/NEWS:19061 msgid "" "`bpo-27240 `__: The header folding " "algorithm for the new email policies has been rewritten, which also fixes " "`bpo-30788 `__, `bpo-31831 `__, and `bpo-32182 `__. In particular, RFC2231 folding is now done correctly." msgstr "" #: ../build/NEWS:15439 ../build/NEWS:19065 msgid "" "`bpo-32186 `__: io.FileIO.readall() and " "io.FileIO.read() now release the GIL when getting the file size. Fixed hang " "of all threads with inaccessible NFS server. Patch by Nir Soffer." msgstr "" #: ../build/NEWS:15443 msgid "" "`bpo-321010 `__: Add :attr:`sys.flags." "dev_mode` flag" msgstr "" #: ../build/NEWS:15445 msgid "" "`bpo-32154 `__: The ``asyncio." "windows_utils.socketpair()`` function has been removed: use directly :func:" "`socket.socketpair` which is available on all platforms since Python 3.5 " "(before, it wasn't available on Windows). ``asyncio.windows_utils." "socketpair()`` was just an alias to ``socket.socketpair`` on Python 3.5 and " "newer." msgstr "" #: ../build/NEWS:15451 msgid "" "`bpo-32089 `__: warnings: In development " "(-X dev) and debug mode (pydebug build), use the \"default\" action for " "ResourceWarning, rather than the \"always\" action, in the default warnings " "filters." msgstr "" #: ../build/NEWS:15455 msgid "" "`bpo-32107 `__: ``uuid.getnode()`` now " "preferentially returns universally administered MAC addresses if available, " "over locally administered MAC addresses. This makes a better guarantee for " "global uniqueness of UUIDs returned from ``uuid.uuid1()``. If only locally " "administered MAC addresses are available, the first such one found is " "returned." msgstr "" #: ../build/NEWS:15461 msgid "" "`bpo-23033 `__: Wildcard is now " "supported in hostname when it is one and only character in the left most " "segment of hostname in second argument of :meth:`ssl.match_hostname`. Patch " "by Mandeep Singh." msgstr "" #: ../build/NEWS:15465 ../build/NEWS:19069 msgid "" "`bpo-12239 `__: Make :meth:`msilib." "SummaryInformation.GetProperty` return ``None`` when the value of property " "is ``VT_EMPTY``. Initial patch by Mark Mc Mahon." msgstr "" #: ../build/NEWS:15469 msgid "" "`bpo-28334 `__: Use :func:`os.path." "expanduser` to find the ``~/.netrc`` file in :class:`netrc.netrc`. If it " "does not exist, :exc:`FileNotFoundError` is raised. Patch by Dimitri " "Merejkowsky." msgstr "" #: ../build/NEWS:15473 msgid "" "`bpo-32121 `__: Made ``tracemalloc." "Traceback`` behave more like the traceback module, sorting the frames from " "oldest to most recent. ``Traceback.format()`` now accepts negative *limit*, " "truncating the result to the ``abs(limit)`` oldest frames. To get the old " "behaviour, one can use the new *most_recent_first* argument to ``Traceback." "format()``. (Patch by Jesse Bakker.)" msgstr "" #: ../build/NEWS:15480 ../build/NEWS:19073 msgid "" "`bpo-31325 `__: Fix wrong usage of :func:" "`collections.namedtuple` in the :meth:`RobotFileParser.parse() ` method. Initial patch by Robin Wellner." msgstr "" #: ../build/NEWS:15484 ../build/NEWS:19077 msgid "" "`bpo-12382 `__: :func:`msilib." "OpenDatabase` now raises a better exception message when it couldn't open or " "create an MSI file. Initial patch by William Tisäter." msgstr "" #: ../build/NEWS:15488 msgid "" "`bpo-19610 `__: ``setup()`` now warns " "about invalid types for some fields. The ``distutils.dist.Distribution`` " "class now warns when ``classifiers``, ``keywords`` and ``platforms`` fields " "are not specified as a list or a string." msgstr "" #: ../build/NEWS:15493 msgid "" "`bpo-32071 `__: Added the ``-k`` command-" "line option to ``python -m unittest`` to run only tests that match the given " "pattern(s)." msgstr "" #: ../build/NEWS:15496 msgid "" "`bpo-10049 `__: Added *nullcontext* no-" "op context manager to contextlib. This provides a simpler and faster " "alternative to ExitStack() when handling optional context managers." msgstr "" #: ../build/NEWS:15500 msgid "" "`bpo-28684 `__: The new test.support." "skip_unless_bind_unix_socket() decorator is used here to skip asyncio tests " "that fail because the platform lacks a functional bind() function for unix " "domain sockets (as it is the case for non root users on the recent Android " "versions that run now SELinux in enforcing mode)." msgstr "" #: ../build/NEWS:15506 ../build/NEWS:19081 msgid "" "`bpo-32110 `__: ``codecs.StreamReader." "read(n)`` now returns not more than *n* characters/bytes for non-negative " "*n*. This makes it compatible with ``read()`` methods of other file-like " "objects." msgstr "" #: ../build/NEWS:15510 msgid "" "`bpo-27535 `__: The warnings module " "doesn't leak memory anymore in the hidden warnings registry for the \"ignore" "\" action of warnings filters. warn_explicit() function doesn't add the " "warning key to the registry anymore for the \"ignore\" action." msgstr "" #: ../build/NEWS:15515 msgid "" "`bpo-32088 `__: warnings: When Python " "is build is debug mode (``Py_DEBUG``), :exc:`DeprecationWarning`, :exc:" "`PendingDeprecationWarning` and :exc:`ImportWarning` warnings are now " "displayed by default." msgstr "" #: ../build/NEWS:15519 msgid "" "`bpo-1647489 `__: Fixed searching " "regular expression patterns that could match an empty string. Non-empty " "string can now be correctly found after matching an empty string." msgstr "" #: ../build/NEWS:15523 msgid "" "`bpo-25054 `__: Added support of " "splitting on a pattern that could match an empty string." msgstr "" #: ../build/NEWS:15526 ../build/NEWS:19085 ../build/NEWS:23802 msgid "" "`bpo-32072 `__: Fixed issues with binary " "plists: Fixed saving bytearrays. Identical objects will be saved only once. " "Equal references will be load as identical objects. Added support for saving " "and loading recursive data structures." msgstr "" #: ../build/NEWS:15531 msgid "" "`bpo-32069 `__: Drop legacy SSL " "transport from asyncio, ssl.MemoryBIO is always used anyway." msgstr "" #: ../build/NEWS:15534 msgid "" "`bpo-32066 `__: asyncio: Support pathlib." "Path in create_unix_connection; sock arg should be optional" msgstr "" #: ../build/NEWS:15537 msgid "" "`bpo-32046 `__: Updates 2to3 to convert " "from operator.isCallable(obj) to callable(obj). Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:15540 msgid "" "`bpo-32018 `__: inspect.signature should " "follow :pep:`8`, if the parameter has an annotation and a default value. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:15543 msgid "" "`bpo-32025 `__: Add time.thread_time() " "and time.thread_time_ns()" msgstr "" #: ../build/NEWS:15545 msgid "" "`bpo-32037 `__: Integers that fit in a " "signed 32-bit integer will be now pickled with protocol 0 using the INT " "opcode. This will decrease the size of a pickle, speed up pickling and " "unpickling, and make these integers be unpickled as int instances in Python " "2." msgstr "" #: ../build/NEWS:15550 ../build/NEWS:19090 msgid "" "`bpo-32034 `__: Make asyncio." "IncompleteReadError and LimitOverrunError pickleable." msgstr "" #: ../build/NEWS:15553 ../build/NEWS:19093 msgid "" "`bpo-32015 `__: Fixed the looping of " "asyncio in the case of reconnection the socket during waiting async read/" "write from/to the socket." msgstr "" #: ../build/NEWS:15556 ../build/NEWS:19096 msgid "" "`bpo-32011 `__: Restored support of " "loading marshal files with the TYPE_INT64 code. These files can be produced " "in Python 2.7." msgstr "" #: ../build/NEWS:15559 msgid "" "`bpo-28369 `__: Enhance add_reader/" "writer check that socket is not used by some transport. Before, only cases " "when add_reader/writer were called with an int FD were supported. Now the " "check is implemented correctly for all file-like objects." msgstr "" #: ../build/NEWS:15564 msgid "" "`bpo-31976 `__: Fix race condition when " "flushing a file is slow, which can cause a segfault if closing the file from " "another thread." msgstr "" #: ../build/NEWS:15567 msgid "" "`bpo-31985 `__: Formally deprecated aifc." "openfp, sunau.openfp, and wave.openfp. Since change " "7bc817d5ba917528e8bd07ec461c635291e7b06a in 1993, openfp in each of the " "three modules had been pointing to that module's open function as a matter " "of backwards compatibility, though it had been both untested and " "undocumented." msgstr "" #: ../build/NEWS:15573 msgid "" "`bpo-21862 `__: cProfile command line " "now accepts `-m module_name` as an alternative to script path. Patch by " "Sanyam Khurana." msgstr "" #: ../build/NEWS:15576 ../build/NEWS:19099 msgid "" "`bpo-31970 `__: Reduce performance " "overhead of asyncio debug mode." msgstr "" #: ../build/NEWS:15578 msgid "" "`bpo-31843 `__: *database* argument of " "sqlite3.connect() now accepts a :term:`path-like object`, instead of just a " "string." msgstr "" #: ../build/NEWS:15581 msgid "" "`bpo-31945 `__: Add Configurable " "*blocksize* to ``HTTPConnection`` and ``HTTPSConnection`` for improved " "upload throughput. Patch by Nir Soffer." msgstr "" #: ../build/NEWS:15584 msgid "" "`bpo-31943 `__: Add a ``cancelled()`` " "method to :class:`asyncio.Handle`. Patch by Marat Sharafutdinov." msgstr "" #: ../build/NEWS:15587 ../build/NEWS:19101 msgid "" "`bpo-9678 `__: Fixed determining the MAC " "address in the uuid module: Using ifconfig on NetBSD and OpenBSD. Using arp " "on Linux, FreeBSD, NetBSD and OpenBSD. Based on patch by Takayuki " "Shimizukawa." msgstr "" #: ../build/NEWS:15591 ../build/NEWS:19105 msgid "" "`bpo-30057 `__: Fix potential missed " "signal in signal.signal()." msgstr "" #: ../build/NEWS:15593 ../build/NEWS:19107 msgid "" "`bpo-31933 `__: Fix Blake2 params " "leaf_size and node_offset on big endian platforms. Patch by Jack O'Connor." msgstr "" #: ../build/NEWS:15596 msgid "" "`bpo-21423 `__: Add an initializer " "argument to {Process,Thread}PoolExecutor" msgstr "" #: ../build/NEWS:15598 ../build/NEWS:19110 msgid "" "`bpo-31927 `__: Fixed compilation of the " "socket module on NetBSD 8. Fixed assertion failure or reading arbitrary " "data when parse a AF_BLUETOOTH address on NetBSD and DragonFly BSD." msgstr "" #: ../build/NEWS:15602 ../build/NEWS:19114 msgid "" "`bpo-27666 `__: Fixed stack corruption " "in curses.box() and curses.ungetmouse() when the size of types chtype or " "mmask_t is less than the size of C long. curses.box() now accepts characters " "as arguments. Based on patch by Steve Fink." msgstr "" #: ../build/NEWS:15607 msgid "" "`bpo-31917 `__: Add 3 new clock " "identifiers: :data:`time.CLOCK_BOOTTIME`, :data:`time.CLOCK_PROF` and :data:" "`time.CLOCK_UPTIME`." msgstr "" #: ../build/NEWS:15610 ../build/NEWS:19119 msgid "" "`bpo-31897 `__: plistlib now catches " "more errors when read binary plists and raises InvalidFileException instead " "of unexpected exceptions." msgstr "" #: ../build/NEWS:15613 ../build/NEWS:19122 msgid "" "`bpo-25720 `__: Fix the method for " "checking pad state of curses WINDOW. Patch by Masayuki Yamamoto." msgstr "" #: ../build/NEWS:15616 ../build/NEWS:19125 msgid "" "`bpo-31893 `__: Fixed the layout of the " "kqueue_event structure on OpenBSD and NetBSD. Fixed the comparison of the " "kqueue_event objects." msgstr "" #: ../build/NEWS:15619 ../build/NEWS:19128 msgid "" "`bpo-31891 `__: Fixed building the " "curses module on NetBSD." msgstr "" #: ../build/NEWS:15621 msgid "" "`bpo-31884 `__: added required constants " "to subprocess module for setting priority on windows" msgstr "" #: ../build/NEWS:15624 msgid "" "`bpo-28281 `__: Remove year (1-9999) " "limits on the Calendar.weekday() function. Patch by Mark Gollahon." msgstr "" #: ../build/NEWS:15627 msgid "" "`bpo-31702 `__: crypt.mksalt() now " "allows to specify the number of rounds for SHA-256 and SHA-512 hashing." msgstr "" #: ../build/NEWS:15630 msgid "" "`bpo-30639 `__: :func:`inspect.getfile` " "no longer computes the repr of unknown objects to display in an error " "message, to protect against badly behaved custom reprs." msgstr "" #: ../build/NEWS:15634 msgid "" "`bpo-30768 `__: Fix the pthread" "+semaphore implementation of PyThread_acquire_lock_timed() when called with " "timeout > 0 and intr_flag=0: recompute the timeout if sem_timedwait() is " "interrupted by a signal (EINTR). See also the :pep:`475`." msgstr "" #: ../build/NEWS:15639 msgid "" "`bpo-31854 `__: Add ``mmap." "ACCESS_DEFAULT`` constant." msgstr "" #: ../build/NEWS:15641 msgid "" "`bpo-31834 `__: Use optimized code for " "BLAKE2 only with SSSE3+. The pure SSE2 implementation is slower than the " "pure C reference implementation." msgstr "" #: ../build/NEWS:15644 msgid "" "`bpo-28292 `__: Calendar." "itermonthdates() will now consistently raise an exception when a date falls " "outside of the 0001-01-01 through 9999-12-31 range. To support applications " "that cannot tolerate such exceptions, the new methods itermonthdays3() and " "itermonthdays4() are added. The new methods return tuples and are not " "restricted by the range supported by datetime.date." msgstr "" #: ../build/NEWS:15651 msgid "" "`bpo-28564 `__: The shutil.rmtree() " "function has been sped up to 20--40%. This was done using the os.scandir() " "function." msgstr "" #: ../build/NEWS:15654 ../build/NEWS:19130 msgid "" "`bpo-28416 `__: Instances of pickle." "Pickler subclass with the persistent_id() method and pickle.Unpickler " "subclass with the persistent_load() method no longer create reference cycles." msgstr "" #: ../build/NEWS:15658 msgid "" "`bpo-31653 `__: Don't release the GIL if " "we can acquire a multiprocessing semaphore immediately." msgstr "" #: ../build/NEWS:15661 ../build/NEWS:19134 msgid "" "`bpo-28326 `__: Fix multiprocessing." "Process when stdout and/or stderr is closed or None." msgstr "" #: ../build/NEWS:15664 msgid "" "`bpo-20825 `__: Add `subnet_of` and " "`superset_of` containment tests to :class:`ipaddress.IPv6Network` and :class:" "`ipaddress.IPv4Network`. Patch by Michel Albert and Cheryl Sabella." msgstr "" #: ../build/NEWS:15668 msgid "" "`bpo-31827 `__: Remove the os." "stat_float_times() function. It was introduced in Python 2.3 for backward " "compatibility with Python 2.2, and was deprecated since Python 3.1." msgstr "" #: ../build/NEWS:15672 msgid "" "`bpo-31756 `__: Add a ``subprocess." "Popen(text=False)`` keyword argument to `subprocess` functions to be more " "explicit about when the library should attempt to decode outputs into text. " "Patch by Andrew Clegg." msgstr "" #: ../build/NEWS:15676 msgid "" "`bpo-31819 `__: Add AbstractEventLoop." "sock_recv_into()." msgstr "" #: ../build/NEWS:15678 ../build/NEWS:18456 ../build/NEWS:19137 msgid "" "`bpo-31457 `__: If nested log adapters " "are used, the inner ``process()`` methods are no longer omitted." msgstr "" #: ../build/NEWS:15681 ../build/NEWS:19140 msgid "" "`bpo-31457 `__: The ``manager`` property " "on LoggerAdapter objects is now properly settable." msgstr "" #: ../build/NEWS:15684 ../build/NEWS:19143 msgid "" "`bpo-31806 `__: Fix timeout rounding in " "time.sleep(), threading.Lock.acquire() and socket.socket.settimeout() to " "round correctly negative timeouts between -1.0 and 0.0. The functions now " "block waiting for events as expected. Previously, the call was incorrectly " "non-blocking. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:15690 msgid "" "`bpo-31803 `__: time.clock() and time." "get_clock_info('clock') now emit a DeprecationWarning warning." msgstr "" #: ../build/NEWS:15693 msgid "" "`bpo-31800 `__: Extended support for " "parsing UTC offsets. strptime '%z' can now parse the output generated by " "datetime.isoformat, including seconds and microseconds." msgstr "" #: ../build/NEWS:15697 ../build/NEWS:19149 msgid "" "`bpo-28603 `__: traceback: Fix a " "TypeError that occurred during printing of exception tracebacks when either " "the current exception or an exception in its context/cause chain is " "unhashable. Patch by Zane Bitter." msgstr "" #: ../build/NEWS:15701 msgid "" "`bpo-30541 `__: Add new function to seal " "a mock and prevent the automatically creation of child mocks. Patch by Mario " "Corchero." msgstr "" #: ../build/NEWS:15704 msgid "" "`bpo-31784 `__: Implement the :pep:" "`564`, add new 6 new functions with nanosecond resolution to the :mod:`time` " "module: :func:`~time.clock_gettime_ns`, :func:`~time.clock_settime_ns`, :" "func:`~time.monotonic_ns`, :func:`~time.perf_counter_ns`, :func:`~time." "process_time_ns`, :func:`~time.time_ns`." msgstr "" #: ../build/NEWS:15710 msgid "" "`bpo-30143 `__: 2to3 now generates a " "code that uses abstract collection classes from collections.abc rather than " "collections." msgstr "" #: ../build/NEWS:15713 ../build/NEWS:19155 msgid "" "`bpo-31770 `__: Prevent a crash when " "calling the ``__init__()`` method of a ``sqlite3.Cursor`` object more than " "once. Patch by Oren Milman." msgstr "" #: ../build/NEWS:15716 ../build/NEWS:19162 msgid "" "`bpo-31764 `__: Prevent a crash in " "``sqlite3.Cursor.close()`` in case the ``Cursor`` object is uninitialized. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:15719 ../build/NEWS:19165 msgid "" "`bpo-31752 `__: Fix possible crash in " "timedelta constructor called with custom integers." msgstr "" #: ../build/NEWS:15722 ../build/NEWS:19174 msgid "" "`bpo-31620 `__: an empty asyncio.Queue " "now doesn't leak memory when queue.get pollers timeout" msgstr "" #: ../build/NEWS:15725 msgid "" "`bpo-31690 `__: Allow the flags re." "ASCII, re.LOCALE, and re.UNICODE to be used as group flags for regular " "expressions." msgstr "" #: ../build/NEWS:15728 msgid "" "`bpo-30349 `__: FutureWarning is now " "emitted if a regular expression contains character set constructs that will " "change semantically in the future (nested sets and set operations)." msgstr "" #: ../build/NEWS:15732 msgid "" "`bpo-31664 `__: Added support for the " "Blowfish hashing in the crypt module." msgstr "" #: ../build/NEWS:15734 ../build/NEWS:19177 msgid "" "`bpo-31632 `__: Fix method " "set_protocol() of class _SSLProtocolTransport in asyncio module. This method " "was previously modifying a wrong reference to the protocol." msgstr "" #: ../build/NEWS:15738 ../build/NEWS:19188 msgid "" "`bpo-15037 `__: Added a workaround for " "getkey() in curses for ncurses 5.7 and earlier." msgstr "" #: ../build/NEWS:15741 msgid "" "`bpo-31307 `__: Allow use of bytes " "objects for arguments to :meth:`configparser.ConfigParser.read`. Patch by " "Vincent Michel." msgstr "" #: ../build/NEWS:15744 ../build/NEWS:19208 msgid "" "`bpo-31334 `__: Fix ``poll." "poll([timeout])`` in the ``select`` module for arbitrary negative timeouts " "on all OSes where it can only be a non-negative integer or -1. Patch by " "Riccardo Coccioli." msgstr "" #: ../build/NEWS:15748 ../build/NEWS:19212 msgid "" "`bpo-31310 `__: multiprocessing's " "semaphore tracker should be launched again if crashed." msgstr "" #: ../build/NEWS:15751 ../build/NEWS:19215 msgid "" "`bpo-31308 `__: Make multiprocessing's " "forkserver process immune to Ctrl-C and other user interruptions. If it " "crashes, restart it when necessary." msgstr "" #: ../build/NEWS:15754 msgid "" "`bpo-31245 `__: Added support for " "AF_UNIX socket in asyncio `create_datagram_endpoint`." msgstr "" #: ../build/NEWS:15757 msgid "" "`bpo-30553 `__: Add HTTP/2 status code " "421 (Misdirected Request) to :class:`http.HTTPStatus`. Patch by Vitor " "Pereira." msgstr "" #: ../build/NEWS:15763 ../build/NEWS:19221 msgid "" "`bpo-32105 `__: Added asyncio." "BaseEventLoop.connect_accepted_socket versionadded marker." msgstr "" #: ../build/NEWS:15769 ../build/NEWS:19234 msgid "" "`bpo-31380 `__: Skip test_httpservers " "test_undecodable_file on macOS: fails on APFS." msgstr "" #: ../build/NEWS:15772 ../build/NEWS:19237 msgid "" "`bpo-31705 `__: Skip test_socket." "test_sha256() on Linux kernel older than 4.5. The test fails with ENOKEY on " "kernel 3.10 (on ppc64le). A fix was merged into the kernel 4.5." msgstr "" #: ../build/NEWS:15776 msgid "" "`bpo-32138 `__: Skip on Android " "test_faulthandler tests that raise SIGSEGV and remove the test.support." "requires_android_level decorator." msgstr "" #: ../build/NEWS:15779 msgid "" "`bpo-32136 `__: The runtime embedding " "tests have been split out from ``Lib/test/test_capi.py`` into a new ``Lib/" "test/test_embed.py`` file." msgstr "" #: ../build/NEWS:15782 msgid "" "`bpo-28668 `__: test.support." "requires_multiprocessing_queue is removed. Skip tests with test.support." "import_module('multiprocessing.synchronize') instead when the semaphore " "implementation is broken or missing." msgstr "" #: ../build/NEWS:15786 msgid "" "`bpo-32126 `__: Skip " "test_get_event_loop_new_process in test.test_asyncio.test_events when " "sem_open() is not functional." msgstr "" #: ../build/NEWS:15789 ../build/NEWS:19241 msgid "" "`bpo-31174 `__: Fix test_tools." "test_unparse: DirectoryTestCase now stores the names sample to always test " "the same files. It prevents false alarms when hunting reference leaks." msgstr "" #: ../build/NEWS:15796 msgid "" "`bpo-28538 `__: Revert the previous " "changes, the if_nameindex structure is defined by Unified Headers." msgstr "" #: ../build/NEWS:15799 msgid "" "`bpo-28762 `__: Revert the last commit, " "the F_LOCK macro is defined by Android Unified Headers." msgstr "" #: ../build/NEWS:15802 msgid "" "`bpo-29040 `__: Support building Android " "with Unified Headers. The first NDK release to support Unified Headers is " "android-ndk-r14." msgstr "" #: ../build/NEWS:15805 ../build/NEWS:19251 msgid "" "`bpo-32059 `__: ``detect_modules()`` in " "``setup.py`` now also searches the sysroot paths when cross-compiling." msgstr "" #: ../build/NEWS:15808 ../build/NEWS:19254 msgid "" "`bpo-31957 `__: Fixes Windows SDK " "version detection when building for Windows." msgstr "" #: ../build/NEWS:15810 ../build/NEWS:19256 msgid "" "`bpo-31609 `__: Fixes quotes in PCbuild/" "clean.bat" msgstr "" #: ../build/NEWS:15812 ../build/NEWS:19258 msgid "" "`bpo-31934 `__: Abort the build when " "building out of a not clean source tree." msgstr "" #: ../build/NEWS:15814 ../build/NEWS:19260 msgid "" "`bpo-31926 `__: Fixed Argument Clinic " "sometimes causing compilation errors when there was more than one function " "and/or method in a .c file with the same name." msgstr "" #: ../build/NEWS:15818 ../build/NEWS:19264 msgid "" "`bpo-28791 `__: Update Windows builds to " "use SQLite 3.21.0." msgstr "" #: ../build/NEWS:15820 ../build/NEWS:19266 msgid "" "`bpo-28791 `__: Update OS X installer to " "use SQLite 3.21.0." msgstr "" #: ../build/NEWS:15822 msgid "" "`bpo-28643 `__: Record profile-opt build " "progress with stamp files." msgstr "" #: ../build/NEWS:15824 msgid "" "`bpo-31866 `__: Finish removing support " "for AtheOS." msgstr "" #: ../build/NEWS:15829 ../build/NEWS:19276 msgid "" "`bpo-1102 `__: Return ``None`` when " "``View.Fetch()`` returns ``ERROR_NO_MORE_ITEMS`` instead of raising " "``MSIError``. Initial patch by Anthony Tuininga." msgstr "" #: ../build/NEWS:15833 ../build/NEWS:19280 msgid "" "`bpo-31944 `__: Fixes Modify button in " "Apps and Features dialog." msgstr "" #: ../build/NEWS:15835 msgid "" "`bpo-20486 `__: Implement the ``Database." "Close()`` method to help closing MSI database objects." msgstr "" #: ../build/NEWS:15838 msgid "" "`bpo-31857 `__: Make the behavior of " "USE_STACKCHECK deterministic in a multi-threaded environment." msgstr "" #: ../build/NEWS:15844 ../build/NEWS:19285 msgid "" "`bpo-31392 `__: Update macOS installer " "to use OpenSSL 1.0.2m" msgstr "" #: ../build/NEWS:15849 ../build/NEWS:19290 msgid "" "`bpo-32207 `__: Improve tk event " "exception tracebacks in IDLE. When tk event handling is driven by IDLE's run " "loop, a confusing and distracting queue.EMPTY traceback context is no longer " "added to tk event exception tracebacks. The traceback is now the same as " "when event handling is driven by user code. Patch based on a suggestion by " "Serhiy Storchaka." msgstr "" #: ../build/NEWS:15855 ../build/NEWS:19296 msgid "" "`bpo-32164 `__: Delete unused file " "idlelib/tabbedpages.py. Use of TabbedPageSet in configdialog was replaced by " "ttk.Notebook." msgstr "" #: ../build/NEWS:15858 ../build/NEWS:19299 msgid "" "`bpo-32100 `__: IDLE: Fix old and new " "bugs in pathbrowser; improve tests. Patch mostly by Cheryl Sabella." msgstr "" #: ../build/NEWS:15861 ../build/NEWS:19302 msgid "" "`bpo-31858 `__: IDLE -- Restrict shell " "prompt manipulation to the shell. Editor and output windows only see an " "empty last prompt line. This simplifies the code and fixes a minor bug when " "newline is inserted. Sys.ps1, if present, is read on Shell start-up, but is " "not set or changed." msgstr "" #: ../build/NEWS:15866 ../build/NEWS:19307 msgid "" "`bpo-31860 `__: The font sample in the " "IDLE configuration dialog is now editable. Changes persist while IDLE " "remains open" msgstr "" #: ../build/NEWS:15869 ../build/NEWS:19310 msgid "" "`bpo-31836 `__: Test_code_module now " "passes if run after test_idle, which sets ps1. The code module uses sys.ps1 " "if present or sets it to '>>> ' if not. Test_code_module now properly tests " "both behaviors. Ditto for ps2." msgstr "" #: ../build/NEWS:15873 ../build/NEWS:19314 msgid "" "`bpo-28603 `__: Fix a TypeError that " "caused a shell restart when printing a traceback that includes an exception " "that is unhashable. Patch by Zane Bitter." msgstr "" #: ../build/NEWS:15877 msgid "" "`bpo-13802 `__: Use non-Latin characters " "in the IDLE's Font settings sample. Even if one selects a font that defines " "a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use " "other fonts that define a character. The expanded example give users of non-" "Latin characters a better idea of what they might see in IDLE's shell and " "editors. To make room for the expanded sample, frames on the Font tab are re-" "arranged. The Font/Tabs help explains a bit about the additions." msgstr "" #: ../build/NEWS:15888 msgid "" "`bpo-32159 `__: Remove CVS and " "Subversion tools: remove svneol.py and treesync.py scripts. CPython migrated " "from CVS to Subversion, to Mercurial, and then to Git. CVS and Subversion " "are no longer used to develop CPython." msgstr "" #: ../build/NEWS:15893 ../build/NEWS:19353 msgid "" "`bpo-30722 `__: Make redemo work with " "Python 3.6 and newer versions. Also, remove the ``LOCALE`` option since it " "doesn't work with string patterns in Python 3. Patch by Christoph Sarnowski." msgstr "" #: ../build/NEWS:15900 ../build/NEWS:19360 msgid "" "`bpo-20891 `__: Fix PyGILState_Ensure(). " "When PyGILState_Ensure() is called in a non-Python thread before " "PyEval_InitThreads(), only call PyEval_InitThreads() after calling " "PyThreadState_New() to fix a crash." msgstr "" #: ../build/NEWS:15904 msgid "" "`bpo-32125 `__: The " "``Py_UseClassExceptionsFlag`` flag has been removed. It was deprecated and " "wasn't used anymore since Python 2.0." msgstr "" #: ../build/NEWS:15907 msgid "" "`bpo-25612 `__: Move the current " "exception state from the frame object to the co-routine. This simplifies the " "interpreter and fixes a couple of obscure bugs caused by having swap " "exception state when entering or exiting a generator." msgstr "" #: ../build/NEWS:15912 msgid "" "`bpo-23699 `__: Add " "Py_RETURN_RICHCOMPARE macro to reduce boilerplate code in rich comparison " "functions." msgstr "" #: ../build/NEWS:15915 ../build/NEWS:19367 msgid "" "`bpo-30697 `__: The " "`PyExc_RecursionErrorInst` singleton is removed and " "`PyErr_NormalizeException()` does not use it anymore. This singleton is " "persistent and its members being never cleared may cause a segfault during " "finalization of the interpreter. See also `bpo-22898 `__." msgstr "" #: ../build/NEWS:15922 msgid "Python 3.7.0 alpha 2" msgstr "" #: ../build/NEWS:15924 msgid "*Release date: 2017-10-16*" msgstr "" #: ../build/NEWS:15929 msgid "" "`bpo-31558 `__: ``gc.freeze()`` is a new " "API that allows for moving all objects currently tracked by the garbage " "collector to a permanent generation, effectively removing them from future " "collection events. This can be used to protect those objects from having " "their PyGC_Head mutated. In effect, this enables great copy-on-write " "stability at fork()." msgstr "" #: ../build/NEWS:15935 ../build/NEWS:19003 msgid "" "`bpo-31642 `__: Restored blocking \"from " "package import module\" by setting sys.modules[\"package.module\"] to None." msgstr "" #: ../build/NEWS:15938 msgid "" "`bpo-31708 `__: Allow use of " "asynchronous generator expressions in synchronous functions." msgstr "" #: ../build/NEWS:15941 msgid "" "`bpo-31709 `__: Drop support of " "asynchronous __aiter__." msgstr "" #: ../build/NEWS:15943 msgid "" "`bpo-30404 `__: The -u option now makes " "the stdout and stderr streams unbuffered rather than line-buffered." msgstr "" #: ../build/NEWS:15946 ../build/NEWS:19009 msgid "" "`bpo-31619 `__: Fixed a ValueError when " "convert a string with large number of underscores to integer with binary " "base." msgstr "" #: ../build/NEWS:15949 msgid "" "`bpo-31602 `__: Fix an assertion failure " "in `zipimporter.get_source()` in case of a bad `zlib.decompress()`. Patch by " "Oren Milman." msgstr "" #: ../build/NEWS:15952 ../build/NEWS:19012 msgid "" "`bpo-31592 `__: Fixed an assertion " "failure in Python parser in case of a bad `unicodedata.normalize()`. Patch " "by Oren Milman." msgstr "" #: ../build/NEWS:15955 ../build/NEWS:19015 msgid "" "`bpo-31588 `__: Raise a `TypeError` with " "a helpful error message when class creation fails due to a metaclass with a " "bad ``__prepare__()`` method. Patch by Oren Milman." msgstr "" #: ../build/NEWS:15959 msgid "" "`bpo-31574 `__: Importlib was " "instrumented with two dtrace probes to profile import timing." msgstr "" #: ../build/NEWS:15962 ../build/NEWS:19019 msgid "" "`bpo-31566 `__: Fix an assertion failure " "in `_warnings.warn()` in case of a bad ``__name__`` global. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:15965 msgid "" "`bpo-31506 `__: Improved the error " "message logic for object.__new__ and object.__init__." msgstr "" #: ../build/NEWS:15968 ../build/NEWS:19022 msgid "" "`bpo-31505 `__: Fix an assertion failure " "in `json`, in case `_json.make_encoder()` received a bad `encoder()` " "argument. Patch by Oren Milman." msgstr "" #: ../build/NEWS:15972 ../build/NEWS:19026 msgid "" "`bpo-31492 `__: Fix assertion failures " "in case of failing to import from a module with a bad ``__name__`` " "attribute, and in case of failing to access an attribute of such a module. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:15976 ../build/NEWS:19034 msgid "" "`bpo-31478 `__: Fix an assertion failure " "in `_random.Random.seed()` in case the argument has a bad ``__abs__()`` " "method. Patch by Oren Milman." msgstr "" #: ../build/NEWS:15979 msgid "" "`bpo-31336 `__: Speed up class creation " "by 10-20% by reducing the overhead in the necessary special method lookups. " "Patch by Stefan Behnel." msgstr "" #: ../build/NEWS:15982 msgid "" "`bpo-31415 `__: Add ``-X importtime`` " "option to show how long each import takes. It can be used to optimize " "application's startup time. Support the :envvar:`PYTHONPROFILEIMPORTTIME` " "as an equivalent way to enable this." msgstr "" #: ../build/NEWS:15986 msgid "" "`bpo-31410 `__: Optimized calling " "wrapper and classmethod descriptors." msgstr "" #: ../build/NEWS:15988 msgid "" "`bpo-31353 `__: :pep:`553` - Add a new " "built-in called ``breakpoint()`` which calls ``sys.breakpointhook()``. By " "default this imports ``pdb`` and calls ``pdb.set_trace()``, but users may " "override ``sys.breakpointhook()`` to call whatever debugger they want. The " "original value of the hook is saved in ``sys.__breakpointhook__``." msgstr "" #: ../build/NEWS:15994 msgid "" "`bpo-17852 `__: Maintain a list of open " "buffered files, flush them before exiting the interpreter. Based on a patch " "from Armin Rigo." msgstr "" #: ../build/NEWS:15997 ../build/NEWS:19037 msgid "" "`bpo-31315 `__: Fix an assertion failure " "in imp.create_dynamic(), when spec.name is not a string. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:16000 ../build/NEWS:19040 msgid "" "`bpo-31311 `__: Fix a crash in the " "``__setstate__()`` method of `ctypes._CData`, in case of a bad ``__dict__``. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:16003 ../build/NEWS:19043 msgid "" "`bpo-31293 `__: Fix crashes in true " "division and multiplication of a timedelta object by a float with a bad " "as_integer_ratio() method. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16007 ../build/NEWS:19047 msgid "" "`bpo-31285 `__: Fix an assertion failure " "in `warnings.warn_explicit`, when the return value of the received loader's " "get_source() has a bad splitlines() method. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16011 msgid "" "`bpo-30406 `__: Make ``async`` and " "``await`` proper keywords, as specified in :pep:`492`." msgstr "" #: ../build/NEWS:16017 ../build/NEWS:19153 msgid "" "`bpo-30058 `__: Fixed buffer overflow in " "select.kqueue.control()." msgstr "" #: ../build/NEWS:16019 ../build/NEWS:19158 msgid "" "`bpo-31672 `__: ``idpattern`` in " "``string.Template`` matched some non-ASCII characters. Now it uses ``-i`` " "regular expression local flag to avoid non-ASCII characters." msgstr "" #: ../build/NEWS:16023 ../build/NEWS:19168 msgid "" "`bpo-31701 `__: On Windows, faulthandler." "enable() now ignores MSC and COM exceptions." msgstr "" #: ../build/NEWS:16026 ../build/NEWS:19171 msgid "" "`bpo-31728 `__: Prevent crashes in " "`_elementtree` due to unsafe cleanup of `Element.text` and `Element.tail`. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:16029 msgid "" "`bpo-31671 `__: Now ``re.compile()`` " "converts passed RegexFlag to normal int object before compiling. " "bm_regex_compile benchmark shows 14% performance improvements." msgstr "" #: ../build/NEWS:16033 msgid "" "`bpo-30397 `__: The types of compiled " "regular objects and match objects are now exposed as `re.Pattern` and `re." "Match`. This adds information in pydoc output for the re module." msgstr "" #: ../build/NEWS:16037 ../build/NEWS:19181 msgid "" "`bpo-31675 `__: Fixed memory leaks in " "Tkinter's methods splitlist() and split() when pass a string larger than 2 " "GiB." msgstr "" #: ../build/NEWS:16040 ../build/NEWS:19184 msgid "" "`bpo-31673 `__: Fixed typo in the name " "of Tkinter's method adderrorinfo()." msgstr "" #: ../build/NEWS:16042 msgid "" "`bpo-31648 `__: Improvements to path " "predicates in ElementTree: Allow whitespace around predicate parts, i.e. " "\"[a = 'text']\" instead of requiring the less readable \"[a='text']\". Add " "support for text comparison of the current node, like \"[.='text']\". Patch " "by Stefan Behnel." msgstr "" #: ../build/NEWS:16047 ../build/NEWS:19186 msgid "" "`bpo-30806 `__: Fix the string " "representation of a netrc object." msgstr "" #: ../build/NEWS:16049 msgid "" "`bpo-31638 `__: Add optional argument " "``compressed`` to ``zipapp.create_archive``, and add option ``--compress`` " "to the command line interface of ``zipapp``." msgstr "" #: ../build/NEWS:16053 ../build/NEWS:19191 msgid "" "`bpo-25351 `__: Avoid venv activate " "failures with undefined variables" msgstr "" #: ../build/NEWS:16055 msgid "" "`bpo-20519 `__: Avoid ctypes use (if " "possible) and improve import time for uuid." msgstr "" #: ../build/NEWS:16058 msgid "" "`bpo-28293 `__: The regular expression " "cache is no longer completely dumped when it is full." msgstr "" #: ../build/NEWS:16061 msgid "" "`bpo-31596 `__: Added " "pthread_getcpuclockid() to the time module" msgstr "" #: ../build/NEWS:16063 msgid "" "`bpo-27494 `__: Make 2to3 accept a " "trailing comma in generator expressions. For example, ``set(x for x in " "[],)`` is now allowed." msgstr "" #: ../build/NEWS:16066 ../build/NEWS:19197 msgid "" "`bpo-30347 `__: Stop crashes when " "concurrently iterate over itertools.groupby() iterators." msgstr "" #: ../build/NEWS:16069 msgid "" "`bpo-30346 `__: An iterator produced by " "itertools.groupby() iterator now becomes exhausted after advancing the " "groupby iterator." msgstr "" #: ../build/NEWS:16072 msgid "" "`bpo-31556 `__: Cancel asyncio.wait_for " "future faster if timeout <= 0" msgstr "" #: ../build/NEWS:16074 msgid "" "`bpo-31540 `__: Allow passing a context " "object in :class:`concurrent.futures.ProcessPoolExecutor` constructor. Also, " "free job resources in :class:`concurrent.futures.ProcessPoolExecutor` " "earlier to improve memory usage when a worker waits for new jobs." msgstr "" #: ../build/NEWS:16079 ../build/NEWS:19200 msgid "" "`bpo-31516 `__: ``threading." "current_thread()`` should not return a dummy thread at shutdown." msgstr "" #: ../build/NEWS:16082 msgid "" "`bpo-31525 `__: In the sqlite module, " "require the sqlite3_prepare_v2 API. Thus, the sqlite module now requires " "sqlite version at least 3.3.9." msgstr "" #: ../build/NEWS:16085 msgid "" "`bpo-26510 `__: argparse subparsers are " "now required by default. This matches behaviour in Python 2. For optional " "subparsers, use the new parameter ``add_subparsers(required=False)``. Patch " "by Anthony Sottile. (As of 3.7.0rc1, the default was changed to not required " "as had been the case since Python 3.3.)" msgstr "" #: ../build/NEWS:16091 msgid "" "`bpo-27541 `__: Reprs of subclasses of " "some collection and iterator classes (`bytearray`, `array.array`, " "`collections.deque`, `collections.defaultdict`, `itertools.count`, " "`itertools.repeat`) now contain actual type name insteads of hardcoded name " "of the base class." msgstr "" #: ../build/NEWS:16096 ../build/NEWS:19203 msgid "" "`bpo-31351 `__: python -m ensurepip now " "exits with non-zero exit code if pip bootstrapping has failed." msgstr "" #: ../build/NEWS:16099 msgid "" "`bpo-31389 `__: ``pdb.set_trace()`` now " "takes an optional keyword-only argument ``header``. If given, this is " "printed to the console just before debugging begins." msgstr "" #: ../build/NEWS:16106 ../build/NEWS:19224 msgid "" "`bpo-31537 `__: Fix incorrect usage of " "``get_history_length`` in readline documentation example code. Patch by Brad " "Smith." msgstr "" #: ../build/NEWS:16109 ../build/NEWS:19227 msgid "" "`bpo-30085 `__: The operator functions " "without double underscores are preferred for clarity. The one with " "underscores are only kept for back-compatibility." msgstr "" #: ../build/NEWS:16116 msgid "" "`bpo-31696 `__: Improve compiler version " "information in :data:`sys.version` when Python is built with Clang." msgstr "" #: ../build/NEWS:16119 msgid "" "`bpo-31625 `__: Stop using ranlib on " "static libraries. Instead, we assume ar supports the 's' flag." msgstr "" #: ../build/NEWS:16122 msgid "" "`bpo-31624 `__: Remove support for BSD/" "OS." msgstr "" #: ../build/NEWS:16124 ../build/NEWS:19268 msgid "" "`bpo-22140 `__: Prevent double " "substitution of prefix in python-config.sh." msgstr "" #: ../build/NEWS:16126 msgid "" "`bpo-31569 `__: Correct PCBuild/ case to " "PCbuild/ in build scripts and documentation." msgstr "" #: ../build/NEWS:16129 ../build/NEWS:19270 msgid "" "`bpo-31536 `__: Avoid wholesale rebuild " "after `make regen-all` if nothing changed." msgstr "" #: ../build/NEWS:16135 ../build/NEWS:19326 msgid "" "`bpo-31460 `__: Simplify the API of " "IDLE's Module Browser. Passing a widget instead of an flist with a root " "widget opens the option of creating a browser frame that is only part of a " "window. Passing a full file name instead of pieces assumed to come from a ." "py file opens the possibility of browsing python files that do not end in ." "py." msgstr "" #: ../build/NEWS:16141 ../build/NEWS:19332 msgid "" "`bpo-31649 `__: IDLE - Make _htest, " "_utest parameters keyword only." msgstr "" #: ../build/NEWS:16143 ../build/NEWS:19334 msgid "" "`bpo-31559 `__: Remove test order " "dependence in idle_test.test_browser." msgstr "" #: ../build/NEWS:16145 ../build/NEWS:19336 msgid "" "`bpo-31459 `__: Rename IDLE's module " "browser from Class Browser to Module Browser. The original module-level " "class and method browser became a module browser, with the addition of " "module-level functions, years ago. Nested classes and functions were added " "yesterday. For back-compatibility, the virtual event <>, which appears on the Keys tab of the Settings dialog, is not " "changed. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:16153 ../build/NEWS:19344 msgid "" "`bpo-31500 `__: Default fonts now are " "scaled on HiDPI displays." msgstr "" #: ../build/NEWS:16155 ../build/NEWS:19346 msgid "" "`bpo-1612262 `__: IDLE module browser " "now shows nested classes and functions. Original patches for code and tests " "by Guilherme Polo and Cheryl Sabella, respectively." msgstr "" #: ../build/NEWS:16162 msgid "" "`bpo-28280 `__: Make `PyMapping_Keys()`, " "`PyMapping_Values()` and `PyMapping_Items()` always return a `list` (rather " "than a `list` or a `tuple`). Patch by Oren Milman." msgstr "" #: ../build/NEWS:16166 ../build/NEWS:19364 msgid "" "`bpo-31532 `__: Fix memory corruption " "due to allocator mix in getpath.c between Py_GetPath() and Py_SetPath()" msgstr "" #: ../build/NEWS:16169 msgid "" "`bpo-25658 `__: Implement :pep:`539` for " "Thread Specific Storage (TSS) API: it is a new Thread Local Storage (TLS) " "API to CPython which would supersede use of the existing TLS API within the " "CPython interpreter, while deprecating the existing API. PEP written by Erik " "M. Bray, patch by Masayuki Yamamoto." msgstr "" #: ../build/NEWS:16177 msgid "Python 3.7.0 alpha 1" msgstr "" #: ../build/NEWS:16179 msgid "*Release date: 2017-09-19*" msgstr "" #: ../build/NEWS:16184 ../build/NEWS:19402 msgid "" "`bpo-29781 `__: SSLObject.version() now " "correctly returns None when handshake over BIO has not been performed yet." msgstr "" #: ../build/NEWS:16187 msgid "" "`bpo-29505 `__: Add fuzz tests for " "float(str), int(str), unicode(str); for oss-fuzz." msgstr "" #: ../build/NEWS:16190 ../build/NEWS:19405 ../build/NEWS:23790 msgid "" "`bpo-30947 `__: Upgrade libexpat " "embedded copy from version 2.2.1 to 2.2.3 to get security fixes." msgstr "" #: ../build/NEWS:16193 ../build/NEWS:19865 ../build/NEWS:23832 msgid "" "`bpo-30730 `__: Prevent environment " "variables injection in subprocess on Windows. Prevent passing other " "environment variables and command arguments." msgstr "" #: ../build/NEWS:16197 ../build/NEWS:19869 ../build/NEWS:23836 msgid "" "`bpo-30694 `__: Upgrade expat copy from " "2.2.0 to 2.2.1 to get fixes of multiple security vulnerabilities including: " "CVE-2017-9233 (External entity infinite loop DoS), CVE-2016-9063 (Integer " "overflow, re-fix), CVE-2016-0718 (Fix regression bugs from 2.2.0's fix to " "CVE-2016-0718) and CVE-2012-0876 (Counter hash flooding with SipHash). Note: " "the CVE-2016-5300 (Use os-specific entropy sources like getrandom) doesn't " "impact Python, since Python already gets entropy from the OS to set the " "expat secret using ``XML_SetHashSalt()``." msgstr "" #: ../build/NEWS:16206 ../build/NEWS:19878 ../build/NEWS:23845 msgid "" "`bpo-30500 `__: Fix urllib.parse." "splithost() to correctly parse fragments. For example, " "``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the " "``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an " "authentication (``login@host``)." msgstr "" #: ../build/NEWS:16211 ../build/NEWS:19967 ../build/NEWS:23850 msgid "" "`bpo-29591 `__: Update expat copy from " "2.1.1 to 2.2.0 to get fixes of CVE-2016-0718 and CVE-2016-4472. See https://" "sourceforge.net/p/expat/bugs/537/ for more information." msgstr "" #: ../build/NEWS:16218 ../build/NEWS:19030 msgid "" "`bpo-31490 `__: Fix an assertion failure " "in `ctypes` class definition, in case the class has an attribute whose name " "is specified in ``_anonymous_`` but not in ``_fields_``. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:16222 ../build/NEWS:19411 msgid "" "`bpo-31471 `__: Fix an assertion failure " "in `subprocess.Popen()` on Windows, in case the env argument has a bad " "keys() method. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16225 ../build/NEWS:19414 msgid "" "`bpo-31418 `__: Fix an assertion failure " "in `PyErr_WriteUnraisable()` in case of an exception with a bad " "``__module__`` attribute. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16228 ../build/NEWS:19417 msgid "" "`bpo-31416 `__: Fix assertion failures " "in case of a bad warnings.filters or warnings.defaultaction. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:16231 msgid "" "`bpo-28411 `__: Change direct usage of " "PyInterpreterState.modules to PyImport_GetModuleDict(). Also introduce more " "uniformity in other code that deals with sys.modules. This helps reduce " "complications when working on sys.modules." msgstr "" #: ../build/NEWS:16236 msgid "" "`bpo-28411 `__: Switch to the abstract " "API when dealing with ``PyInterpreterState.modules``. This allows later " "support for all dict subclasses and other Mapping implementations. Also add " "a ``PyImport_GetModule()`` function to reduce a bunch of duplicated code." msgstr "" #: ../build/NEWS:16241 ../build/NEWS:19420 msgid "" "`bpo-31411 `__: Raise a TypeError " "instead of SystemError in case warnings.onceregistry is not a dictionary. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:16244 msgid "" "`bpo-31344 `__: For finer control of " "tracing behaviour when testing the interpreter, two new frame attributes " "have been added to control the emission of particular trace events: " "``f_trace_lines`` (``True`` by default) to turn off per-line trace events; " "and ``f_trace_opcodes`` (``False`` by default) to turn on per-opcode trace " "events." msgstr "" #: ../build/NEWS:16250 ../build/NEWS:19423 msgid "" "`bpo-31373 `__: Fix several possible " "instances of undefined behavior due to floating-point demotions." msgstr "" #: ../build/NEWS:16253 ../build/NEWS:19426 msgid "" "`bpo-30465 `__: Location information " "(``lineno`` and ``col_offset``) in f-strings is now (mostly) correct. This " "fixes tools like flake8 from showing warnings on the wrong line (typically " "the first line of the file)." msgstr "" #: ../build/NEWS:16257 msgid "" "`bpo-30860 `__: Consolidate CPython's " "global runtime state under a single struct. This improves discoverability " "of the runtime state." msgstr "" #: ../build/NEWS:16260 msgid "" "`bpo-31347 `__: Fix possible undefined " "behavior in _PyObject_FastCall_Prepend." msgstr "" #: ../build/NEWS:16262 ../build/NEWS:19430 msgid "" "`bpo-31343 `__: Include sys/sysmacros.h " "for major(), minor(), and makedev(). GNU C libray plans to remove the " "functions from sys/types.h." msgstr "" #: ../build/NEWS:16265 ../build/NEWS:19433 msgid "" "`bpo-31291 `__: Fix an assertion failure " "in `zipimport.zipimporter.get_data` on Windows, when the return value of " "``pathname.replace('/','\\\\')`` isn't a string. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16269 ../build/NEWS:19437 msgid "" "`bpo-31271 `__: Fix an assertion failure " "in the write() method of `io.TextIOWrapper`, when the encoder doesn't return " "a bytes object. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16273 ../build/NEWS:19441 msgid "" "`bpo-31243 `__: Fix a crash in some " "methods of `io.TextIOWrapper`, when the decoder's state is invalid. Patch by " "Oren Milman." msgstr "" #: ../build/NEWS:16276 ../build/NEWS:19444 msgid "" "`bpo-30721 `__: ``print`` now shows " "correct usage hint for using Python 2 redirection syntax. Patch by Sanyam " "Khurana." msgstr "" #: ../build/NEWS:16279 ../build/NEWS:19447 msgid "" "`bpo-31070 `__: Fix a race condition in " "importlib _get_module_lock()." msgstr "" #: ../build/NEWS:16281 msgid "" "`bpo-30747 `__: Add a non-dummy " "implementation of _Py_atomic_store and _Py_atomic_load on MSVC." msgstr "" #: ../build/NEWS:16284 ../build/NEWS:19449 ../build/NEWS:23796 msgid "" "`bpo-31095 `__: Fix potential crash " "during GC caused by ``tp_dealloc`` which doesn't call " "``PyObject_GC_UnTrack()``." msgstr "" #: ../build/NEWS:16287 ../build/NEWS:19452 msgid "" "`bpo-31071 `__: Avoid masking original " "TypeError in call with * unpacking when other arguments are passed." msgstr "" #: ../build/NEWS:16290 ../build/NEWS:19455 msgid "" "`bpo-30978 `__: str.format_map() now " "passes key lookup exceptions through. Previously any exception was replaced " "with a KeyError exception." msgstr "" #: ../build/NEWS:16293 ../build/NEWS:19458 msgid "" "`bpo-30808 `__: Use _Py_atomic API for " "concurrency-sensitive signal state." msgstr "" #: ../build/NEWS:16295 ../build/NEWS:19460 ../build/NEWS:23857 msgid "" "`bpo-30876 `__: Relative import from " "unloaded package now reimports the package instead of failing with " "SystemError. Relative import from non-package now fails with ImportError " "rather than SystemError." msgstr "" #: ../build/NEWS:16299 ../build/NEWS:19464 msgid "" "`bpo-30703 `__: Improve signal delivery. " "Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-" "unsafe functions. The tests I'm adding here fail without the rest of the " "patch, on Linux and OS X. This means our signal delivery logic had defects " "(some signals could be lost)." msgstr "" #: ../build/NEWS:16304 ../build/NEWS:19469 ../build/NEWS:23861 msgid "" "`bpo-30765 `__: Avoid blocking in " "pthread_mutex_lock() when PyThread_acquire_lock() is asked not to block." msgstr "" #: ../build/NEWS:16307 ../build/NEWS:19472 msgid "" "`bpo-31161 `__: Make sure the 'Missing " "parentheses' syntax error message is only applied to SyntaxError, not to " "subclasses. Patch by Martijn Pieters." msgstr "" #: ../build/NEWS:16310 ../build/NEWS:19475 msgid "" "`bpo-30814 `__: Fixed a race condition " "when import a submodule from a package." msgstr "" #: ../build/NEWS:16312 msgid "" "`bpo-30736 `__: The internal unicodedata " "database has been upgraded to Unicode 10.0." msgstr "" #: ../build/NEWS:16315 msgid "" "`bpo-30604 `__: Move co_extra_freefuncs " "from per-thread to per-interpreter to avoid crashes." msgstr "" #: ../build/NEWS:16318 ../build/NEWS:19477 msgid "" "`bpo-30597 `__: ``print`` now shows " "expected input in custom error message when used as a Python 2 statement. " "Patch by Sanyam Khurana." msgstr "" #: ../build/NEWS:16321 ../build/NEWS:19892 msgid "" "`bpo-30682 `__: Removed a too-strict " "assertion that failed for certain f-strings, such as eval(\"f'\\\\\\n'\") " "and eval(\"f'\\\\\\r'\")." msgstr "" #: ../build/NEWS:16324 msgid "" "`bpo-30501 `__: The compiler now " "produces more optimal code for complex condition expressions in the \"if\", " "\"while\" and \"assert\" statement, the \"if\" expression, and generator " "expressions and comprehensions." msgstr "" #: ../build/NEWS:16328 msgid "" "`bpo-28180 `__: Implement :pep:`538` " "(legacy C locale coercion). This means that when a suitable coercion target " "locale is available, both the core interpreter and locale-aware C extensions " "will assume the use of UTF-8 as the default text encoding, rather than ASCII." msgstr "" #: ../build/NEWS:16333 msgid "" "`bpo-30486 `__: Allows setting cell " "values for __closure__. Patch by Lisa Roach." msgstr "" #: ../build/NEWS:16336 msgid "" "`bpo-30537 `__: itertools.islice now " "accepts integer-like objects (having an __index__ method) as start, stop, " "and slice arguments" msgstr "" #: ../build/NEWS:16339 msgid "" "`bpo-25324 `__: Tokens needed for " "parsing in Python moved to C. ``COMMENT``, ``NL`` and ``ENCODING``. This way " "the tokens and tok_names in the token module don't get changed when you " "import the tokenize module." msgstr "" #: ../build/NEWS:16343 ../build/NEWS:19897 msgid "" "`bpo-29104 `__: Fixed parsing " "backslashes in f-strings." msgstr "" #: ../build/NEWS:16345 ../build/NEWS:19899 ../build/NEWS:23864 msgid "" "`bpo-27945 `__: Fixed various segfaults " "with dict when input collections are mutated during searching, inserting or " "comparing. Based on patches by Duane Griffin and Tim Mitchell." msgstr "" #: ../build/NEWS:16349 ../build/NEWS:19903 ../build/NEWS:23868 msgid "" "`bpo-25794 `__: Fixed type.__setattr__() " "and type.__delattr__() for non-interned attribute names. Based on patch by " "Eryk Sun." msgstr "" #: ../build/NEWS:16352 ../build/NEWS:19906 msgid "" "`bpo-30039 `__: If a KeyboardInterrupt " "happens when the interpreter is in the middle of resuming a chain of nested " "'yield from' or 'await' calls, it's now correctly delivered to the innermost " "frame." msgstr "" #: ../build/NEWS:16356 msgid "" "`bpo-28974 `__: ``object.__format__(x, " "'')`` is now equivalent to ``str(x)`` rather than ``format(str(self), '')``." msgstr "" #: ../build/NEWS:16359 msgid "" "`bpo-30024 `__: Circular imports " "involving absolute imports with binding a submodule to a name are now " "supported." msgstr "" #: ../build/NEWS:16362 ../build/NEWS:19910 msgid "" "`bpo-12414 `__: sys.getsizeof() on a " "code object now returns the sizes which includes the code struct and sizes " "of objects which it references. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:16366 msgid "" "`bpo-29839 `__: len() now raises " "ValueError rather than OverflowError if __len__() returned a large negative " "integer." msgstr "" #: ../build/NEWS:16369 msgid "" "`bpo-11913 `__: README.rst is now " "included in the list of distutils standard READMEs and therefore included in " "source distributions." msgstr "" #: ../build/NEWS:16372 msgid "" "`bpo-29914 `__: Fixed default " "implementations of __reduce__ and __reduce_ex__(). object.__reduce__() no " "longer takes arguments, object.__reduce_ex__() now requires one argument." msgstr "" #: ../build/NEWS:16376 ../build/NEWS:19914 msgid "" "`bpo-29949 `__: Fix memory usage " "regression of set and frozenset object." msgstr "" #: ../build/NEWS:16378 ../build/NEWS:19916 ../build/NEWS:23871 msgid "" "`bpo-29935 `__: Fixed error messages in " "the index() method of tuple, list and deque when pass indices of wrong type." msgstr "" #: ../build/NEWS:16381 msgid "" "`bpo-29816 `__: Shift operation now has " "less opportunity to raise OverflowError. ValueError always is raised rather " "than OverflowError for negative counts. Shifting zero with non-negative " "count always returns zero." msgstr "" #: ../build/NEWS:16386 msgid "" "`bpo-24821 `__: Fixed the slowing down " "to 25 times in the searching of some unlucky Unicode characters." msgstr "" #: ../build/NEWS:16389 msgid "" "`bpo-29102 `__: Add a unique ID to " "PyInterpreterState. This makes it easier to identify each subinterpreter." msgstr "" #: ../build/NEWS:16392 msgid "" "`bpo-29894 `__: The deprecation warning " "is emitted if __complex__ returns an instance of a strict subclass of " "complex. In a future versions of Python this can be an error." msgstr "" #: ../build/NEWS:16396 ../build/NEWS:19919 msgid "" "`bpo-29859 `__: Show correct error " "messages when any of the pthread_* calls in thread_pthread.h fails." msgstr "" #: ../build/NEWS:16399 msgid "" "`bpo-29849 `__: Fix a memory leak when " "an ImportError is raised during from import." msgstr "" #: ../build/NEWS:16402 ../build/NEWS:19927 msgid "" "`bpo-28856 `__: Fix an oversight that %b " "format for bytes should support objects follow the buffer protocol." msgstr "" #: ../build/NEWS:16405 ../build/NEWS:20244 msgid "" "`bpo-29723 `__: The ``sys.path[0]`` " "initialization change for `bpo-29139 `__ " "caused a regression by revealing an inconsistency in how sys.path is " "initialized when executing ``__main__`` from a zipfile, directory, or other " "import location. The interpreter now consistently avoids ever adding the " "import location's parent directory to ``sys.path``, and ensures no other " "``sys.path`` entries are inadvertently modified when inserting the import " "location named on the command line." msgstr "" #: ../build/NEWS:16413 msgid "" "`bpo-29568 `__: Escaped percent \"%%\" " "in the format string for classic string formatting no longer allows any " "characters between two percents." msgstr "" #: ../build/NEWS:16416 ../build/NEWS:19930 msgid "" "`bpo-29714 `__: Fix a regression that " "bytes format may fail when containing zero bytes inside." msgstr "" #: ../build/NEWS:16419 msgid "" "`bpo-29695 `__: bool(), float(), list() " "and tuple() no longer take keyword arguments. The first argument of int() " "can now be passes only as positional argument." msgstr "" #: ../build/NEWS:16423 ../build/NEWS:20268 msgid "" "`bpo-28893 `__: Set correct __cause__ " "for errors about invalid awaitables returned from __aiter__ and __anext__." msgstr "" #: ../build/NEWS:16426 ../build/NEWS:19922 ../build/NEWS:23874 msgid "" "`bpo-28876 `__: ``bool(range)`` works " "even if ``len(range)`` raises :exc:`OverflowError`." msgstr "" #: ../build/NEWS:16429 ../build/NEWS:20271 msgid "" "`bpo-29683 `__: Fixes to memory " "allocation in _PyCode_SetExtra. Patch by Brian Coleman." msgstr "" #: ../build/NEWS:16432 ../build/NEWS:20274 msgid "" "`bpo-29684 `__: Fix minor regression of " "PyEval_CallObjectWithKeywords. It should raise TypeError when kwargs is not " "a dict. But it might cause segv when args=NULL and kwargs is not a dict." msgstr "" #: ../build/NEWS:16436 ../build/NEWS:20278 ../build/NEWS:23885 msgid "" "`bpo-28598 `__: Support __rmod__ for " "subclasses of str being called before str.__mod__. Patch by Martijn Pieters." msgstr "" #: ../build/NEWS:16439 ../build/NEWS:20281 msgid "" "`bpo-29607 `__: Fix stack_effect " "computation for CALL_FUNCTION_EX. Patch by Matthieu Dartiailh." msgstr "" #: ../build/NEWS:16442 ../build/NEWS:20284 ../build/NEWS:23888 msgid "" "`bpo-29602 `__: Fix incorrect handling " "of signed zeros in complex constructor for complex subclasses and for inputs " "having a __complex__ method. Patch by Serhiy Storchaka." msgstr "" #: ../build/NEWS:16446 ../build/NEWS:20288 ../build/NEWS:23892 msgid "" "`bpo-29347 `__: Fixed possibly " "dereferencing undefined pointers when creating weakref objects." msgstr "" #: ../build/NEWS:16449 msgid "" "`bpo-29463 `__: Add ``docstring`` field " "to Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes. docstring " "is not first stmt in their body anymore. It affects ``co_firstlineno`` and " "``co_lnotab`` of code object for module and class. (Reverted in :issue:" "`32911`.)" msgstr "" #: ../build/NEWS:16454 ../build/NEWS:20291 ../build/NEWS:23895 msgid "" "`bpo-29438 `__: Fixed use-after-free " "problem in key sharing dict." msgstr "" #: ../build/NEWS:16456 msgid "" "`bpo-29546 `__: Set the 'path' and " "'name' attribute on ImportError for ``from ... import ...``." msgstr "" #: ../build/NEWS:16459 msgid "" "`bpo-29546 `__: Improve from-import " "error message with location" msgstr "" #: ../build/NEWS:16461 ../build/NEWS:19933 ../build/NEWS:23902 msgid "" "`bpo-29478 `__: If max_line_length=None " "is specified while using the Compat32 policy, it is no longer ignored. " "Patch by Mircea Cosbuc." msgstr "" #: ../build/NEWS:16464 ../build/NEWS:20293 ../build/NEWS:23897 msgid "" "`bpo-29319 `__: Prevent " "RunMainFromImporter overwriting sys.path[0]." msgstr "" #: ../build/NEWS:16466 ../build/NEWS:20295 ../build/NEWS:23899 msgid "" "`bpo-29337 `__: Fixed possible " "BytesWarning when compare the code objects. Warnings could be emitted at " "compile time." msgstr "" #: ../build/NEWS:16469 ../build/NEWS:20298 msgid "" "`bpo-29327 `__: Fixed a crash when pass " "the iterable keyword argument to sorted()." msgstr "" #: ../build/NEWS:16472 ../build/NEWS:20301 msgid "" "`bpo-29034 `__: Fix memory leak and use-" "after-free in os module (path_converter)." msgstr "" #: ../build/NEWS:16475 ../build/NEWS:20304 msgid "" "`bpo-29159 `__: Fix regression in " "bytes(x) when x.__index__() raises Exception." msgstr "" #: ../build/NEWS:16477 msgid "" "`bpo-29049 `__: Call " "_PyObject_GC_TRACK() lazily when calling Python function. Calling function " "is up to 5% faster." msgstr "" #: ../build/NEWS:16480 msgid "" "`bpo-28927 `__: bytes.fromhex() and " "bytearray.fromhex() now ignore all ASCII whitespace, not only spaces. Patch " "by Robert Xiao." msgstr "" #: ../build/NEWS:16483 ../build/NEWS:20306 ../build/NEWS:24251 msgid "" "`bpo-28932 `__: Do not include if it does not exist." msgstr "" #: ../build/NEWS:16485 ../build/NEWS:20308 ../build/NEWS:24256 msgid "" "`bpo-25677 `__: Correct the positioning " "of the syntax error caret for indented blocks. Based on patch by Michael " "Layzell." msgstr "" #: ../build/NEWS:16488 ../build/NEWS:20311 ../build/NEWS:24259 msgid "" "`bpo-29000 `__: Fixed bytes formatting " "of octals with zero padding in alternate form." msgstr "" #: ../build/NEWS:16491 msgid "" "`bpo-18896 `__: Python function can now " "have more than 255 parameters. collections.namedtuple() now supports tuples " "with more than 255 elements." msgstr "" #: ../build/NEWS:16494 msgid "" "`bpo-28596 `__: The preferred encoding " "is UTF-8 on Android. Patch written by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:16497 msgid "" "`bpo-22257 `__: Clean up interpreter " "startup (see :pep:`432`)." msgstr "" #: ../build/NEWS:16499 ../build/NEWS:20314 msgid "" "`bpo-26919 `__: On Android, operating " "system data is now always encoded/decoded to/from UTF-8, instead of the " "locale encoding to avoid inconsistencies with os.fsencode() and os." "fsdecode() which are already using UTF-8." msgstr "" #: ../build/NEWS:16503 ../build/NEWS:20318 msgid "" "`bpo-28991 `__: functools.lru_cache() " "was susceptible to an obscure reentrancy bug triggerable by a monkey-patched " "len() function." msgstr "" #: ../build/NEWS:16506 ../build/NEWS:20592 msgid "" "`bpo-28147 `__: Fix a memory leak in " "split-table dictionaries: setattr() must not convert combined table into " "split table. Patch written by INADA Naoki." msgstr "" #: ../build/NEWS:16509 ../build/NEWS:20321 msgid "" "`bpo-28739 `__: f-string expressions are " "no longer accepted as docstrings and by ast.literal_eval() even if they do " "not include expressions." msgstr "" #: ../build/NEWS:16512 ../build/NEWS:20324 ../build/NEWS:24262 msgid "" "`bpo-28512 `__: Fixed setting the offset " "attribute of SyntaxError by PyErr_SyntaxLocationEx() and " "PyErr_SyntaxLocationObject()." msgstr "" #: ../build/NEWS:16515 ../build/NEWS:20327 msgid "" "`bpo-28918 `__: Fix the cross " "compilation of xxlimited when Python has been built with Py_DEBUG defined." msgstr "" #: ../build/NEWS:16518 ../build/NEWS:20622 msgid "" "`bpo-23722 `__: Rather than silently " "producing a class that doesn't support zero-argument ``super()`` in methods, " "failing to pass the new ``__classcell__`` namespace entry up to ``type." "__new__`` now results in a ``DeprecationWarning`` and a class that supports " "zero-argument ``super()``." msgstr "" #: ../build/NEWS:16524 ../build/NEWS:20628 msgid "" "`bpo-28797 `__: Modifying the class " "__dict__ inside the __set_name__ method of a descriptor that is used inside " "that class no longer prevents calling the __set_name__ method of other " "descriptors." msgstr "" #: ../build/NEWS:16528 msgid "" "`bpo-28799 `__: Remove the " "``PyEval_GetCallStats()`` function and deprecate the untested and " "undocumented ``sys.callstats()`` function. Remove the ``CALL_PROFILE`` " "special build: use the :func:`sys.setprofile` function, :mod:`cProfile` or :" "mod:`profile` to profile function calls." msgstr "" #: ../build/NEWS:16533 msgid "" "`bpo-12844 `__: More than 255 arguments " "can now be passed to a function." msgstr "" #: ../build/NEWS:16535 ../build/NEWS:20632 msgid "" "`bpo-28782 `__: Fix a bug in the " "implementation ``yield from`` when checking if the next instruction is " "YIELD_FROM. Regression introduced by WORDCODE (`bpo-26647 `__)." msgstr "" #: ../build/NEWS:16539 msgid "" "`bpo-28774 `__: Fix error position of " "the unicode error in ASCII and Latin1 encoders when a string returned by the " "error handler contains multiple non-encodable characters (non-ASCII for the " "ASCII codec, characters out of the U+0000-U+00FF range for Latin1)." msgstr "" #: ../build/NEWS:16544 ../build/NEWS:20330 msgid "" "`bpo-28731 `__: Optimize " "_PyDict_NewPresized() to create correct size dict. Improve speed of dict " "literal with constant keys up to 30%." msgstr "" #: ../build/NEWS:16547 ../build/NEWS:20686 msgid "" "`bpo-28532 `__: Show sys.version when -V " "option is supplied twice." msgstr "" #: ../build/NEWS:16549 ../build/NEWS:20688 msgid "" "`bpo-27100 `__: The with-statement now " "checks for __enter__ before it checks for __exit__. This gives less " "confusing error messages when both methods are missing. Patch by Jonathan " "Ellington." msgstr "" #: ../build/NEWS:16553 ../build/NEWS:20692 msgid "" "`bpo-28746 `__: Fix the " "set_inheritable() file descriptor method on platforms that do not have the " "ioctl FIOCLEX and FIONCLEX commands." msgstr "" #: ../build/NEWS:16556 ../build/NEWS:20695 msgid "" "`bpo-26920 `__: Fix not getting the " "locale's charset upon initializing the interpreter, on platforms that do not " "have langinfo." msgstr "" #: ../build/NEWS:16559 ../build/NEWS:20698 ../build/NEWS:24268 msgid "" "`bpo-28648 `__: Fixed crash in " "Py_DecodeLocale() in debug build on Mac OS X when decode astral characters. " "Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:16562 ../build/NEWS:20704 msgid "" "`bpo-28665 `__: Improve speed of the " "STORE_DEREF opcode by 40%." msgstr "" #: ../build/NEWS:16564 ../build/NEWS:20701 ../build/NEWS:24271 msgid "" "`bpo-19398 `__: Extra slash no longer " "added to sys.path components in case of empty compile-time PYTHONPATH " "components." msgstr "" #: ../build/NEWS:16567 msgid "" "`bpo-28621 `__: Sped up converting int " "to float by reusing faster bits counting implementation. Patch by Adrian " "Wielgosik." msgstr "" #: ../build/NEWS:16570 msgid "" "`bpo-28580 `__: Optimize iterating split " "table values. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:16572 ../build/NEWS:20706 msgid "" "`bpo-28583 `__: PyDict_SetDefault didn't " "combine split table when needed. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:16575 ../build/NEWS:20800 msgid "" "`bpo-28128 `__: Deprecation warning for " "invalid str and byte escape sequences now prints better information about " "where the error occurs. Patch by Serhiy Storchaka and Eric Smith." msgstr "" #: ../build/NEWS:16579 ../build/NEWS:20804 msgid "" "`bpo-28509 `__: dict.update() no longer " "allocate unnecessary large memory." msgstr "" #: ../build/NEWS:16581 ../build/NEWS:20806 ../build/NEWS:24274 msgid "" "`bpo-28426 `__: Fixed potential crash in " "PyUnicode_AsDecodedObject() in debug build." msgstr "" #: ../build/NEWS:16584 ../build/NEWS:20809 msgid "" "`bpo-28517 `__: Fixed of-by-one error in " "the peephole optimizer that caused keeping unreachable code." msgstr "" #: ../build/NEWS:16587 ../build/NEWS:20812 msgid "" "`bpo-28214 `__: Improved exception " "reporting for problematic __set_name__ attributes." msgstr "" #: ../build/NEWS:16590 ../build/NEWS:20815 ../build/NEWS:24277 msgid "" "`bpo-23782 `__: Fixed possible memory " "leak in _PyTraceback_Add() and exception loss in PyTraceBack_Here()." msgstr "" #: ../build/NEWS:16593 ../build/NEWS:20924 msgid "" "`bpo-28183 `__: Optimize and cleanup " "dict iteration." msgstr "" #: ../build/NEWS:16595 ../build/NEWS:20926 msgid "" "`bpo-26081 `__: Added C implementation " "of asyncio.Future. Original patch by Yury Selivanov." msgstr "" #: ../build/NEWS:16598 ../build/NEWS:20929 ../build/NEWS:24280 msgid "" "`bpo-28379 `__: Added sanity checks and " "tests for PyUnicode_CopyCharacters(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:16601 ../build/NEWS:20932 ../build/NEWS:24283 msgid "" "`bpo-28376 `__: The type of long range " "iterator is now registered as Iterator. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16604 msgid "" "`bpo-28376 `__: Creating instances of " "range_iterator by calling range_iterator type now is disallowed. Calling " "iter() on range instance is the only way. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16608 ../build/NEWS:20941 ../build/NEWS:24289 msgid "" "`bpo-26906 `__: Resolving special " "methods of uninitialized type now causes implicit initialization of the type " "instead of a fail." msgstr "" #: ../build/NEWS:16611 ../build/NEWS:20944 ../build/NEWS:24292 msgid "" "`bpo-18287 `__: PyType_Ready() now " "checks that tp_name is not NULL. Original patch by Niklas Koep." msgstr "" #: ../build/NEWS:16614 ../build/NEWS:20947 ../build/NEWS:24295 msgid "" "`bpo-24098 `__: Fixed possible crash " "when AST is changed in process of compiling it." msgstr "" #: ../build/NEWS:16617 ../build/NEWS:20950 msgid "" "`bpo-28201 `__: Dict reduces possibility " "of 2nd conflict in hash table when hashes have same lower bits." msgstr "" #: ../build/NEWS:16620 ../build/NEWS:20953 ../build/NEWS:24298 msgid "" "`bpo-28350 `__: String constants with " "null character no longer interned." msgstr "" #: ../build/NEWS:16622 ../build/NEWS:20955 ../build/NEWS:24300 msgid "" "`bpo-26617 `__: Fix crash when GC runs " "during weakref callbacks." msgstr "" #: ../build/NEWS:16624 ../build/NEWS:20957 ../build/NEWS:24302 msgid "" "`bpo-27942 `__: String constants now " "interned recursively in tuples and frozensets." msgstr "" #: ../build/NEWS:16627 msgid "" "`bpo-28289 `__: ImportError.__init__ now " "resets not specified attributes." msgstr "" #: ../build/NEWS:16629 ../build/NEWS:20960 ../build/NEWS:24305 msgid "" "`bpo-21578 `__: Fixed misleading error " "message when ImportError called with invalid keyword args." msgstr "" #: ../build/NEWS:16632 ../build/NEWS:20963 msgid "" "`bpo-28203 `__: Fix incorrect type in " "complex(1.0, {2:3}) error message. Patch by Soumya Sharma." msgstr "" #: ../build/NEWS:16635 ../build/NEWS:20966 msgid "" "`bpo-28086 `__: Single var-positional " "argument of tuple subtype was passed unscathed to the C-defined function. " "Now it is converted to exact tuple." msgstr "" #: ../build/NEWS:16638 ../build/NEWS:20969 msgid "" "`bpo-28214 `__: Now __set_name__ is " "looked up on the class instead of the instance." msgstr "" #: ../build/NEWS:16641 ../build/NEWS:20972 ../build/NEWS:24311 msgid "" "`bpo-27955 `__: Fallback on reading /dev/" "urandom device when the getrandom() syscall fails with EPERM, for example " "when blocked by SECCOMP." msgstr "" #: ../build/NEWS:16644 ../build/NEWS:20975 msgid "" "`bpo-28192 `__: Don't import readline in " "isolated mode." msgstr "" #: ../build/NEWS:16646 msgid "" "`bpo-27441 `__: Remove some redundant " "assignments to ob_size in longobject.c. Thanks Oren Milman." msgstr "" #: ../build/NEWS:16649 msgid "" "`bpo-27222 `__: Clean up redundant code " "in long_rshift function. Thanks Oren Milman." msgstr "" #: ../build/NEWS:16652 ../build/NEWS:20977 msgid "Upgrade internal unicode databases to Unicode version 9.0.0." msgstr "" #: ../build/NEWS:16654 ../build/NEWS:20979 ../build/NEWS:24314 msgid "" "`bpo-28131 `__: Fix a regression in " "zipimport's compile_source(). zipimport should use the same optimization " "level as the interpreter." msgstr "" #: ../build/NEWS:16657 ../build/NEWS:20982 msgid "" "`bpo-28126 `__: Replace Py_MEMCPY with " "memcpy(). Visual Studio can properly optimize memcpy()." msgstr "" #: ../build/NEWS:16660 ../build/NEWS:20985 msgid "" "`bpo-28120 `__: Fix dict.pop() for " "splitted dictionary when trying to remove a \"pending key\" (Not yet " "inserted in split-table). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:16663 ../build/NEWS:20988 msgid "" "`bpo-26182 `__: Raise DeprecationWarning " "when async and await keywords are used as variable/attribute/class/function " "name." msgstr "" #: ../build/NEWS:16666 ../build/NEWS:20713 msgid "" "`bpo-26182 `__: Fix a refleak in code " "that raises DeprecationWarning." msgstr "" #: ../build/NEWS:16668 ../build/NEWS:20715 msgid "" "`bpo-28721 `__: Fix asynchronous " "generators aclose() and athrow() to handle StopAsyncIteration propagation " "properly." msgstr "" #: ../build/NEWS:16671 msgid "" "`bpo-26110 `__: Speed-up method calls: " "add LOAD_METHOD and CALL_METHOD opcodes." msgstr "" #: ../build/NEWS:16676 ../build/NEWS:19483 msgid "" "`bpo-31499 `__: xml.etree: Fix a crash " "when a parser is part of a reference cycle." msgstr "" #: ../build/NEWS:16679 ../build/NEWS:19206 msgid "" "`bpo-31482 `__: ``random.seed()`` now " "works with bytes in version=1" msgstr "" #: ../build/NEWS:16681 ../build/NEWS:19486 msgid "" "`bpo-28556 `__: typing.get_type_hints " "now finds the right globalns for classes and modules by default (when no " "``globalns`` was specified by the caller)." msgstr "" #: ../build/NEWS:16684 ../build/NEWS:19489 msgid "" "`bpo-28556 `__: Speed improvements to " "the ``typing`` module. Original PRs by Ivan Levkivskyi and Mitar." msgstr "" #: ../build/NEWS:16687 ../build/NEWS:19492 msgid "" "`bpo-31544 `__: The C accelerator module " "of ElementTree ignored exceptions raised when looking up TreeBuilder target " "methods in XMLParser()." msgstr "" #: ../build/NEWS:16690 ../build/NEWS:19495 msgid "" "`bpo-31234 `__: socket." "create_connection() now fixes manually a reference cycle: clear the variable " "storing the last exception on success." msgstr "" #: ../build/NEWS:16693 ../build/NEWS:19498 msgid "" "`bpo-31457 `__: LoggerAdapter objects " "can now be nested." msgstr "" #: ../build/NEWS:16695 msgid "" "`bpo-31431 `__: SSLContext." "check_hostname now automatically sets SSLContext.verify_mode to ssl." "CERT_REQUIRED instead of failing with a ValueError." msgstr "" #: ../build/NEWS:16699 msgid "" "`bpo-31233 `__: socketserver." "ThreadingMixIn now keeps a list of non-daemonic threads to wait until all " "these threads complete in server_close()." msgstr "" #: ../build/NEWS:16702 msgid "" "`bpo-28638 `__: Changed the " "implementation strategy for collections.namedtuple() to substantially reduce " "the use of exec() in favor of precomputed methods. As a result, the " "*verbose* parameter and *_source* attribute are no longer supported. The " "benefits include 1) having a smaller memory footprint for applications using " "multiple named tuples, 2) faster creation of the named tuple class (approx " "4x to 6x depending on how it is measured), and 3) minor speed-ups for " "instance creation using __new__, _make, and _replace. (The primary patch " "contributor is Jelle Zijlstra with further improvements by INADA Naoki, " "Serhiy Storchaka, and Raymond Hettinger.)" msgstr "" #: ../build/NEWS:16713 ../build/NEWS:19500 msgid "" "`bpo-31400 `__: Improves SSL error " "handling to avoid losing error numbers." msgstr "" #: ../build/NEWS:16715 msgid "" "`bpo-27629 `__: Make return types of " "SSLContext.wrap_bio() and SSLContext.wrap_socket() customizable." msgstr "" #: ../build/NEWS:16718 ../build/NEWS:19502 msgid "" "`bpo-28958 `__: ssl.SSLContext() now " "uses OpenSSL error information when a context cannot be instantiated." msgstr "" #: ../build/NEWS:16721 msgid "" "`bpo-28182 `__: The SSL module now " "raises SSLCertVerificationError when OpenSSL fails to verify the peer's " "certificate. The exception contains more information about the error." msgstr "" #: ../build/NEWS:16725 ../build/NEWS:19505 msgid "" "`bpo-27340 `__: SSLSocket.sendall() now " "uses memoryview to create slices of data. This fixes support for all bytes-" "like object. It is also more efficient and avoids costly copies." msgstr "" #: ../build/NEWS:16729 msgid "" "`bpo-14191 `__: A new function " "``argparse.ArgumentParser.parse_intermixed_args`` provides the ability to " "parse command lines where there user intermixes options and positional " "arguments." msgstr "" #: ../build/NEWS:16734 ../build/NEWS:19509 msgid "" "`bpo-31178 `__: Fix string concatenation " "bug in rare error path in the subprocess module" msgstr "" #: ../build/NEWS:16737 ../build/NEWS:19512 msgid "" "`bpo-31350 `__: Micro-optimize :func:" "`asyncio._get_running_loop` to become up to 10% faster." msgstr "" #: ../build/NEWS:16740 ../build/NEWS:19515 ../build/NEWS:23807 msgid "" "`bpo-31170 `__: expat: Update libexpat " "from 2.2.3 to 2.2.4. Fix copying of partial characters for UTF-8 input " "(libexpat bug 115): https://github.com/libexpat/libexpat/issues/115" msgstr "" #: ../build/NEWS:16744 ../build/NEWS:19519 msgid "" "`bpo-29136 `__: Add TLS 1.3 cipher " "suites and OP_NO_TLSv1_3." msgstr "" #: ../build/NEWS:16746 msgid "" "`bpo-1198569 `__: ``string.Template`` " "subclasses can optionally define ``braceidpattern`` if they want to specify " "different placeholder patterns inside and outside the braces. If None (the " "default) it falls back to ``idpattern``." msgstr "" #: ../build/NEWS:16751 msgid "" "`bpo-31326 `__: concurrent.futures." "ProcessPoolExecutor.shutdown() now explicitly closes the call queue. " "Moreover, shutdown(wait=True) now also join the call queue thread, to " "prevent leaking a dangling thread." msgstr "" #: ../build/NEWS:16755 ../build/NEWS:19530 msgid "" "`bpo-27144 `__: The ``map()`` and " "``as_completed()`` iterators in ``concurrent.futures`` now avoid keeping a " "reference to yielded objects." msgstr "" #: ../build/NEWS:16758 msgid "" "`bpo-31281 `__: Fix ``fileinput." "FileInput(files, inplace=True)`` when ``files`` contain ``pathlib.Path`` " "objects." msgstr "" #: ../build/NEWS:16761 ../build/NEWS:19533 msgid "" "`bpo-10746 `__: Fix ctypes producing " "wrong :pep:`3118` type codes for integer types." msgstr "" #: ../build/NEWS:16764 msgid "" "`bpo-27584 `__: ``AF_VSOCK`` has been " "added to the socket interface which allows communication between virtual " "machines and their host." msgstr "" #: ../build/NEWS:16767 ../build/NEWS:19536 msgid "" "`bpo-22536 `__: The subprocess module " "now sets the filename when FileNotFoundError is raised on POSIX systems due " "to the executable or cwd not being found." msgstr "" #: ../build/NEWS:16771 msgid "" "`bpo-29741 `__: Update some methods in " "the _pyio module to also accept integer types. Patch by Oren Milman." msgstr "" #: ../build/NEWS:16774 ../build/NEWS:19540 msgid "" "`bpo-31249 `__: concurrent.futures: " "WorkItem.run() used by ThreadPoolExecutor now breaks a reference cycle " "between an exception object and the WorkItem object." msgstr "" #: ../build/NEWS:16778 ../build/NEWS:19544 msgid "" "`bpo-31247 `__: xmlrpc.server now " "explicitly breaks reference cycles when using sys.exc_info() in code " "handling exceptions." msgstr "" #: ../build/NEWS:16781 msgid "" "`bpo-23835 `__: configparser: reading " "defaults in the ``ConfigParser()`` constructor is now using ``read_dict()``, " "making its behavior consistent with the rest of the parser. Non-string keys " "and values in the defaults dictionary are now being implicitly converted to " "strings. Patch by James Tocknell." msgstr "" #: ../build/NEWS:16787 ../build/NEWS:18461 msgid "" "`bpo-31238 `__: pydoc: the stop() method " "of the private ServerThread class now waits until DocServer." "serve_until_quit() completes and then explicitly sets its docserver " "attribute to None to break a reference cycle." msgstr "" #: ../build/NEWS:16791 msgid "" "`bpo-5001 `__: Many asserts in " "`multiprocessing` are now more informative, and some error types have been " "changed to more specific ones." msgstr "" #: ../build/NEWS:16794 msgid "" "`bpo-31109 `__: Convert zipimport to use " "Argument Clinic." msgstr "" #: ../build/NEWS:16796 ../build/NEWS:19547 msgid "" "`bpo-30102 `__: The ssl and hashlib " "modules now call OPENSSL_add_all_algorithms_noconf() on OpenSSL < 1.1.0. The " "function detects CPU features and enables optimizations on some CPU " "architectures such as POWER8. Patch is based on research from Gustavo Serra " "Scalet." msgstr "" #: ../build/NEWS:16801 msgid "" "`bpo-18966 `__: Non-daemonic threads " "created by a multiprocessing.Process are now joined on child exit." msgstr "" #: ../build/NEWS:16804 msgid "" "`bpo-31183 `__: `dis` now works with " "asynchronous generator and coroutine objects. Patch by George Collins based " "on diagnosis by Luciano Ramalho." msgstr "" #: ../build/NEWS:16807 msgid "" "`bpo-5001 `__: There are a number of " "uninformative asserts in the `multiprocessing` module, as noted in issue " "5001. This change fixes two of the most potentially problematic ones, since " "they are in error-reporting code, in the `multiprocessing.managers." "convert_to_error` function. (It also makes more informative a ValueError " "message.) The only potentially problematic change is that the AssertionError " "is now a TypeError; however, this should also help distinguish it from an " "AssertionError being *reported* by the function/its caller (such as in issue " "31169). - Patch by Allen W. Smith (drallensmith on github)." msgstr "" #: ../build/NEWS:16817 ../build/NEWS:19552 msgid "" "`bpo-31185 `__: Fixed miscellaneous " "errors in asyncio speedup module." msgstr "" #: ../build/NEWS:16819 msgid "" "`bpo-31151 `__: socketserver." "ForkingMixIn.server_close() now waits until all child processes completed to " "prevent leaking zombie processes." msgstr "" #: ../build/NEWS:16822 msgid "" "`bpo-31072 `__: Add an ``include_file`` " "parameter to ``zipapp.create_archive()``" msgstr "" #: ../build/NEWS:16825 msgid "" "`bpo-24700 `__: Optimize array.array " "comparison. It is now from 10x up to 70x faster when comparing arrays " "holding values of the same integer type." msgstr "" #: ../build/NEWS:16828 ../build/NEWS:19554 msgid "" "`bpo-31135 `__: ttk: fix the destroy() " "method of LabeledScale and OptionMenu classes. Call the parent destroy() " "method even if the used attribute doesn't exist. The LabeledScale.destroy() " "method now also explicitly clears label and scale attributes to help the " "garbage collector to destroy all widgets." msgstr "" #: ../build/NEWS:16834 ../build/NEWS:19560 msgid "" "`bpo-31107 `__: Fix `copyreg." "_slotnames()` mangled attribute calculation for classes whose name begins " "with an underscore. Patch by Shane Harvey." msgstr "" #: ../build/NEWS:16837 msgid "" "`bpo-31080 `__: Allow `logging.config." "fileConfig` to accept kwargs and/or args." msgstr "" #: ../build/NEWS:16839 msgid "" "`bpo-30897 `__: ``pathlib.Path`` objects " "now include an ``is_mount()`` method (only implemented on POSIX). This is " "similar to ``os.path.ismount(p)``. Patch by Cooper Ry Lees." msgstr "" #: ../build/NEWS:16843 ../build/NEWS:19563 msgid "" "`bpo-31061 `__: Fixed a crash when using " "asyncio and threads." msgstr "" #: ../build/NEWS:16845 msgid "" "`bpo-30987 `__: Added support for CAN " "ISO-TP protocol in the socket module." msgstr "" #: ../build/NEWS:16847 msgid "" "`bpo-30522 `__: Added a ``setStream`` " "method to ``logging.StreamHandler`` to allow the stream to be set after " "creation." msgstr "" #: ../build/NEWS:16850 ../build/NEWS:19565 msgid "" "`bpo-30502 `__: Fix handling of long " "oids in ssl. Based on patch by Christian Heimes." msgstr "" #: ../build/NEWS:16853 msgid "" "`bpo-5288 `__: Support tzinfo objects " "with sub-minute offsets." msgstr "" #: ../build/NEWS:16855 msgid "" "`bpo-30919 `__: Fix shared memory " "performance regression in multiprocessing in 3.x. Shared memory used " "anonymous memory mappings in 2.x, while 3.x mmaps actual files. Try to be " "careful to do as little disk I/O as possible." msgstr "" #: ../build/NEWS:16859 msgid "" "`bpo-26732 `__: Fix too many fds in " "processes started with the \"forkserver\" method. A child process would " "inherit as many fds as the number of still-running children." msgstr "" #: ../build/NEWS:16863 ../build/NEWS:19575 ../build/NEWS:23908 msgid "" "`bpo-29403 `__: Fix ``unittest.mock``'s " "autospec to not fail on method-bound builtin functions. Patch by Aaron " "Gallagher." msgstr "" #: ../build/NEWS:16866 ../build/NEWS:19578 ../build/NEWS:23911 msgid "" "`bpo-30961 `__: Fix decrementing a " "borrowed reference in tracemalloc." msgstr "" #: ../build/NEWS:16868 msgid "" "`bpo-19896 `__: Fix multiprocessing." "sharedctypes to recognize typecodes ``'q'`` and ``'Q'``." msgstr "" #: ../build/NEWS:16871 msgid "" "`bpo-30946 `__: Remove obsolete code in " "readline module for platforms where GNU readline is older than 2.1 or where " "select() is not available." msgstr "" #: ../build/NEWS:16874 ../build/NEWS:19580 msgid "" "`bpo-25684 `__: Change ``ttk." "OptionMenu`` radiobuttons to be unique across instances of ``OptionMenu``." msgstr "" #: ../build/NEWS:16877 ../build/NEWS:19583 ../build/NEWS:23913 msgid "" "`bpo-30886 `__: Fix multiprocessing." "Queue.join_thread(): it now waits until the thread completes, even if the " "thread was started by the same process which created the queue." msgstr "" #: ../build/NEWS:16881 ../build/NEWS:19587 ../build/NEWS:23917 msgid "" "`bpo-29854 `__: Fix segfault in readline " "when using readline's history-size option. Patch by Nir Soffer." msgstr "" #: ../build/NEWS:16884 msgid "" "`bpo-30794 `__: Added multiprocessing." "Process.kill method to terminate using the SIGKILL signal on Unix." msgstr "" #: ../build/NEWS:16887 ../build/NEWS:19590 msgid "" "`bpo-30319 `__: socket.close() now " "ignores ECONNRESET error." msgstr "" #: ../build/NEWS:16889 ../build/NEWS:19592 msgid "" "`bpo-30828 `__: Fix out of bounds write " "in `asyncio.CFuture.remove_done_callback()`." msgstr "" #: ../build/NEWS:16892 msgid "" "`bpo-30302 `__: Use keywords in the " "``repr`` of ``datetime.timedelta``." msgstr "" #: ../build/NEWS:16894 ../build/NEWS:19595 ../build/NEWS:23920 msgid "" "`bpo-30807 `__: signal.setitimer() may " "disable the timer when passed a tiny value. Tiny values (such as 1e-6) are " "valid non-zero values for setitimer(), which is specified as taking " "microsecond-resolution intervals. However, on some platform, our conversion " "routine could convert 1e-6 into a zero interval, therefore disabling the " "timer instead of (re-)scheduling it." msgstr "" #: ../build/NEWS:16901 ../build/NEWS:19602 ../build/NEWS:23927 msgid "" "`bpo-30441 `__: Fix bug when modifying " "os.environ while iterating over it" msgstr "" #: ../build/NEWS:16903 msgid "" "`bpo-29585 `__: Avoid importing " "``sysconfig`` from ``site`` to improve startup speed. Python startup is " "about 5% faster on Linux and 30% faster on macOS." msgstr "" #: ../build/NEWS:16906 msgid "" "`bpo-29293 `__: Add missing parameter \"n" "\" on multiprocessing.Condition.notify(). The doc claims multiprocessing." "Condition behaves like threading.Condition, but its notify() method lacked " "the optional \"n\" argument (to specify the number of sleepers to wake up) " "that threading.Condition.notify() accepts." msgstr "" #: ../build/NEWS:16912 ../build/NEWS:19604 ../build/NEWS:23929 msgid "" "`bpo-30532 `__: Fix email header value " "parser dropping folding white space in certain cases." msgstr "" #: ../build/NEWS:16915 msgid "" "`bpo-30596 `__: Add a ``close()`` method " "to ``multiprocessing.Process``." msgstr "" #: ../build/NEWS:16917 ../build/NEWS:19526 msgid "" "`bpo-9146 `__: Fix a segmentation fault " "in _hashopenssl when standard hash functions such as md5 are not available " "in the linked OpenSSL library. As in some special FIPS-140 build " "environments." msgstr "" #: ../build/NEWS:16921 ../build/NEWS:20336 ../build/NEWS:23932 msgid "" "`bpo-29169 `__: Update zlib to 1.2.11." msgstr "" #: ../build/NEWS:16923 ../build/NEWS:19568 ../build/NEWS:23820 msgid "" "`bpo-30119 `__: ftplib.FTP.putline() now " "throws ValueError on commands that contains CR or LF. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:16926 ../build/NEWS:19607 ../build/NEWS:23934 msgid "" "`bpo-30879 `__: os.listdir() and os." "scandir() now emit bytes names when called with bytes-like argument." msgstr "" #: ../build/NEWS:16929 ../build/NEWS:19610 ../build/NEWS:23937 msgid "" "`bpo-30746 `__: Prohibited the '=' " "character in environment variable names in ``os.putenv()`` and ``os." "spawn*()``." msgstr "" #: ../build/NEWS:16932 msgid "" "`bpo-30664 `__: The description of a " "unittest subtest now preserves the order of keyword arguments of TestCase." "subTest()." msgstr "" #: ../build/NEWS:16935 msgid "" "`bpo-21071 `__: struct.Struct.format " "type is now :class:`str` instead of :class:`bytes`." msgstr "" #: ../build/NEWS:16938 ../build/NEWS:19521 msgid "" "`bpo-29212 `__: Fix concurrent.futures." "thread.ThreadPoolExecutor threads to have a non repr() based thread name by " "default when no thread_name_prefix is supplied. They will now identify " "themselves as \"ThreadPoolExecutor-y_n\"." msgstr "" #: ../build/NEWS:16943 ../build/NEWS:19613 ../build/NEWS:23940 msgid "" "`bpo-29755 `__: Fixed the lgettext() " "family of functions in the gettext module. They now always return bytes." msgstr "" #: ../build/NEWS:16946 ../build/NEWS:19939 msgid "" "`bpo-30616 `__: Functional API of enum " "allows to create empty enums. Patched by Dong-hee Na" msgstr "" #: ../build/NEWS:16949 ../build/NEWS:19942 msgid "" "`bpo-30038 `__: Fix race condition " "between signal delivery and wakeup file descriptor. Patch by Nathaniel Smith." msgstr "" #: ../build/NEWS:16952 ../build/NEWS:19945 msgid "" "`bpo-23894 `__: lib2to3 now recognizes " "``rb'...'`` and ``f'...'`` strings." msgstr "" #: ../build/NEWS:16954 msgid "" "`bpo-24744 `__: pkgutil.walk_packages " "function now raises ValueError if *path* is a string. Patch by Sanyam " "Khurana." msgstr "" #: ../build/NEWS:16957 ../build/NEWS:23957 msgid "" "`bpo-24484 `__: Avoid race condition in " "multiprocessing cleanup." msgstr "" #: ../build/NEWS:16959 msgid "" "`bpo-30589 `__: Fix multiprocessing." "Process.exitcode to return the opposite of the signal number when the " "process is killed by a signal (instead of 255) when using the \"forkserver\" " "method." msgstr "" #: ../build/NEWS:16963 ../build/NEWS:19976 ../build/NEWS:23959 msgid "" "`bpo-28994 `__: The traceback no longer " "displayed for SystemExit raised in a callback registered by atexit." msgstr "" #: ../build/NEWS:16966 ../build/NEWS:19979 ../build/NEWS:23962 msgid "" "`bpo-30508 `__: Don't log exceptions if " "Task/Future \"cancel()\" method was called." msgstr "" #: ../build/NEWS:16969 msgid "" "`bpo-30645 `__: Fix path calculation in " "`imp.load_package()`, fixing it for cases when a package is only shipped " "with bytecodes. Patch by Alexandru Ardelean." msgstr "" #: ../build/NEWS:16973 msgid "" "`bpo-11822 `__: The dis.dis() function " "now is able to disassemble nested code objects." msgstr "" #: ../build/NEWS:16976 msgid "" "`bpo-30624 `__: selectors does not take " "KeyboardInterrupt and SystemExit into account, leaving a fd in a bad state " "in case of error. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:16980 ../build/NEWS:19571 msgid "" "`bpo-30595 `__: multiprocessing.Queue." "get() with a timeout now polls its reader in non-blocking mode if it " "succeeded to acquire the lock but the acquire took longer than the timeout." msgstr "" #: ../build/NEWS:16984 ../build/NEWS:19982 ../build/NEWS:23965 msgid "" "`bpo-28556 `__: Updates to typing " "module: Add generic AsyncContextManager, add support for ContextManager on " "all versions. Original PRs by Jelle Zijlstra and Ivan Levkivskyi" msgstr "" #: ../build/NEWS:16988 ../build/NEWS:19961 msgid "" "`bpo-30605 `__: re.compile() no longer " "raises a BytesWarning when compiling a bytes instance with misplaced inline " "modifier. Patch by Roy Williams." msgstr "" #: ../build/NEWS:16991 ../build/NEWS:19986 ../build/NEWS:23969 msgid "" "`bpo-29870 `__: Fix ssl sockets leaks " "when connection is aborted in asyncio/ssl implementation. Patch by Michaël " "Sghaïer." msgstr "" #: ../build/NEWS:16994 ../build/NEWS:19989 ../build/NEWS:23972 msgid "" "`bpo-29743 `__: Closing transport during " "handshake process leaks open socket. Patch by Nikolay Kim" msgstr "" #: ../build/NEWS:16997 ../build/NEWS:19992 ../build/NEWS:23975 msgid "" "`bpo-27585 `__: Fix waiter cancellation " "in asyncio.Lock. Patch by Mathieu Sornay." msgstr "" #: ../build/NEWS:17000 msgid "" "`bpo-30014 `__: modify() method of " "poll(), epoll() and devpoll() based classes of selectors module is around " "10% faster. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:17003 ../build/NEWS:19995 ../build/NEWS:23978 msgid "" "`bpo-30418 `__: On Windows, subprocess." "Popen.communicate() now also ignore EINVAL on stdin.write() if the child " "process is still running but closed the pipe." msgstr "" #: ../build/NEWS:17007 msgid "" "`bpo-30463 `__: Addded empty __slots__ " "to abc.ABC. This allows subclassers to deny __dict__ and __weakref__ " "creation. Patch by Aaron Hall." msgstr "" #: ../build/NEWS:17010 msgid "" "`bpo-30520 `__: Loggers are now " "pickleable." msgstr "" #: ../build/NEWS:17012 ../build/NEWS:20006 msgid "" "`bpo-30557 `__: faulthandler now " "correctly filters and displays exception codes on Windows" msgstr "" #: ../build/NEWS:17015 msgid "" "`bpo-30526 `__: Add TextIOWrapper." "reconfigure() and a TextIOWrapper.write_through attribute." msgstr "" #: ../build/NEWS:17018 msgid "" "`bpo-30245 `__: Fix possible overflow " "when organize struct.pack_into error message. Patch by Yuan Liu." msgstr "" #: ../build/NEWS:17021 ../build/NEWS:20009 ../build/NEWS:23982 msgid "" "`bpo-30378 `__: Fix the problem that " "logging.handlers.SysLogHandler cannot handle IPv6 addresses." msgstr "" #: ../build/NEWS:17024 msgid "" "`bpo-16500 `__: Allow registering at-" "fork handlers." msgstr "" #: ../build/NEWS:17026 msgid "" "`bpo-30470 `__: Deprecate invalid ctypes " "call protection on Windows. Patch by Mariatta Wijaya." msgstr "" #: ../build/NEWS:17029 ../build/NEWS:20015 ../build/NEWS:23988 msgid "" "`bpo-30414 `__: multiprocessing.Queue." "_feed background running thread do not break from main loop on exception." msgstr "" #: ../build/NEWS:17032 ../build/NEWS:20018 ../build/NEWS:23991 msgid "" "`bpo-30003 `__: Fix handling escape " "characters in HZ codec. Based on patch by Ma Lin." msgstr "" #: ../build/NEWS:17035 ../build/NEWS:19950 ../build/NEWS:23950 msgid "" "`bpo-30149 `__: inspect.signature() now " "supports callables with variable-argument parameters wrapped with " "partialmethod. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:17039 msgid "" "`bpo-30436 `__: importlib.find_spec() " "raises ModuleNotFoundError instead of AttributeError if the specified parent " "module is not a package (i.e. lacks a __path__ attribute)." msgstr "" #: ../build/NEWS:17043 ../build/NEWS:20021 ../build/NEWS:23994 msgid "" "`bpo-30301 `__: Fix AttributeError when " "using SimpleQueue.empty() under *spawn* and *forkserver* start methods." msgstr "" #: ../build/NEWS:17046 ../build/NEWS:20028 ../build/NEWS:24001 msgid "" "`bpo-30375 `__: Warnings emitted when " "compile a regular expression now always point to the line in the user code. " "Previously they could point into inners of the re module if emitted from " "inside of groups or conditionals." msgstr "" #: ../build/NEWS:17050 ../build/NEWS:20024 ../build/NEWS:23997 msgid "" "`bpo-30329 `__: imaplib and poplib now " "catch the Windows socket WSAEINVAL error (code 10022) on " "shutdown(SHUT_RDWR): An invalid operation was attempted. This error occurs " "sometimes on SSL connections." msgstr "" #: ../build/NEWS:17054 msgid "" "`bpo-29196 `__: Removed previously " "deprecated in Python 2.4 classes Plist, Dict and _InternalDict in the " "plistlib module. Dict values in the result of functions readPlist() and " "readPlistFromBytes() are now normal dicts. You no longer can use attribute " "access to access items of these dictionaries." msgstr "" #: ../build/NEWS:17059 msgid "" "`bpo-9850 `__: The :mod:`macpath` is now " "deprecated and will be removed in Python 3.8." msgstr "" #: ../build/NEWS:17062 msgid "" "`bpo-30299 `__: Compiling regular " "expression in debug mode on CPython now displays the compiled bytecode in " "human readable form." msgstr "" #: ../build/NEWS:17065 ../build/NEWS:20032 ../build/NEWS:24005 msgid "" "`bpo-30048 `__: Fixed ``Task.cancel()`` " "can be ignored when the task is running coroutine and the coroutine returned " "without any more ``await``." msgstr "" #: ../build/NEWS:17068 ../build/NEWS:20035 msgid "" "`bpo-30266 `__: contextlib." "AbstractContextManager now supports anti-registration by setting __enter__ = " "None or __exit__ = None, following the pattern introduced in `bpo-25958 " "`__. Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:17072 msgid "" "`bpo-30340 `__: Enhanced regular " "expressions optimization. This increased the performance of matching some " "patterns up to 25 times." msgstr "" #: ../build/NEWS:17075 ../build/NEWS:20039 msgid "" "`bpo-30298 `__: Weaken the condition of " "deprecation warnings for inline modifiers. Now allowed several subsequential " "inline modifiers at the start of the pattern (e.g. ``'(?i)(?s)...'``). In " "verbose mode whitespaces and comments now are allowed before and between " "inline modifiers (e.g. ``'(?x) (?i) (?s)...'``)." msgstr "" #: ../build/NEWS:17081 msgid "" "`bpo-30285 `__: Optimized case-" "insensitive matching and searching of regular expressions." msgstr "" #: ../build/NEWS:17084 ../build/NEWS:20045 ../build/NEWS:24008 msgid "" "`bpo-29990 `__: Fix range checking in " "GB18030 decoder. Original patch by Ma Lin." msgstr "" #: ../build/NEWS:17087 msgid "" "`bpo-29979 `__: rewrite cgi." "parse_multipart, reusing the FieldStorage class and making its results " "consistent with those of FieldStorage for multipart/form-data requests. " "Patch by Pierre Quentel." msgstr "" #: ../build/NEWS:17091 ../build/NEWS:20051 ../build/NEWS:24014 msgid "" "`bpo-30243 `__: Removed the __init__ " "methods of _json's scanner and encoder. Misusing them could cause memory " "leaks or crashes. Now scanner and encoder objects are completely " "initialized in the __new__ methods." msgstr "" #: ../build/NEWS:17095 msgid "" "`bpo-30215 `__: Compiled regular " "expression objects with the re.LOCALE flag no longer depend on the locale at " "compile time. Only the locale at matching time affects the result of " "matching." msgstr "" #: ../build/NEWS:17099 ../build/NEWS:20055 ../build/NEWS:24018 msgid "" "`bpo-30185 `__: Avoid KeyboardInterrupt " "tracebacks in forkserver helper process when Ctrl-C is received." msgstr "" #: ../build/NEWS:17102 msgid "" "`bpo-30103 `__: binascii.b2a_uu() and uu." "encode() now support using ``'`'`` as zero instead of space." msgstr "" #: ../build/NEWS:17105 ../build/NEWS:20058 ../build/NEWS:24021 msgid "" "`bpo-28556 `__: Various updates to " "typing module: add typing.NoReturn type, use WrapperDescriptorType, minor " "bug-fixes. Original PRs by Jim Fasarakis-Hilliard and Ivan Levkivskyi." msgstr "" #: ../build/NEWS:17109 ../build/NEWS:20062 ../build/NEWS:24025 msgid "" "`bpo-30205 `__: Fix getsockname() for " "unbound AF_UNIX sockets on Linux." msgstr "" #: ../build/NEWS:17111 msgid "" "`bpo-30228 `__: The seek() and tell() " "methods of io.FileIO now set the internal seekable attribute to avoid one " "syscall on open() (in buffered or text mode)." msgstr "" #: ../build/NEWS:17115 msgid "" "`bpo-30190 `__: unittest's " "assertAlmostEqual and assertNotAlmostEqual provide a better message in case " "of failure which includes the difference between left and right arguments. " "(patch by Giampaolo Rodola')" msgstr "" #: ../build/NEWS:17119 msgid "" "`bpo-30101 `__: Add support for curses." "A_ITALIC." msgstr "" #: ../build/NEWS:17121 ../build/NEWS:19999 msgid "" "`bpo-29822 `__: inspect.isabstract() now " "works during __init_subclass__. Patch by Nate Soares." msgstr "" #: ../build/NEWS:17124 ../build/NEWS:20012 ../build/NEWS:23985 msgid "" "`bpo-29960 `__: Preserve generator state " "when _random.Random.setstate() raises an exception. Patch by Bryan Olson." msgstr "" #: ../build/NEWS:17127 ../build/NEWS:20064 ../build/NEWS:24027 msgid "" "`bpo-30070 `__: Fixed leaks and crashes " "in errors handling in the parser module." msgstr "" #: ../build/NEWS:17130 msgid "" "`bpo-22352 `__: Column widths in the " "output of dis.dis() are now adjusted for large line numbers and instruction " "offsets." msgstr "" #: ../build/NEWS:17133 ../build/NEWS:20067 ../build/NEWS:24030 msgid "" "`bpo-30061 `__: Fixed crashes in IOBase " "methods __next__() and readlines() when readline() or __next__() " "respectively return non-sizeable object. Fixed possible other errors caused " "by not checking results of PyObject_Size(), PySequence_Size(), or " "PyMapping_Size()." msgstr "" #: ../build/NEWS:17138 msgid "" "`bpo-30218 `__: Fix PathLike support for " "shutil.unpack_archive. Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:17141 msgid "" "`bpo-10076 `__: Compiled regular " "expression and match objects in the re module now support copy.copy() and " "copy.deepcopy() (they are considered atomic)." msgstr "" #: ../build/NEWS:17144 ../build/NEWS:20076 ../build/NEWS:24035 msgid "" "`bpo-30068 `__: _io._IOBase.readlines " "will check if it's closed first when hint is present." msgstr "" #: ../build/NEWS:17147 ../build/NEWS:20079 ../build/NEWS:24038 msgid "" "`bpo-29694 `__: Fixed race condition in " "pathlib mkdir with flags parents=True. Patch by Armin Rigo." msgstr "" #: ../build/NEWS:17150 ../build/NEWS:20082 ../build/NEWS:24041 msgid "" "`bpo-29692 `__: Fixed arbitrary " "unchaining of RuntimeError exceptions in contextlib.contextmanager. Patch " "by Siddharth Velankar." msgstr "" #: ../build/NEWS:17153 msgid "" "`bpo-26187 `__: Test that sqlite3 trace " "callback is not called multiple times when schema is changing. Indirectly " "fixed by switching to use sqlite3_prepare_v2() in `bpo-9303 `__. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:17157 ../build/NEWS:20072 msgid "" "`bpo-30017 `__: Allowed calling the " "close() method of the zip entry writer object multiple times. Writing to a " "closed writer now always produces a ValueError." msgstr "" #: ../build/NEWS:17161 ../build/NEWS:20085 ../build/NEWS:24044 msgid "" "`bpo-29998 `__: Pickling and copying " "ImportError now preserves name and path attributes." msgstr "" #: ../build/NEWS:17164 msgid "" "`bpo-29995 `__: re.escape() now escapes " "only regex special characters." msgstr "" #: ../build/NEWS:17166 msgid "" "`bpo-29962 `__: Add math.remainder " "operation, implementing remainder as specified in IEEE 754." msgstr "" #: ../build/NEWS:17169 msgid "" "`bpo-29649 `__: Improve struct." "pack_into() exception messages for problems with the buffer size and " "offset. Patch by Andrew Nester." msgstr "" #: ../build/NEWS:17172 msgid "" "`bpo-29654 `__: Support If-Modified-" "Since HTTP header (browser cache). Patch by Pierre Quentel." msgstr "" #: ../build/NEWS:17175 ../build/NEWS:19958 ../build/NEWS:23954 msgid "" "`bpo-29931 `__: Fixed comparison check " "for ipaddress.ip_interface objects. Patch by Sanjay Sundaresan." msgstr "" #: ../build/NEWS:17178 ../build/NEWS:20088 msgid "" "`bpo-29953 `__: Fixed memory leaks in " "the replace() method of datetime and time objects when pass out of bound " "fold argument." msgstr "" #: ../build/NEWS:17181 ../build/NEWS:20091 ../build/NEWS:24047 msgid "" "`bpo-29942 `__: Fix a crash in itertools." "chain.from_iterable when encountering long runs of empty iterables." msgstr "" #: ../build/NEWS:17184 msgid "" "`bpo-10030 `__: Sped up reading " "encrypted ZIP files by 2 times." msgstr "" #: ../build/NEWS:17186 msgid "" "`bpo-29204 `__: Element.getiterator() " "and the html parameter of XMLParser() were deprecated only in the " "documentation (since Python 3.2 and 3.4 correspondingly). Now using them " "emits a deprecation warning." msgstr "" #: ../build/NEWS:17190 ../build/NEWS:20094 ../build/NEWS:24050 msgid "" "`bpo-27863 `__: Fixed multiple crashes " "in ElementTree caused by race conditions and wrong types." msgstr "" #: ../build/NEWS:17193 msgid "" "`bpo-25996 `__: Added support of file " "descriptors in os.scandir() on Unix. os.fwalk() is sped up by 2 times by " "using os.scandir()." msgstr "" #: ../build/NEWS:17196 ../build/NEWS:20097 ../build/NEWS:24053 msgid "" "`bpo-28699 `__: Fixed a bug in pools in " "multiprocessing.pool that raising an exception at the very first of an " "iterable may swallow the exception or make the program hang. Patch by Davin " "Potts and Xiang Zhang." msgstr "" #: ../build/NEWS:17200 ../build/NEWS:19947 ../build/NEWS:23947 msgid "" "`bpo-23890 `__: unittest.TestCase." "assertRaises() now manually breaks a reference cycle to not keep objects " "alive longer than expected." msgstr "" #: ../build/NEWS:17203 msgid "" "`bpo-29901 `__: The zipapp module now " "supports general path-like objects, not just pathlib.Path." msgstr "" #: ../build/NEWS:17206 ../build/NEWS:20101 ../build/NEWS:24057 msgid "" "`bpo-25803 `__: Avoid incorrect errors " "raised by Path.mkdir(exist_ok=True) when the OS gives priority to errors " "such as EACCES over EEXIST." msgstr "" #: ../build/NEWS:17209 ../build/NEWS:20104 ../build/NEWS:24060 msgid "" "`bpo-29861 `__: Release references to " "tasks, their arguments and their results as soon as they are finished in " "multiprocessing.Pool." msgstr "" #: ../build/NEWS:17212 msgid "" "`bpo-19930 `__: The mode argument of os." "makedirs() no longer affects the file permission bits of newly-created " "intermediate-level directories." msgstr "" #: ../build/NEWS:17215 ../build/NEWS:20107 ../build/NEWS:24063 msgid "" "`bpo-29884 `__: faulthandler: Restore " "the old sigaltstack during teardown. Patch by Christophe Zeitouny." msgstr "" #: ../build/NEWS:17218 ../build/NEWS:20110 ../build/NEWS:24066 msgid "" "`bpo-25455 `__: Fixed crashes in repr of " "recursive buffered file-like objects." msgstr "" #: ../build/NEWS:17220 ../build/NEWS:20112 ../build/NEWS:24068 msgid "" "`bpo-29800 `__: Fix crashes in partial." "__repr__ if the keys of partial.keywords are not strings. Patch by Michael " "Seifert." msgstr "" #: ../build/NEWS:17223 ../build/NEWS:20118 ../build/NEWS:24074 msgid "" "`bpo-8256 `__: Fixed possible failing or " "crashing input() if attributes \"encoding\" or \"errors\" of sys.stdin or " "sys.stdout are not set or are not strings." msgstr "" #: ../build/NEWS:17227 msgid "" "`bpo-28692 `__: Using non-integer value " "for selecting a plural form in gettext is now deprecated." msgstr "" #: ../build/NEWS:17230 msgid "" "`bpo-26121 `__: Use C library " "implementation for math functions erf() and erfc()." msgstr "" #: ../build/NEWS:17233 msgid "" "`bpo-29619 `__: os.stat() and os." "DirEntry.inode() now convert inode (st_ino) using unsigned integers." msgstr "" #: ../build/NEWS:17236 msgid "" "`bpo-28298 `__: Fix a bug that prevented " "array 'Q', 'L' and 'I' from accepting big intables (objects that have " "__int__) as elements." msgstr "" #: ../build/NEWS:17239 msgid "" "`bpo-29645 `__: Speed up importing the " "webbrowser module. webbrowser.register() is now thread-safe." msgstr "" #: ../build/NEWS:17242 ../build/NEWS:20126 msgid "" "`bpo-28231 `__: The zipfile module now " "accepts path-like objects for external paths." msgstr "" #: ../build/NEWS:17245 ../build/NEWS:20129 msgid "" "`bpo-26915 `__: index() and count() " "methods of collections.abc.Sequence now check identity before checking " "equality when do comparisons." msgstr "" #: ../build/NEWS:17248 msgid "" "`bpo-28682 `__: Added support for bytes " "paths in os.fwalk()." msgstr "" #: ../build/NEWS:17250 msgid "" "`bpo-29728 `__: Add new :data:`socket." "TCP_NOTSENT_LOWAT` (Linux 3.12) constant. Patch by Nathaniel J. Smith." msgstr "" #: ../build/NEWS:17253 ../build/NEWS:20338 msgid "" "`bpo-29623 `__: Allow use of path-like " "object as a single argument in ConfigParser.read(). Patch by David Ellis." msgstr "" #: ../build/NEWS:17256 msgid "" "`bpo-9303 `__: Migrate sqlite3 module to " "_v2 API. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:17258 ../build/NEWS:20341 msgid "" "`bpo-28963 `__: Fix out of bound " "iteration in asyncio.Future.remove_done_callback implemented in C." msgstr "" #: ../build/NEWS:17261 ../build/NEWS:20344 ../build/NEWS:24086 msgid "" "`bpo-29704 `__: asyncio.subprocess." "SubprocessStreamProtocol no longer closes before all pipes are closed." msgstr "" #: ../build/NEWS:17264 ../build/NEWS:20347 msgid "" "`bpo-29271 `__: Fix Task.current_task " "and Task.all_tasks implemented in C to accept None argument as their pure " "Python implementation." msgstr "" #: ../build/NEWS:17267 ../build/NEWS:20350 ../build/NEWS:24089 msgid "" "`bpo-29703 `__: Fix asyncio to support " "instantiation of new event loops in child processes." msgstr "" #: ../build/NEWS:17270 ../build/NEWS:20132 ../build/NEWS:24082 msgid "" "`bpo-29615 `__: SimpleXMLRPCDispatcher " "no longer chains KeyError (or any other exception) to exception(s) raised in " "the dispatched methods. Patch by Petr Motejlek." msgstr "" #: ../build/NEWS:17274 msgid "" "`bpo-7769 `__: Method register_function() " "of xmlrpc.server.SimpleXMLRPCDispatcher and its subclasses can now be used " "as a decorator." msgstr "" #: ../build/NEWS:17278 ../build/NEWS:20353 ../build/NEWS:24092 msgid "" "`bpo-29376 `__: Fix assertion error in " "threading._DummyThread.is_alive()." msgstr "" #: ../build/NEWS:17280 ../build/NEWS:20355 msgid "" "`bpo-28624 `__: Add a test that checks " "that cwd parameter of Popen() accepts PathLike objects. Patch by Sayan " "Chowdhury." msgstr "" #: ../build/NEWS:17283 ../build/NEWS:20358 msgid "" "`bpo-28518 `__: Start a transaction " "implicitly before a DML statement. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:17286 ../build/NEWS:20115 ../build/NEWS:24071 msgid "" "`bpo-29742 `__: get_extra_info() raises " "exception if get called on closed ssl transport. Patch by Nikolay Kim." msgstr "" #: ../build/NEWS:17289 msgid "" "`bpo-16285 `__: urllib.parse.quote is " "now based on RFC 3986 and hence includes '~' in the set of characters that " "is not quoted by default. Patch by Christian Theune and Ratnadeep Debnath." msgstr "" #: ../build/NEWS:17293 ../build/NEWS:20361 ../build/NEWS:24100 msgid "" "`bpo-29532 `__: Altering a kwarg " "dictionary passed to functools.partial() no longer affects a partial object " "after creation." msgstr "" #: ../build/NEWS:17296 ../build/NEWS:20364 ../build/NEWS:24094 msgid "" "`bpo-29110 `__: Fix file object leak in " "aifc.open() when file is given as a filesystem path and is not in valid AIFF " "format. Patch by Anthony Zhang." msgstr "" #: ../build/NEWS:17299 msgid "" "`bpo-22807 `__: Add uuid.SafeUUID and " "uuid.UUID.is_safe to relay information from the platform about whether " "generated UUIDs are generated with a multiprocessing safe method." msgstr "" #: ../build/NEWS:17303 msgid "" "`bpo-29576 `__: Improve some " "deprecations in importlib. Some deprecated methods now emit " "DeprecationWarnings and have better descriptive messages." msgstr "" #: ../build/NEWS:17306 msgid "" "`bpo-29534 `__: Fixed different " "behaviour of Decimal.from_float() for _decimal and _pydecimal. Thanks Andrew " "Nester." msgstr "" #: ../build/NEWS:17309 msgid "" "`bpo-10379 `__: locale.format_string now " "supports the 'monetary' keyword argument, and locale.format is deprecated." msgstr "" #: ../build/NEWS:17312 msgid "" "`bpo-29851 `__: importlib.reload() now " "raises ModuleNotFoundError if the module lacks a spec." msgstr "" #: ../build/NEWS:17315 ../build/NEWS:20367 ../build/NEWS:24103 msgid "" "`bpo-28556 `__: Various updates to " "typing module: typing.Counter, typing.ChainMap, improved ABC caching, etc. " "Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel Krebber, and Łukasz " "Langa." msgstr "" #: ../build/NEWS:17319 ../build/NEWS:20371 ../build/NEWS:24107 msgid "" "`bpo-29100 `__: Fix datetime." "fromtimestamp() regression introduced in Python 3.6.0: check minimum and " "maximum years." msgstr "" #: ../build/NEWS:17322 ../build/NEWS:20377 ../build/NEWS:24113 msgid "" "`bpo-29416 `__: Prevent infinite loop in " "pathlib.Path.mkdir" msgstr "" #: ../build/NEWS:17324 ../build/NEWS:20379 ../build/NEWS:24115 msgid "" "`bpo-29444 `__: Fixed out-of-bounds " "buffer access in the group() method of the match object. Based on patch by " "WGH." msgstr "" #: ../build/NEWS:17327 msgid "" "`bpo-29377 `__: Add " "WrapperDescriptorType, MethodWrapperType, and MethodDescriptorType built-in " "types to types module. Original patch by Manuel Krebber." msgstr "" #: ../build/NEWS:17331 msgid "" "`bpo-29218 `__: Unused install_misc " "command is now removed. It has been documented as unused since 2000. Patch " "by Eric N. Vander Weele." msgstr "" #: ../build/NEWS:17334 msgid "" "`bpo-29368 `__: The extend() method is " "now called instead of the append() method when unpickle collections.deque " "and other list-like objects. This can speed up unpickling to 2 times." msgstr "" #: ../build/NEWS:17338 msgid "" "`bpo-29338 `__: The help of a builtin or " "extension class now includes the constructor signature if __text_signature__ " "is provided for the class." msgstr "" #: ../build/NEWS:17341 ../build/NEWS:20382 ../build/NEWS:24118 msgid "" "`bpo-29335 `__: Fix subprocess.Popen." "wait() when the child process has exited to a stopped instead of terminated " "state (ex: when under ptrace)." msgstr "" #: ../build/NEWS:17344 ../build/NEWS:20385 ../build/NEWS:24121 msgid "" "`bpo-29290 `__: Fix a regression in " "argparse that help messages would wrap at non-breaking spaces." msgstr "" #: ../build/NEWS:17347 ../build/NEWS:20388 ../build/NEWS:24124 msgid "" "`bpo-28735 `__: Fixed the comparison of " "mock.MagickMock with mock.ANY." msgstr "" #: ../build/NEWS:17349 msgid "" "`bpo-29197 `__: Removed deprecated " "function ntpath.splitunc()." msgstr "" #: ../build/NEWS:17351 msgid "" "`bpo-29210 `__: Removed support of " "deprecated argument \"exclude\" in tarfile.TarFile.add()." msgstr "" #: ../build/NEWS:17354 ../build/NEWS:20393 ../build/NEWS:24128 msgid "" "`bpo-29219 `__: Fixed infinite recursion " "in the repr of uninitialized ctypes.CDLL instances." msgstr "" #: ../build/NEWS:17357 msgid "" "`bpo-29192 `__: Removed deprecated " "features in the http.cookies module." msgstr "" #: ../build/NEWS:17359 msgid "" "`bpo-29193 `__: A format string argument " "for string.Formatter.format() is now positional-only." msgstr "" #: ../build/NEWS:17362 msgid "" "`bpo-29195 `__: Removed support of " "deprecated undocumented keyword arguments in methods of regular expression " "objects." msgstr "" #: ../build/NEWS:17365 ../build/NEWS:20398 ../build/NEWS:24131 msgid "" "`bpo-28969 `__: Fixed race condition in " "C implementation of functools.lru_cache. KeyError could be raised when " "cached function with full cache was simultaneously called from different " "threads with the same uncached arguments." msgstr "" #: ../build/NEWS:17370 msgid "" "`bpo-20804 `__: The unittest.mock." "sentinel attributes now preserve their identity when they are copied or " "pickled." msgstr "" #: ../build/NEWS:17373 ../build/NEWS:20403 ../build/NEWS:24136 msgid "" "`bpo-29142 `__: In urllib.request, " "suffixes in no_proxy environment variable with leading dots could match " "related hostnames again (e.g. .b.c matches a.b.c). Patch by Milan Oberkirch." msgstr "" #: ../build/NEWS:17377 ../build/NEWS:20407 ../build/NEWS:24097 msgid "" "`bpo-28961 `__: Fix unittest.mock._Call " "helper: don't ignore the name parameter anymore. Patch written by Jiajun " "Huang." msgstr "" #: ../build/NEWS:17380 ../build/NEWS:20414 ../build/NEWS:24380 msgid "" "`bpo-15812 `__: inspect.getframeinfo() " "now correctly shows the first line of a context. Patch by Sam Breese." msgstr "" #: ../build/NEWS:17383 msgid "" "`bpo-28985 `__: Update authorizer " "constants in sqlite3 module. Patch by Dingyuan Wang." msgstr "" #: ../build/NEWS:17386 ../build/NEWS:20426 msgid "" "`bpo-29079 `__: Prevent infinite loop in " "pathlib.resolve() on Windows" msgstr "" #: ../build/NEWS:17388 ../build/NEWS:20428 ../build/NEWS:24386 msgid "" "`bpo-13051 `__: Fixed recursion errors " "in large or resized curses.textpad.Textbox. Based on patch by Tycho " "Andersen." msgstr "" #: ../build/NEWS:17391 ../build/NEWS:20435 ../build/NEWS:24393 msgid "" "`bpo-9770 `__: curses.ascii predicates " "now work correctly with negative integers." msgstr "" #: ../build/NEWS:17394 ../build/NEWS:20438 ../build/NEWS:24396 msgid "" "`bpo-28427 `__: old keys should not " "remove new values from WeakValueDictionary when collecting from another " "thread." msgstr "" #: ../build/NEWS:17397 ../build/NEWS:20441 ../build/NEWS:24399 msgid "" "`bpo-28923 `__: Remove editor artifacts " "from Tix.py." msgstr "" #: ../build/NEWS:17399 ../build/NEWS:20446 ../build/NEWS:24401 msgid "" "`bpo-28871 `__: Fixed a crash when " "deallocate deep ElementTree." msgstr "" #: ../build/NEWS:17401 ../build/NEWS:20448 ../build/NEWS:24403 msgid "" "`bpo-19542 `__: Fix bugs in " "WeakValueDictionary.setdefault() and WeakValueDictionary.pop() when a GC " "collection happens in another thread." msgstr "" #: ../build/NEWS:17404 ../build/NEWS:20451 msgid "" "`bpo-20191 `__: Fixed a crash in " "resource.prlimit() when passing a sequence that doesn't own its elements as " "limits." msgstr "" #: ../build/NEWS:17407 msgid "" "`bpo-16255 `__: subprocess.Popen uses /" "system/bin/sh on Android as the shell, instead of /bin/sh." msgstr "" #: ../build/NEWS:17410 ../build/NEWS:20454 ../build/NEWS:24409 msgid "" "`bpo-28779 `__: multiprocessing." "set_forkserver_preload() would crash the forkserver process if a preloaded " "module instantiated some multiprocessing objects such as locks." msgstr "" #: ../build/NEWS:17414 ../build/NEWS:20461 msgid "" "`bpo-26937 `__: The chown() method of " "the tarfile.TarFile class does not fail now when the grp module cannot be " "imported, as for example on Android platforms." msgstr "" #: ../build/NEWS:17418 msgid "" "`bpo-28847 `__: dbm.dumb now supports " "reading read-only files and no longer writes the index file when it is not " "changed. A deprecation warning is now emitted if the index file is missed " "and recreated in the 'r' and 'w' modes (will be an error in future Python " "releases)." msgstr "" #: ../build/NEWS:17423 msgid "" "`bpo-27030 `__: Unknown escapes " "consisting of ``'\\'`` and an ASCII letter in re.sub() replacement templates " "regular expressions now are errors." msgstr "" #: ../build/NEWS:17426 ../build/NEWS:20642 msgid "" "`bpo-28835 `__: Fix a regression " "introduced in warnings.catch_warnings(): call warnings.showwarning() if it " "was overridden inside the context manager." msgstr "" #: ../build/NEWS:17429 ../build/NEWS:20645 msgid "" "`bpo-27172 `__: To assist with upgrades " "from 2.7, the previously documented deprecation of ``inspect." "getfullargspec()`` has been reversed. This decision may be revisited again " "after the Python 2.7 branch is no longer officially supported." msgstr "" #: ../build/NEWS:17434 msgid "" "`bpo-28740 `__: Add sys." "getandroidapilevel(): return the build time API version of Android as an " "integer. Function only available on Android." msgstr "" #: ../build/NEWS:17437 ../build/NEWS:20650 msgid "" "`bpo-26273 `__: Add new :data:`socket." "TCP_CONGESTION` (Linux 2.6.13) and :data:`socket.TCP_USER_TIMEOUT` (Linux " "2.6.37) constants. Patch written by Omar Sandoval." msgstr "" #: ../build/NEWS:17441 ../build/NEWS:20721 msgid "" "`bpo-28752 `__: Restored the " "__reduce__() methods of datetime objects." msgstr "" #: ../build/NEWS:17443 ../build/NEWS:20723 msgid "" "`bpo-28727 `__: Regular expression " "patterns, _sre.SRE_Pattern objects created by re.compile(), become " "comparable (only x==y and x!=y operators). This change should fix the " "`bpo-18383 `__: don't duplicate warning " "filters when the warnings module is reloaded (thing usually only done in " "unit tests)." msgstr "" #: ../build/NEWS:17448 msgid "" "`bpo-20572 `__: Remove the subprocess." "Popen.wait endtime parameter. It was deprecated in 3.4 and undocumented " "prior to that." msgstr "" #: ../build/NEWS:17451 ../build/NEWS:20731 ../build/NEWS:24416 msgid "" "`bpo-25659 `__: In ctypes, prevent a " "crash calling the from_buffer() and from_buffer_copy() methods on abstract " "classes like Array." msgstr "" #: ../build/NEWS:17454 msgid "" "`bpo-28548 `__: In the \"http.server\" " "module, parse the protocol version if possible, to avoid using HTTP 0.9 in " "some error responses." msgstr "" #: ../build/NEWS:17457 ../build/NEWS:20734 msgid "" "`bpo-19717 `__: Makes Path.resolve() " "succeed on paths that do not exist. Patch by Vajrasky Kok" msgstr "" #: ../build/NEWS:17460 ../build/NEWS:20737 msgid "" "`bpo-28563 `__: Fixed possible DoS and " "arbitrary code execution when handle plural form selections in the gettext " "module. The expression parser now supports exact syntax supported by GNU " "gettext." msgstr "" #: ../build/NEWS:17464 ../build/NEWS:20741 ../build/NEWS:24425 msgid "" "`bpo-28387 `__: Fixed possible crash in " "_io.TextIOWrapper deallocator when the garbage collector is invoked in other " "thread. Based on patch by Sebastian Cufre." msgstr "" #: ../build/NEWS:17468 ../build/NEWS:20824 ../build/NEWS:24429 msgid "" "`bpo-27517 `__: LZMA compressor and " "decompressor no longer raise exceptions if given empty data twice. Patch by " "Benjamin Fogle." msgstr "" #: ../build/NEWS:17471 ../build/NEWS:20827 ../build/NEWS:24432 msgid "" "`bpo-28549 `__: Fixed segfault in " "curses's addch() with ncurses6." msgstr "" #: ../build/NEWS:17473 ../build/NEWS:20829 ../build/NEWS:24434 msgid "" "`bpo-28449 `__: tarfile.open() with mode " "\"r\" or \"r:\" now tries to open a tar file with compression before trying " "to open it without compression. Otherwise it had 50% chance failed with " "ignore_zeros=True." msgstr "" #: ../build/NEWS:17477 ../build/NEWS:20833 ../build/NEWS:24438 msgid "" "`bpo-23262 `__: The webbrowser module " "now supports Firefox 36+ and derived browsers. Based on patch by Oleg " "Broytman." msgstr "" #: ../build/NEWS:17480 msgid "" "`bpo-24241 `__: The webbrowser in an X " "environment now prefers using the default browser directly. Also, the " "webbrowser register() function now has a documented 'preferred' argument, to " "specify browsers to be returned by get() with no arguments. Patch by David " "Steele" msgstr "" #: ../build/NEWS:17485 ../build/NEWS:20836 ../build/NEWS:24441 msgid "" "`bpo-27939 `__: Fixed bugs in tkinter." "ttk.LabeledScale and tkinter.Scale caused by representing the scale as float " "value internally in Tk. tkinter.IntVar now works if float value is set to " "underlying Tk variable." msgstr "" #: ../build/NEWS:17489 msgid "" "`bpo-28255 `__: calendar.TextCalendar." "prweek() no longer prints a space after a weeks's calendar. calendar." "TextCalendar.pryear() no longer prints redundant newline after a year's " "calendar. Based on patch by Xiang Zhang." msgstr "" #: ../build/NEWS:17493 msgid "" "`bpo-28255 `__: calendar.TextCalendar." "prmonth() no longer prints a space at the start of new line after printing a " "month's calendar. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:17497 ../build/NEWS:20847 ../build/NEWS:24449 msgid "" "`bpo-20491 `__: The textwrap.TextWrapper " "class now honors non-breaking spaces. Based on patch by Kaarle Ritvanen." msgstr "" #: ../build/NEWS:17500 ../build/NEWS:20850 ../build/NEWS:24452 msgid "" "`bpo-28353 `__: os.fwalk() no longer " "fails on broken links." msgstr "" #: ../build/NEWS:17502 ../build/NEWS:20852 msgid "" "`bpo-28430 `__: Fix iterator of C " "implemented asyncio.Future doesn't accept non-None value is passed to it." "send(val)." msgstr "" #: ../build/NEWS:17505 ../build/NEWS:20855 msgid "" "`bpo-27025 `__: Generated names for " "Tkinter widgets now start by the \"!\" prefix for readability." msgstr "" #: ../build/NEWS:17508 ../build/NEWS:20858 ../build/NEWS:24454 msgid "" "`bpo-25464 `__: Fixed HList." "header_exists() in tkinter.tix module by addin a workaround to Tix library " "bug." msgstr "" #: ../build/NEWS:17511 ../build/NEWS:20861 msgid "" "`bpo-28488 `__: shutil.make_archive() no " "longer adds entry \"./\" to ZIP archive." msgstr "" #: ../build/NEWS:17513 ../build/NEWS:20863 msgid "" "`bpo-25953 `__: re.sub() now raises an " "error for invalid numerical group reference in replacement template even if " "the pattern is not found in the string. Error message for invalid group " "reference now includes the group index and the position of the reference. " "Based on patch by SilentGhost." msgstr "" #: ../build/NEWS:17518 msgid "" "`bpo-28469 `__: timeit now uses the " "sequence 1, 2, 5, 10, 20, 50,... instead of 1, 10, 100,... for autoranging." msgstr "" #: ../build/NEWS:17521 msgid "" "`bpo-28115 `__: Command-line interface " "of the zipfile module now uses argparse. Added support of long options." msgstr "" #: ../build/NEWS:17524 ../build/NEWS:20868 msgid "" "`bpo-18219 `__: Optimize csv.DictWriter " "for large number of columns. Patch by Mariatta Wijaya." msgstr "" #: ../build/NEWS:17527 ../build/NEWS:20871 msgid "" "`bpo-28448 `__: Fix C implemented " "asyncio.Future didn't work on Windows." msgstr "" #: ../build/NEWS:17529 msgid "" "`bpo-23214 `__: In the \"io\" module, " "the argument to BufferedReader and BytesIO's read1() methods is now optional " "and can be -1, matching the BufferedIOBase specification." msgstr "" #: ../build/NEWS:17533 ../build/NEWS:20873 msgid "" "`bpo-28480 `__: Fix error building " "socket module when multithreading is disabled." msgstr "" #: ../build/NEWS:17536 msgid "" "`bpo-28240 `__: timeit: remove ``-c/--" "clock`` and ``-t/--time`` command line options which were deprecated since " "Python 3.3." msgstr "" #: ../build/NEWS:17539 msgid "" "`bpo-28240 `__: timeit now repeats the " "benchmarks 5 times instead of only 3 to make benchmarks more reliable." msgstr "" #: ../build/NEWS:17542 msgid "" "`bpo-28240 `__: timeit autorange now " "uses a single loop iteration if the benchmark takes less than 10 seconds, " "instead of 10 iterations. \"python3 -m timeit -s 'import time' 'time." "sleep(1)'\" now takes 4 seconds instead of 40 seconds." msgstr "" #: ../build/NEWS:17547 msgid "" "Distutils.sdist now looks for README and setup.py files with case " "sensitivity. This behavior matches that found in Setuptools 6.0 and later. " "See `setuptools 100 `_ for " "rationale." msgstr "" #: ../build/NEWS:17552 msgid "" "`bpo-24452 `__: Make webbrowser support " "Chrome on Mac OS X. Patch by Ned Batchelder." msgstr "" #: ../build/NEWS:17555 ../build/NEWS:20878 ../build/NEWS:24461 msgid "" "`bpo-20766 `__: Fix references leaked by " "pdb in the handling of SIGINT handlers." msgstr "" #: ../build/NEWS:17558 ../build/NEWS:20994 msgid "" "`bpo-27998 `__: Fixed bytes path support " "in os.scandir() on Windows. Patch by Eryk Sun." msgstr "" #: ../build/NEWS:17561 ../build/NEWS:20997 msgid "" "`bpo-28317 `__: The disassembler now " "decodes FORMAT_VALUE argument." msgstr "" #: ../build/NEWS:17563 ../build/NEWS:21003 msgid "" "`bpo-28380 `__: unittest.mock Mock " "autospec functions now properly support assert_called, assert_not_called, " "and assert_called_once." msgstr "" #: ../build/NEWS:17566 ../build/NEWS:21008 msgid "" "`bpo-28229 `__: lzma module now supports " "pathlib." msgstr "" #: ../build/NEWS:17568 ../build/NEWS:21010 ../build/NEWS:24468 msgid "" "`bpo-28321 `__: Fixed writing non-BMP " "characters with binary format in plistlib." msgstr "" #: ../build/NEWS:17571 ../build/NEWS:21013 msgid "" "`bpo-28225 `__: bz2 module now supports " "pathlib. Initial patch by Ethan Furman." msgstr "" #: ../build/NEWS:17574 ../build/NEWS:21016 msgid "" "`bpo-28227 `__: gzip now supports " "pathlib. Patch by Ethan Furman." msgstr "" #: ../build/NEWS:17576 msgid "" "`bpo-28332 `__: Deprecated silent " "truncations in socket.htons and socket.ntohs. Original patch by Oren Milman." msgstr "" #: ../build/NEWS:17579 ../build/NEWS:21018 msgid "" "`bpo-27358 `__: Optimized merging var-" "keyword arguments and improved error message when passing a non-mapping as a " "var-keyword argument." msgstr "" #: ../build/NEWS:17582 ../build/NEWS:21021 msgid "" "`bpo-28257 `__: Improved error message " "when passing a non-iterable as a var-positional argument. Added opcode " "BUILD_TUPLE_UNPACK_WITH_CALL." msgstr "" #: ../build/NEWS:17585 ../build/NEWS:21024 ../build/NEWS:24471 msgid "" "`bpo-28322 `__: Fixed possible crashes " "when unpickle itertools objects from incorrect pickle data. Based on patch " "by John Leitch." msgstr "" #: ../build/NEWS:17588 ../build/NEWS:21027 msgid "" "`bpo-28228 `__: imghdr now supports " "pathlib." msgstr "" #: ../build/NEWS:17590 ../build/NEWS:21029 msgid "" "`bpo-28226 `__: compileall now supports " "pathlib." msgstr "" #: ../build/NEWS:17592 ../build/NEWS:21031 msgid "" "`bpo-28314 `__: Fix function declaration " "(C flags) for the getiterator() method of xml.etree.ElementTree.Element." msgstr "" #: ../build/NEWS:17595 ../build/NEWS:21034 msgid "" "`bpo-28148 `__: Stop using localtime() " "and gmtime() in the time module. Introduced platform independent " "_PyTime_localtime API that is similar to POSIX localtime_r, but available on " "all platforms. Patch by Ed Schouten." msgstr "" #: ../build/NEWS:17599 ../build/NEWS:21038 ../build/NEWS:24480 msgid "" "`bpo-28253 `__: Fixed calendar functions " "for extreme months: 0001-01 and 9999-12. Methods itermonthdays() and " "itermonthdays2() are reimplemented so that they don't call itermonthdates() " "which can cause datetime.date under/overflow." msgstr "" #: ../build/NEWS:17604 ../build/NEWS:21043 ../build/NEWS:24485 msgid "" "`bpo-28275 `__: Fixed possible use after " "free in the decompress() methods of the LZMADecompressor and BZ2Decompressor " "classes. Original patch by John Leitch." msgstr "" #: ../build/NEWS:17608 ../build/NEWS:21047 ../build/NEWS:24489 msgid "" "`bpo-27897 `__: Fixed possible crash in " "sqlite3.Connection.create_collation() if pass invalid string-like object as " "a name. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:17611 ../build/NEWS:21050 msgid "" "`bpo-18844 `__: random.choices() now has " "k as a keyword-only argument to improve the readability of common cases and " "come into line with the signature used in other languages." msgstr "" #: ../build/NEWS:17615 ../build/NEWS:21054 ../build/NEWS:24492 msgid "" "`bpo-18893 `__: Fix invalid exception " "handling in Lib/ctypes/macholib/dyld.py. Patch by Madison May." msgstr "" #: ../build/NEWS:17618 ../build/NEWS:21057 msgid "" "`bpo-27611 `__: Fixed support of default " "root window in the tkinter.tix module. Added the master parameter in the " "DisplayStyle constructor." msgstr "" #: ../build/NEWS:17621 ../build/NEWS:21060 ../build/NEWS:24497 msgid "" "`bpo-27348 `__: In the traceback module, " "restore the formatting of exception messages like \"Exception: None\". This " "fixes a regression introduced in 3.5a2." msgstr "" #: ../build/NEWS:17625 ../build/NEWS:21064 ../build/NEWS:24501 msgid "" "`bpo-25651 `__: Allow falsy values to be " "used for msg parameter of subTest()." msgstr "" #: ../build/NEWS:17627 ../build/NEWS:21066 msgid "" "`bpo-27778 `__: Fix a memory leak in os." "getrandom() when the getrandom() is interrupted by a signal and a signal " "handler raises a Python exception." msgstr "" #: ../build/NEWS:17630 ../build/NEWS:21069 msgid "" "`bpo-28200 `__: Fix memory leak on " "Windows in the os module (fix path_converter() function)." msgstr "" #: ../build/NEWS:17633 ../build/NEWS:21072 msgid "" "`bpo-25400 `__: RobotFileParser now " "correctly returns default values for crawl_delay and request_rate. Initial " "patch by Peter Wirtz." msgstr "" #: ../build/NEWS:17636 ../build/NEWS:21075 ../build/NEWS:24503 msgid "" "`bpo-27932 `__: Prevent memory leak in " "win32_ver()." msgstr "" #: ../build/NEWS:17638 ../build/NEWS:21077 ../build/NEWS:24505 msgid "Fix UnboundLocalError in socket._sendfile_use_sendfile." msgstr "" #: ../build/NEWS:17640 ../build/NEWS:21079 ../build/NEWS:24507 msgid "" "`bpo-28075 `__: Check for " "ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch by Eryk " "Sun." msgstr "" #: ../build/NEWS:17643 ../build/NEWS:21082 msgid "" "`bpo-22493 `__: Warning message emitted " "by using inline flags in the middle of regular expression now contains a " "(truncated) regex pattern. Patch by Tim Graham." msgstr "" #: ../build/NEWS:17647 ../build/NEWS:21086 ../build/NEWS:24510 msgid "" "`bpo-25270 `__: Prevent codecs." "escape_encode() from raising SystemError when an empty bytestring is passed." msgstr "" #: ../build/NEWS:17650 ../build/NEWS:21089 ../build/NEWS:24513 msgid "" "`bpo-28181 `__: Get antigravity over " "HTTPS. Patch by Kaartic Sivaraam." msgstr "" #: ../build/NEWS:17652 ../build/NEWS:21091 ../build/NEWS:24515 msgid "" "`bpo-25895 `__: Enable WebSocket URL " "schemes in urllib.parse.urljoin. Patch by Gergely Imreh and Markus " "Holtermann." msgstr "" #: ../build/NEWS:17655 ../build/NEWS:21094 msgid "" "`bpo-28114 `__: Fix a crash in " "parse_envlist() when env contains byte strings. Patch by Eryk Sun." msgstr "" #: ../build/NEWS:17658 ../build/NEWS:21097 ../build/NEWS:24518 msgid "" "`bpo-27599 `__: Fixed buffer overrun in " "binascii.b2a_qp() and binascii.a2b_qp()." msgstr "" #: ../build/NEWS:17661 ../build/NEWS:21100 ../build/NEWS:24719 msgid "" "`bpo-27906 `__: Fix socket accept " "exhaustion during high TCP traffic. Patch by Kevin Conway." msgstr "" #: ../build/NEWS:17664 ../build/NEWS:21103 ../build/NEWS:24722 msgid "" "`bpo-28174 `__: Handle when SO_REUSEPORT " "isn't properly supported. Patch by Seth Michael Larson." msgstr "" #: ../build/NEWS:17667 ../build/NEWS:21106 ../build/NEWS:24725 msgid "" "`bpo-26654 `__: Inspect functools." "partial in asyncio.Handle.__repr__. Patch by iceboy." msgstr "" #: ../build/NEWS:17670 ../build/NEWS:21109 ../build/NEWS:24728 msgid "" "`bpo-26909 `__: Fix slow pipes IO in " "asyncio. Patch by INADA Naoki." msgstr "" #: ../build/NEWS:17672 ../build/NEWS:21111 ../build/NEWS:24730 msgid "" "`bpo-28176 `__: Fix callbacks race in " "asyncio.SelectorLoop.sock_connect." msgstr "" #: ../build/NEWS:17674 ../build/NEWS:21113 ../build/NEWS:24732 msgid "" "`bpo-27759 `__: Fix selectors " "incorrectly retain invalid file descriptors. Patch by Mark Williams." msgstr "" #: ../build/NEWS:17677 msgid "" "`bpo-28325 `__: Remove vestigial MacOS 9 " "macurl2path module and its tests." msgstr "" #: ../build/NEWS:17679 ../build/NEWS:21116 ../build/NEWS:24735 msgid "" "`bpo-28368 `__: Refuse monitoring " "processes if the child watcher has no loop attached. Patch by Vincent Michel." msgstr "" #: ../build/NEWS:17682 ../build/NEWS:21119 ../build/NEWS:24738 msgid "" "`bpo-28369 `__: Raise RuntimeError when " "transport's FD is used with add_reader, add_writer, etc." msgstr "" #: ../build/NEWS:17685 ../build/NEWS:21122 ../build/NEWS:24741 msgid "" "`bpo-28370 `__: Speedup asyncio." "StreamReader.readexactly. Patch by Коренберг Марк." msgstr "" #: ../build/NEWS:17688 ../build/NEWS:21125 ../build/NEWS:24744 msgid "" "`bpo-28371 `__: Deprecate passing " "asyncio.Handles to run_in_executor." msgstr "" #: ../build/NEWS:17690 ../build/NEWS:21127 ../build/NEWS:24746 msgid "" "`bpo-28372 `__: Fix asyncio to support " "formatting of non-python coroutines." msgstr "" #: ../build/NEWS:17692 ../build/NEWS:21129 ../build/NEWS:24748 msgid "" "`bpo-28399 `__: Remove UNIX socket from " "FS before binding. Patch by Коренберг Марк." msgstr "" #: ../build/NEWS:17695 ../build/NEWS:21132 ../build/NEWS:24751 msgid "" "`bpo-27972 `__: Prohibit Tasks to await " "on themselves." msgstr "" #: ../build/NEWS:17697 ../build/NEWS:20654 msgid "" "`bpo-24142 `__: Reading a corrupt config " "file left configparser in an invalid state. Original patch by Florian Höch." msgstr "" #: ../build/NEWS:17700 ../build/NEWS:20002 msgid "" "`bpo-29581 `__: ABCMeta.__new__ now " "accepts ``**kwargs``, allowing abstract base classes to use keyword " "parameters in __init_subclass__. Patch by Nate Soares." msgstr "" #: ../build/NEWS:17704 ../build/NEWS:19193 msgid "" "`bpo-25532 `__: inspect.unwrap() will " "now only try to unwrap an object sys.getrecursionlimit() times, to protect " "against objects which create a new object on every attribute access." msgstr "" #: ../build/NEWS:17708 ../build/NEWS:20136 msgid "" "`bpo-30177 `__: path." "resolve(strict=False) no longer cuts the path after the first element not " "present in the filesystem. Patch by Antoine Pietri." msgstr "" #: ../build/NEWS:17714 ../build/NEWS:19619 msgid "" "`bpo-31294 `__: Fix incomplete code " "snippet in the ZeroMQSocketListener and ZeroMQSocketHandler examples and " "adapt them to Python 3." msgstr "" #: ../build/NEWS:17717 ../build/NEWS:19622 msgid "" "`bpo-21649 `__: Add RFC 7525 and Mozilla " "server side TLS links to SSL documentation." msgstr "" #: ../build/NEWS:17720 msgid "" "`bpo-31128 `__: Allow the pydoc server " "to bind to arbitrary hostnames." msgstr "" #: ../build/NEWS:17722 ../build/NEWS:19625 msgid "" "`bpo-30803 `__: Clarify doc on truth " "value testing. Original patch by Peter Thomassen." msgstr "" #: ../build/NEWS:17725 ../build/NEWS:20191 ../build/NEWS:24143 msgid "" "`bpo-30176 `__: Add missing attribute " "related constants in curses documentation." msgstr "" #: ../build/NEWS:17728 ../build/NEWS:20194 msgid "" "`bpo-30052 `__: the link targets for :" "func:`bytes` and :func:`bytearray` are now their respective type " "definitions, rather than the corresponding builtin function entries. Use :" "ref:`bytes ` and :ref:`bytearray ` to reference " "the latter. In order to ensure this and future cross-reference updates are " "applied automatically, the daily documentation builds now disable the " "default output caching features in Sphinx." msgstr "" #: ../build/NEWS:17736 ../build/NEWS:20202 ../build/NEWS:24146 msgid "" "`bpo-26985 `__: Add missing info of code " "object in inspect documentation." msgstr "" #: ../build/NEWS:17738 msgid "" "`bpo-19824 `__: Improve the " "documentation for, and links to, template strings by emphasizing their " "utility for internationalization, and by clarifying some usage constraints. " "(See also: `bpo-20314 `__, `bpo-12518 " "`__)" msgstr "" #: ../build/NEWS:17742 ../build/NEWS:20511 ../build/NEWS:24148 msgid "" "`bpo-28929 `__: Link the documentation " "to its source file on GitHub." msgstr "" #: ../build/NEWS:17744 ../build/NEWS:20513 ../build/NEWS:24150 msgid "" "`bpo-25008 `__: Document smtpd.py as " "effectively deprecated and add a pointer to aiosmtpd, a third-party asyncio-" "based replacement." msgstr "" #: ../build/NEWS:17747 ../build/NEWS:20516 ../build/NEWS:24153 msgid "" "`bpo-26355 `__: Add canonical header " "link on each page to corresponding major version of the documentation. Patch " "by Matthias Bussonnier." msgstr "" #: ../build/NEWS:17750 ../build/NEWS:20519 ../build/NEWS:24156 msgid "" "`bpo-29349 `__: Fix Python 2 syntax in " "code for building the documentation." msgstr "" #: ../build/NEWS:17752 msgid "" "`bpo-23722 `__: The data model reference " "and the porting section in the 3.6 What's New guide now cover the additional " "``__classcell__`` handling needed for custom metaclasses to fully support :" "pep:`487` and zero-argument ``super()``." msgstr "" #: ../build/NEWS:17757 ../build/NEWS:20770 ../build/NEWS:24819 msgid "" "`bpo-28513 `__: Documented command-line " "interface of zipfile." msgstr "" #: ../build/NEWS:17762 msgid "" "`bpo-29639 `__: test.support.HOST is now " "\"localhost\", a new HOSTv4 constant has been added for your ``127.0.0.1`` " "needs, similar to the existing HOSTv6 constant." msgstr "" #: ../build/NEWS:17766 ../build/NEWS:19631 msgid "" "`bpo-31320 `__: Silence traceback in " "test_ssl" msgstr "" #: ../build/NEWS:17768 msgid "" "`bpo-31346 `__: Prefer " "PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols for SSLContext." msgstr "" #: ../build/NEWS:17771 ../build/NEWS:19633 msgid "" "`bpo-25674 `__: Remove sha256.tbs-" "internet.com ssl test" msgstr "" #: ../build/NEWS:17773 ../build/NEWS:19635 msgid "" "`bpo-30715 `__: Address ALPN callback " "changes for OpenSSL 1.1.0f. The latest version behaves like OpenSSL 1.0.2 " "and no longer aborts handshake." msgstr "" #: ../build/NEWS:17776 ../build/NEWS:19638 msgid "" "`bpo-30822 `__: regrtest: Exclude tzdata " "from regrtest --all. When running the test suite using --use=all / -u all, " "exclude tzdata since it makes test_datetime too slow (15-20 min on some " "buildbots) which then times out on some buildbots. Fix also regrtest command " "line parser to allow passing -u extralargefile to run test_zipfile64." msgstr "" #: ../build/NEWS:17782 ../build/NEWS:19245 msgid "" "`bpo-30695 `__: Add the " "`set_nomemory(start, stop)` and `remove_mem_hooks()` functions to the " "_testcapi module." msgstr "" #: ../build/NEWS:17785 ../build/NEWS:20213 ../build/NEWS:24175 msgid "" "`bpo-30357 `__: test_thread: setUp() now " "uses support.threading_setup() and support.threading_cleanup() to wait until " "threads complete to avoid random side effects on following tests. Initial " "patch written by Grzegorz Grzywacz." msgstr "" #: ../build/NEWS:17790 ../build/NEWS:20218 ../build/NEWS:24184 msgid "" "`bpo-30197 `__: Enhanced functions " "swap_attr() and swap_item() in the test.support module. They now work when " "delete replaced attribute or item inside the with statement. The old value " "of the attribute or item (or None if it doesn't exist) now will be assigned " "to the target of the \"as\" clause, if there is one." msgstr "" #: ../build/NEWS:17796 msgid "" "`bpo-24932 `__: Use proper command line " "parsing in _testembed" msgstr "" #: ../build/NEWS:17798 ../build/NEWS:20534 msgid "" "`bpo-28950 `__: Disallow -j0 to be " "combined with -T/-l in regrtest command line arguments." msgstr "" #: ../build/NEWS:17801 ../build/NEWS:20537 msgid "" "`bpo-28683 `__: Fix the tests that " "bind() a unix socket and raise PermissionError on Android for a non-root " "user." msgstr "" #: ../build/NEWS:17804 msgid "" "`bpo-26936 `__: Fix the test_socket " "failures on Android - getservbyname(), getservbyport() and getaddrinfo() are " "broken on some Android API levels." msgstr "" #: ../build/NEWS:17807 ../build/NEWS:20775 ../build/NEWS:24827 msgid "" "`bpo-28666 `__: Now test.support.rmtree " "is able to remove unwritable or unreadable directories." msgstr "" #: ../build/NEWS:17810 ../build/NEWS:20778 ../build/NEWS:24830 msgid "" "`bpo-23839 `__: Various caches now are " "cleared before running every test file." msgstr "" #: ../build/NEWS:17812 ../build/NEWS:20910 msgid "" "`bpo-26944 `__: Fix test_posix for " "Android where 'id -G' is entirely wrong or missing the effective gid." msgstr "" #: ../build/NEWS:17815 ../build/NEWS:20913 ../build/NEWS:24832 msgid "" "`bpo-28409 `__: regrtest: fix the parser " "of command line arguments." msgstr "" #: ../build/NEWS:17817 ../build/NEWS:21181 msgid "" "`bpo-28217 `__: Adds _testconsole module " "to test console input." msgstr "" #: ../build/NEWS:17819 ../build/NEWS:20540 msgid "" "`bpo-26939 `__: Add the support." "setswitchinterval() function to fix test_functools hanging on the Android " "armv7 qemu emulator." msgstr "" #: ../build/NEWS:17825 msgid "" "`bpo-31354 `__: Allow --with-lto to be " "used on all builds, not just `make profile-opt`." msgstr "" #: ../build/NEWS:17828 msgid "" "`bpo-31370 `__: Remove support for " "building --without-threads. This option is not really useful anymore in the " "21st century. Removing lots of conditional paths allows us to simplify the " "code base, including in difficult to maintain low-level internal code." msgstr "" #: ../build/NEWS:17833 msgid "" "`bpo-31341 `__: Per :pep:`11`, support " "for the IRIX operating system was removed." msgstr "" #: ../build/NEWS:17836 ../build/NEWS:19647 msgid "" "`bpo-30854 `__: Fix compile error when " "compiling --without-threads. Patch by Masayuki Yamamoto." msgstr "" #: ../build/NEWS:17839 ../build/NEWS:20227 ../build/NEWS:24212 msgid "" "`bpo-30687 `__: Locate msbuild.exe on " "Windows when building rather than vcvarsall.bat" msgstr "" #: ../build/NEWS:17842 msgid "" "`bpo-20210 `__: Support the *disabled* " "marker in Setup files. Extension modules listed after this marker are not " "built at all, neither by the Makefile nor by setup.py." msgstr "" #: ../build/NEWS:17846 ../build/NEWS:20171 msgid "" "`bpo-29941 `__: Add ``--with-" "assertions`` configure flag to explicitly enable C ``assert()`` checks. " "Defaults to off. ``--with-pydebug`` implies ``--with-assertions``." msgstr "" #: ../build/NEWS:17850 ../build/NEWS:20175 msgid "" "`bpo-28787 `__: Fix out-of-tree builds " "of Python when configured with ``--with--dtrace``." msgstr "" #: ../build/NEWS:17853 ../build/NEWS:20178 ../build/NEWS:24199 msgid "" "`bpo-29243 `__: Prevent unnecessary " "rebuilding of Python during ``make test``, ``make install`` and some other " "make targets when configured with ``--enable-optimizations``." msgstr "" #: ../build/NEWS:17857 ../build/NEWS:20182 ../build/NEWS:24203 msgid "" "`bpo-23404 `__: Don't regenerate " "generated files based on file modification time anymore: the action is now " "explicit. Replace ``make touch`` with ``make regen-all``." msgstr "" #: ../build/NEWS:17861 ../build/NEWS:20186 ../build/NEWS:24207 msgid "" "`bpo-29643 `__: Fix ``--enable-" "optimization`` didn't work." msgstr "" #: ../build/NEWS:17863 ../build/NEWS:20546 msgid "" "`bpo-27593 `__: sys.version and the " "platform module python_build(), python_branch(), and python_revision() " "functions now use git information rather than hg when building from a repo." msgstr "" #: ../build/NEWS:17867 ../build/NEWS:20550 msgid "" "`bpo-29572 `__: Update Windows build and " "OS X installers to use OpenSSL 1.0.2k." msgstr "" #: ../build/NEWS:17869 msgid "" "`bpo-27659 `__: Prohibit implicit C " "function declarations: use ``-Werror=implicit-function-declaration`` when " "possible (GCC and Clang, but it depends on the compiler version). Patch " "written by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:17873 msgid "" "`bpo-29384 `__: Remove old Be OS helper " "scripts." msgstr "" #: ../build/NEWS:17875 ../build/NEWS:20552 msgid "" "`bpo-26851 `__: Set Android compilation " "and link flags." msgstr "" #: ../build/NEWS:17877 ../build/NEWS:20554 msgid "" "`bpo-28768 `__: Fix implicit declaration " "of function _setmode. Patch by Masayuki Yamamoto" msgstr "" #: ../build/NEWS:17880 ../build/NEWS:20557 ../build/NEWS:24870 msgid "" "`bpo-29080 `__: Removes hard dependency " "on hg.exe from PCBuild/build.bat" msgstr "" #: ../build/NEWS:17882 ../build/NEWS:20559 ../build/NEWS:24872 msgid "" "`bpo-23903 `__: Added missed names to PC/" "python3.def." msgstr "" #: ../build/NEWS:17884 ../build/NEWS:20561 msgid "" "`bpo-28762 `__: lockf() is available on " "Android API level 24, but the F_LOCK macro is not defined in android-ndk-r13." msgstr "" #: ../build/NEWS:17887 ../build/NEWS:20564 msgid "" "`bpo-28538 `__: Fix the compilation " "error that occurs because if_nameindex() is available on Android API level " "24, but the if_nameindex structure is not defined." msgstr "" #: ../build/NEWS:17891 ../build/NEWS:20568 msgid "" "`bpo-20211 `__: Do not add the directory " "for installing C header files and the directory for installing object code " "libraries to the cross compilation search paths. Original patch by Thomas " "Petazzoni." msgstr "" #: ../build/NEWS:17895 ../build/NEWS:20572 msgid "" "`bpo-28849 `__: Do not define sys." "implementation._multiarch on Android." msgstr "" #: ../build/NEWS:17897 ../build/NEWS:20783 ../build/NEWS:24874 msgid "" "`bpo-10656 `__: Fix out-of-tree building " "on AIX. Patch by Tristan Carel and Michael Haubenwallner." msgstr "" #: ../build/NEWS:17900 ../build/NEWS:20786 ../build/NEWS:24877 msgid "" "`bpo-26359 `__: Rename --with-" "optimiations to --enable-optimizations." msgstr "" #: ../build/NEWS:17902 ../build/NEWS:20901 ../build/NEWS:24879 msgid "" "`bpo-28444 `__: Fix missing extensions " "modules when cross compiling." msgstr "" #: ../build/NEWS:17904 ../build/NEWS:20903 msgid "" "`bpo-28208 `__: Update Windows build and " "OS X installers to use SQLite 3.14.2." msgstr "" #: ../build/NEWS:17906 ../build/NEWS:20905 ../build/NEWS:24881 msgid "" "`bpo-28248 `__: Update Windows build and " "OS X installers to use OpenSSL 1.0.2j." msgstr "" #: ../build/NEWS:17908 msgid "" "`bpo-21124 `__: Fix building the _struct " "module on Cygwin by passing ``NULL`` instead of ``&PyType_Type`` to " "PyVarObject_HEAD_INIT. Patch by Masayuki Yamamoto." msgstr "" #: ../build/NEWS:17912 msgid "" "`bpo-13756 `__: Fix building extensions " "modules on Cygwin. Patch by Roumen Petrov, based on original patch by Jason " "Tishler." msgstr "" #: ../build/NEWS:17915 msgid "" "`bpo-21085 `__: Add configure check for " "siginfo_t.si_band, which Cygwin does not provide. Patch by Masayuki Yamamoto " "with review and rebase by Erik Bray." msgstr "" #: ../build/NEWS:17919 ../build/NEWS:21170 ../build/NEWS:24883 msgid "" "`bpo-28258 `__: Fixed build with " "Estonian locale (python-config and distclean targets in Makefile). Patch by " "Arfrever Frehtes Taifersar Arahesis." msgstr "" #: ../build/NEWS:17922 ../build/NEWS:21173 ../build/NEWS:24886 msgid "" "`bpo-26661 `__: setup.py now detects " "system libffi with multiarch wrapper." msgstr "" #: ../build/NEWS:17924 msgid "" "`bpo-27979 `__: A full copy of libffi is " "no longer bundled for use when building _ctypes on non-OSX UNIX platforms. " "An installed copy of libffi is now required when building _ctypes on such " "platforms." msgstr "" #: ../build/NEWS:17928 ../build/NEWS:21175 ../build/NEWS:24891 msgid "" "`bpo-15819 `__: Remove redundant include " "search directory option for building outside the source tree." msgstr "" #: ../build/NEWS:17931 ../build/NEWS:20788 ../build/NEWS:24928 msgid "" "`bpo-28676 `__: Prevent missing " "'getentropy' declaration warning on macOS. Patch by Gareth Rees." msgstr "" #: ../build/NEWS:17937 msgid "" "`bpo-31392 `__: Update Windows build to " "use OpenSSL 1.1.0f" msgstr "" #: ../build/NEWS:17939 ../build/NEWS:19653 msgid "" "`bpo-30389 `__: Adds detection of Visual " "Studio 2017 to distutils on Windows." msgstr "" #: ../build/NEWS:17941 msgid "" "`bpo-31358 `__: zlib is no longer " "bundled in the CPython source, instead it is downloaded on demand just like " "bz2, lzma, OpenSSL, Tcl/Tk, and SQLite." msgstr "" #: ../build/NEWS:17944 ../build/NEWS:19655 msgid "" "`bpo-31340 `__: Change to building with " "MSVC v141 (included with Visual Studio 2017)" msgstr "" #: ../build/NEWS:17947 ../build/NEWS:19658 msgid "" "`bpo-30581 `__: os.cpu_count() now " "returns the correct number of processors on Windows when the number of " "logical processors is greater than 64." msgstr "" #: ../build/NEWS:17950 msgid "" "`bpo-30916 `__: Pre-build OpenSSL, Tcl " "and Tk and include the binaries in the build." msgstr "" #: ../build/NEWS:17953 ../build/NEWS:19661 msgid "" "`bpo-30731 `__: Add a missing xmlns to " "python.manifest so that it matches the schema." msgstr "" #: ../build/NEWS:17956 msgid "" "`bpo-30291 `__: Allow requiring 64-bit " "interpreters from py.exe using -64 suffix. Contributed by Steve (Gadget) " "Barnes." msgstr "" #: ../build/NEWS:17959 msgid "" "`bpo-30362 `__: Adds list options (-0, " "-0p) to py.exe launcher. Contributed by Steve Barnes." msgstr "" #: ../build/NEWS:17962 msgid "" "`bpo-23451 `__: Fix socket deprecation " "warnings in socketmodule.c. Patch by Segev Finer." msgstr "" #: ../build/NEWS:17965 ../build/NEWS:20230 msgid "" "`bpo-30450 `__: The build process on " "Windows no longer depends on Subversion, instead pulling external code from " "GitHub via a Python script. If Python 3.6 is not found on the system (via " "``py -3.6``), NuGet is used to download a copy of 32-bit Python." msgstr "" #: ../build/NEWS:17970 msgid "" "`bpo-29579 `__: Removes readme.txt from " "the installer." msgstr "" #: ../build/NEWS:17972 ../build/NEWS:20487 msgid "" "`bpo-25778 `__: winreg does not truncate " "string correctly (Patch by Eryk Sun)" msgstr "" #: ../build/NEWS:17974 msgid "" "`bpo-28896 `__: Deprecate " "WindowsRegistryFinder and disable it by default" msgstr "" #: ../build/NEWS:17976 ../build/NEWS:20896 msgid "" "`bpo-28522 `__: Fixes mishandled buffer " "reallocation in getpathp.c" msgstr "" #: ../build/NEWS:17978 ../build/NEWS:21137 msgid "" "`bpo-28402 `__: Adds signed catalog " "files for stdlib on Windows." msgstr "" #: ../build/NEWS:17980 ../build/NEWS:21139 msgid "" "`bpo-28333 `__: Enables Unicode for ps1/" "ps2 and input() prompts. (Patch by Eryk Sun)" msgstr "" #: ../build/NEWS:17983 ../build/NEWS:21142 ../build/NEWS:24855 msgid "" "`bpo-28251 `__: Improvements to help " "manuals on Windows." msgstr "" #: ../build/NEWS:17985 ../build/NEWS:21144 ../build/NEWS:24857 msgid "" "`bpo-28110 `__: launcher.msi has " "different product codes between 32-bit and 64-bit" msgstr "" #: ../build/NEWS:17988 ../build/NEWS:21147 msgid "" "`bpo-28161 `__: Opening CON for write " "access fails" msgstr "" #: ../build/NEWS:17990 ../build/NEWS:21149 msgid "" "`bpo-28162 `__: WindowsConsoleIO " "readall() fails if first line starts with Ctrl+Z" msgstr "" #: ../build/NEWS:17993 ../build/NEWS:21152 msgid "" "`bpo-28163 `__: WindowsConsoleIO " "fileno() passes wrong flags to _open_osfhandle" msgstr "" #: ../build/NEWS:17995 ../build/NEWS:21154 msgid "" "`bpo-28164 `__: _PyIO_get_console_type " "fails for various paths" msgstr "" #: ../build/NEWS:17997 ../build/NEWS:21156 msgid "" "`bpo-28137 `__: Renames Windows path " "file to ._pth" msgstr "" #: ../build/NEWS:17999 ../build/NEWS:21158 msgid "" "`bpo-28138 `__: Windows ._pth file " "should allow import site" msgstr "" #: ../build/NEWS:18004 ../build/NEWS:19667 msgid "" "`bpo-31493 `__: IDLE code context -- fix " "code update and font update timers. Canceling timers prevents a warning " "message when test_idle completes." msgstr "" #: ../build/NEWS:18007 ../build/NEWS:19670 msgid "" "`bpo-31488 `__: IDLE - Update non-key " "options in former extension classes. When applying configdialog changes, " "call .reload for each feature class. Change ParenMatch so updated options " "affect existing instances attached to existing editor windows." msgstr "" #: ../build/NEWS:18012 ../build/NEWS:19675 msgid "" "`bpo-31477 `__: IDLE - Improve rstrip " "entry in doc. Strip trailing whitespace strips more than blank spaces. " "Multiline string literals are not skipped." msgstr "" #: ../build/NEWS:18015 ../build/NEWS:19678 msgid "" "`bpo-31480 `__: IDLE - make tests pass " "with zzdummy extension disabled by default." msgstr "" #: ../build/NEWS:18018 ../build/NEWS:19681 msgid "" "`bpo-31421 `__: Document how IDLE runs " "tkinter programs. IDLE calls tcl/tk update in the background in order to " "make live interaction and experimentation with tkinter applications much " "easier." msgstr "" #: ../build/NEWS:18022 ../build/NEWS:19685 msgid "" "`bpo-31414 `__: IDLE -- fix tk entry box " "tests by deleting first. Adding to an int entry is not the same as deleting " "and inserting because int('') will fail." msgstr "" #: ../build/NEWS:18026 ../build/NEWS:19689 msgid "" "`bpo-31051 `__: Rearrange IDLE " "configdialog GenPage into Window, Editor, and Help sections." msgstr "" #: ../build/NEWS:18029 ../build/NEWS:19692 msgid "" "`bpo-30617 `__: IDLE - Add docstrings " "and tests for outwin subclass of editor. Move some data and functions from " "the class to module level. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18033 ../build/NEWS:19696 msgid "" "`bpo-31287 `__: IDLE - Do not modify " "tkinter.message in test_configdialog." msgstr "" #: ../build/NEWS:18035 ../build/NEWS:19698 msgid "" "`bpo-27099 `__: Convert IDLE's built-in " "'extensions' to regular features. About 10 IDLE features were implemented as " "supposedly optional extensions. Their different behavior could be confusing " "or worse for users and not good for maintenance. Hence the conversion. The " "main difference for users is that user configurable key bindings for builtin " "features are now handled uniformly. Now, editing a binding in a keyset only " "affects its value in the keyset. All bindings are defined together in the " "system-specific default keysets in config-extensions.def. All custom keysets " "are saved as a whole in config-extension.cfg. All take effect as soon as " "one clicks Apply or Ok. The affected events are '<>', '<>', '<>', '<>', '<>', '<>', '<>', and " "'<>'. Any (global) customizations made before 3.6.3 will not " "affect their keyset-specific customization after 3.6.3. and vice versa. " "Initial patch by Charles Wohlganger." msgstr "" #: ../build/NEWS:18051 ../build/NEWS:19714 msgid "" "`bpo-31206 `__: IDLE: Factor " "HighPage(Frame) class from ConfigDialog. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18054 ../build/NEWS:19717 msgid "" "`bpo-31001 `__: Add tests for " "configdialog highlight tab. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18057 ../build/NEWS:19720 msgid "" "`bpo-31205 `__: IDLE: Factor " "KeysPage(Frame) class from ConfigDialog. The slightly modified tests " "continue to pass. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18060 ../build/NEWS:19723 msgid "" "`bpo-31130 `__: IDLE -- stop leaks in " "test_configdialog. Initial patch by Victor Stinner." msgstr "" #: ../build/NEWS:18063 ../build/NEWS:19726 msgid "" "`bpo-31002 `__: Add tests for " "configdialog keys tab. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18065 ../build/NEWS:19728 msgid "" "`bpo-19903 `__: IDLE: Calltips use " "`inspect.signature` instead of `inspect.getfullargspec`. This improves " "calltips for builtins converted to use Argument Clinic. Patch by Louie Lu." msgstr "" #: ../build/NEWS:18069 ../build/NEWS:19732 msgid "" "`bpo-31083 `__: IDLE - Add an outline of " "a TabPage class in configdialog. Update existing classes to match outline. " "Initial patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18072 ../build/NEWS:19735 msgid "" "`bpo-31050 `__: Factor GenPage(Frame) " "class from ConfigDialog. The slightly modified tests continue to pass. Patch " "by Cheryl Sabella." msgstr "" #: ../build/NEWS:18075 ../build/NEWS:19738 msgid "" "`bpo-31004 `__: IDLE - Factor " "FontPage(Frame) class from ConfigDialog. Slightly modified tests continue to " "pass. Fix General tests. Patch mostly by Cheryl Sabella." msgstr "" #: ../build/NEWS:18079 ../build/NEWS:19742 msgid "" "`bpo-30781 `__: IDLE - Use ttk widgets " "in ConfigDialog. Patches by Terry Jan Reedy and Cheryl Sabella." msgstr "" #: ../build/NEWS:18082 ../build/NEWS:19745 msgid "" "`bpo-31060 `__: IDLE - Finish " "rearranging methods of ConfigDialog Grouping methods pertaining to each tab " "and the buttons will aid writing tests and improving the tabs and will " "enable splitting the groups into classes." msgstr "" #: ../build/NEWS:18086 ../build/NEWS:19749 msgid "" "`bpo-30853 `__: IDLE -- Factor a " "VarTrace class out of ConfigDialog. Instance tracers manages pairs " "consisting of a tk variable and a callback function. When tracing is turned " "on, setting the variable calls the function. Test coverage for the new " "class is 100%." msgstr "" #: ../build/NEWS:18091 ../build/NEWS:19754 msgid "" "`bpo-31003 `__: IDLE: Add more tests for " "General tab." msgstr "" #: ../build/NEWS:18093 ../build/NEWS:19756 msgid "" "`bpo-30993 `__: IDLE - Improve " "configdialog font page and tests. In configdialog: Document causal pathways " "in create_font_tab docstring. Simplify some attribute names. Move " "set_samples calls to var_changed_font (idea from Cheryl Sabella). Move " "related functions to positions after the create widgets function. In " "test_configdialog: Fix test_font_set so not order dependent. Fix renamed " "test_indent_scale so it tests the widget. Adjust tests for movement of " "set_samples call. Add tests for load functions. Put all font tests in one " "class and tab indent tests in another. Except for two lines, these tests " "completely cover the related functions." msgstr "" #: ../build/NEWS:18104 ../build/NEWS:19767 msgid "" "`bpo-30981 `__: IDLE -- Add more " "configdialog font page tests." msgstr "" #: ../build/NEWS:18106 ../build/NEWS:19769 msgid "" "`bpo-28523 `__: IDLE: replace 'colour' " "with 'color' in configdialog." msgstr "" #: ../build/NEWS:18108 ../build/NEWS:19771 msgid "" "`bpo-30917 `__: Add tests for idlelib." "config.IdleConf. Increase coverage from 46% to 96%. Patch by Louie Lu." msgstr "" #: ../build/NEWS:18111 ../build/NEWS:19774 msgid "" "`bpo-30934 `__: Document coverage " "details for idlelib tests. Add section to idlelib/idle-test/README.txt. " "Include check that branches are taken both ways. Exclude IDLE-specific code " "that does not run during unit tests." msgstr "" #: ../build/NEWS:18115 ../build/NEWS:19778 msgid "" "`bpo-30913 `__: IDLE: Document " "ConfigDialog tk Vars, methods, and widgets in docstrings This will " "facilitate improving the dialog and splitting up the class. Original patch " "by Cheryl Sabella." msgstr "" #: ../build/NEWS:18119 ../build/NEWS:19782 msgid "" "`bpo-30899 `__: IDLE: Add tests for " "ConfigParser subclasses in config. Patch by Louie Lu." msgstr "" #: ../build/NEWS:18122 ../build/NEWS:19785 msgid "" "`bpo-30881 `__: IDLE: Add docstrings to " "browser.py. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18124 ../build/NEWS:19787 msgid "" "`bpo-30851 `__: IDLE: Remove unused " "variables in configdialog. One is a duplicate, one is set but cannot be " "altered by users. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18128 ../build/NEWS:19791 msgid "" "`bpo-30870 `__: IDLE: In Settings " "dialog, select font with Up, Down keys as well as mouse. Initial patch by " "Louie Lu." msgstr "" #: ../build/NEWS:18131 ../build/NEWS:19794 msgid "" "`bpo-8231 `__: IDLE: call config.IdleConf." "GetUserCfgDir only once." msgstr "" #: ../build/NEWS:18133 ../build/NEWS:19796 msgid "" "`bpo-30779 `__: IDLE: Factor " "ConfigChanges class from configdialog, put in config; test. * In config, put " "dump test code in a function; run it and unittest in 'if __name__ == " "'__main__'. * Add class config.ConfigChanges based on changes_class_v4.py on " "bpo issue. * Add class test_config.ChangesTest, partly using " "configdialog_tests_v1.py. * Revise configdialog to use ConfigChanges; see " "tracker msg297804. * Revise test_configdialog to match configdialog changes. " "* Remove configdialog functions unused or moved to ConfigChanges. Cheryl " "Sabella contributed parts of the patch." msgstr "" #: ../build/NEWS:18143 ../build/NEWS:19806 msgid "" "`bpo-30777 `__: IDLE: configdialog - Add " "docstrings and fix comments. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18146 ../build/NEWS:19809 msgid "" "`bpo-30495 `__: IDLE: Improve textview " "with docstrings, PEP8 names, and more tests. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:18149 ../build/NEWS:19812 msgid "" "`bpo-30723 `__: IDLE: Make several " "improvements to parenmatch. Add 'parens' style to highlight both opener and " "closer. Make 'default' style, which is not default, a synonym for 'opener'. " "Make time-delay work the same with all styles. Add help for config dialog " "extensions tab, including help for parenmatch. Add new tests. Original " "patch by Charles Wohlganger." msgstr "" #: ../build/NEWS:18155 ../build/NEWS:19818 msgid "" "`bpo-30674 `__: IDLE: add docstrings to " "grep module. Patch by Cheryl Sabella" msgstr "" #: ../build/NEWS:18157 ../build/NEWS:19820 msgid "" "`bpo-21519 `__: IDLE's basic custom key " "entry dialog now detects duplicates properly. Original patch by Saimadhav " "Heblikar." msgstr "" #: ../build/NEWS:18160 ../build/NEWS:19823 msgid "" "`bpo-29910 `__: IDLE no longer deletes a " "character after commenting out a region by a key shortcut. Add ``return " "'break'`` for this and other potential conflicts between IDLE and default " "key bindings." msgstr "" #: ../build/NEWS:18164 ../build/NEWS:19827 msgid "" "`bpo-30728 `__: Review and change " "idlelib.configdialog names. Lowercase method and attribute names. Replace " "'colour' with 'color', expand overly cryptic names, delete unneeded " "underscores. Replace ``import *`` with specific imports. Patches by Cheryl " "Sabella." msgstr "" #: ../build/NEWS:18169 ../build/NEWS:19832 msgid "" "`bpo-6739 `__: IDLE: Verify user-entered " "key sequences by trying to bind them with tk. Add tests for all 3 validation " "functions. Original patch by G Polo. Tests added by Cheryl Sabella." msgstr "" #: ../build/NEWS:18173 ../build/NEWS:20142 msgid "" "`bpo-15786 `__: Fix several problems " "with IDLE's autocompletion box. The following should now work: clicking on " "selection box items; using the scrollbar; selecting an item by hitting " "Return. Hangs on MacOSX should no longer happen. Patch by Louie Lu." msgstr "" #: ../build/NEWS:18178 ../build/NEWS:20147 msgid "" "`bpo-25514 `__: Add doc subsubsection " "about IDLE failure to start. Popup no-connection message directs users to " "this section." msgstr "" #: ../build/NEWS:18181 ../build/NEWS:20150 msgid "" "`bpo-30642 `__: Fix reference leaks in " "IDLE tests. Patches by Louie Lu and Terry Jan Reedy." msgstr "" #: ../build/NEWS:18184 ../build/NEWS:20153 msgid "" "`bpo-30495 `__: Add docstrings for " "textview.py and use PEP8 names. Patches by Cheryl Sabella and Terry Jan " "Reedy." msgstr "" #: ../build/NEWS:18187 ../build/NEWS:20156 msgid "" "`bpo-30290 `__: Help-about: use pep8 " "names and add tests. Increase coverage to 100%. Patches by Louie Lu, Cheryl " "Sabella, and Terry Jan Reedy." msgstr "" #: ../build/NEWS:18190 ../build/NEWS:20159 msgid "" "`bpo-30303 `__: Add _utest option to " "textview; add new tests. Increase coverage to 100%. Patches by Louie Lu and " "Terry Jan Reedy." msgstr "" #: ../build/NEWS:18193 ../build/NEWS:20468 msgid "" "`bpo-29071 `__: IDLE colors f-string " "prefixes (but not invalid ur prefixes)." msgstr "" #: ../build/NEWS:18195 ../build/NEWS:20470 msgid "" "`bpo-28572 `__: Add 10% to coverage of " "IDLE's test_configdialog. Update and augment description of the " "configuration system." msgstr "" #: ../build/NEWS:18201 ../build/NEWS:19839 msgid "" "`bpo-30983 `__: gdb integration commands " "(py-bt, etc.) work on optimized shared builds now, too. :pep:`523` " "introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on non-" "debug shared builds. This broke the ability to use py-bt, py-up, and a few " "other Python-specific gdb integrations. The problem is fixed by only looking " "for _PyEval_EvalFrameDefault frames in python-gdb.py. Original patch by " "Bruno \"Polaco\" Penteado." msgstr "" #: ../build/NEWS:18209 msgid "" "`bpo-29748 `__: Added the slice index " "converter in Argument Clinic." msgstr "" #: ../build/NEWS:18211 msgid "" "`bpo-24037 `__: Argument Clinic now uses " "the converter `bool(accept={int})` rather than `int` for semantical " "booleans. This avoids repeating the default value for Python and C and will " "help in converting to `bool` in future." msgstr "" #: ../build/NEWS:18216 ../build/NEWS:20207 msgid "" "`bpo-29367 `__: python-gdb.py now " "supports also ``method-wrapper`` (``wrapperobject``) objects." msgstr "" #: ../build/NEWS:18219 ../build/NEWS:20675 msgid "" "`bpo-28023 `__: Fix python-gdb.py didn't " "support new dict implementation." msgstr "" #: ../build/NEWS:18221 msgid "" "`bpo-15369 `__: The pybench and pystone " "microbenchmark have been removed from Tools. Please use the new Python " "benchmark suite https://github.com/python/performance which is more reliable " "and includes a portable version of pybench working on Python 2 and Python 3." msgstr "" #: ../build/NEWS:18226 msgid "" "`bpo-28102 `__: The zipfile module CLI " "now prints usage to stderr. Patch by Stephen J. Turnbull." msgstr "" #: ../build/NEWS:18232 msgid "" "`bpo-31338 `__: Added the " "``Py_UNREACHABLE()`` macro for code paths which are never expected to be " "reached. This and a few other useful macros are now documented in the C API " "manual." msgstr "" #: ../build/NEWS:18236 msgid "" "`bpo-30832 `__: Remove own " "implementation for thread-local storage. CPython has provided the own " "implementation for thread-local storage (TLS) on Python/thread.c, it's used " "in the case which a platform has not supplied native TLS. However, " "currently all supported platforms (Windows and pthreads) have provided " "native TLS and defined the Py_HAVE_NATIVE_TLS macro with unconditional in " "any case." msgstr "" #: ../build/NEWS:18243 msgid "" "`bpo-30708 `__: " "PyUnicode_AsWideCharString() now raises a ValueError if the second argument " "is NULL and the wchar_t\\* string contains null characters." msgstr "" #: ../build/NEWS:18246 msgid "" "`bpo-16500 `__: Deprecate " "PyOS_AfterFork() and add PyOS_BeforeFork(), PyOS_AfterFork_Parent() and " "PyOS_AfterFork_Child()." msgstr "" #: ../build/NEWS:18249 msgid "" "`bpo-6532 `__: The type of results of " "PyThread_start_new_thread() and PyThread_get_thread_ident(), and the id " "parameter of PyThreadState_SetAsyncExc() changed from \"long\" to \"unsigned " "long\"." msgstr "" #: ../build/NEWS:18253 msgid "" "`bpo-27867 `__: Function " "PySlice_GetIndicesEx() is deprecated and replaced with a macro if " "Py_LIMITED_API is not set or set to the value between 0x03050400 and " "0x03060000 (not including) or 0x03060100 or higher. Added functions " "PySlice_Unpack() and PySlice_AdjustIndices()." msgstr "" #: ../build/NEWS:18258 ../build/NEWS:20498 ../build/NEWS:24225 msgid "" "`bpo-29083 `__: Fixed the declaration of " "some public API functions. PyArg_VaParse() and " "PyArg_VaParseTupleAndKeywords() were not available in limited API. " "PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue() " "were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is " "defined." msgstr "" #: ../build/NEWS:18264 msgid "" "`bpo-28769 `__: The result of " "PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of type ``const char " "*`` rather of ``char *``." msgstr "" #: ../build/NEWS:18267 ../build/NEWS:20504 msgid "" "`bpo-29058 `__: All stable API " "extensions added after Python 3.2 are now available only when Py_LIMITED_API " "is set to the PY_VERSION_HEX value of the minimum Python version supporting " "this API." msgstr "" #: ../build/NEWS:18271 msgid "" "`bpo-28822 `__: The index parameters " "*start* and *end* of PyUnicode_FindChar() are now adjusted to behave like " "``str[start:end]``." msgstr "" #: ../build/NEWS:18274 ../build/NEWS:20662 ../build/NEWS:24810 msgid "" "`bpo-28808 `__: " "PyUnicode_CompareWithASCIIString() now never raises exceptions." msgstr "" #: ../build/NEWS:18276 msgid "" "`bpo-28761 `__: The fields name and doc " "of structures PyMemberDef, PyGetSetDef, PyStructSequence_Field, " "PyStructSequence_Desc, and wrapperbase are now of type ``const char *`` " "rather of ``char *``." msgstr "" #: ../build/NEWS:18280 msgid "" "`bpo-28748 `__: Private variable " "_Py_PackageContext is now of type ``const char *`` rather of ``char *``." msgstr "" #: ../build/NEWS:18283 msgid "" "`bpo-19569 `__: Compiler warnings are " "now emitted if use most of deprecated functions." msgstr "" #: ../build/NEWS:18286 ../build/NEWS:21163 msgid "" "`bpo-28426 `__: Deprecated undocumented " "functions PyUnicode_AsEncodedObject(), PyUnicode_AsDecodedObject(), " "PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode()." msgstr "" #: ../build/NEWS:18292 msgid "Python 3.6.6 final" msgstr "" #: ../build/NEWS:18296 msgid "There were no new changes in version 3.6.6." msgstr "" #: ../build/NEWS:18301 msgid "Python 3.6.6 release candidate 1" msgstr "" #: ../build/NEWS:18303 msgid "*Release date: 2018-06-11*" msgstr "" #: ../build/NEWS:18534 msgid "" "`bpo-33184 `__: Update Windows installer " "to OpenSSL 1.0.2o." msgstr "" #: ../build/NEWS:18539 msgid "" "`bpo-33184 `__: Update macOS installer " "build to use OpenSSL 1.0.2o." msgstr "" #: ../build/NEWS:18571 msgid "" "`bpo-29706 `__: IDLE now colors async " "and await as keywords in 3.6. They become full keywords in 3.7." msgstr "" #: ../build/NEWS:18612 msgid "Python 3.6.5 final" msgstr "" #: ../build/NEWS:18614 msgid "*Release date: 2018-03-28*" msgstr "" #: ../build/NEWS:18628 msgid "Python 3.6.5 release candidate 1" msgstr "" #: ../build/NEWS:18630 msgid "*Release date: 2018-03-13*" msgstr "" #: ../build/NEWS:18669 msgid "" "`bpo-32329 `__: ``sys.flags." "hash_randomization`` is now properly set to 0 when hash randomization is " "turned off by ``PYTHONHASHSEED=0``." msgstr "" #: ../build/NEWS:18672 msgid "" "`bpo-30416 `__: The optimizer is now " "protected from spending much time doing complex calculations and consuming " "much memory for creating large constants in constant folding." msgstr "" #: ../build/NEWS:18699 msgid "" "`bpo-30353 `__: Fix ctypes pass-by-value " "for structs on 64-bit Cygwin/MinGW." msgstr "" #: ../build/NEWS:18737 msgid "" "`bpo-32394 `__: socket: Remove " "TCP_FASTOPEN, TCP_KEEPCNT flags on older version Windows during run-time." msgstr "" #: ../build/NEWS:18769 msgid "" "`bpo-32555 `__: On FreeBSD and Solaris, " "os.strerror() now always decode the byte string from the current locale " "encoding, rather than using ASCII/surrogateescape in some cases." msgstr "" #: ../build/NEWS:18787 msgid "" "`bpo-32185 `__: The SSL module no longer " "sends IP addresses in SNI TLS extension on platforms with OpenSSL 1.0.2+ or " "inet_pton." msgstr "" #: ../build/NEWS:18852 msgid "" "`bpo-31518 `__: Debian Unstable has " "disabled TLS 1.0 and 1.1 for SSLv23_METHOD(). Change TLS/SSL protocol of " "some tests to PROTOCOL_TLS or PROTOCOL_TLSv1_2 to make them pass on Debian." msgstr "" #: ../build/NEWS:18885 msgid "" "`bpo-32588 `__: Create standalone " "_distutils_findvs module." msgstr "" #: ../build/NEWS:18890 msgid "" "`bpo-32726 `__: Provide an additional, " "more modern macOS installer variant that supports macOS 10.9+ systems in 64-" "bit mode only. Upgrade the supplied third-party libraries to OpenSSL 1.0.2n, " "XZ 5.2.3, and SQLite 3.22.0. The 10.9+ installer now links with and supplies " "its own copy of Tcl/Tk 8.6.8." msgstr "" #: ../build/NEWS:18946 msgid "Python 3.6.4 final" msgstr "" #: ../build/NEWS:18948 msgid "*Release date: 2017-12-18*" msgstr "" #: ../build/NEWS:18950 msgid "There were no new code changes in version 3.6.4 since v3.6.4rc1." msgstr "" #: ../build/NEWS:18955 msgid "Python 3.6.4 release candidate 1" msgstr "" #: ../build/NEWS:18984 msgid "" "`bpo-31852 `__: Fix a segmentation fault " "caused by a combination of the async soft keyword and continuation lines." msgstr "" #: ../build/NEWS:19318 msgid "" "`bpo-13802 `__: Use non-Latin characters " "in the IDLE's Font settings sample. Even if one selects a font that defines " "a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use " "other fonts that define a character. The expanded example give users of non-" "Latin characters a better idea of what they might see in IDLE's shell and " "editors. To make room for the expanded sample, frames on the Font tab are re-" "arranged. The Font/Tabs help explains a bit about the additions." msgstr "" #: ../build/NEWS:19374 msgid "Python 3.6.3 final" msgstr "" #: ../build/NEWS:19376 msgid "*Release date: 2017-10-03*" msgstr "" #: ../build/NEWS:19381 msgid "" "`bpo-31641 `__: Re-allow arbitrary " "iterables in `concurrent.futures.as_completed()`. Fixes regression in " "3.6.3rc1." msgstr "" #: ../build/NEWS:19387 msgid "" "`bpo-31662 `__: Fix typos in Windows " "``uploadrelease.bat`` script. Fix Windows Doc build issues in ``Doc/make." "bat``." msgstr "" #: ../build/NEWS:19390 msgid "" "`bpo-31423 `__: Fix building the PDF " "documentation with newer versions of Sphinx." msgstr "" #: ../build/NEWS:19395 msgid "Python 3.6.3 release candidate 1" msgstr "" #: ../build/NEWS:19397 msgid "*Release date: 2017-09-18*" msgstr "" #: ../build/NEWS:19849 msgid "Python 3.6.2 final" msgstr "" #: ../build/NEWS:19851 msgid "*Release date: 2017-07-17*" msgstr "" #: ../build/NEWS:19853 ../build/NEWS:20580 msgid "No changes since release candidate 2" msgstr "" #: ../build/NEWS:19858 msgid "Python 3.6.2 release candidate 2" msgstr "" #: ../build/NEWS:19860 msgid "*Release date: 2017-07-07*" msgstr "" #: ../build/NEWS:19885 msgid "Python 3.6.2 release candidate 1" msgstr "" #: ../build/NEWS:19887 msgid "*Release date: 2017-06-17*" msgstr "" #: ../build/NEWS:19895 msgid "" "`bpo-30604 `__: Move co_extra_freefuncs " "to not be per-thread to avoid crashes" msgstr "" #: ../build/NEWS:19925 ../build/NEWS:23877 msgid "" "`bpo-29600 `__: Fix wrapping coroutine " "return values in StopIteration." msgstr "" #: ../build/NEWS:19954 ../build/NEWS:23943 msgid "" "`bpo-30645 `__: Fix path calculation in " "imp.load_package(), fixing it for cases when a package is only shipped with " "bytecodes. Patch by Alexandru Ardelean." msgstr "" #: ../build/NEWS:19974 msgid "" "`bpo-24484 `__: Avoid race condition in " "multiprocessing cleanup (#2159)" msgstr "" #: ../build/NEWS:20048 ../build/NEWS:24011 msgid "" "`bpo-26293 `__: Change resulted because " "of zipfile breakage. (See also: `bpo-29094 `__)" msgstr "" #: ../build/NEWS:20122 ../build/NEWS:24078 msgid "" "`bpo-28298 `__: Fix a bug that prevented " "array 'Q', 'L' and 'I' from accepting big intables (objects that have " "__int__) as elements. Patch by Oren Milman." msgstr "" #: ../build/NEWS:20165 msgid "" "`bpo-27867 `__: Function " "PySlice_GetIndicesEx() no longer replaced with a macro if Py_LIMITED_API is " "not set." msgstr "" #: ../build/NEWS:20237 msgid "Python 3.6.1 final" msgstr "" #: ../build/NEWS:20239 msgid "*Release date: 2017-03-21*" msgstr "" #: ../build/NEWS:20255 msgid "" "`bpo-27593 `__: fix format of git " "information used in sys.version" msgstr "" #: ../build/NEWS:20257 msgid "Fix incompatible comment in python.h" msgstr "" #: ../build/NEWS:20261 msgid "Python 3.6.1 release candidate 1" msgstr "" #: ../build/NEWS:20263 msgid "*Release date: 2017-03-04*" msgstr "" #: ../build/NEWS:20374 ../build/NEWS:24110 msgid "" "`bpo-29519 `__: Fix weakref spewing " "exceptions during interpreter shutdown when used with a rare combination of " "multiprocessing and custom codecs." msgstr "" #: ../build/NEWS:20390 msgid "" "`bpo-29316 `__: Restore the provisional " "status of typing module, add corresponding note to documentation. Patch by " "Ivan L." msgstr "" #: ../build/NEWS:20396 ../build/NEWS:24126 msgid "" "`bpo-29011 `__: Fix an important " "omission by adding Deque to the typing module." msgstr "" #: ../build/NEWS:20410 msgid "" "`bpo-29203 `__: functools.lru_cache() " "now respects :pep:`468` and preserves the order of keyword arguments. " "f(a=1, b=2) is now cached separately from f(b=2, a=1) since both calls could " "potentially give different results." msgstr "" #: ../build/NEWS:20417 ../build/NEWS:24383 msgid "" "`bpo-29094 `__: Offsets in a ZIP file " "created with extern file object and modes \"w\" and \"x\" now are relative " "to the start of the file." msgstr "" #: ../build/NEWS:20420 msgid "" "`bpo-29085 `__: Allow random.Random." "seed() to use high quality OS randomness rather than the pid and time." msgstr "" #: ../build/NEWS:20423 msgid "" "`bpo-29061 `__: Fixed bug in secrets." "randbelow() which would hang when given a negative input. Patch by Brendan " "Donegan." msgstr "" #: ../build/NEWS:20431 ../build/NEWS:24389 msgid "" "`bpo-29119 `__: Fix weakrefs in the pure " "python version of collections.OrderedDict move_to_end() method. Contributed " "by Andra Bogildea." msgstr "" #: ../build/NEWS:20443 msgid "" "`bpo-29055 `__: Neaten-up empty " "population error on random.choice() by suppressing the upstream exception." msgstr "" #: ../build/NEWS:20458 ../build/NEWS:24413 msgid "" "`bpo-28847 `__: dbm.dumb now supports " "reading read-only files and no longer writes the index file when it is not " "changed." msgstr "" #: ../build/NEWS:20476 msgid "" "`bpo-29579 `__: Removes readme.txt from " "the installer" msgstr "" #: ../build/NEWS:20478 msgid "" "`bpo-29326 `__: Ignores blank lines in ." "_pth files (Patch by Alexey Izbyshev)" msgstr "" #: ../build/NEWS:20480 msgid "" "`bpo-28164 `__: Correctly handle special " "console filenames (patch by Eryk Sun)" msgstr "" #: ../build/NEWS:20482 msgid "" "`bpo-29409 `__: Implement :pep:`529` for " "io.FileIO (Patch by Eryk Sun)" msgstr "" #: ../build/NEWS:20484 ../build/NEWS:24215 msgid "" "`bpo-29392 `__: Prevent crash when " "passing invalid arguments into msvcrt module." msgstr "" #: ../build/NEWS:20489 msgid "" "`bpo-28896 `__: Deprecate " "WindowsRegistryFinder and disable it by default." msgstr "" #: ../build/NEWS:20494 msgid "" "`bpo-27867 `__: Function " "PySlice_GetIndicesEx() is replaced with a macro if Py_LIMITED_API is not set " "or set to the value between 0x03050400 and 0x03060000 (not including) or " "0x03060100 or higher." msgstr "" #: ../build/NEWS:20524 ../build/NEWS:24180 msgid "" "`bpo-28087 `__: Skip test_asyncore and " "test_eintr poll failures on macOS. Skip some tests of select.poll when " "running on macOS due to unresolved issues with the underlying system poll " "function on some macOS versions." msgstr "" #: ../build/NEWS:20528 ../build/NEWS:24190 msgid "" "`bpo-29571 `__: to match the behaviour " "of the ``re.LOCALE`` flag, test_re.test_locale_flag now uses ``locale." "getpreferredencoding(False)`` to determine the candidate encoding for the " "test regex (allowing it to correctly skip the test when the default locale " "encoding is a multi-byte encoding)" msgstr "" #: ../build/NEWS:20576 msgid "Python 3.6.0 final" msgstr "" #: ../build/NEWS:20578 msgid "*Release date: 2016-12-23*" msgstr "" #: ../build/NEWS:20585 msgid "Python 3.6.0 release candidate 2" msgstr "" #: ../build/NEWS:20587 msgid "*Release date: 2016-12-16*" msgstr "" #: ../build/NEWS:20595 msgid "" "`bpo-28990 `__: Fix asyncio SSL hanging " "if connection is closed before handshake is completed. (Patch by HoHo-Ho)" msgstr "" #: ../build/NEWS:20601 msgid "" "`bpo-28770 `__: Fix python-gdb.py for " "fastcalls." msgstr "" #: ../build/NEWS:20606 msgid "" "`bpo-28896 `__: Deprecate " "WindowsRegistryFinder." msgstr "" #: ../build/NEWS:20611 msgid "" "`bpo-28898 `__: Prevent gdb build errors " "due to HAVE_LONG_LONG redefinition." msgstr "" #: ../build/NEWS:20615 msgid "Python 3.6.0 release candidate 1" msgstr "" #: ../build/NEWS:20617 msgid "*Release date: 2016-12-06*" msgstr "" #: ../build/NEWS:20639 msgid "" "`bpo-27030 `__: Unknown escapes in re." "sub() replacement template are allowed again. But they still are deprecated " "and will be disabled in 3.7." msgstr "" #: ../build/NEWS:20657 msgid "" "`bpo-28843 `__: Fix asyncio C Task to " "handle exceptions __traceback__." msgstr "" #: ../build/NEWS:20667 msgid "" "`bpo-23722 `__: The data model reference " "and the porting section in the What's New guide now cover the additional " "``__classcell__`` handling needed for custom metaclasses to fully support :" "pep:`487` and zero-argument ``super()``." msgstr "" #: ../build/NEWS:20679 msgid "Python 3.6.0 beta 4" msgstr "" #: ../build/NEWS:20681 msgid "*Release date: 2016-11-21*" msgstr "" #: ../build/NEWS:20709 msgid "" "`bpo-27243 `__: Change " "PendingDeprecationWarning -> DeprecationWarning. As it was agreed in the " "issue, __aiter__ returning an awaitable should result in " "PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6." msgstr "" #: ../build/NEWS:20728 msgid "" "`bpo-20572 `__: The subprocess.Popen." "wait method's undocumented endtime parameter now raises a DeprecationWarning." msgstr "" #: ../build/NEWS:20745 msgid "" "`bpo-28600 `__: Optimize loop.call_soon." msgstr "" #: ../build/NEWS:20747 ../build/NEWS:24761 msgid "" "`bpo-28613 `__: Fix get_event_loop() " "return the current loop if called from coroutines/callbacks." msgstr "" #: ../build/NEWS:20750 msgid "" "`bpo-28634 `__: Fix asyncio.isfuture() " "to support unittest.Mock." msgstr "" #: ../build/NEWS:20752 msgid "" "`bpo-26081 `__: Fix refleak in _asyncio." "Future.__iter__().throw." msgstr "" #: ../build/NEWS:20754 ../build/NEWS:24764 msgid "" "`bpo-28639 `__: Fix inspect.isawaitable " "to always return bool Patch by Justin Mayfield." msgstr "" #: ../build/NEWS:20757 ../build/NEWS:24767 msgid "" "`bpo-28652 `__: Make loop methods reject " "socket kinds they do not support." msgstr "" #: ../build/NEWS:20759 ../build/NEWS:24769 msgid "" "`bpo-28653 `__: Fix a refleak in " "functools.lru_cache." msgstr "" #: ../build/NEWS:20761 ../build/NEWS:24771 msgid "" "`bpo-28703 `__: Fix asyncio." "iscoroutinefunction to handle Mock objects." msgstr "" #: ../build/NEWS:20763 msgid "" "`bpo-28704 `__: Fix create_unix_server " "to support Path-like objects (PEP 519)." msgstr "" #: ../build/NEWS:20765 msgid "" "`bpo-28720 `__: Add collections.abc." "AsyncGenerator." msgstr "" #: ../build/NEWS:20793 msgid "Python 3.6.0 beta 3" msgstr "" #: ../build/NEWS:20795 msgid "*Release date: 2016-10-31*" msgstr "" #: ../build/NEWS:20818 msgid "" "`bpo-28471 `__: Fix \"Python memory " "allocator called without holding the GIL\" crash in socket.setblocking." msgstr "" #: ../build/NEWS:20840 msgid "" "`bpo-18844 `__: The various ways of " "specifying weights for random.choices() now produce the same result " "sequences." msgstr "" #: ../build/NEWS:20843 ../build/NEWS:24445 msgid "" "`bpo-28255 `__: calendar.TextCalendar()." "prmonth() no longer prints a space at the start of new line after printing a " "month's calendar. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:20876 ../build/NEWS:24459 msgid "" "`bpo-24452 `__: Make webbrowser support " "Chrome on Mac OS X." msgstr "" #: ../build/NEWS:20881 msgid "" "`bpo-28492 `__: Fix how StopIteration " "exception is raised in _asyncio.Future." msgstr "" #: ../build/NEWS:20883 msgid "" "`bpo-28500 `__: Fix asyncio to handle " "async gens GC from another thread." msgstr "" #: ../build/NEWS:20885 ../build/NEWS:24753 msgid "" "`bpo-26923 `__: Fix asyncio.Gather to " "refuse being cancelled once all children are done. Patch by Johannes Ebke." msgstr "" #: ../build/NEWS:20888 ../build/NEWS:24756 msgid "" "`bpo-26796 `__: Don't configure the " "number of workers for default threadpool executor. Initial patch by Hans " "Lawrenz." msgstr "" #: ../build/NEWS:20891 msgid "" "`bpo-28544 `__: Implement asyncio.Task " "in C." msgstr "" #: ../build/NEWS:20917 msgid "Python 3.6.0 beta 2" msgstr "" #: ../build/NEWS:20919 msgid "*Release date: 2016-10-10*" msgstr "" #: ../build/NEWS:20935 msgid "" "`bpo-28376 `__: Creating instances of " "range_iterator by calling range_iterator type now is deprecated. Patch by " "Oren Milman." msgstr "" #: ../build/NEWS:20938 ../build/NEWS:24286 msgid "" "`bpo-28376 `__: The constructor of " "range_iterator now checks that step is not 0. Patch by Oren Milman." msgstr "" #: ../build/NEWS:20999 ../build/NEWS:24464 msgid "" "`bpo-26293 `__: Fixed writing ZIP files " "that starts not from the start of the file. Offsets in ZIP file now are " "relative to the start of the archive in conforming to the specification." msgstr "" #: ../build/NEWS:21006 msgid "" "`bpo-27181 `__: remove statistics." "geometric_mean and defer until 3.7." msgstr "" #: ../build/NEWS:21185 msgid "Python 3.6.0 beta 1" msgstr "" #: ../build/NEWS:21187 msgid "*Release date: 2016-09-12*" msgstr "" #: ../build/NEWS:21192 msgid "" "`bpo-23722 `__: The __class__ cell used " "by zero-argument super() is now initialized from type.__new__ rather than " "__build_class__, so class methods relying on that will now work correctly " "when called from metaclass methods during class creation. Patch by Martin " "Teichmann." msgstr "" #: ../build/NEWS:21197 ../build/NEWS:24317 msgid "" "`bpo-25221 `__: Fix corrupted result " "from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0." msgstr "" #: ../build/NEWS:21200 msgid "" "`bpo-27080 `__: Implement formatting " "support for :pep:`515`. Initial patch by Chris Angelico." msgstr "" #: ../build/NEWS:21203 msgid "" "`bpo-27199 `__: In tarfile, expose " "copyfileobj bufsize to improve throughput. Patch by Jason Fried." msgstr "" #: ../build/NEWS:21206 msgid "" "`bpo-27948 `__: In f-strings, only allow " "backslashes inside the braces (where the expressions are). This is a " "breaking change from the 3.6 alpha releases, where backslashes are allowed " "anywhere in an f-string. Also, require that expressions inside f-strings be " "enclosed within literal braces, and not escapes like ``f'\\x7b\"hi\"\\x7d'``." msgstr "" #: ../build/NEWS:21212 msgid "" "`bpo-28046 `__: Remove platform-specific " "directories from sys.path." msgstr "" #: ../build/NEWS:21214 msgid "" "`bpo-28071 `__: Add early-out for " "differencing from an empty set." msgstr "" #: ../build/NEWS:21216 ../build/NEWS:24320 msgid "" "`bpo-25758 `__: Prevents zipimport from " "unnecessarily encoding a filename (patch by Eryk Sun)" msgstr "" #: ../build/NEWS:21219 msgid "" "`bpo-25856 `__: The __module__ attribute " "of extension classes and functions now is interned. This leads to more " "compact pickle data with protocol 4." msgstr "" #: ../build/NEWS:21222 msgid "" "`bpo-27213 `__: Rework CALL_FUNCTION* " "opcodes to produce shorter and more efficient bytecode. Patch by Demur " "Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka and Victor " "Stinner." msgstr "" #: ../build/NEWS:21226 msgid "" "`bpo-26331 `__: Implement tokenizing " "support for :pep:`515`. Patch by Georg Brandl." msgstr "" #: ../build/NEWS:21229 msgid "" "`bpo-27999 `__: Make \"global after use" "\" a SyntaxError, and ditto for nonlocal. Patch by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:21232 msgid "" "`bpo-28003 `__: Implement :pep:`525` -- " "Asynchronous Generators." msgstr "" #: ../build/NEWS:21234 msgid "" "`bpo-27985 `__: Implement :pep:`526` -- " "Syntax for Variable Annotations. Patch by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:21237 msgid "" "`bpo-26058 `__: Add a new private " "version to the builtin dict type, incremented at each dictionary creation " "and at each dictionary change. Implementation of the PEP 509." msgstr "" #: ../build/NEWS:21241 msgid "" "`bpo-27364 `__: A backslash-character " "pair that is not a valid escape sequence now generates a " "DeprecationWarning. Patch by Emanuel Barry." msgstr "" #: ../build/NEWS:21244 msgid "" "`bpo-27350 `__: `dict` implementation is " "changed like PyPy. It is more compact and preserves insertion order. " "(Concept developed by Raymond Hettinger and patch by Inada Naoki.)" msgstr "" #: ../build/NEWS:21248 msgid "" "`bpo-27911 `__: Remove unnecessary error " "checks in ``exec_builtin_or_dynamic()``." msgstr "" #: ../build/NEWS:21251 msgid "" "`bpo-27078 `__: Added BUILD_STRING " "opcode. Optimized f-strings evaluation." msgstr "" #: ../build/NEWS:21253 msgid "" "`bpo-17884 `__: Python now requires " "systems with inttypes.h and stdint.h" msgstr "" #: ../build/NEWS:21255 msgid "" "`bpo-27961 `__: Require platforms to " "support ``long long``. Python hasn't compiled without ``long long`` for " "years, so this is basically a formality." msgstr "" #: ../build/NEWS:21259 msgid "" "`bpo-27355 `__: Removed support for " "Windows CE. It was never finished, and Windows CE is no longer a relevant " "platform for Python." msgstr "" #: ../build/NEWS:21262 msgid "Implement :pep:`523`." msgstr "" #: ../build/NEWS:21264 msgid "" "`bpo-27870 `__: A left shift of zero by " "a large integer no longer attempts to allocate large amounts of memory." msgstr "" #: ../build/NEWS:21267 msgid "" "`bpo-25402 `__: In int-to-decimal-string " "conversion, improve the estimate of the intermediate memory required, and " "remove an unnecessarily strict overflow check. Patch by Serhiy Storchaka." msgstr "" #: ../build/NEWS:21271 msgid "" "`bpo-27214 `__: In long_invert, be more " "careful about modifying object returned by long_add, and remove an " "unnecessary check for small longs. Thanks Oren Milman for analysis and patch." msgstr "" #: ../build/NEWS:21275 msgid "" "`bpo-27506 `__: Support passing the " "bytes/bytearray.translate() \"delete\" argument by keyword." msgstr "" #: ../build/NEWS:21278 ../build/NEWS:24326 msgid "" "`bpo-27812 `__: Properly clear out a " "generator's frame's backreference to the generator to prevent crashes in " "frame.clear()." msgstr "" #: ../build/NEWS:21281 ../build/NEWS:24329 msgid "" "`bpo-27811 `__: Fix a crash when a " "coroutine that has not been awaited is finalized with warnings-as-errors " "enabled." msgstr "" #: ../build/NEWS:21284 ../build/NEWS:24332 msgid "" "`bpo-27587 `__: Fix another issue found " "by PVS-Studio: Null pointer check after use of 'def' in " "_PyState_AddModule(). Initial patch by Christian Heimes." msgstr "" #: ../build/NEWS:21287 msgid "" "`bpo-27792 `__: The modulo operation " "applied to ``bool`` and other ``int`` subclasses now always returns an " "``int``. Previously the return type depended on the input values. Patch by " "Xiang Zhang." msgstr "" #: ../build/NEWS:21291 msgid "" "`bpo-26984 `__: int() now always returns " "an instance of exact int." msgstr "" #: ../build/NEWS:21293 msgid "" "`bpo-25604 `__: Fix a minor bug in " "integer true division; this bug could potentially have caused off-by-one-ulp " "results on platforms with unreliable ldexp implementations." msgstr "" #: ../build/NEWS:21297 msgid "" "`bpo-24254 `__: Make class definition " "namespace ordered by default." msgstr "" #: ../build/NEWS:21299 msgid "" "`bpo-27662 `__: Fix an overflow check in " "``List_New``: the original code was checking against ``Py_SIZE_MAX`` instead " "of the correct upper bound of ``Py_SSIZE_T_MAX``. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21303 ../build/NEWS:24338 msgid "" "`bpo-27782 `__: Multi-phase extension " "module import now correctly allows the ``m_methods`` field to be used to add " "module level functions to instances of non-module types returned from " "``Py_create_mod``. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21307 ../build/NEWS:24342 msgid "" "`bpo-27936 `__: The round() function " "accepted a second None argument for some types but not for others. Fixed " "the inconsistency by accepting None for all numeric types." msgstr "" #: ../build/NEWS:21311 ../build/NEWS:24346 msgid "" "`bpo-27487 `__: Warn if a submodule " "argument to \"python -m\" or runpy.run_module() is found in sys.modules " "after parent packages are imported, but before the submodule is executed." msgstr "" #: ../build/NEWS:21315 msgid "" "`bpo-27157 `__: Make only type() itself " "accept the one-argument form. Patch by Eryk Sun and Emanuel Barry." msgstr "" #: ../build/NEWS:21318 ../build/NEWS:24350 msgid "" "`bpo-27558 `__: Fix a SystemError in the " "implementation of \"raise\" statement. In a brand new thread, raise a " "RuntimeError since there is no active exception to reraise. Patch written by " "Xiang Zhang." msgstr "" #: ../build/NEWS:21322 msgid "" "`bpo-28008 `__: Implement :pep:`530` -- " "asynchronous comprehensions." msgstr "" #: ../build/NEWS:21324 ../build/NEWS:24375 msgid "" "`bpo-27942 `__: Fix memory leak in " "codeobject.c" msgstr "" #: ../build/NEWS:21329 ../build/NEWS:24419 msgid "" "`bpo-28732 `__: Fix crash in os.spawnv() " "with no elements in args" msgstr "" #: ../build/NEWS:21331 ../build/NEWS:24421 msgid "" "`bpo-28485 `__: Always raise ValueError " "for negative compileall.compile_dir(workers=...) parameter, even when " "multithreading is unavailable." msgstr "" #: ../build/NEWS:21335 msgid "" "`bpo-28037 `__: Use " "sqlite3_get_autocommit() instead of setting Connection->inTransaction " "manually." msgstr "" #: ../build/NEWS:21338 msgid "" "`bpo-25283 `__: Attributes tm_gmtoff and " "tm_zone are now available on all platforms in the return values of time." "localtime() and time.gmtime()." msgstr "" #: ../build/NEWS:21341 msgid "" "`bpo-24454 `__: Regular expression match " "object groups are now accessible using __getitem__. \"mo[x]\" is equivalent " "to \"mo.group(x)\"." msgstr "" #: ../build/NEWS:21344 msgid "" "`bpo-10740 `__: sqlite3 no longer " "implicitly commit an open transaction before DDL statements." msgstr "" #: ../build/NEWS:21347 msgid "" "`bpo-17941 `__: Add a *module* parameter " "to collections.namedtuple()." msgstr "" #: ../build/NEWS:21349 msgid "" "`bpo-22493 `__: Inline flags now should " "be used only at the start of the regular expression. Deprecation warning is " "emitted if uses them in the middle of the regular expression." msgstr "" #: ../build/NEWS:21353 msgid "" "`bpo-26885 `__: xmlrpc now supports " "unmarshalling additional data types used by Apache XML-RPC implementation " "for numerics and None." msgstr "" #: ../build/NEWS:21356 msgid "" "`bpo-28070 `__: Fixed parsing inline " "verbose flag in regular expressions." msgstr "" #: ../build/NEWS:21358 msgid "" "`bpo-19500 `__: Add client-side SSL " "session resumption to the ssl module." msgstr "" #: ../build/NEWS:21360 msgid "" "`bpo-28022 `__: Deprecate ssl-related " "arguments in favor of SSLContext. The deprecation include manual creation of " "SSLSocket and certfile/keyfile (or similar) in ftplib, httplib, imaplib, " "smtplib, poplib and urllib." msgstr "" #: ../build/NEWS:21364 msgid "" "`bpo-28043 `__: SSLContext has improved " "default settings: OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_COMPRESSION, " "OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE and HIGH " "ciphers without MD5." msgstr "" #: ../build/NEWS:21368 msgid "" "`bpo-24693 `__: Changed some " "RuntimeError's in the zipfile module to more appropriate types. Improved " "some error messages and debugging output." msgstr "" #: ../build/NEWS:21371 msgid "" "`bpo-17909 `__: ``json.load`` and ``json." "loads`` now support binary input encoded as UTF-8, UTF-16 or UTF-32. Patch " "by Serhiy Storchaka." msgstr "" #: ../build/NEWS:21374 msgid "" "`bpo-27137 `__: the pure Python fallback " "implementation of ``functools.partial`` now matches the behaviour of its " "accelerated C counterpart for subclassing, pickling and text representation " "purposes. Patch by Emanuel Barry and Serhiy Storchaka." msgstr "" #: ../build/NEWS:21379 ../build/NEWS:24474 msgid "" "Fix possible integer overflows and crashes in the mmap module with unusual " "usage patterns." msgstr "" #: ../build/NEWS:21382 ../build/NEWS:24477 msgid "" "`bpo-1703178 `__: Fix the ability to " "pass the --link-objects option to the distutils build_ext command." msgstr "" #: ../build/NEWS:21385 ../build/NEWS:24524 msgid "" "`bpo-28019 `__: itertools.count() no " "longer rounds non-integer step in range between 1.0 and 2.0 to 1." msgstr "" #: ../build/NEWS:21388 msgid "" "`bpo-18401 `__: Pdb now supports the " "'readrc' keyword argument to control whether .pdbrc files should be read. " "Patch by Martin Matusiak and Sam Kimbrel." msgstr "" #: ../build/NEWS:21392 ../build/NEWS:24527 msgid "" "`bpo-25969 `__: Update the lib2to3 " "grammar to handle the unpacking generalizations added in 3.5." msgstr "" #: ../build/NEWS:21395 ../build/NEWS:24530 msgid "" "`bpo-14977 `__: mailcap now respects the " "order of the lines in the mailcap files (\"first match\"), as required by " "RFC 1542. Patch by Michael Lazar." msgstr "" #: ../build/NEWS:21398 msgid "" "`bpo-28082 `__: Convert re flag " "constants to IntFlag." msgstr "" #: ../build/NEWS:21400 msgid "" "`bpo-28025 `__: Convert all ssl module " "constants to IntEnum and IntFlags. SSLContext properties now return flags " "and enums." msgstr "" #: ../build/NEWS:21403 msgid "" "`bpo-23591 `__: Add Flag, IntFlag, and " "auto() to enum module." msgstr "" #: ../build/NEWS:21405 msgid "" "`bpo-433028 `__: Added support of " "modifier spans in regular expressions." msgstr "" #: ../build/NEWS:21407 ../build/NEWS:24533 msgid "" "`bpo-24594 `__: Validates persist " "parameter when opening MSI database" msgstr "" #: ../build/NEWS:21409 ../build/NEWS:24535 msgid "" "`bpo-17582 `__: xml.etree.ElementTree " "nows preserves whitespaces in attributes (Patch by Duane Griffin. Reviewed " "and approved by Stefan Behnel.)" msgstr "" #: ../build/NEWS:21412 ../build/NEWS:24538 msgid "" "`bpo-28047 `__: Fixed calculation of " "line length used for the base64 CTE in the new email policies." msgstr "" #: ../build/NEWS:21415 msgid "" "`bpo-27576 `__: Fix call order in " "OrderedDict.__init__()." msgstr "" #: ../build/NEWS:21417 msgid "email.generator.DecodedGenerator now supports the policy keyword." msgstr "" #: ../build/NEWS:21419 msgid "" "`bpo-28027 `__: Remove undocumented " "modules from ``Lib/plat-*``: IN, CDROM, DLFCN, TYPES, CDIO, and STROPTS." msgstr "" #: ../build/NEWS:21422 ../build/NEWS:24541 msgid "" "`bpo-27445 `__: Don't pass str(_charset) " "to MIMEText.set_payload(). Patch by Claude Paroz." msgstr "" #: ../build/NEWS:21425 msgid "" "`bpo-24277 `__: The new email API is no " "longer provisional, and the docs have been reorganized and rewritten to " "emphasize the new API." msgstr "" #: ../build/NEWS:21428 ../build/NEWS:24544 msgid "" "`bpo-22450 `__: urllib now includes an " "``Accept: */*`` header among the default headers. This makes the results of " "REST API requests more consistent and predictable especially when proxy " "servers are involved." msgstr "" #: ../build/NEWS:21432 ../build/NEWS:24548 msgid "" "lib2to3.pgen3.driver.load_grammar() now creates a stable cache file between " "runs given the same Grammar.txt input regardless of the hash randomization " "setting." msgstr "" #: ../build/NEWS:21436 msgid "" "`bpo-28005 `__: Allow ImportErrors in " "encoding implementation to propagate." msgstr "" #: ../build/NEWS:21438 msgid "" "`bpo-26667 `__: Support path-like " "objects in importlib.util." msgstr "" #: ../build/NEWS:21440 ../build/NEWS:24552 msgid "" "`bpo-27570 `__: Avoid zero-length " "memcpy() etc calls with null source pointers in the \"ctypes\" and \"array\" " "modules." msgstr "" #: ../build/NEWS:21443 ../build/NEWS:24555 msgid "" "`bpo-22233 `__: Break email header lines " "*only* on the RFC specified CR and LF characters, not on arbitrary unicode " "line breaks. This also fixes a bug in HTTP header parsing." msgstr "" #: ../build/NEWS:21447 msgid "" "`bpo-27331 `__: The email.mime classes " "now all accept an optional policy keyword." msgstr "" #: ../build/NEWS:21450 ../build/NEWS:24559 msgid "" "`bpo-27988 `__: Fix email " "iter_attachments incorrect mutation of payload list." msgstr "" #: ../build/NEWS:21452 msgid "" "`bpo-16113 `__: Add SHA-3 and SHAKE " "support to hashlib module." msgstr "" #: ../build/NEWS:21454 msgid "Eliminate a tautological-pointer-compare warning in _scproxy.c." msgstr "" #: ../build/NEWS:21456 msgid "" "`bpo-27776 `__: The :func:`os.urandom` " "function does now block on Linux 3.17 and newer until the system urandom " "entropy pool is initialized to increase the security. This change is part of " "the :pep:`524`." msgstr "" #: ../build/NEWS:21460 msgid "" "`bpo-27778 `__: Expose the Linux " "``getrandom()`` syscall as a new :func:`os.getrandom` function. This change " "is part of the :pep:`524`." msgstr "" #: ../build/NEWS:21463 ../build/NEWS:24561 msgid "" "`bpo-27691 `__: Fix ssl module's parsing " "of GEN_RID subject alternative name fields in X.509 certs." msgstr "" #: ../build/NEWS:21466 msgid "" "`bpo-18844 `__: Add random.choices()." msgstr "" #: ../build/NEWS:21468 msgid "" "`bpo-25761 `__: Improved error reporting " "about truncated pickle data in C implementation of unpickler. " "UnpicklingError is now raised instead of AttributeError and ValueError in " "some cases." msgstr "" #: ../build/NEWS:21472 msgid "" "`bpo-26798 `__: Add BLAKE2 (blake2b and " "blake2s) to hashlib." msgstr "" #: ../build/NEWS:21474 msgid "" "`bpo-26032 `__: Optimized globbing in " "pathlib by using os.scandir(); it is now about 1.5--4 times faster." msgstr "" #: ../build/NEWS:21477 msgid "" "`bpo-25596 `__: Optimized glob() and " "iglob() functions in the glob module; they are now about 3--6 times faster." msgstr "" #: ../build/NEWS:21480 msgid "" "`bpo-27928 `__: Add scrypt (password-" "based key derivation function) to hashlib module (requires OpenSSL 1.1.0)." msgstr "" #: ../build/NEWS:21483 ../build/NEWS:24564 msgid "" "`bpo-27850 `__: Remove 3DES from ssl " "module's default cipher list to counter measure sweet32 attack " "(CVE-2016-2183)." msgstr "" #: ../build/NEWS:21486 ../build/NEWS:24567 msgid "" "`bpo-27766 `__: Add ChaCha20 Poly1305 to " "ssl module's default cipher list. (Required OpenSSL 1.1.0 or LibreSSL)." msgstr "" #: ../build/NEWS:21489 msgid "" "`bpo-25387 `__: Check return value of " "winsound.MessageBeep." msgstr "" #: ../build/NEWS:21491 msgid "" "`bpo-27866 `__: Add SSLContext." "get_ciphers() method to get a list of all enabled ciphers." msgstr "" #: ../build/NEWS:21494 msgid "" "`bpo-27744 `__: Add AF_ALG (Linux Kernel " "crypto) to socket module." msgstr "" #: ../build/NEWS:21496 ../build/NEWS:24570 msgid "" "`bpo-26470 `__: Port ssl and hashlib " "module to OpenSSL 1.1.0." msgstr "" #: ../build/NEWS:21498 msgid "" "`bpo-11620 `__: Fix support for " "SND_MEMORY in winsound.PlaySound. Based on a patch by Tim Lesher." msgstr "" #: ../build/NEWS:21501 msgid "" "`bpo-11734 `__: Add support for IEEE 754 " "half-precision floats to the struct module. Based on a patch by Eli Stevens." msgstr "" #: ../build/NEWS:21504 msgid "" "`bpo-27919 `__: Deprecated " "``extra_path`` distribution option in distutils packaging." msgstr "" #: ../build/NEWS:21507 msgid "" "`bpo-23229 `__: Add new ``cmath`` " "constants: ``cmath.inf`` and ``cmath.nan`` to match ``math.inf`` and ``math." "nan``, and also ``cmath.infj`` and ``cmath.nanj`` to match the format used " "by complex repr." msgstr "" #: ../build/NEWS:21511 msgid "" "`bpo-27842 `__: The csv.DictReader now " "returns rows of type OrderedDict. (Contributed by Steve Holden.)" msgstr "" #: ../build/NEWS:21514 ../build/NEWS:24572 msgid "" "Remove support for passing a file descriptor to os.access. It never worked " "but previously didn't raise." msgstr "" #: ../build/NEWS:21517 ../build/NEWS:24575 msgid "" "`bpo-12885 `__: Fix error when distutils " "encounters symlink." msgstr "" #: ../build/NEWS:21519 ../build/NEWS:24577 msgid "" "`bpo-27881 `__: Fixed possible bugs when " "setting sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21522 ../build/NEWS:24580 msgid "" "`bpo-27861 `__: Fixed a crash in sqlite3." "Connection.cursor() when a factory creates not a cursor. Patch by Xiang " "Zhang." msgstr "" #: ../build/NEWS:21525 ../build/NEWS:24583 msgid "" "`bpo-19884 `__: Avoid spurious output on " "OS X with Gnu Readline." msgstr "" #: ../build/NEWS:21527 ../build/NEWS:24585 msgid "" "`bpo-27706 `__: Restore deterministic " "behavior of random.Random().seed() for string seeds using seeding version " "1. Allows sequences of calls to random() to exactly match those obtained in " "Python 2. Patch by Nofar Schnider." msgstr "" #: ../build/NEWS:21532 ../build/NEWS:24590 msgid "" "`bpo-10513 `__: Fix a regression in " "Connection.commit(). Statements should not be reset after a commit." msgstr "" #: ../build/NEWS:21535 msgid "" "`bpo-12319 `__: Chunked transfer " "encoding support added to http.client.HTTPConnection requests. The urllib." "request.AbstractHTTPHandler class does not enforce a Content-Length header " "any more. If a HTTP request has a file or iterable body, but no Content-" "Length header, the library now falls back to use chunked transfer-encoding." msgstr "" #: ../build/NEWS:21542 msgid "" "A new version of typing.py from https://github.com/python/typing: - " "Collection (only for 3.6) (`bpo-27598 `__) - Add FrozenSet to __all__ (upstream #261) - fix crash in " "_get_type_vars() (upstream #259) - Remove the dict constraint in ForwardRef." "_eval_type (upstream #252)" msgstr "" #: ../build/NEWS:21547 msgid "" "`bpo-27832 `__: Make ``_normalize`` " "parameter to ``Fraction`` constructor keyword-only, so that ``Fraction(2, 3, " "4)`` now raises ``TypeError``." msgstr "" #: ../build/NEWS:21550 ../build/NEWS:24598 msgid "" "`bpo-27539 `__: Fix unnormalised " "``Fraction.__pow__`` result in the case of negative exponent and negative " "base." msgstr "" #: ../build/NEWS:21553 ../build/NEWS:24601 msgid "" "`bpo-21718 `__: cursor.description is " "now available for queries using CTEs." msgstr "" #: ../build/NEWS:21555 msgid "" "`bpo-27819 `__: In distutils sdists, " "simply produce the \"gztar\" (gzipped tar format) distributions on all " "platforms unless \"formats\" is supplied." msgstr "" #: ../build/NEWS:21558 ../build/NEWS:24603 msgid "" "`bpo-2466 `__: posixpath.ismount now " "correctly recognizes mount points which the user does not have permission to " "access." msgstr "" #: ../build/NEWS:21561 msgid "" "`bpo-9998 `__: On Linux, ctypes.util." "find_library now looks in LD_LIBRARY_PATH for shared libraries." msgstr "" #: ../build/NEWS:21564 msgid "" "`bpo-27573 `__: exit message for code." "interact is now configurable." msgstr "" #: ../build/NEWS:21566 ../build/NEWS:24711 msgid "" "`bpo-27930 `__: Improved behaviour of " "logging.handlers.QueueListener. Thanks to Paulo Andrade and Petr Viktorin " "for the analysis and patch." msgstr "" #: ../build/NEWS:21569 msgid "" "`bpo-6766 `__: Distributed reference " "counting added to multiprocessing to support nesting of shared values / " "proxy objects." msgstr "" #: ../build/NEWS:21572 ../build/NEWS:24714 msgid "" "`bpo-21201 `__: Improves readability of " "multiprocessing error message. Thanks to Wojciech Walczak for patch." msgstr "" #: ../build/NEWS:21575 msgid "asyncio: Add set_protocol / get_protocol to Transports." msgstr "" #: ../build/NEWS:21577 ../build/NEWS:24717 msgid "" "`bpo-27456 `__: asyncio: Set TCP_NODELAY " "by default." msgstr "" #: ../build/NEWS:21582 ../build/NEWS:24782 msgid "" "`bpo-15308 `__: Add 'interrupt " "execution' (^C) to Shell menu. Patch by Roger Serwy, updated by Bayard " "Randel." msgstr "" #: ../build/NEWS:21585 ../build/NEWS:24785 msgid "" "`bpo-27922 `__: Stop IDLE tests from " "'flashing' gui widgets on the screen." msgstr "" #: ../build/NEWS:21587 msgid "" "`bpo-27891 `__: Consistently group and " "sort imports within idlelib modules." msgstr "" #: ../build/NEWS:21589 msgid "" "`bpo-17642 `__: add larger font sizes " "for classroom projection." msgstr "" #: ../build/NEWS:21591 ../build/NEWS:24787 msgid "Add version to title of IDLE help window." msgstr "" #: ../build/NEWS:21593 ../build/NEWS:24789 msgid "" "`bpo-25564 `__: In section on IDLE -- " "console differences, mention that using exec means that __builtins__ is " "defined for each statement." msgstr "" #: ../build/NEWS:21596 msgid "" "`bpo-27821 `__: Fix 3.6.0a3 regression " "that prevented custom key sets from being selected when no custom theme was " "defined." msgstr "" #: ../build/NEWS:21602 msgid "" "`bpo-26900 `__: Excluded underscored " "names and other private API from limited API." msgstr "" #: ../build/NEWS:21605 msgid "" "`bpo-26027 `__: Add support for path-" "like objects in PyUnicode_FSConverter() & PyUnicode_FSDecoder()." msgstr "" #: ../build/NEWS:21611 msgid "" "`bpo-27427 `__: Additional tests for the " "math module. Patch by Francisco Couzo." msgstr "" #: ../build/NEWS:21613 msgid "" "`bpo-27953 `__: Skip math and cmath " "tests that fail on OS X 10.4 due to a poor libm implementation of tan." msgstr "" #: ../build/NEWS:21616 msgid "" "`bpo-26040 `__: Improve test_math and " "test_cmath coverage and rigour. Patch by Jeff Allen." msgstr "" #: ../build/NEWS:21619 ../build/NEWS:24834 msgid "" "`bpo-27787 `__: Call gc.collect() before " "checking each test for \"dangling threads\", since the dangling threads are " "weak references." msgstr "" #: ../build/NEWS:21625 ../build/NEWS:24894 msgid "" "`bpo-27566 `__: Fix clean target in " "freeze makefile (patch by Lisa Roach)" msgstr "" #: ../build/NEWS:21627 ../build/NEWS:24896 msgid "" "`bpo-27705 `__: Update message in " "validate_ucrtbase.py" msgstr "" #: ../build/NEWS:21629 msgid "" "`bpo-27976 `__: Deprecate building " "_ctypes with the bundled copy of libffi on non-OSX UNIX platforms." msgstr "" #: ../build/NEWS:21632 msgid "" "`bpo-27983 `__: Cause lack of llvm-" "profdata tool when using clang as required for PGO linking to be a configure " "time error rather than make time when ``--with-optimizations`` is enabled. " "Also improve our ability to find the llvm-profdata tool on MacOS and some " "Linuxes." msgstr "" #: ../build/NEWS:21637 msgid "" "`bpo-21590 `__: Support for DTrace and " "SystemTap probes." msgstr "" #: ../build/NEWS:21639 ../build/NEWS:24903 msgid "" "`bpo-26307 `__: The profile-opt build " "now applies PGO to the built-in modules." msgstr "" #: ../build/NEWS:21641 msgid "" "`bpo-26359 `__: Add the --with-" "optimizations flag to turn on LTO and PGO build support when available." msgstr "" #: ../build/NEWS:21644 msgid "" "`bpo-27917 `__: Set platform triplets " "for Android builds." msgstr "" #: ../build/NEWS:21646 msgid "" "`bpo-25825 `__: Update references to the " "$(LIBPL) installation path on AIX. This path was changed in 3.2a4." msgstr "" #: ../build/NEWS:21649 msgid "Update OS X installer to use SQLite 3.14.1 and XZ 5.2.2." msgstr "" #: ../build/NEWS:21651 msgid "" "`bpo-21122 `__: Fix LTO builds on OS X." msgstr "" #: ../build/NEWS:21653 msgid "" "`bpo-17128 `__: Build OS X installer " "with a private copy of OpenSSL. Also provide a sample Install Certificates " "command script to install a set of root certificates from the third-party " "certifi module." msgstr "" #: ../build/NEWS:21660 ../build/NEWS:24843 msgid "" "`bpo-27952 `__: Get Tools/scripts/fixcid." "py working with Python 3 and the current \"re\" module, avoid invalid Python " "backslash escapes, and fix a bug parsing escaped C quote signs." msgstr "" #: ../build/NEWS:21667 msgid "" "`bpo-28065 `__: Update xz dependency to " "5.2.2 and build it from source." msgstr "" #: ../build/NEWS:21669 ../build/NEWS:24860 msgid "" "`bpo-25144 `__: Ensures TargetDir is set " "before continuing with custom install." msgstr "" #: ../build/NEWS:21671 msgid "" "`bpo-1602 `__: Windows console doesn't " "input or print Unicode (PEP 528)" msgstr "" #: ../build/NEWS:21673 msgid "" "`bpo-27781 `__: Change file system " "encoding on Windows to UTF-8 (PEP 529)" msgstr "" #: ../build/NEWS:21675 msgid "" "`bpo-27731 `__: Opt-out of MAX_PATH on " "Windows 10" msgstr "" #: ../build/NEWS:21677 msgid "" "`bpo-6135 `__: Adds encoding and errors " "parameters to subprocess." msgstr "" #: ../build/NEWS:21679 msgid "" "`bpo-27959 `__: Adds oem encoding, alias " "ansi to mbcs, move aliasmbcs to codec lookup." msgstr "" #: ../build/NEWS:21682 msgid "" "`bpo-27982 `__: The functions of the " "winsound module now accept keyword arguments." msgstr "" #: ../build/NEWS:21685 msgid "" "`bpo-20366 `__: Build full text search " "support into SQLite on Windows." msgstr "" #: ../build/NEWS:21687 msgid "" "`bpo-27756 `__: Adds new icons for " "Python files and processes on Windows. Designs by Cherry Wang." msgstr "" #: ../build/NEWS:21690 msgid "" "`bpo-27883 `__: Update sqlite to " "3.14.1.0 on Windows." msgstr "" #: ../build/NEWS:21694 msgid "Python 3.6.0 alpha 4" msgstr "" #: ../build/NEWS:21696 msgid "*Release date: 2016-08-15*" msgstr "" #: ../build/NEWS:21701 msgid "" "`bpo-27704 `__: Optimized creating bytes " "and bytearray from byte-like objects and iterables. Speed up to 3 times for " "short objects. Original patch by Naoki Inada." msgstr "" #: ../build/NEWS:21705 msgid "" "`bpo-26823 `__: Large sections of " "repeated lines in tracebacks are now abbreviated as \"[Previous line " "repeated {count} more times]\" by the builtin traceback rendering. Patch by " "Emanuel Barry." msgstr "" #: ../build/NEWS:21709 msgid "" "`bpo-27574 `__: Decreased an overhead of " "parsing keyword arguments in functions implemented with using Argument " "Clinic." msgstr "" #: ../build/NEWS:21712 msgid "" "`bpo-22557 `__: Now importing already " "imported modules is up to 2.5 times faster." msgstr "" #: ../build/NEWS:21715 msgid "" "`bpo-17596 `__: Include to " "help with Min GW building." msgstr "" #: ../build/NEWS:21717 msgid "" "`bpo-17599 `__: On Windows, rename the " "privately defined REPARSE_DATA_BUFFER structure to avoid conflicting with " "the definition from Min GW." msgstr "" #: ../build/NEWS:21720 ../build/NEWS:24366 msgid "" "`bpo-27507 `__: Add integer overflow " "check in bytearray.extend(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21723 ../build/NEWS:24369 msgid "" "`bpo-27581 `__: Don't rely on wrapping " "for overflow check in PySequence_Tuple(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21726 msgid "" "`bpo-1621 `__: Avoid signed integer " "overflow in list and tuple operations. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21729 msgid "" "`bpo-27419 `__: Standard __import__() no " "longer look up \"__import__\" in globals or builtins for importing " "submodules or \"from import\". Fixed a crash if raise a warning about " "unabling to resolve package from __spec__ or __package__." msgstr "" #: ../build/NEWS:21734 ../build/NEWS:24358 msgid "" "`bpo-27083 `__: Respect the PYTHONCASEOK " "environment variable under Windows." msgstr "" #: ../build/NEWS:21736 ../build/NEWS:24360 msgid "" "`bpo-27514 `__: Make having too many " "statically nested blocks a SyntaxError instead of SystemError." msgstr "" #: ../build/NEWS:21739 msgid "" "`bpo-27366 `__: Implemented :pep:`487` " "(Simpler customization of class creation). Upon subclassing, the " "__init_subclass__ classmethod is called on the base class. Descriptors are " "initialized with __set_name__ after class creation." msgstr "" #: ../build/NEWS:21747 msgid "" "`bpo-26027 `__: Add :pep:`519`/" "__fspath__() support to the os and os.path modules. Includes code from Jelle " "Zijlstra. (See also: `bpo-27524 `__)" msgstr "" #: ../build/NEWS:21750 msgid "" "`bpo-27598 `__: Add Collections to " "collections.abc. Patch by Ivan Levkivskyi, docs by Neil Girdhar." msgstr "" #: ../build/NEWS:21753 msgid "" "`bpo-25958 `__: Support \"anti-" "registration\" of special methods from various ABCs, like __hash__, __iter__ " "or __len__. All these (and several more) can be set to None in an " "implementation class and the behavior will be as if the method is not " "defined at all. (Previously, this mechanism existed only for __hash__, to " "make mutable classes unhashable.) Code contributed by Andrew Barnert and " "Ivan Levkivskyi." msgstr "" #: ../build/NEWS:21760 msgid "" "`bpo-16764 `__: Support keyword " "arguments to zlib.decompress(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21763 msgid "" "`bpo-27736 `__: Prevent segfault after " "interpreter re-initialization due to ref count problem introduced in code " "for `bpo-27038 `__ in 3.6.0a3. Patch by " "Xiang Zhang." msgstr "" #: ../build/NEWS:21767 msgid "" "`bpo-25628 `__: The *verbose* and " "*rename* parameters for collections.namedtuple are now keyword-only." msgstr "" #: ../build/NEWS:21770 msgid "" "`bpo-12345 `__: Add mathematical " "constant tau to math and cmath. See also :pep:`628`." msgstr "" #: ../build/NEWS:21773 msgid "" "`bpo-26823 `__: traceback.StackSummary." "format now abbreviates large sections of repeated lines as \"[Previous line " "repeated {count} more times]\" (this change then further affects other " "traceback display operations in the module). Patch by Emanuel Barry." msgstr "" #: ../build/NEWS:21778 msgid "" "`bpo-27664 `__: Add to concurrent." "futures.thread.ThreadPoolExecutor() the ability to specify a thread name " "prefix." msgstr "" #: ../build/NEWS:21781 msgid "" "`bpo-27181 `__: Add geometric_mean and " "harmonic_mean to statistics module." msgstr "" #: ../build/NEWS:21783 msgid "" "`bpo-27573 `__: code.interact now prints " "an message when exiting." msgstr "" #: ../build/NEWS:21785 msgid "" "`bpo-6422 `__: Add autorange method to " "timeit.Timer objects." msgstr "" #: ../build/NEWS:21787 ../build/NEWS:24606 msgid "" "`bpo-27773 `__: Correct some memory " "management errors server_hostname in _ssl.wrap_socket()." msgstr "" #: ../build/NEWS:21790 msgid "" "`bpo-26750 `__: unittest.mock." "create_autospec() now works properly for subclasses of property() and other " "data descriptors. Removes the never publicly used, never documented " "unittest.mock.DescriptorTypes tuple." msgstr "" #: ../build/NEWS:21794 msgid "" "`bpo-26754 `__: Undocumented support of " "general bytes-like objects as path in compile() and similar functions is now " "deprecated." msgstr "" #: ../build/NEWS:21797 msgid "" "`bpo-26800 `__: Undocumented support of " "general bytes-like objects as paths in os functions is now deprecated." msgstr "" #: ../build/NEWS:21800 msgid "" "`bpo-26981 `__: Add _order_ " "compatibility shim to enum.Enum for Python 2/3 code bases." msgstr "" #: ../build/NEWS:21803 msgid "" "`bpo-27661 `__: Added tzinfo keyword " "argument to datetime.combine." msgstr "" #: ../build/NEWS:21805 ../build/NEWS:24612 msgid "" "In the curses module, raise an error if window.getstr() or window.instr() is " "passed a negative value." msgstr "" #: ../build/NEWS:21808 ../build/NEWS:24615 msgid "" "`bpo-27783 `__: Fix possible usage of " "uninitialized memory in operator.methodcaller." msgstr "" #: ../build/NEWS:21811 ../build/NEWS:24618 msgid "" "`bpo-27774 `__: Fix possible Py_DECREF " "on unowned object in _sre." msgstr "" #: ../build/NEWS:21813 ../build/NEWS:24620 msgid "" "`bpo-27760 `__: Fix possible integer " "overflow in binascii.b2a_qp." msgstr "" #: ../build/NEWS:21815 ../build/NEWS:24622 msgid "" "`bpo-27758 `__: Fix possible integer " "overflow in the _csv module for large record lengths." msgstr "" #: ../build/NEWS:21818 ../build/NEWS:24625 msgid "" "`bpo-27568 `__: Prevent HTTPoxy attack " "(CVE-2016-1000110). Ignore the HTTP_PROXY variable when REQUEST_METHOD " "environment is set, which indicates that the script is in CGI mode." msgstr "" #: ../build/NEWS:21822 msgid "" "`bpo-7063 `__: Remove dead code from the " "\"array\" module's slice handling. Patch by Chuck." msgstr "" #: ../build/NEWS:21825 ../build/NEWS:24629 msgid "" "`bpo-27656 `__: Do not assume sched.h " "defines any SCHED_* constants." msgstr "" #: ../build/NEWS:21827 ../build/NEWS:24631 msgid "" "`bpo-27130 `__: In the \"zlib\" module, " "fix handling of large buffers (typically 4 GiB) when compressing and " "decompressing. Previously, inputs were limited to 4 GiB, and compression " "and decompression operations did not properly handle results of 4 GiB." msgstr "" #: ../build/NEWS:21832 msgid "" "`bpo-24773 `__: Implemented :pep:`495` " "(Local Time Disambiguation)." msgstr "" #: ../build/NEWS:21834 msgid "" "Expose the EPOLLEXCLUSIVE constant (when it is defined) in the select module." msgstr "" #: ../build/NEWS:21837 msgid "" "`bpo-27567 `__: Expose the EPOLLRDHUP " "and POLLRDHUP constants in the select module." msgstr "" #: ../build/NEWS:21840 msgid "" "`bpo-1621 `__: Avoid signed int negation " "overflow in the \"audioop\" module." msgstr "" #: ../build/NEWS:21842 ../build/NEWS:24636 msgid "" "`bpo-27533 `__: Release GIL in nt._isdir" msgstr "" #: ../build/NEWS:21844 ../build/NEWS:24638 msgid "" "`bpo-17711 `__: Fixed unpickling by the " "persistent ID with protocol 0. Original patch by Alexandre Vassalotti." msgstr "" #: ../build/NEWS:21847 ../build/NEWS:24641 msgid "" "`bpo-27522 `__: Avoid an unintentional " "reference cycle in email.feedparser." msgstr "" #: ../build/NEWS:21849 msgid "" "`bpo-27512 `__: Fix a segfault when os." "fspath() called an __fspath__() method that raised an exception. Patch by " "Xiang Zhang." msgstr "" #: ../build/NEWS:21855 ../build/NEWS:24792 msgid "" "`bpo-27714 `__: text_textview and " "test_autocomplete now pass when re-run in the same process. This occurs " "when test_idle fails when run with the -w option but without -jn. Fix " "warning from test_config." msgstr "" #: ../build/NEWS:21859 msgid "" "`bpo-27621 `__: Put query response " "validation error messages in the query box itself instead of in a separate " "messagebox. Redo tests to match. Add Mac OSX refinements. Original patch by " "Mark Roseman." msgstr "" #: ../build/NEWS:21863 msgid "" "`bpo-27620 `__: Escape key now closes " "Query box as cancelled." msgstr "" #: ../build/NEWS:21865 msgid "" "`bpo-27609 `__: IDLE: tab after initial " "whitespace should tab, not autocomplete. This fixes problem with writing " "docstrings at least twice indented." msgstr "" #: ../build/NEWS:21869 msgid "" "`bpo-27609 `__: Explicitly return None " "when there are also non-None returns. In a few cases, reverse a condition " "and eliminate a return." msgstr "" #: ../build/NEWS:21872 ../build/NEWS:24796 msgid "" "`bpo-25507 `__: IDLE no longer runs " "buggy code because of its tkinter imports. Users must include the same " "imports required to run directly in Python." msgstr "" #: ../build/NEWS:21875 ../build/NEWS:22068 msgid "" "`bpo-27173 `__: Add 'IDLE Modern Unix' " "to the built-in key sets. Make the default key set depend on the platform. " "Add tests for the changes to the config module." msgstr "" #: ../build/NEWS:21879 ../build/NEWS:22075 ../build/NEWS:24799 msgid "" "`bpo-27452 `__: add line counter and crc " "to IDLE configHandler test dump." msgstr "" #: ../build/NEWS:21884 msgid "" "`bpo-25805 `__: Skip a test in " "test_pkgutil as needed that doesn't work when ``__name__ == __main__``. " "Patch by SilentGhost." msgstr "" #: ../build/NEWS:21887 msgid "" "`bpo-27472 `__: Add test.support." "unix_shell as the path to the default shell." msgstr "" #: ../build/NEWS:21889 ../build/NEWS:24837 msgid "" "`bpo-27369 `__: In test_pyexpat, avoid " "testing an error message detail that changed in Expat 2.2.0." msgstr "" #: ../build/NEWS:21892 msgid "" "`bpo-27594 `__: Prevent assertion error " "when running test_ast with coverage enabled: ensure code object has a valid " "first line number. Patch suggested by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:21899 msgid "" "`bpo-27647 `__: Update bundled Tcl/Tk to " "8.6.6." msgstr "" #: ../build/NEWS:21901 msgid "" "`bpo-27610 `__: Adds :pep:`514` metadata " "to Windows installer" msgstr "" #: ../build/NEWS:21903 ../build/NEWS:24862 msgid "" "`bpo-27469 `__: Adds a shell extension " "to the launcher so that drag and drop works correctly." msgstr "" #: ../build/NEWS:21906 msgid "" "`bpo-27309 `__: Enables proper Windows " "styles in python[w].exe manifest." msgstr "" #: ../build/NEWS:21911 ../build/NEWS:24907 msgid "" "`bpo-27713 `__: Suppress spurious build " "warnings when updating importlib's bootstrap files. Patch by Xiang Zhang" msgstr "" #: ../build/NEWS:21914 msgid "" "`bpo-25825 `__: Correct the references " "to Modules/python.exp, which is required on AIX. The references were " "accidentally changed in 3.5.0a1." msgstr "" #: ../build/NEWS:21917 ../build/NEWS:24915 msgid "" "`bpo-27453 `__: CPP invocation in " "configure must use CPPFLAGS. Patch by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:21920 ../build/NEWS:24918 msgid "" "`bpo-27641 `__: The configure script now " "inserts comments into the makefile to prevent the pgen and _freeze_importlib " "executables from being cross-compiled." msgstr "" #: ../build/NEWS:21924 ../build/NEWS:24922 msgid "" "`bpo-26662 `__: Set PYTHON_FOR_GEN in " "configure as the Python program to be used for file generation during the " "build." msgstr "" #: ../build/NEWS:21927 ../build/NEWS:24925 msgid "" "`bpo-10910 `__: Avoid C++ compilation " "errors on FreeBSD and OS X. Also update FreedBSD version checks for the " "original ctype UTF-8 workaround." msgstr "" #: ../build/NEWS:21932 msgid "Python 3.6.0 alpha 3" msgstr "" #: ../build/NEWS:21934 msgid "*Release date: 2016-07-11*" msgstr "" #: ../build/NEWS:21939 ../build/NEWS:24363 msgid "" "`bpo-27473 `__: Fixed possible integer " "overflow in bytes and bytearray concatenations. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:21942 msgid "" "`bpo-23034 `__: The output of a special " "Python build with defined COUNT_ALLOCS, SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT " "macros is now off by default. It can be re-enabled using the \"-X " "showalloccount\" option. It now outputs to stderr instead of stdout." msgstr "" #: ../build/NEWS:21947 ../build/NEWS:24372 msgid "" "`bpo-27443 `__: __length_hint__() of " "bytearray iterators no longer return a negative integer for a resized " "bytearray." msgstr "" #: ../build/NEWS:21950 msgid "" "`bpo-27007 `__: The fromhex() class " "methods of bytes and bytearray subclasses now return an instance of " "corresponding subclass." msgstr "" #: ../build/NEWS:21956 ../build/NEWS:24643 msgid "" "`bpo-26844 `__: Fix error message for " "imp.find_module() to refer to 'path' instead of 'name'. Patch by Lev Maximov." msgstr "" #: ../build/NEWS:21959 ../build/NEWS:24646 msgid "" "`bpo-23804 `__: Fix SSL zero-length " "recv() calls to not block and not raise an error about unclean EOF." msgstr "" #: ../build/NEWS:21962 ../build/NEWS:24649 msgid "" "`bpo-27466 `__: Change time format " "returned by http.cookie.time2netscape, confirming the netscape cookie format " "and making it consistent with documentation." msgstr "" #: ../build/NEWS:21966 msgid "" "`bpo-21708 `__: Deprecated dbm.dumb " "behavior that differs from common dbm behavior: creating a database in 'r' " "and 'w' modes and modifying a database in 'r' mode." msgstr "" #: ../build/NEWS:21970 msgid "" "`bpo-26721 `__: Change the socketserver." "StreamRequestHandler.wfile attribute to implement BufferedIOBase. In " "particular, the write() method no longer does partial writes." msgstr "" #: ../build/NEWS:21974 msgid "" "`bpo-22115 `__: Added methods trace_add, " "trace_remove and trace_info in the tkinter.Variable class. They replace old " "methods trace_variable, trace, trace_vdelete and trace_vinfo that use " "obsolete Tcl commands and might not work in future versions of Tcl. Fixed " "old tracing methods: trace_vdelete() with wrong mode no longer break " "tracing, trace_vinfo() now always returns a list of pairs of strings, " "tracing in the \"u\" mode now works." msgstr "" #: ../build/NEWS:21982 msgid "" "`bpo-26243 `__: Only the level argument " "to zlib.compress() is keyword argument now. The first argument is " "positional-only." msgstr "" #: ../build/NEWS:21985 msgid "" "`bpo-27038 `__: Expose the DirEntry type " "as os.DirEntry. Code patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:21988 msgid "" "`bpo-27186 `__: Update os.fspath()/" "PyOS_FSPath() to check the return value of __fspath__() to be either str or " "bytes." msgstr "" #: ../build/NEWS:21991 msgid "" "`bpo-18726 `__: All optional parameters " "of the dump(), dumps(), load() and loads() functions and JSONEncoder and " "JSONDecoder class constructors in the json module are now keyword-only." msgstr "" #: ../build/NEWS:21995 msgid "" "`bpo-27319 `__: Methods selection_set(), " "selection_add(), selection_remove() and selection_toggle() of ttk.TreeView " "now allow passing multiple items as multiple arguments instead of passing " "them as a tuple. Deprecated undocumented ability of calling the selection() " "method with arguments." msgstr "" #: ../build/NEWS:22000 ../build/NEWS:24663 msgid "" "`bpo-27079 `__: Fixed curses.ascii " "functions isblank(), iscntrl() and ispunct()." msgstr "" #: ../build/NEWS:22003 msgid "" "`bpo-27294 `__: Numerical state in the " "repr for Tkinter event objects is now represented as a combination of known " "flags." msgstr "" #: ../build/NEWS:22006 msgid "" "`bpo-27177 `__: Match objects in the re " "module now support index-like objects as group indices. Based on patches by " "Jeroen Demeyer and Xiang Zhang." msgstr "" #: ../build/NEWS:22009 ../build/NEWS:24666 msgid "" "`bpo-26754 `__: Some functions " "(compile() etc) accepted a filename argument encoded as an iterable of " "integers. Now only strings and byte-like objects are accepted." msgstr "" #: ../build/NEWS:22013 msgid "" "`bpo-26536 `__: socket.ioctl now " "supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes." msgstr "" #: ../build/NEWS:22016 ../build/NEWS:24670 msgid "" "`bpo-27048 `__: Prevents distutils " "failing on Windows when environment variables contain non-ASCII characters" msgstr "" #: ../build/NEWS:22019 ../build/NEWS:24673 msgid "" "`bpo-27330 `__: Fixed possible leaks in " "the ctypes module." msgstr "" #: ../build/NEWS:22021 ../build/NEWS:24675 msgid "" "`bpo-27238 `__: Got rid of bare excepts " "in the turtle module. Original patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:22024 ../build/NEWS:24678 msgid "" "`bpo-27122 `__: When an exception is " "raised within the context being managed by a contextlib.ExitStack() and one " "of the exit stack generators catches and raises it in a chain, do not re-" "raise the original exception when exiting, let the new chained one through. " "This avoids the :pep:`479` bug described in issue25782." msgstr "" #: ../build/NEWS:22033 ../build/NEWS:24687 msgid "" "`bpo-27278 `__: Fix os.urandom() " "implementation using getrandom() on Linux. Truncate size to INT_MAX and loop " "until we collected enough random bytes, instead of casting a directly " "Py_ssize_t to int." msgstr "" #: ../build/NEWS:22040 msgid "" "`bpo-16864 `__: sqlite3.Cursor.lastrowid " "now supports REPLACE statement. Initial patch by Alex LordThorsen." msgstr "" #: ../build/NEWS:22043 ../build/NEWS:24694 msgid "" "`bpo-26386 `__: Fixed ttk.TreeView " "selection operations with item id's containing spaces." msgstr "" #: ../build/NEWS:22046 msgid "" "`bpo-8637 `__: Honor a pager set by the " "env var MANPAGER (in preference to one set by the env var PAGER)." msgstr "" #: ../build/NEWS:22052 ../build/NEWS:24700 msgid "" "`bpo-22636 `__: Avoid shell injection " "problems with ctypes.util.find_library()." msgstr "" #: ../build/NEWS:22057 ../build/NEWS:24705 msgid "" "`bpo-16182 `__: Fix various functions in " "the \"readline\" module to use the locale encoding, and fix get_begidx() and " "get_endidx() to return code point indexes." msgstr "" #: ../build/NEWS:22061 ../build/NEWS:24709 msgid "" "`bpo-27392 `__: Add loop." "connect_accepted_socket(). Patch by Jim Fulton." msgstr "" #: ../build/NEWS:22066 msgid "" "`bpo-27477 `__: IDLE search dialogs now " "use ttk widgets." msgstr "" #: ../build/NEWS:22072 msgid "" "`bpo-27452 `__: make command line \"idle-" "test> python test_help.py\" work. __file__ is relative when python is " "started in the file's directory." msgstr "" #: ../build/NEWS:22077 msgid "" "`bpo-27380 `__: IDLE: add query.py with " "base Query dialog and ttk widgets. Module had subclasses SectionName, " "ModuleName, and HelpSource, which are used to get information from users by " "configdialog and file =>Load Module. Each subclass has itw own validity " "checks. Using ModuleName allows users to edit bad module names instead of " "starting over. Add tests and delete the two files combined into the new one." msgstr "" #: ../build/NEWS:22084 msgid "" "`bpo-27372 `__: Test_idle no longer " "changes the locale." msgstr "" #: ../build/NEWS:22086 ../build/NEWS:24801 msgid "" "`bpo-27365 `__: Allow non-ascii chars in " "IDLE NEWS.txt, for contributor names." msgstr "" #: ../build/NEWS:22088 ../build/NEWS:24803 msgid "" "`bpo-27245 `__: IDLE: Cleanly delete " "custom themes and key bindings. Previously, when IDLE was started from a " "console or by import, a cascade of warnings was emitted. Patch by Serhiy " "Storchaka." msgstr "" #: ../build/NEWS:22092 msgid "" "`bpo-24137 `__: Run IDLE, test_idle, and " "htest with tkinter default root disabled. Fix code and tests that fail with " "this restriction. Fix htests to not create a second and redundant root and " "mainloop." msgstr "" #: ../build/NEWS:22096 msgid "" "`bpo-27310 `__: Fix IDLE.app failure to " "launch on OS X due to vestigial import." msgstr "" #: ../build/NEWS:22101 msgid "" "`bpo-26754 `__: PyUnicode_FSDecoder() " "accepted a filename argument encoded as an iterable of integers. Now only " "strings and byte-like objects are accepted." msgstr "" #: ../build/NEWS:22108 ../build/NEWS:24888 msgid "" "`bpo-28066 `__: Fix the logic that " "searches build directories for generated include files when building outside " "the source tree." msgstr "" #: ../build/NEWS:22111 msgid "" "`bpo-27442 `__: Expose the Android API " "level that python was built against, in sysconfig.get_config_vars() as " "'ANDROID_API_LEVEL'." msgstr "" #: ../build/NEWS:22114 msgid "" "`bpo-27434 `__: The interpreter that " "runs the cross-build, found in PATH, must now be of the same feature version " "(e.g. 3.6) as the source being built." msgstr "" #: ../build/NEWS:22117 ../build/NEWS:24940 msgid "" "`bpo-26930 `__: Update Windows builds to " "use OpenSSL 1.0.2h." msgstr "" #: ../build/NEWS:22119 msgid "" "`bpo-23968 `__: Rename the platform " "directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET). Rename the " "config directory (LIBPL) from config-$(LDVERSION) to config-$(LDVERSION)-" "$(PLATFORM_TRIPLET). Install the platform specific _sysconfigdata module " "into the platform directory and rename it to include the ABIFLAGS." msgstr "" #: ../build/NEWS:22125 msgid "Don't use largefile support for GNU/Hurd." msgstr "" #: ../build/NEWS:22130 ../build/NEWS:24847 msgid "" "`bpo-27332 `__: Fixed the type of the " "first argument of module-level functions generated by Argument Clinic. " "Patch by Petr Viktorin." msgstr "" #: ../build/NEWS:22133 ../build/NEWS:24850 msgid "" "`bpo-27418 `__: Fixed Tools/importbench/" "importbench.py." msgstr "" #: ../build/NEWS:22138 ../build/NEWS:25569 msgid "" "`bpo-19489 `__: Moved the search box " "from the sidebar to the header and footer of each page. Patch by Ammar Askar." msgstr "" #: ../build/NEWS:22141 msgid "" "`bpo-27285 `__: Update documentation to " "reflect the deprecation of ``pyvenv`` and normalize on the term \"virtual " "environment\". Patch by Steve Piercy." msgstr "" #: ../build/NEWS:22147 msgid "" "`bpo-27027 `__: Added test.support." "is_android that is True when this is an Android build." msgstr "" #: ../build/NEWS:22152 msgid "Python 3.6.0 alpha 2" msgstr "" #: ../build/NEWS:22154 msgid "*Release date: 2016-06-13*" msgstr "" #: ../build/NEWS:22159 msgid "" "`bpo-27095 `__: Simplified MAKE_FUNCTION " "and removed MAKE_CLOSURE opcodes. Patch by Demur Rumed." msgstr "" #: ../build/NEWS:22162 msgid "" "`bpo-27190 `__: Raise NotSupportedError " "if sqlite3 is older than 3.3.1. Patch by Dave Sawyer." msgstr "" #: ../build/NEWS:22165 msgid "" "`bpo-27286 `__: Fixed compiling " "BUILD_MAP_UNPACK_WITH_CALL opcode. Calling function with generalized " "unpacking (PEP 448) and conflicting keyword names could cause undefined " "behavior." msgstr "" #: ../build/NEWS:22169 msgid "" "`bpo-27140 `__: Added " "BUILD_CONST_KEY_MAP opcode." msgstr "" #: ../build/NEWS:22171 msgid "" "`bpo-27186 `__: Add support for os." "PathLike objects to open() (part of :pep:`519`)." msgstr "" #: ../build/NEWS:22174 ../build/NEWS:24961 msgid "" "`bpo-27066 `__: Fixed SystemError if a " "custom opener (for open()) returns a negative number without setting an " "exception." msgstr "" #: ../build/NEWS:22177 msgid "" "`bpo-26983 `__: float() now always " "return an instance of exact float. The deprecation warning is emitted if " "__float__ returns an instance of a strict subclass of float. In a future " "versions of Python this can be an error." msgstr "" #: ../build/NEWS:22182 msgid "" "`bpo-27097 `__: Python interpreter is " "now about 7% faster due to optimized instruction decoding. Based on patch " "by Demur Rumed." msgstr "" #: ../build/NEWS:22185 msgid "" "`bpo-26647 `__: Python interpreter now " "uses 16-bit wordcode instead of bytecode. Patch by Demur Rumed." msgstr "" #: ../build/NEWS:22188 msgid "" "`bpo-23275 `__: Allow assigning to an " "empty target list in round brackets: () = iterable." msgstr "" #: ../build/NEWS:22191 ../build/NEWS:25083 msgid "" "`bpo-27243 `__: Update the __aiter__ " "protocol: instead of returning an awaitable that resolves to an asynchronous " "iterator, the asynchronous iterator should be returned directly. Doing the " "former will trigger a PendingDeprecationWarning." msgstr "" #: ../build/NEWS:22199 msgid "" "Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants " "exposed on the API which are not implemented on GNU/Hurd. They would not " "work at runtime anyway." msgstr "" #: ../build/NEWS:22203 msgid "" "`bpo-27025 `__: Generated names for " "Tkinter widgets are now more meaningful and recognizable." msgstr "" #: ../build/NEWS:22206 msgid "" "`bpo-25455 `__: Fixed crashes in repr of " "recursive ElementTree.Element and functools.partial objects." msgstr "" #: ../build/NEWS:22209 msgid "" "`bpo-27294 `__: Improved repr for " "Tkinter event objects." msgstr "" #: ../build/NEWS:22211 msgid "" "`bpo-20508 `__: Improve exception " "message of IPv{4,6}Network.__getitem__. Patch by Gareth Rees." msgstr "" #: ../build/NEWS:22217 ../build/NEWS:25091 msgid "" "`bpo-26556 `__: Update expat to 2.1.1, " "fixes CVE-2015-1283." msgstr "" #: ../build/NEWS:22219 msgid "" "Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " "Oststrom." msgstr "" #: ../build/NEWS:22225 ../build/NEWS:25099 msgid "" "`bpo-21386 `__: Implement missing " "IPv4Address.is_global property. It was documented since 07a5610bae9d. " "Initial patch by Roger Luethi." msgstr "" #: ../build/NEWS:22228 msgid "" "`bpo-27029 `__: Removed deprecated " "support of universal newlines mode from ZipFile.open()." msgstr "" #: ../build/NEWS:22231 msgid "" "`bpo-27030 `__: Unknown escapes " "consisting of ``'\\'`` and an ASCII letter in regular expressions now are " "errors. The re.LOCALE flag now can be used only with bytes patterns." msgstr "" #: ../build/NEWS:22235 msgid "" "`bpo-27186 `__: Add os.PathLike support " "to DirEntry (part of :pep:`519`). Initial patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:22238 ../build/NEWS:25102 msgid "" "`bpo-20900 `__: distutils register " "command now decodes HTTP responses correctly. Initial patch by ingrid." msgstr "" #: ../build/NEWS:22241 msgid "" "`bpo-27186 `__: Add os.PathLike support " "to pathlib, removing its provisional status (part of PEP 519). Initial patch " "by Dusty Phillips." msgstr "" #: ../build/NEWS:22244 msgid "" "`bpo-27186 `__: Add support for os." "PathLike objects to os.fsencode() and os.fsdecode() (part of :pep:`519`)." msgstr "" #: ../build/NEWS:22247 msgid "" "`bpo-27186 `__: Introduce os.PathLike " "and os.fspath() (part of :pep:`519`)." msgstr "" #: ../build/NEWS:22249 ../build/NEWS:25105 msgid "" "A new version of typing.py provides several new classes and features: " "@overload outside stubs, Reversible, DefaultDict, Text, ContextManager, " "Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of " "the new features are not yet implemented in mypy or other static analyzers). " "Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have " "been added (in fact they made it into 3.5.1 but were never mentioned)." msgstr "" #: ../build/NEWS:22257 ../build/NEWS:25113 msgid "" "`bpo-25738 `__: Stop http.server." "BaseHTTPRequestHandler.send_error() from sending a message body for 205 " "Reset Content. Also, don't send Content header fields in responses that " "don't have a body. Patch by Susumu Koshiba." msgstr "" #: ../build/NEWS:22262 ../build/NEWS:25118 msgid "" "`bpo-21313 `__: Fix the \"platform\" " "module to tolerate when sys.version contains truncated build information." msgstr "" #: ../build/NEWS:22268 ../build/NEWS:25124 msgid "" "`bpo-26839 `__: On Linux, :func:`os." "urandom` now calls ``getrandom()`` with ``GRND_NONBLOCK`` to fall back on " "reading ``/dev/urandom`` if the urandom entropy pool is not initialized yet. " "Patch written by Colm Buckley." msgstr "" #: ../build/NEWS:22275 msgid "" "`bpo-23883 `__: Added missing APIs to " "__all__ to match the documented APIs for the following modules: cgi, " "mailbox, mimetypes, plistlib and smtpd. Patches by Jacek Kołodziej." msgstr "" #: ../build/NEWS:22279 ../build/NEWS:25131 msgid "" "`bpo-27164 `__: In the zlib module, " "allow decompressing raw Deflate streams with a predefined zdict. Based on " "patch by Xiang Zhang." msgstr "" #: ../build/NEWS:22282 ../build/NEWS:25134 msgid "" "`bpo-24291 `__: Fix wsgiref." "simple_server.WSGIRequestHandler to completely write data to the client. " "Previously it could do partial writes and truncate data. Also, wsgiref." "handler.ServerHandler can now handle stdout doing partial writes, but this " "is deprecated." msgstr "" #: ../build/NEWS:22287 msgid "" "`bpo-21272 `__: Use _sysconfigdata.py to " "initialize distutils.sysconfig." msgstr "" #: ../build/NEWS:22289 msgid "" "`bpo-19611 `__: :mod:`inspect` now " "reports the implicit ``.0`` parameters generated by the compiler for " "comprehension and generator expression scopes as if they were positional-" "only parameters called ``implicit0``. Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:22294 ../build/NEWS:25139 msgid "" "`bpo-26809 `__: Add ``__all__`` to :mod:" "`string`. Patch by Emanuel Barry." msgstr "" #: ../build/NEWS:22296 ../build/NEWS:25141 msgid "" "`bpo-26373 `__: subprocess.Popen." "communicate now correctly ignores BrokenPipeError when the child process " "dies before .communicate() is called in more/all circumstances." msgstr "" #: ../build/NEWS:22300 msgid "" "signal, socket, and ssl module IntEnum constant name lookups now return a " "consistent name for values having multiple names. Ex: signal.Signals(6) now " "refers to itself as signal.SIGALRM rather than flipping between that and " "signal.SIGIOT based on the interpreter's hash randomization seed." msgstr "" #: ../build/NEWS:22305 msgid "" "`bpo-27167 `__: Clarify the subprocess." "CalledProcessError error message text when the child process died due to a " "signal." msgstr "" #: ../build/NEWS:22308 msgid "" "`bpo-25931 `__: Don't define " "socketserver.Forking* names on platforms such as Windows that do not support " "os.fork()." msgstr "" #: ../build/NEWS:22311 ../build/NEWS:25145 msgid "" "`bpo-21776 `__: distutils.upload now " "correctly handles HTTPError. Initial patch by Claudiu Popa." msgstr "" #: ../build/NEWS:22314 msgid "" "`bpo-26526 `__: Replace custom parse " "tree validation in the parser module with a simple DFA validator." msgstr "" #: ../build/NEWS:22317 ../build/NEWS:25148 msgid "" "`bpo-27114 `__: Fix SSLContext." "_load_windows_store_certs fails with PermissionError" msgstr "" #: ../build/NEWS:22320 ../build/NEWS:25151 msgid "" "`bpo-18383 `__: Avoid creating duplicate " "filters when using filterwarnings and simplefilter. Based on patch by Alex " "Shkop." msgstr "" #: ../build/NEWS:22323 msgid "" "`bpo-23026 `__: winreg.QueryValueEx() " "now return an integer for REG_QWORD type." msgstr "" #: ../build/NEWS:22325 msgid "" "`bpo-26741 `__: subprocess.Popen " "destructor now emits a ResourceWarning warning if the child process is still " "running." msgstr "" #: ../build/NEWS:22328 msgid "" "`bpo-27056 `__: Optimize pickle.load() " "and pickle.loads(), up to 10% faster to deserialize a lot of small objects." msgstr "" #: ../build/NEWS:22331 msgid "" "`bpo-21271 `__: New keyword only " "parameters in reset_mock call." msgstr "" #: ../build/NEWS:22336 ../build/NEWS:25516 msgid "" "`bpo-5124 `__: Paste with text selected " "now replaces the selection on X11. This matches how paste works on Windows, " "Mac, most modern Linux apps, and ttk widgets. Original patch by Serhiy " "Storchaka." msgstr "" #: ../build/NEWS:22340 msgid "" "`bpo-24750 `__: Switch all scrollbars in " "IDLE to ttk versions. Where needed, minimal tests are added to cover changes." msgstr "" #: ../build/NEWS:22343 msgid "" "`bpo-24759 `__: IDLE requires tk 8.5 and " "availability ttk widgets. Delete now unneeded tk version tests and code for " "older versions. Add test for IDLE syntax colorizer." msgstr "" #: ../build/NEWS:22347 msgid "" "`bpo-27239 `__: idlelib.macosx.isXyzTk " "functions initialize as needed." msgstr "" #: ../build/NEWS:22349 msgid "" "`bpo-27262 `__: move Aqua unbinding " "code, which enable context menus, to macosx." msgstr "" #: ../build/NEWS:22352 ../build/NEWS:25520 msgid "" "`bpo-24759 `__: Make clear in idlelib." "idle_test.__init__ that the directory is a private implementation of test." "test_idle and tool for maintainers." msgstr "" #: ../build/NEWS:22355 ../build/NEWS:25523 msgid "" "`bpo-27196 `__: Stop 'ThemeChanged' " "warnings when running IDLE tests. These persisted after other warnings were " "suppressed in #20567. Apply Serhiy Storchaka's update_idletasks solution to " "four test files. Record this additional advice in idle_test/README.txt" msgstr "" #: ../build/NEWS:22360 ../build/NEWS:25528 msgid "" "`bpo-20567 `__: Revise idle_test/README." "txt with advice about avoiding tk warning messages from tests. Apply advice " "to several IDLE tests." msgstr "" #: ../build/NEWS:22363 msgid "" "`bpo-24225 `__: Update idlelib/README." "txt with new file names and event handlers." msgstr "" #: ../build/NEWS:22366 msgid "" "`bpo-27156 `__: Remove obsolete code not " "used by IDLE." msgstr "" #: ../build/NEWS:22368 ../build/NEWS:25531 msgid "" "`bpo-27117 `__: Make colorizer htest and " "turtledemo work with dark themes. Move code for configuring text widget " "colors to a new function." msgstr "" #: ../build/NEWS:22371 msgid "" "`bpo-24225 `__: Rename many `idlelib/*." "py` and `idle_test/test_*.py` files. Edit files to replace old names with " "new names when the old name referred to the module rather than the class it " "contained. See the issue and IDLE section in What's New in 3.6 for more." msgstr "" #: ../build/NEWS:22376 ../build/NEWS:25534 msgid "" "`bpo-26673 `__: When tk reports font " "size as 0, change to size 10. Such fonts on Linux prevented the " "configuration dialog from opening." msgstr "" #: ../build/NEWS:22379 ../build/NEWS:25537 msgid "" "`bpo-21939 `__: Add test for IDLE's " "percolator. Original patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:22382 ../build/NEWS:25540 msgid "" "`bpo-21676 `__: Add test for IDLE's " "replace dialog. Original patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:22385 ../build/NEWS:25543 msgid "" "`bpo-18410 `__: Add test for IDLE's " "search dialog. Original patch by Westley Martínez." msgstr "" #: ../build/NEWS:22388 msgid "" "`bpo-21703 `__: Add test for undo " "delegator. Patch mostly by Saimadhav Heblikar ." msgstr "" #: ../build/NEWS:22391 ../build/NEWS:25549 msgid "" "`bpo-27044 `__: Add ConfigDialog." "remove_var_callbacks to stop memory leaks." msgstr "" #: ../build/NEWS:22393 ../build/NEWS:25551 msgid "" "`bpo-23977 `__: Add more asserts to " "test_delegator." msgstr "" #: ../build/NEWS:22398 msgid "" "`bpo-16484 `__: Change the default " "PYTHONDOCS URL to \"https:\", and fix the resulting links to use lowercase. " "Patch by Sean Rodman, test by Kaushik Nadikuditi." msgstr "" #: ../build/NEWS:22402 ../build/NEWS:25572 msgid "" "`bpo-24136 `__: Document the new :pep:" "`448` unpacking syntax of 3.5." msgstr "" #: ../build/NEWS:22404 ../build/NEWS:26133 msgid "" "`bpo-22558 `__: Add remaining doc links " "to source code for Python-coded modules. Patch by Yoni Lavi." msgstr "" #: ../build/NEWS:22410 msgid "" "`bpo-25285 `__: regrtest now uses " "subprocesses when the -j1 command line option is used: each test file runs " "in a fresh child process. Before, the -j1 option was ignored." msgstr "" #: ../build/NEWS:22414 msgid "" "`bpo-25285 `__: Tools/buildbot/test.bat " "script now uses -j1 by default to run each test file in fresh child process." msgstr "" #: ../build/NEWS:22420 msgid "" "`bpo-27064 `__: The py.exe launcher now " "defaults to Python 3. The Windows launcher ``py.exe`` no longer prefers an " "installed Python 2 version over Python 3 by default when used interactively." msgstr "" #: ../build/NEWS:22427 ../build/NEWS:25623 msgid "" "`bpo-27229 `__: Fix the cross-compiling " "pgen rule for in-tree builds. Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:22430 ../build/NEWS:25660 msgid "" "`bpo-26930 `__: Update OS X 10.5+ 32-bit-" "only installer to build and link with OpenSSL 1.0.2h." msgstr "" #: ../build/NEWS:22436 ../build/NEWS:25706 msgid "" "`bpo-17500 `__: Remove unused and " "outdated icons. (See also: https://github.com/python/pythondotorg/issues/945)" msgstr "" #: ../build/NEWS:22442 msgid "" "`bpo-27186 `__: Add the PyOS_FSPath() " "function (part of :pep:`519`)." msgstr "" #: ../build/NEWS:22444 msgid "" "`bpo-26282 `__: " "PyArg_ParseTupleAndKeywords() now supports positional-only parameters." msgstr "" #: ../build/NEWS:22450 msgid "" "`bpo-26282 `__: Argument Clinic now " "supports positional-only and keyword parameters in the same function." msgstr "" #: ../build/NEWS:22455 msgid "Python 3.6.0 alpha 1" msgstr "" #: ../build/NEWS:22457 msgid "*Release date: 2016-05-16*" msgstr "" #: ../build/NEWS:22462 ../build/NEWS:24964 msgid "" "`bpo-20041 `__: Fixed TypeError when " "frame.f_trace is set to None. Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:22465 ../build/NEWS:24967 msgid "" "`bpo-26168 `__: Fixed possible refleaks " "in failing Py_BuildValue() with the \"N\" format unit." msgstr "" #: ../build/NEWS:22468 ../build/NEWS:24970 msgid "" "`bpo-26991 `__: Fix possible refleak " "when creating a function with annotations." msgstr "" #: ../build/NEWS:22470 msgid "" "`bpo-27039 `__: Fixed bytearray.remove() " "for values greater than 127. Based on patch by Joe Jevnik." msgstr "" #: ../build/NEWS:22473 ../build/NEWS:24975 msgid "" "`bpo-23640 `__: int.from_bytes() no " "longer bypasses constructors for subclasses." msgstr "" #: ../build/NEWS:22476 msgid "" "`bpo-27005 `__: Optimized the float." "fromhex() class method for exact float. It is now 2 times faster." msgstr "" #: ../build/NEWS:22479 msgid "" "`bpo-18531 `__: Single var-keyword " "argument of dict subtype was passed unscathed to the C-defined function. " "Now it is converted to exact dict." msgstr "" #: ../build/NEWS:22482 ../build/NEWS:24978 msgid "" "`bpo-26811 `__: gc.get_objects() no " "longer contains a broken tuple with NULL pointer." msgstr "" #: ../build/NEWS:22485 ../build/NEWS:24981 msgid "" "`bpo-20120 `__: Use RawConfigParser for ." "pypirc parsing, removing support for interpolation unintentionally added " "with move to Python 3. Behavior no longer does any interpolation in .pypirc " "files, matching behavior in Python 2.7 and Setuptools 19.0." msgstr "" #: ../build/NEWS:22490 msgid "" "`bpo-26249 `__: Memory functions of the :" "c:func:`PyMem_Malloc` domain (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:" "`pymalloc allocator ` rather than system :c:func:`malloc`. " "Applications calling :c:func:`PyMem_Malloc` without holding the GIL can now " "crash: use ``PYTHONMALLOC=debug`` environment variable to validate the usage " "of memory allocators in your application." msgstr "" #: ../build/NEWS:22497 msgid "" "`bpo-26802 `__: Optimize function calls " "only using unpacking like ``func(*tuple)`` (no other positional argument, no " "keyword): avoid copying the tuple. Patch written by Joe Jevnik." msgstr "" #: ../build/NEWS:22501 ../build/NEWS:24986 msgid "" "`bpo-26659 `__: Make the builtin slice " "type support cycle collection." msgstr "" #: ../build/NEWS:22503 ../build/NEWS:24988 msgid "" "`bpo-26718 `__: super.__init__ no longer " "leaks memory if called multiple times. NOTE: A direct call of super.__init__ " "is not endorsed!" msgstr "" #: ../build/NEWS:22506 ../build/NEWS:25018 msgid "" "`bpo-27138 `__: Fix the doc comment for " "FileFinder.find_spec()." msgstr "" #: ../build/NEWS:22508 ../build/NEWS:25062 msgid "" "`bpo-27147 `__: Mention :pep:`420` in " "the importlib docs." msgstr "" #: ../build/NEWS:22510 ../build/NEWS:24991 msgid "" "`bpo-25339 `__: PYTHONIOENCODING now has " "priority over locale in setting the error handler for stdin and stdout." msgstr "" #: ../build/NEWS:22513 ../build/NEWS:24994 msgid "" "`bpo-26494 `__: Fixed crash on iterating " "exhausting iterators. Affected classes are generic sequence iterators, " "iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, " "OrderedDict, corresponding views and os.scandir() iterator." msgstr "" #: ../build/NEWS:22518 msgid "" "`bpo-26574 `__: Optimize ``bytes." "replace(b'', b'.')`` and ``bytearray.replace(b'', b'.')``. Patch written by " "Josh Snider." msgstr "" #: ../build/NEWS:22521 ../build/NEWS:24999 msgid "" "`bpo-26581 `__: If coding cookie is " "specified multiple times on a line in Python source code file, only the " "first one is taken to account." msgstr "" #: ../build/NEWS:22524 msgid "" "`bpo-19711 `__: Add tests for reloading " "namespace packages." msgstr "" #: ../build/NEWS:22526 msgid "" "`bpo-21099 `__: Switch applicable " "importlib tests to use :pep:`451` API." msgstr "" #: ../build/NEWS:22528 msgid "" "`bpo-26563 `__: Debug hooks on Python " "memory allocators now raise a fatal error if functions of the :c:func:" "`PyMem_Malloc` family are called without holding the GIL." msgstr "" #: ../build/NEWS:22532 msgid "" "`bpo-26564 `__: On error, the debug " "hooks on Python memory allocators now use the :mod:`tracemalloc` module to " "get the traceback where a memory block was allocated." msgstr "" #: ../build/NEWS:22536 msgid "" "`bpo-26558 `__: The debug hooks on " "Python memory allocator :c:func:`PyObject_Malloc` now detect when functions " "are called without holding the GIL." msgstr "" #: ../build/NEWS:22540 msgid "" "`bpo-26516 `__: Add :envvar:" "`PYTHONMALLOC` environment variable to set the Python memory allocators and/" "or install debug hooks." msgstr "" #: ../build/NEWS:22543 msgid "" "`bpo-26516 `__: The :c:func:" "`PyMem_SetupDebugHooks` function can now also be used on Python compiled in " "release mode." msgstr "" #: ../build/NEWS:22546 msgid "" "`bpo-26516 `__: The :envvar:" "`PYTHONMALLOCSTATS` environment variable can now also be used on Python " "compiled in release mode. It now has no effect if set to an empty string." msgstr "" #: ../build/NEWS:22550 msgid "" "`bpo-26516 `__: In debug mode, debug " "hooks are now also installed on Python memory allocators when Python is " "configured without pymalloc." msgstr "" #: ../build/NEWS:22553 ../build/NEWS:25002 msgid "" "`bpo-26464 `__: Fix str.translate() when " "string is ASCII and first replacements removes character, but next " "replacement uses a non-ASCII character or a string longer than 1 character. " "Regression introduced in Python 3.5.0." msgstr "" #: ../build/NEWS:22557 ../build/NEWS:25006 msgid "" "`bpo-22836 `__: Ensure exception reports " "from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when " "formatting them produces secondary errors. This affects the reports " "produced by sys.__excepthook__() and when __del__() raises an exception." msgstr "" #: ../build/NEWS:22562 ../build/NEWS:25011 msgid "" "`bpo-26302 `__: Correct behavior to " "reject comma as a legal character for cookie names." msgstr "" #: ../build/NEWS:22565 msgid "" "`bpo-26136 `__: Upgrade the warning when " "a generator raises StopIteration from PendingDeprecationWarning to " "DeprecationWarning. Patch by Anish Shah." msgstr "" #: ../build/NEWS:22568 msgid "" "`bpo-26204 `__: The compiler now ignores " "all constant statements: bytes, str, int, float, complex, name constants " "(None, False, True), Ellipsis and ast.Constant; not only str and int. For " "example, ``1.0`` is now ignored in ``def f(): 1.0``." msgstr "" #: ../build/NEWS:22573 ../build/NEWS:25014 msgid "" "`bpo-4806 `__: Avoid masking the original " "TypeError exception when using star (``*``) unpacking in function calls. " "Based on patch by Hagen Fürstenau and Daniel Urban." msgstr "" #: ../build/NEWS:22577 msgid "" "`bpo-26146 `__: Add a new kind of AST " "node: ``ast.Constant``. It can be used by external AST optimizers, but the " "compiler does not emit directly such node." msgstr "" #: ../build/NEWS:22581 msgid "" "`bpo-23601 `__: Sped-up allocation of " "dict key objects by using Python's small object allocator. (Contributed by " "Julian Taylor.)" msgstr "" #: ../build/NEWS:22584 msgid "" "`bpo-18018 `__: Import raises " "ImportError instead of SystemError if a relative import is attempted without " "a known parent package." msgstr "" #: ../build/NEWS:22587 msgid "" "`bpo-25843 `__: When compiling code, " "don't merge constants if they are equal but have a different types. For " "example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now correctly compiled to " "two different functions: ``f1()`` returns ``1`` (``int``) and ``f2()`` " "returns ``1.0`` (``float``), even if ``1`` and ``1.0`` are equal." msgstr "" #: ../build/NEWS:22593 msgid "" "`bpo-26107 `__: The format of the " "``co_lnotab`` attribute of code objects changes to support negative line " "number delta." msgstr "" #: ../build/NEWS:22596 ../build/NEWS:25020 msgid "" "`bpo-26154 `__: Add a new private " "_PyThreadState_UncheckedGet() function to get the current Python thread " "state, but don't issue a fatal error if it is NULL. This new function must " "be used instead of accessing directly the _PyThreadState_Current variable. " "The variable is no more exposed since Python 3.5.1 to hide the exact " "implementation of atomic C types, to avoid compiler issues." msgstr "" #: ../build/NEWS:22603 msgid "" "`bpo-25791 `__: If __package__ != " "__spec__.parent or if neither __package__ or __spec__ are defined then " "ImportWarning is raised." msgstr "" #: ../build/NEWS:22606 ../build/NEWS:25037 msgid "" "`bpo-22995 `__: [UPDATE] Comment out the " "one of the pickleability tests in _PyObject_GetState() due to regressions " "observed in Cython-based projects." msgstr "" #: ../build/NEWS:22609 ../build/NEWS:25040 msgid "" "`bpo-25961 `__: Disallowed null " "characters in the type name." msgstr "" #: ../build/NEWS:22611 ../build/NEWS:25042 msgid "" "`bpo-25973 `__: Fix segfault when an " "invalid nonlocal statement binds a name starting with two underscores." msgstr "" #: ../build/NEWS:22614 ../build/NEWS:25045 msgid "" "`bpo-22995 `__: Instances of extension " "types with a state that aren't subclasses of list or dict and haven't " "implemented any pickle-related methods (__reduce__, __reduce_ex__, " "__getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be " "pickled. Including memoryview." msgstr "" #: ../build/NEWS:22619 ../build/NEWS:25050 msgid "" "`bpo-20440 `__: Massive replacing unsafe " "attribute setting code with special macro Py_SETREF." msgstr "" #: ../build/NEWS:22622 ../build/NEWS:25053 msgid "" "`bpo-25766 `__: Special method " "__bytes__() now works in str subclasses." msgstr "" #: ../build/NEWS:22624 ../build/NEWS:25055 msgid "" "`bpo-25421 `__: __sizeof__ methods of " "builtin types now use dynamic basic size. This allows sys.getsize() to work " "correctly with their subclasses with __slots__ defined." msgstr "" #: ../build/NEWS:22628 ../build/NEWS:25059 ../build/NEWS:25718 msgid "" "`bpo-25709 `__: Fixed problem with in-" "place string concatenation and utf-8 cache." msgstr "" #: ../build/NEWS:22631 msgid "" "`bpo-5319 `__: New Py_FinalizeEx() API " "allowing Python to set an exit status of 120 on failure to flush buffered " "streams." msgstr "" #: ../build/NEWS:22634 msgid "" "`bpo-25485 `__: telnetlib.Telnet is now " "a context manager." msgstr "" #: ../build/NEWS:22636 ../build/NEWS:25064 msgid "" "`bpo-24097 `__: Fixed crash in object." "__reduce__() if slot name is freed inside __getattr__." msgstr "" #: ../build/NEWS:22639 ../build/NEWS:25067 msgid "" "`bpo-24731 `__: Fixed crash on " "converting objects with special methods __bytes__, __trunc__, and __float__ " "returning instances of subclasses of bytes, int, and float to subclasses of " "bytes, int, and float correspondingly." msgstr "" #: ../build/NEWS:22644 ../build/NEWS:25736 msgid "" "`bpo-25630 `__: Fix a possible segfault " "during argument parsing in functions that accept filesystem paths." msgstr "" #: ../build/NEWS:22647 ../build/NEWS:25739 msgid "" "`bpo-23564 `__: Fixed a partially broken " "sanity check in the _posixsubprocess internals regarding how fds_to_pass " "were passed to the child. The bug had no actual impact as subprocess.py " "already avoided it." msgstr "" #: ../build/NEWS:22651 ../build/NEWS:25743 msgid "" "`bpo-25388 `__: Fixed tokenizer crash " "when processing undecodable source code with a null byte." msgstr "" #: ../build/NEWS:22654 ../build/NEWS:25746 msgid "" "`bpo-25462 `__: The hash of the key now " "is calculated only once in most operations in C implementation of " "OrderedDict." msgstr "" #: ../build/NEWS:22657 ../build/NEWS:25749 msgid "" "`bpo-22995 `__: Default implementation " "of __reduce__ and __reduce_ex__ now rejects builtin types with not defined " "__new__." msgstr "" #: ../build/NEWS:22660 ../build/NEWS:25755 msgid "" "`bpo-24802 `__: Avoid buffer overreads " "when int(), float(), compile(), exec() and eval() are passed bytes-like " "objects. These objects are not necessarily terminated by a null byte, but " "the functions assumed they were." msgstr "" #: ../build/NEWS:22665 ../build/NEWS:25752 msgid "" "`bpo-25555 `__: Fix parser and AST: fill " "lineno and col_offset of \"arg\" node when compiling AST from Python objects." msgstr "" #: ../build/NEWS:22668 ../build/NEWS:25760 msgid "" "`bpo-24726 `__: Fixed a crash and " "leaking NULL in repr() of OrderedDict that was mutated by direct calls of " "dict methods." msgstr "" #: ../build/NEWS:22671 ../build/NEWS:25763 msgid "" "`bpo-25449 `__: Iterating OrderedDict " "with keys with unstable hash now raises KeyError in C implementations as " "well as in Python implementation." msgstr "" #: ../build/NEWS:22674 ../build/NEWS:25766 msgid "" "`bpo-25395 `__: Fixed crash when highly " "nested OrderedDict structures were garbage collected." msgstr "" #: ../build/NEWS:22677 msgid "" "`bpo-25401 `__: Optimize bytes.fromhex() " "and bytearray.fromhex(): they are now between 2x and 3.5x faster." msgstr "" #: ../build/NEWS:22680 msgid "" "`bpo-25399 `__: Optimize bytearray % " "args using the new private _PyBytesWriter API. Formatting is now between 2.5 " "and 5 times faster." msgstr "" #: ../build/NEWS:22683 ../build/NEWS:25769 msgid "" "`bpo-25274 `__: sys.setrecursionlimit() " "now raises a RecursionError if the new recursion limit is too low depending " "at the current recursion depth. Modify also the \"lower-water mark\" formula " "to make it monotonic. This mark is used to decide when the overflowed flag " "of the thread state is reset." msgstr "" #: ../build/NEWS:22688 ../build/NEWS:25774 msgid "" "`bpo-24402 `__: Fix input() to prompt to " "the redirected stdout when sys.stdout.fileno() fails." msgstr "" #: ../build/NEWS:22691 msgid "" "`bpo-25349 `__: Optimize bytes % args " "using the new private _PyBytesWriter API. Formatting is now up to 2 times " "faster." msgstr "" #: ../build/NEWS:22694 ../build/NEWS:25777 msgid "" "`bpo-24806 `__: Prevent builtin types " "that are not allowed to be subclassed from being subclassed through multiple " "inheritance." msgstr "" #: ../build/NEWS:22697 msgid "" "`bpo-25301 `__: The UTF-8 decoder is now " "up to 15 times as fast for error handlers: ``ignore``, ``replace`` and " "``surrogateescape``." msgstr "" #: ../build/NEWS:22700 ../build/NEWS:25780 msgid "" "`bpo-24848 `__: Fixed a number of bugs " "in UTF-7 decoding of misformed data." msgstr "" #: ../build/NEWS:22702 msgid "" "`bpo-25267 `__: The UTF-8 encoder is now " "up to 75 times as fast for error handlers: ``ignore``, ``replace``, " "``surrogateescape``, ``surrogatepass``. Patch co-written with Serhiy " "Storchaka." msgstr "" #: ../build/NEWS:22706 ../build/NEWS:25782 msgid "" "`bpo-25280 `__: Import trace messages " "emitted in verbose (-v) mode are no longer formatted twice." msgstr "" #: ../build/NEWS:22709 msgid "" "`bpo-25227 `__: Optimize ASCII and " "latin1 encoders with the ``surrogateescape`` error handler: the encoders are " "now up to 3 times as fast. Initial patch written by Serhiy Storchaka." msgstr "" #: ../build/NEWS:22713 ../build/NEWS:25785 msgid "" "`bpo-25003 `__: On Solaris 11.3 or " "newer, os.urandom() now uses the getrandom() function instead of the " "getentropy() function. The getentropy() function is blocking to generate " "very good quality entropy, os.urandom() doesn't need such high-quality " "entropy." msgstr "" #: ../build/NEWS:22718 msgid "" "`bpo-9232 `__: Modify Python's grammar to " "allow trailing commas in the argument list of a function declaration. For " "example, \"def f(\\*, a = 3,): pass\" is now legal. Patch from Mark " "Dickinson." msgstr "" #: ../build/NEWS:22722 msgid "" "`bpo-24965 `__: Implement :pep:`498` " "\"Literal String Interpolation\". This allows you to embed expressions " "inside f-strings, which are converted to normal strings at run time. Given " "x=3, then f'value={x}' == 'value=3'. Patch by Eric V. Smith." msgstr "" #: ../build/NEWS:22727 ../build/NEWS:25072 msgid "" "`bpo-26478 `__: Fix semantic bugs when " "using binary operators with dictionary views and tuples." msgstr "" #: ../build/NEWS:22730 ../build/NEWS:25075 msgid "" "`bpo-26171 `__: Fix possible integer " "overflow and heap corruption in zipimporter.get_data()." msgstr "" #: ../build/NEWS:22733 ../build/NEWS:25078 msgid "" "`bpo-25660 `__: Fix TAB key behaviour in " "REPL with readline." msgstr "" #: ../build/NEWS:22735 msgid "" "`bpo-26288 `__: Optimize PyLong_AsDouble." msgstr "" #: ../build/NEWS:22737 msgid "" "`bpo-26289 `__: Optimize floor and " "modulo division for single-digit longs. Microbenchmarks show 2-2.5x " "improvement. Built-in 'divmod' function is now also ~10% faster. (See also: " "`bpo-26315 `__)" msgstr "" #: ../build/NEWS:22741 ../build/NEWS:25080 msgid "" "`bpo-25887 `__: Raise a RuntimeError " "when a coroutine object is awaited more than once." msgstr "" #: ../build/NEWS:22747 ../build/NEWS:25154 msgid "" "`bpo-27057 `__: Fix os.set_inheritable() " "on Android, ioctl() is blocked by SELinux and fails with EACCESS. The " "function now falls back to fcntl(). Patch written by Michał Bednarski." msgstr "" #: ../build/NEWS:22751 ../build/NEWS:25158 msgid "" "`bpo-27014 `__: Fix infinite recursion " "using typing.py. Thanks to Kalle Tuure!" msgstr "" #: ../build/NEWS:22753 msgid "" "`bpo-27031 `__: Removed dummy methods in " "Tkinter widget classes: tk_menuBar() and tk_bindForTraversal()." msgstr "" #: ../build/NEWS:22756 ../build/NEWS:25160 msgid "" "`bpo-14132 `__: Fix urllib.request " "redirect handling when the target only has a query string. Original fix by " "Ján Janech." msgstr "" #: ../build/NEWS:22759 ../build/NEWS:25163 msgid "" "`bpo-17214 `__: The \"urllib.request\" " "module now percent-encodes non-ASCII bytes found in redirect target URLs. " "Some servers send Location header fields with non-ASCII bytes, but \"http." "client\" requires the request target to be ASCII-encodable, otherwise a " "UnicodeEncodeError is raised. Based on patch by Christian Heimes." msgstr "" #: ../build/NEWS:22765 msgid "" "`bpo-27033 `__: The default value of the " "decode_data parameter for smtpd.SMTPChannel and smtpd.SMTPServer " "constructors is changed to False." msgstr "" #: ../build/NEWS:22768 msgid "" "`bpo-27034 `__: Removed deprecated class " "asynchat.fifo." msgstr "" #: ../build/NEWS:22770 msgid "" "`bpo-26870 `__: Added readline." "set_auto_history(), which can stop entries being automatically added to the " "history list. Based on patch by Tyler Crompton." msgstr "" #: ../build/NEWS:22774 msgid "" "`bpo-26039 `__: zipfile.ZipFile.open() " "can now be used to write data into a ZIP file, as well as for extracting " "data. Patch by Thomas Kluyver." msgstr "" #: ../build/NEWS:22777 ../build/NEWS:25169 msgid "" "`bpo-26892 `__: Honor debuglevel flag in " "urllib.request.HTTPHandler. Patch contributed by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:22780 ../build/NEWS:25172 msgid "" "`bpo-22274 `__: In the subprocess " "module, allow stderr to be redirected to stdout even when stdout is not " "redirected. Patch by Akira Li." msgstr "" #: ../build/NEWS:22783 ../build/NEWS:25175 msgid "" "`bpo-26807 `__: mock_open 'files' no " "longer error on readline at end of file. Patch from Yolanda Robla." msgstr "" #: ../build/NEWS:22786 ../build/NEWS:25178 msgid "" "`bpo-25745 `__: Fixed leaking a userptr " "in curses panel destructor." msgstr "" #: ../build/NEWS:22788 ../build/NEWS:25180 msgid "" "`bpo-26977 `__: Removed unnecessary, and " "ignored, call to sum of squares helper in statistics.pvariance." msgstr "" #: ../build/NEWS:22791 msgid "" "`bpo-26002 `__: Use bisect in statistics." "median instead of a linear search. Patch by Upendra Kuma." msgstr "" #: ../build/NEWS:22794 msgid "" "`bpo-25974 `__: Make use of new Decimal." "as_integer_ratio() method in statistics module. Patch by Stefan Krah." msgstr "" #: ../build/NEWS:22797 msgid "" "`bpo-26996 `__: Add secrets module as " "described in :pep:`506`." msgstr "" #: ../build/NEWS:22799 ../build/NEWS:25183 msgid "" "`bpo-26881 `__: The modulefinder module " "now supports extended opcode arguments." msgstr "" #: ../build/NEWS:22801 ../build/NEWS:25185 msgid "" "`bpo-23815 `__: Fixed crashes related to " "directly created instances of types in _tkinter and curses.panel modules." msgstr "" #: ../build/NEWS:22804 ../build/NEWS:25188 msgid "" "`bpo-17765 `__: weakref.ref() no longer " "silently ignores keyword arguments. Patch by Georg Brandl." msgstr "" #: ../build/NEWS:22807 ../build/NEWS:25191 msgid "" "`bpo-26873 `__: xmlrpc now raises " "ResponseError on unsupported type tags instead of silently return incorrect " "result." msgstr "" #: ../build/NEWS:22810 msgid "" "`bpo-26915 `__: The __contains__ methods " "in the collections ABCs now check for identity before checking equality. " "This better matches the behavior of the concrete classes, allows sensible " "handling of NaNs, and makes it easier to reason about container invariants." msgstr "" #: ../build/NEWS:22815 ../build/NEWS:25194 msgid "" "`bpo-26711 `__: Fixed the comparison of " "plistlib.Data with other types." msgstr "" #: ../build/NEWS:22817 ../build/NEWS:25196 msgid "" "`bpo-24114 `__: Fix an uninitialized " "variable in `ctypes.util`. The bug only occurs on SunOS when the ctypes " "implementation searches for the `crle` program. Patch by Xiang Zhang. " "Tested on SunOS by Kees Bos." msgstr "" #: ../build/NEWS:22821 ../build/NEWS:25200 msgid "" "`bpo-26864 `__: In urllib.request, " "change the proxy bypass host checking against no_proxy to be case-" "insensitive, and to not match unrelated host names that happen to have a " "bypassed hostname as a suffix. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:22826 msgid "" "`bpo-24902 `__: Print server URL on http." "server startup. Initial patch by Felix Kaiser." msgstr "" #: ../build/NEWS:22829 msgid "" "`bpo-25788 `__: fileinput.hook_encoded() " "now supports an \"errors\" argument for passing to open. Original patch by " "Joseph Hackman." msgstr "" #: ../build/NEWS:22832 ../build/NEWS:25205 msgid "" "`bpo-26634 `__: recursive_repr() now " "sets __qualname__ of wrapper. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:22835 ../build/NEWS:25208 msgid "" "`bpo-26804 `__: urllib.request will " "prefer lower_case proxy environment variables over UPPER_CASE or Mixed_Case " "ones. Patch contributed by Hans-Peter Jansen." msgstr "" #: ../build/NEWS:22839 ../build/NEWS:25212 msgid "" "`bpo-26837 `__: assertSequenceEqual() " "now correctly outputs non-stringified differing items (like bytes in the -b " "mode). This affects assertListEqual() and assertTupleEqual()." msgstr "" #: ../build/NEWS:22843 ../build/NEWS:25216 msgid "" "`bpo-26041 `__: Remove \"will be removed " "in Python 3.7\" from deprecation messages of platform.dist() and platform." "linux_distribution(). Patch by Kumaripaba Miyurusara Athukorala." msgstr "" #: ../build/NEWS:22847 ../build/NEWS:25220 msgid "" "`bpo-26822 `__: itemgetter, attrgetter " "and methodcaller objects no longer silently ignore keyword arguments." msgstr "" #: ../build/NEWS:22850 ../build/NEWS:25223 msgid "" "`bpo-26733 `__: Disassembling a class " "now disassembles class and static methods. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:22853 ../build/NEWS:25226 msgid "" "`bpo-26801 `__: Fix error handling in :" "func:`shutil.get_terminal_size`, catch :exc:`AttributeError` instead of :exc:" "`NameError`. Patch written by Emanuel Barry." msgstr "" #: ../build/NEWS:22857 ../build/NEWS:25230 msgid "" "`bpo-24838 `__: tarfile's ustar and gnu " "formats now correctly calculate name and link field limits for multibyte " "character encodings like utf-8." msgstr "" #: ../build/NEWS:22863 ../build/NEWS:25236 msgid "" "`bpo-26657 `__: Fix directory traversal " "vulnerability with http.server on Windows. This fixes a regression that was " "introduced in 3.3.4rc1 and 3.4.0rc1. Based on patch by Philipp Hagemeister." msgstr "" #: ../build/NEWS:22870 ../build/NEWS:25243 msgid "" "`bpo-26717 `__: Stop encoding Latin-1-" "ized WSGI paths with UTF-8. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:22873 msgid "" "`bpo-26782 `__: Add STARTUPINFO to " "subprocess.__all__ on Windows." msgstr "" #: ../build/NEWS:22875 msgid "" "`bpo-26404 `__: Add context manager to " "socketserver. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:22877 ../build/NEWS:25246 msgid "" "`bpo-26735 `__: Fix :func:`os.urandom` " "on Solaris 11.3 and newer when reading more than 1,024 bytes: call " "``getrandom()`` multiple times with a limit of 1024 bytes per call." msgstr "" #: ../build/NEWS:22881 msgid "" "`bpo-26585 `__: Eliminate http.server." "_quote_html() and use html.escape(quote=False). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:22884 msgid "" "`bpo-26685 `__: Raise OSError if closing " "a socket fails." msgstr "" #: ../build/NEWS:22886 ../build/NEWS:25250 msgid "" "`bpo-16329 `__: Add .webm to mimetypes." "types_map. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:22888 ../build/NEWS:25252 msgid "" "`bpo-13952 `__: Add .csv to mimetypes." "types_map. Patch by Geoff Wilson." msgstr "" #: ../build/NEWS:22890 msgid "" "`bpo-26587 `__: the site module now " "allows .pth files to specify files to be added to sys.path (e.g. zip files)." msgstr "" #: ../build/NEWS:22893 msgid "" "`bpo-25609 `__: Introduce contextlib." "AbstractContextManager and typing.ContextManager." msgstr "" #: ../build/NEWS:22896 ../build/NEWS:25254 msgid "" "`bpo-26709 `__: Fixed Y2038 problem in " "loading binary PLists." msgstr "" #: ../build/NEWS:22898 ../build/NEWS:25256 msgid "" "`bpo-23735 `__: Handle terminal resizing " "with Readline 6.3+ by installing our own SIGWINCH handler. Patch by Eric " "Price." msgstr "" #: ../build/NEWS:22901 msgid "" "`bpo-25951 `__: Change SSLSocket." "sendall() to return None, as explicitly documented for plain socket " "objects. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:22904 ../build/NEWS:25259 msgid "" "`bpo-26586 `__: In http.server, respond " "with \"413 Request header fields too large\" if there are too many header " "fields to parse, rather than killing the connection and raising an unhandled " "exception. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:22908 msgid "" "`bpo-26676 `__: Added missing " "XMLPullParser to ElementTree.__all__." msgstr "" #: ../build/NEWS:22910 ../build/NEWS:25263 msgid "" "`bpo-22854 `__: Change BufferedReader." "writable() and BufferedWriter.readable() to always return False." msgstr "" #: ../build/NEWS:22913 msgid "" "`bpo-26492 `__: Exhausted iterator of " "array.array now conforms with the behavior of iterators of other mutable " "sequences: it lefts exhausted even if iterated array is extended." msgstr "" #: ../build/NEWS:22917 msgid "" "`bpo-26641 `__: doctest.DocFileTest and " "doctest.testfile() now support packages (module splitted into multiple " "directories) for the package parameter." msgstr "" #: ../build/NEWS:22920 ../build/NEWS:25266 msgid "" "`bpo-25195 `__: Fix a regression in mock." "MagicMock. _Call is a subclass of tuple (changeset 3603bae63c13 only works " "for classes) so we need to implement __ne__ ourselves. Patch by Andrew " "Plummer." msgstr "" #: ../build/NEWS:22924 ../build/NEWS:25270 msgid "" "`bpo-26644 `__: Raise ValueError rather " "than SystemError when a negative length is passed to SSLSocket.recv() or " "read()." msgstr "" #: ../build/NEWS:22927 ../build/NEWS:25273 msgid "" "`bpo-23804 `__: Fix SSL recv(0) and " "read(0) methods to return zero bytes instead of up to 1024." msgstr "" #: ../build/NEWS:22930 ../build/NEWS:25276 msgid "" "`bpo-26616 `__: Fixed a bug in datetime." "astimezone() method." msgstr "" #: ../build/NEWS:22932 msgid "" "`bpo-26637 `__: The :mod:`importlib` " "module now emits an :exc:`ImportError` rather than a :exc:`TypeError` if :" "func:`__import__` is tried during the Python shutdown process but :data:`sys." "path` is already cleared (set to ``None``)." msgstr "" #: ../build/NEWS:22937 msgid "" "`bpo-21925 `__: :func:`warnings." "formatwarning` now catches exceptions when calling :func:`linecache.getline` " "and :func:`tracemalloc.get_object_traceback` to be able to log :exc:" "`ResourceWarning` emitted late during the Python shutdown process." msgstr "" #: ../build/NEWS:22942 msgid "" "`bpo-23848 `__: On Windows, faulthandler." "enable() now also installs an exception handler to dump the traceback of all " "Python threads on any Windows exception, not only on UNIX signals (SIGSEGV, " "SIGFPE, SIGABRT)." msgstr "" #: ../build/NEWS:22946 msgid "" "`bpo-26530 `__: Add C functions :c:func:" "`_PyTraceMalloc_Track` and :c:func:`_PyTraceMalloc_Untrack` to track memory " "blocks using the :mod:`tracemalloc` module. Add :c:func:" "`_PyTraceMalloc_GetTraceback` to get the traceback of an object." msgstr "" #: ../build/NEWS:22951 msgid "" "`bpo-26588 `__: The _tracemalloc now " "supports tracing memory allocations of multiple address spaces (domains)." msgstr "" #: ../build/NEWS:22954 ../build/NEWS:25282 msgid "" "`bpo-24266 `__: Ctrl+C during Readline " "history search now cancels the search mode when compiled with Readline 7." msgstr "" #: ../build/NEWS:22957 msgid "" "`bpo-26590 `__: Implement a safe " "finalizer for the _socket.socket type. It now releases the GIL to close the " "socket." msgstr "" #: ../build/NEWS:22960 msgid "" "`bpo-18787 `__: spwd.getspnam() now " "raises a PermissionError if the user doesn't have privileges." msgstr "" #: ../build/NEWS:22963 ../build/NEWS:25285 msgid "" "`bpo-26560 `__: Avoid potential " "ValueError in BaseHandler.start_response. Initial patch by Peter Inglesby." msgstr "" #: ../build/NEWS:22966 msgid "" "`bpo-26567 `__: Add a new function :c:" "func:`PyErr_ResourceWarning` function to pass the destroyed object. Add a " "*source* attribute to :class:`warnings.WarningMessage`. Add warnings." "_showwarnmsg() which uses tracemalloc to get the traceback where source " "object was allocated." msgstr "" #: ../build/NEWS:22974 ../build/NEWS:25291 msgid "" "`bpo-26313 `__: ssl.py " "_load_windows_store_certs fails if windows cert store is empty. Patch by " "Baji." msgstr "" #: ../build/NEWS:22980 ../build/NEWS:25297 msgid "" "`bpo-26569 `__: Fix :func:`pyclbr." "readmodule` and :func:`pyclbr.readmodule_ex` to support importing packages." msgstr "" #: ../build/NEWS:22983 ../build/NEWS:25300 msgid "" "`bpo-26499 `__: Account for remaining " "Content-Length in HTTPResponse.readline() and read1(). Based on patch by " "Silent Ghost. Also document that HTTPResponse now supports these methods." msgstr "" #: ../build/NEWS:22987 ../build/NEWS:25304 msgid "" "`bpo-25320 `__: Handle sockets in " "directories unittest discovery is scanning. Patch from Victor van den Elzen." msgstr "" #: ../build/NEWS:22990 ../build/NEWS:25307 msgid "" "`bpo-16181 `__: cookiejar.http2time() " "now returns None if year is higher than datetime.MAXYEAR." msgstr "" #: ../build/NEWS:22993 ../build/NEWS:25310 msgid "" "`bpo-26513 `__: Fixes platform module " "detection of Windows Server" msgstr "" #: ../build/NEWS:22995 ../build/NEWS:25312 msgid "" "`bpo-23718 `__: Fixed parsing time in " "week 0 before Jan 1. Original patch by Tamás Bence Gedai." msgstr "" #: ../build/NEWS:22998 msgid "" "`bpo-26323 `__: Add Mock.assert_called() " "and Mock.assert_called_once() methods to unittest.mock. Patch written by " "Amit Saha." msgstr "" #: ../build/NEWS:23001 ../build/NEWS:25315 msgid "" "`bpo-20589 `__: Invoking Path.owner() " "and Path.group() on Windows now raise NotImplementedError instead of " "ImportError." msgstr "" #: ../build/NEWS:23004 ../build/NEWS:25318 msgid "" "`bpo-26177 `__: Fixed the keys() method " "for Canvas and Scrollbar widgets." msgstr "" #: ../build/NEWS:23006 msgid "" "`bpo-15068 `__: Got rid of excessive " "buffering in fileinput. The bufsize parameter is now deprecated and ignored." msgstr "" #: ../build/NEWS:23009 msgid "" "`bpo-19475 `__: Added an optional " "argument timespec to the datetime isoformat() method to choose the precision " "of the time component." msgstr "" #: ../build/NEWS:23012 ../build/NEWS:25323 msgid "" "`bpo-2202 `__: Fix UnboundLocalError in " "AbstractDigestAuthHandler.get_algorithm_impls. Initial patch by Mathieu " "Dupuy." msgstr "" #: ../build/NEWS:23016 msgid "" "`bpo-26167 `__: Minimized overhead in " "copy.copy() and copy.deepcopy(). Optimized copying and deepcopying " "bytearrays, NotImplemented, slices, short lists, tuples, dicts, sets." msgstr "" #: ../build/NEWS:23020 ../build/NEWS:25327 msgid "" "`bpo-25718 `__: Fixed pickling and " "copying the accumulate() iterator with total is None." msgstr "" #: ../build/NEWS:23023 ../build/NEWS:25330 msgid "" "`bpo-26475 `__: Fixed debugging output " "for regular expressions with the (?x) flag." msgstr "" #: ../build/NEWS:23026 msgid "" "`bpo-26482 `__: Allowed pickling " "recursive dequeues." msgstr "" #: ../build/NEWS:23028 msgid "" "`bpo-26335 `__: Make mmap.write() return " "the number of bytes written like other write methods. Patch by Jakub " "Stasiak." msgstr "" #: ../build/NEWS:23031 ../build/NEWS:25333 msgid "" "`bpo-26457 `__: Fixed the subnets() " "methods in IP network classes for the case when resulting prefix length is " "equal to maximal prefix length. Based on patch by Xiang Zhang." msgstr "" #: ../build/NEWS:23035 ../build/NEWS:25337 msgid "" "`bpo-26385 `__: Remove the file if the " "internal open() call in NamedTemporaryFile() fails. Patch by Silent Ghost." msgstr "" #: ../build/NEWS:23038 ../build/NEWS:25340 msgid "" "`bpo-26402 `__: Fix XML-RPC client to " "retry when the server shuts down a persistent connection. This was a " "regression related to the new http.client.RemoteDisconnected exception in " "3.5.0a4." msgstr "" #: ../build/NEWS:23042 ../build/NEWS:25344 msgid "" "`bpo-25913 `__: Leading ``<~`` is " "optional now in base64.a85decode() with adobe=True. Patch by Swati Jaiswal." msgstr "" #: ../build/NEWS:23045 ../build/NEWS:25347 msgid "" "`bpo-26186 `__: Remove an invalid type " "check in importlib.util.LazyLoader." msgstr "" #: ../build/NEWS:23047 msgid "" "`bpo-26367 `__: importlib.__import__() " "raises ImportError like builtins.__import__() when ``level`` is specified " "but without an accompanying package specified." msgstr "" #: ../build/NEWS:23051 ../build/NEWS:25353 msgid "" "`bpo-26309 `__: In the \"socketserver\" " "module, shut down the request (closing the connected socket) when " "verify_request() returns false. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:23055 msgid "" "`bpo-23430 `__: Change the socketserver " "module to only catch exceptions raised from a request handler that are " "derived from Exception (instead of BaseException). Therefore SystemExit and " "KeyboardInterrupt no longer trigger the handle_error() method, and will now " "to stop a single-threaded server." msgstr "" #: ../build/NEWS:23064 ../build/NEWS:25360 msgid "" "`bpo-25939 `__: On Windows open the cert " "store readonly in ssl.enum_certificates." msgstr "" #: ../build/NEWS:23070 ../build/NEWS:25366 msgid "" "`bpo-25995 `__: os.walk() no longer uses " "FDs proportional to the tree depth." msgstr "" #: ../build/NEWS:23072 msgid "" "`bpo-25994 `__: Added the close() method " "and the support of the context manager protocol for the os.scandir() " "iterator." msgstr "" #: ../build/NEWS:23075 msgid "" "`bpo-23992 `__: multiprocessing: make " "MapResult not fail-fast upon exception." msgstr "" #: ../build/NEWS:23077 msgid "" "`bpo-26243 `__: Support keyword " "arguments to zlib.compress(). Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:23080 ../build/NEWS:25368 msgid "" "`bpo-26117 `__: The os.scandir() " "iterator now closes file descriptor not only when the iteration is finished, " "but when it was failed with error." msgstr "" #: ../build/NEWS:23083 msgid "" "`bpo-25949 `__: __dict__ for an " "OrderedDict instance is now created only when needed." msgstr "" #: ../build/NEWS:23086 ../build/NEWS:25371 msgid "" "`bpo-25911 `__: Restored support of " "bytes paths in os.walk() on Windows." msgstr "" #: ../build/NEWS:23088 ../build/NEWS:25373 msgid "" "`bpo-26045 `__: Add UTF-8 suggestion to " "error message when posting a non-Latin-1 string with http.client." msgstr "" #: ../build/NEWS:23091 msgid "" "`bpo-26039 `__: Added zipfile.ZipInfo." "from_file() and zipinfo.ZipInfo.is_dir(). Patch by Thomas Kluyver." msgstr "" #: ../build/NEWS:23094 ../build/NEWS:25376 msgid "" "`bpo-12923 `__: Reset FancyURLopener's " "redirect counter even if there is an exception. Based on patches by Brian " "Brazil and Daniel Rocco." msgstr "" #: ../build/NEWS:23097 ../build/NEWS:25379 msgid "" "`bpo-25945 `__: Fixed a crash when " "unpickle the functools.partial object with wrong state. Fixed a leak in " "failed functools.partial constructor. \"args\" and \"keywords\" attributes " "of functools.partial have now always types tuple and dict correspondingly." msgstr "" #: ../build/NEWS:23102 ../build/NEWS:25384 msgid "" "`bpo-26202 `__: copy.deepcopy() now " "correctly copies range() objects with non-atomic attributes." msgstr "" #: ../build/NEWS:23105 ../build/NEWS:25387 msgid "" "`bpo-23076 `__: Path.glob() now raises a " "ValueError if it's called with an invalid pattern. Patch by Thomas Nyberg." msgstr "" #: ../build/NEWS:23108 ../build/NEWS:25390 msgid "" "`bpo-19883 `__: Fixed possible integer " "overflows in zipimport." msgstr "" #: ../build/NEWS:23110 ../build/NEWS:25392 msgid "" "`bpo-26227 `__: On Windows, " "getnameinfo(), gethostbyaddr() and gethostbyname_ex() functions of the " "socket module now decode the hostname from the ANSI code page rather than " "UTF-8." msgstr "" #: ../build/NEWS:23114 msgid "" "`bpo-26099 `__: The site module now " "writes an error into stderr if sitecustomize module can be imported but " "executing the module raise an ImportError. Same change for usercustomize." msgstr "" #: ../build/NEWS:23118 ../build/NEWS:25396 msgid "" "`bpo-26147 `__: xmlrpc now works with " "strings not encodable with used non-UTF-8 encoding." msgstr "" #: ../build/NEWS:23121 ../build/NEWS:25399 msgid "" "`bpo-25935 `__: Garbage collector now " "breaks reference loops with OrderedDict." msgstr "" #: ../build/NEWS:23123 ../build/NEWS:25401 msgid "" "`bpo-16620 `__: Fixed AttributeError in " "msilib.Directory.glob()." msgstr "" #: ../build/NEWS:23125 ../build/NEWS:25403 msgid "" "`bpo-26013 `__: Added compatibility with " "broken protocol 2 pickles created in old Python 3 versions (3.4.3 and lower)." msgstr "" #: ../build/NEWS:23128 msgid "" "`bpo-26129 `__: Deprecated accepting non-" "integers in grp.getgrgid()." msgstr "" #: ../build/NEWS:23130 ../build/NEWS:25406 msgid "" "`bpo-25850 `__: Use cross-compilation by " "default for 64-bit Windows." msgstr "" #: ../build/NEWS:23132 msgid "" "`bpo-25822 `__: Add docstrings to the " "fields of urllib.parse results. Patch contributed by Swati Jaiswal." msgstr "" #: ../build/NEWS:23135 msgid "" "`bpo-22642 `__: Convert trace module " "option parsing mechanism to argparse. Patch contributed by SilentGhost." msgstr "" #: ../build/NEWS:23138 ../build/NEWS:25410 msgid "" "`bpo-24705 `__: Fix sysconfig." "_parse_makefile not expanding ${} vars appearing before $() vars." msgstr "" #: ../build/NEWS:23141 msgid "" "`bpo-26069 `__: Remove the deprecated " "apis in the trace module." msgstr "" #: ../build/NEWS:23143 ../build/NEWS:25413 msgid "" "`bpo-22138 `__: Fix mock.patch behavior " "when patching descriptors. Restore original values after patching. Patch " "contributed by Sean McCully." msgstr "" #: ../build/NEWS:23146 ../build/NEWS:25416 msgid "" "`bpo-25672 `__: In the ssl module, " "enable the SSL_MODE_RELEASE_BUFFERS mode option if it is safe to do so." msgstr "" #: ../build/NEWS:23149 ../build/NEWS:25419 msgid "" "`bpo-26012 `__: Don't traverse into " "symlinks for ``**`` pattern in pathlib.Path.[r]glob()." msgstr "" #: ../build/NEWS:23152 ../build/NEWS:25422 msgid "" "`bpo-24120 `__: Ignore PermissionError " "when traversing a tree with pathlib.Path.[r]glob(). Patch by Ulrich Petri." msgstr "" #: ../build/NEWS:23155 msgid "" "`bpo-21815 `__: Accept ] characters in " "the data portion of imap responses, in order to handle the flags with square " "brackets accepted and produced by servers such as gmail." msgstr "" #: ../build/NEWS:23159 ../build/NEWS:25425 msgid "" "`bpo-25447 `__: fileinput now uses sys." "stdin as-is if it does not have a buffer attribute (restores backward " "compatibility)." msgstr "" #: ../build/NEWS:23162 msgid "" "`bpo-25971 `__: Optimized creating " "Fractions from floats by 2 times and from Decimals by 3 times." msgstr "" #: ../build/NEWS:23165 msgid "" "`bpo-25802 `__: Document as deprecated " "the remaining implementations of importlib.abc.Loader.load_module()." msgstr "" #: ../build/NEWS:23168 msgid "" "`bpo-25928 `__: Add Decimal." "as_integer_ratio()." msgstr "" #: ../build/NEWS:23170 ../build/NEWS:25428 msgid "" "`bpo-25447 `__: Copying the lru_cache() " "wrapper object now always works, independently from the type of the wrapped " "object (by returning the original object unchanged)." msgstr "" #: ../build/NEWS:23174 msgid "" "`bpo-25768 `__: Have the functions in " "compileall return booleans instead of ints and add proper documentation and " "tests for the return values." msgstr "" #: ../build/NEWS:23177 ../build/NEWS:25432 msgid "" "`bpo-24103 `__: Fixed possible use after " "free in ElementTree.XMLPullParser." msgstr "" #: ../build/NEWS:23179 ../build/NEWS:25434 msgid "" "`bpo-25860 `__: os.fwalk() no longer " "skips remaining directories when error occurs. Original patch by Samson Lee." msgstr "" #: ../build/NEWS:23182 ../build/NEWS:25437 msgid "" "`bpo-25914 `__: Fixed and simplified " "OrderedDict.__sizeof__." msgstr "" #: ../build/NEWS:23184 msgid "" "`bpo-25869 `__: Optimized deepcopying " "ElementTree; it is now 20 times faster." msgstr "" #: ../build/NEWS:23186 msgid "" "`bpo-25873 `__: Optimized iterating " "ElementTree. Iterating elements Element.iter() is now 40% faster, iterating " "text Element.itertext() is now up to 2.5 times faster." msgstr "" #: ../build/NEWS:23190 ../build/NEWS:25439 msgid "" "`bpo-25902 `__: Fixed various refcount " "issues in ElementTree iteration." msgstr "" #: ../build/NEWS:23192 msgid "" "`bpo-22227 `__: The TarFile iterator is " "reimplemented using generator. This implementation is simpler that using " "class." msgstr "" #: ../build/NEWS:23195 msgid "" "`bpo-25638 `__: Optimized ElementTree." "iterparse(); it is now 2x faster. Optimized ElementTree parsing; it is now " "10% faster." msgstr "" #: ../build/NEWS:23198 msgid "" "`bpo-25761 `__: Improved detecting " "errors in broken pickle data." msgstr "" #: ../build/NEWS:23200 ../build/NEWS:25441 msgid "" "`bpo-25717 `__: Restore the previous " "behaviour of tolerating most fstat() errors when opening files. This was a " "regression in 3.5a1, and stopped anonymous temporary files from working in " "special cases." msgstr "" #: ../build/NEWS:23204 ../build/NEWS:25445 msgid "" "`bpo-24903 `__: Fix regression in number " "of arguments compileall accepts when '-d' is specified. The check on the " "number of arguments has been dropped completely as it never worked correctly " "anyway." msgstr "" #: ../build/NEWS:23208 ../build/NEWS:25449 msgid "" "`bpo-25764 `__: In the subprocess " "module, preserve any exception caused by fork() failure when preexec_fn is " "used." msgstr "" #: ../build/NEWS:23211 msgid "" "`bpo-25771 `__: Tweak the exception " "message for importlib.util.resolve_name() when 'package' isn't specified but " "necessary." msgstr "" #: ../build/NEWS:23214 ../build/NEWS:25452 msgid "" "`bpo-6478 `__: _strptime's regexp cache " "now is reset after changing timezone with time.tzset()." msgstr "" #: ../build/NEWS:23217 ../build/NEWS:25455 msgid "" "`bpo-14285 `__: When executing a package " "with the \"python -m package\" option, and package initialization fails, a " "proper traceback is now reported. The \"runpy\" module now lets exceptions " "from package initialization pass back to the caller, rather than raising " "ImportError." msgstr "" #: ../build/NEWS:23222 ../build/NEWS:25460 msgid "" "`bpo-19771 `__: Also in runpy and the \"-" "m\" option, omit the irrelevant message \". . . is a package and cannot be " "directly executed\" if the package could not even be initialized (e.g. due " "to a bad ``*.pyc`` file)." msgstr "" #: ../build/NEWS:23226 ../build/NEWS:25464 msgid "" "`bpo-25177 `__: Fixed problem with the " "mean of very small and very large numbers. As a side effect, statistics.mean " "and statistics.variance should be significantly faster." msgstr "" #: ../build/NEWS:23230 ../build/NEWS:25468 msgid "" "`bpo-25718 `__: Fixed copying object " "with state with boolean value is false." msgstr "" #: ../build/NEWS:23232 ../build/NEWS:25470 msgid "" "`bpo-10131 `__: Fixed deep copying of " "minidom documents. Based on patch by Marian Ganisin." msgstr "" #: ../build/NEWS:23235 msgid "" "`bpo-7990 `__: dir() on ElementTree." "Element now lists properties: \"tag\", \"text\", \"tail\" and \"attrib\". " "Original patch by Santoso Wijaya." msgstr "" #: ../build/NEWS:23238 ../build/NEWS:25473 msgid "" "`bpo-25725 `__: Fixed a reference leak " "in pickle.loads() when unpickling invalid data including tuple instructions." msgstr "" #: ../build/NEWS:23241 ../build/NEWS:25476 msgid "" "`bpo-25663 `__: In the Readline " "completer, avoid listing duplicate global names, and search the global " "namespace before searching builtins." msgstr "" #: ../build/NEWS:23244 ../build/NEWS:25479 msgid "" "`bpo-25688 `__: Fixed file leak in " "ElementTree.iterparse() raising an error." msgstr "" #: ../build/NEWS:23246 ../build/NEWS:25481 msgid "" "`bpo-23914 `__: Fixed SystemError raised " "by unpickler on broken pickle data." msgstr "" #: ../build/NEWS:23248 ../build/NEWS:25483 msgid "" "`bpo-25691 `__: Fixed crash on deleting " "ElementTree.Element attributes." msgstr "" #: ../build/NEWS:23250 ../build/NEWS:25485 msgid "" "`bpo-25624 `__: ZipFile now always " "writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang." msgstr "" #: ../build/NEWS:23253 ../build/NEWS:25804 msgid "" "`bpo-25626 `__: Change three zlib " "functions to accept sizes that fit in Py_ssize_t, but internally cap those " "sizes to UINT_MAX. This resolves a regression in 3.5 where GzipFile.read() " "failed to read chunks larger than 2 or 4 GiB. The change affects the zlib." "Decompress.decompress() max_length parameter, the zlib.decompress() bufsize " "parameter, and the zlib.Decompress.flush() length parameter." msgstr "" #: ../build/NEWS:23260 ../build/NEWS:25811 msgid "" "`bpo-25583 `__: Avoid incorrect errors " "raised by os.makedirs(exist_ok=True) when the OS gives priority to errors " "such as EACCES over EEXIST." msgstr "" #: ../build/NEWS:23263 ../build/NEWS:25814 msgid "" "`bpo-25593 `__: Change semantics of " "EventLoop.stop() in asyncio." msgstr "" #: ../build/NEWS:23265 ../build/NEWS:25816 msgid "" "`bpo-6973 `__: When we know a subprocess." "Popen process has died, do not allow the send_signal(), terminate(), or " "kill() methods to do anything as they could potentially signal a different " "process." msgstr "" #: ../build/NEWS:23269 msgid "" "`bpo-23883 `__: Added missing APIs to " "__all__ to match the documented APIs for the following modules: calendar, " "csv, enum, fileinput, ftplib, logging, optparse, tarfile, threading and " "wave. Also added a test.support.check__all__() helper. Patches by Jacek " "Kołodziej, Mauro S. M. Rodrigues and Joel Taddei." msgstr "" #: ../build/NEWS:23275 msgid "" "`bpo-25590 `__: In the Readline " "completer, only call getattr() once per attribute. Also complete names of " "attributes such as properties and slots which are listed by dir() but not " "yet created on an instance." msgstr "" #: ../build/NEWS:23279 ../build/NEWS:25823 msgid "" "`bpo-25498 `__: Fix a crash when garbage-" "collecting ctypes objects created by wrapping a memoryview. This was a " "regression made in 3.5a1. Based on patch by Eryksun." msgstr "" #: ../build/NEWS:23283 ../build/NEWS:25827 msgid "" "`bpo-25584 `__: Added \"escape\" to the " "__all__ list in the glob module." msgstr "" #: ../build/NEWS:23285 ../build/NEWS:25829 msgid "" "`bpo-25584 `__: Fixed recursive glob() " "with patterns starting with ``**``." msgstr "" #: ../build/NEWS:23287 ../build/NEWS:25831 msgid "" "`bpo-25446 `__: Fix regression in " "smtplib's AUTH LOGIN support." msgstr "" #: ../build/NEWS:23289 ../build/NEWS:25833 msgid "" "`bpo-18010 `__: Fix the pydoc web " "server's module search function to handle exceptions from importing packages." msgstr "" #: ../build/NEWS:23292 ../build/NEWS:25836 msgid "" "`bpo-25554 `__: Got rid of circular " "references in regular expression parsing." msgstr "" #: ../build/NEWS:23294 msgid "" "`bpo-18973 `__: Command-line interface " "of the calendar module now uses argparse instead of optparse." msgstr "" #: ../build/NEWS:23297 ../build/NEWS:25838 msgid "" "`bpo-25510 `__: fileinput.FileInput." "readline() now returns b'' instead of '' at the end if the FileInput was " "opened with binary mode. Patch by Ryosuke Ito." msgstr "" #: ../build/NEWS:23301 ../build/NEWS:25842 msgid "" "`bpo-25503 `__: Fixed inspect.getdoc() " "for inherited docstrings of properties. Original patch by John Mark " "Vandenberg." msgstr "" #: ../build/NEWS:23304 ../build/NEWS:25845 msgid "" "`bpo-25515 `__: Always use os.urandom as " "a source of randomness in uuid.uuid4." msgstr "" #: ../build/NEWS:23306 ../build/NEWS:25847 msgid "" "`bpo-21827 `__: Fixed textwrap.dedent() " "for the case when largest common whitespace is a substring of smallest " "leading whitespace. Based on patch by Robert Li." msgstr "" #: ../build/NEWS:23310 ../build/NEWS:25851 msgid "" "`bpo-25447 `__: The lru_cache() wrapper " "objects now can be copied and pickled (by returning the original object " "unchanged)." msgstr "" #: ../build/NEWS:23313 ../build/NEWS:25854 msgid "" "`bpo-25390 `__: typing: Don't crash on " "Union[str, Pattern]." msgstr "" #: ../build/NEWS:23315 ../build/NEWS:25856 msgid "" "`bpo-25441 `__: asyncio: Raise error " "from drain() when socket is closed." msgstr "" #: ../build/NEWS:23317 ../build/NEWS:25858 msgid "" "`bpo-25410 `__: Cleaned up and fixed " "minor bugs in C implementation of OrderedDict." msgstr "" #: ../build/NEWS:23320 ../build/NEWS:25861 msgid "" "`bpo-25411 `__: Improved Unicode support " "in SMTPHandler through better use of the email package. Thanks to user " "simon04 for the patch." msgstr "" #: ../build/NEWS:23323 msgid "" "Move the imp module from a PendingDeprecationWarning to DeprecationWarning." msgstr "" #: ../build/NEWS:23326 ../build/NEWS:25864 msgid "" "`bpo-25407 `__: Remove mentions of the " "formatter module being removed in Python 3.6." msgstr "" #: ../build/NEWS:23329 ../build/NEWS:25867 msgid "" "`bpo-25406 `__: Fixed a bug in C " "implementation of OrderedDict.move_to_end() that caused segmentation fault " "or hang in iterating after moving several items to the start of ordered dict." msgstr "" #: ../build/NEWS:23333 msgid "" "`bpo-25382 `__: pickletools.dis() now " "outputs implicit memo index for the MEMOIZE opcode." msgstr "" #: ../build/NEWS:23336 msgid "" "`bpo-25357 `__: Add an optional newline " "parameter to binascii.b2a_base64(). base64.b64encode() uses it to avoid a " "memory copy." msgstr "" #: ../build/NEWS:23339 msgid "" "`bpo-24164 `__: Objects that need " "calling ``__new__`` with keyword arguments, can now be pickled using pickle " "protocols older than protocol version 4." msgstr "" #: ../build/NEWS:23342 ../build/NEWS:25871 msgid "" "`bpo-25364 `__: zipfile now works in " "threads disabled builds." msgstr "" #: ../build/NEWS:23344 ../build/NEWS:25873 msgid "" "`bpo-25328 `__: smtpd's SMTPChannel now " "correctly raises a ValueError if both decode_data and enable_SMTPUTF8 are " "set to true." msgstr "" #: ../build/NEWS:23347 msgid "" "`bpo-16099 `__: RobotFileParser now " "supports Crawl-delay and Request-rate extensions. Patch by Nikolay " "Bogoychev." msgstr "" #: ../build/NEWS:23350 ../build/NEWS:25876 msgid "" "`bpo-25316 `__: distutils raises OSError " "instead of DistutilsPlatformError when MSVC is not installed." msgstr "" #: ../build/NEWS:23353 ../build/NEWS:25879 msgid "" "`bpo-25380 `__: Fixed protocol for the " "STACK_GLOBAL opcode in pickletools.opcodes." msgstr "" #: ../build/NEWS:23356 ../build/NEWS:25882 msgid "" "`bpo-23972 `__: Updates asyncio datagram " "create method allowing reuseport and reuseaddr socket options to be set " "prior to binding the socket. Mirroring the existing asyncio create_server " "method the reuseaddr option for datagram sockets defaults to True if the O/S " "is 'posix' (except if the platform is Cygwin). Patch by Chris Laws." msgstr "" #: ../build/NEWS:23362 ../build/NEWS:25888 msgid "" "`bpo-25304 `__: Add asyncio." "run_coroutine_threadsafe(). This lets you submit a coroutine to a loop from " "another thread, returning a concurrent.futures.Future. By Vincent Michel." msgstr "" #: ../build/NEWS:23366 ../build/NEWS:25892 msgid "" "`bpo-25232 `__: Fix CGIRequestHandler to " "split the query from the URL at the first question mark (?) rather than the " "last. Patch from Xiang Zhang." msgstr "" #: ../build/NEWS:23369 ../build/NEWS:25895 msgid "" "`bpo-24657 `__: Prevent " "CGIRequestHandler from collapsing slashes in the query part of the URL as if " "it were a path. Patch from Xiang Zhang." msgstr "" #: ../build/NEWS:23372 msgid "" "`bpo-25287 `__: Don't add crypt." "METHOD_CRYPT to crypt.methods if it's not supported. Check if it is " "supported, it may not be supported on OpenBSD for example." msgstr "" #: ../build/NEWS:23376 ../build/NEWS:25923 msgid "" "`bpo-23600 `__: Default implementation " "of tzinfo.fromutc() was returning wrong results in some cases." msgstr "" #: ../build/NEWS:23379 ../build/NEWS:25920 msgid "" "`bpo-25203 `__: Failed readline." "set_completer_delims() no longer left the module in inconsistent state." msgstr "" #: ../build/NEWS:23382 msgid "" "`bpo-25011 `__: rlcompleter now omits " "private and special attribute names unless the prefix starts with " "underscores." msgstr "" #: ../build/NEWS:23385 msgid "" "`bpo-25209 `__: rlcompleter now can add " "a space or a colon after completed keyword." msgstr "" #: ../build/NEWS:23388 msgid "" "`bpo-22241 `__: timezone.utc name is now " "plain 'UTC', not 'UTC-00:00'." msgstr "" #: ../build/NEWS:23390 msgid "" "`bpo-23517 `__: fromtimestamp() and " "utcfromtimestamp() methods of datetime.datetime now round microseconds to " "nearest with ties going to nearest even integer (ROUND_HALF_EVEN), as " "round(float), instead of rounding towards -Infinity (ROUND_FLOOR)." msgstr "" #: ../build/NEWS:23395 msgid "" "`bpo-23552 `__: Timeit now warns when " "there is substantial (4x) variance between best and worst times. Patch from " "Serhiy Storchaka." msgstr "" #: ../build/NEWS:23398 msgid "" "`bpo-24633 `__: site-packages/README -> " "README.txt." msgstr "" #: ../build/NEWS:23400 msgid "" "`bpo-24879 `__: help() and pydoc can now " "list named tuple fields in the order they were defined rather than " "alphabetically. The ordering is determined by the _fields attribute if " "present." msgstr "" #: ../build/NEWS:23404 msgid "" "`bpo-24874 `__: Improve speed of " "itertools.cycle() and make its pickle more compact." msgstr "" #: ../build/NEWS:23407 msgid "" "Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a " "list." msgstr "" #: ../build/NEWS:23410 msgid "" "`bpo-20059 `__: urllib.parse raises " "ValueError on all invalid ports. Patch by Martin Panter." msgstr "" #: ../build/NEWS:23413 msgid "" "`bpo-24360 `__: Improve __repr__ of " "argparse.Namespace() for invalid identifiers. Patch by Matthias Bussonnier." msgstr "" #: ../build/NEWS:23416 msgid "" "`bpo-23426 `__: run_setup was broken in " "distutils. Patch from Alexander Belopolsky." msgstr "" #: ../build/NEWS:23419 msgid "" "`bpo-13938 `__: 2to3 converts " "StringTypes to a tuple. Patch from Mark Hammond." msgstr "" #: ../build/NEWS:23421 msgid "" "`bpo-2091 `__: open() accepted a 'U' mode " "string containing '+', but 'U' can only be used with 'r'. Patch from Jeff " "Balogh and John O'Connor." msgstr "" #: ../build/NEWS:23424 msgid "" "`bpo-8585 `__: improved tests for " "zipimporter2. Patch from Mark Lawrence." msgstr "" #: ../build/NEWS:23426 ../build/NEWS:26465 msgid "" "`bpo-18622 `__: unittest.mock." "mock_open().reset_mock would recurse infinitely. Patch from Nicola Palumbo " "and Laurent De Buyst." msgstr "" #: ../build/NEWS:23429 msgid "" "`bpo-24426 `__: Fast searching " "optimization in regular expressions now works for patterns that starts with " "capturing groups. Fast searching optimization now can't be disabled at " "compile time." msgstr "" #: ../build/NEWS:23433 ../build/NEWS:26468 msgid "" "`bpo-23661 `__: unittest.mock " "side_effects can now be exceptions again. This was a regression vs Python " "3.4. Patch from Ignacio Rossi" msgstr "" #: ../build/NEWS:23436 msgid "" "`bpo-13248 `__: Remove deprecated " "inspect.getmoduleinfo function." msgstr "" #: ../build/NEWS:23438 ../build/NEWS:25997 msgid "" "`bpo-25578 `__: Fix (another) memory " "leak in SSLSocket.getpeercer()." msgstr "" #: ../build/NEWS:23440 ../build/NEWS:25999 msgid "" "`bpo-25530 `__: Disable the vulnerable " "SSLv3 protocol by default when creating ssl.SSLContext." msgstr "" #: ../build/NEWS:23443 ../build/NEWS:26002 msgid "" "`bpo-25569 `__: Fix memory leak in " "SSLSocket.getpeercert()." msgstr "" #: ../build/NEWS:23445 ../build/NEWS:26004 msgid "" "`bpo-25471 `__: Sockets returned from " "accept() shouldn't appear to be nonblocking." msgstr "" #: ../build/NEWS:23448 ../build/NEWS:26007 msgid "" "`bpo-25319 `__: When threading.Event is " "reinitialized, the underlying condition should use a regular lock rather " "than a recursive lock." msgstr "" #: ../build/NEWS:23451 ../build/NEWS:25488 msgid "" "Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis." msgstr "" #: ../build/NEWS:23454 ../build/NEWS:25491 msgid "" "`bpo-26050 `__: Add asyncio.StreamReader." "readuntil() method. Patch by Марк Коренберг." msgstr "" #: ../build/NEWS:23457 ../build/NEWS:25494 msgid "" "`bpo-25924 `__: Avoid unnecessary " "serialization of getaddrinfo(3) calls on OS X versions 10.5 or higher. " "Original patch by A. Jesse Jiryu Davis." msgstr "" #: ../build/NEWS:23460 ../build/NEWS:25497 msgid "" "`bpo-26406 `__: Avoid unnecessary " "serialization of getaddrinfo(3) calls on current versions of OpenBSD and " "NetBSD. Patch by A. Jesse Jiryu Davis." msgstr "" #: ../build/NEWS:23463 ../build/NEWS:25500 msgid "" "`bpo-26848 `__: Fix asyncio/subprocess." "communicate() to handle empty input. Patch by Jack O'Connor." msgstr "" #: ../build/NEWS:23466 ../build/NEWS:25503 msgid "" "`bpo-27040 `__: Add loop." "get_exception_handler method" msgstr "" #: ../build/NEWS:23468 ../build/NEWS:25505 msgid "" "`bpo-27041 `__: asyncio: Add loop." "create_future method" msgstr "" #: ../build/NEWS:23473 ../build/NEWS:25553 msgid "" "`bpo-20640 `__: Add tests for idlelib." "configHelpSourceEdit. Patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:23476 ../build/NEWS:25556 msgid "" "In the 'IDLE-console differences' section of the IDLE doc, clarify how " "running with IDLE affects sys.modules and the standard streams." msgstr "" #: ../build/NEWS:23479 ../build/NEWS:25559 msgid "" "`bpo-25507 `__: fix incorrect change in " "IOBinding that prevented printing. Augment IOBinding htest to include all " "major IOBinding functions." msgstr "" #: ../build/NEWS:23482 ../build/NEWS:25562 msgid "" "`bpo-25905 `__: Revert unwanted " "conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in README.txt and open this " "and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to utf-8 and open it with " "'utf-8'." msgstr "" #: ../build/NEWS:23486 ../build/NEWS:26036 msgid "" "`bpo-15348 `__: Stop the debugger engine " "(normally in a user process) before closing the debugger window (running in " "the IDLE process). This prevents the RuntimeErrors that were being caught " "and ignored." msgstr "" #: ../build/NEWS:23490 ../build/NEWS:26040 msgid "" "`bpo-24455 `__: Prevent IDLE from " "hanging when a) closing the shell while the debugger is active (15347); b) " "closing the debugger with the [X] button (15348); and c) activating the " "debugger when already active (24455). The patch by Mark Roseman does this by " "making two changes. 1. Suspend and resume the gui.interaction method with " "the tcl vwait mechanism intended for this purpose (instead of root.mainloop " "& .quit). 2. In gui.run, allow any existing interaction to terminate first." msgstr "" #: ../build/NEWS:23498 ../build/NEWS:26048 msgid "" "Change 'The program' to 'Your program' in an IDLE 'kill program?' message to " "make it clearer that the program referred to is the currently running user " "program, not IDLE itself." msgstr "" #: ../build/NEWS:23502 ../build/NEWS:26052 msgid "" "`bpo-24750 `__: Improve the appearance " "of the IDLE editor window status bar. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:23505 ../build/NEWS:26055 msgid "" "`bpo-25313 `__: Change the handling of " "new built-in text color themes to better address the compatibility problem " "introduced by the addition of IDLE Dark. Consistently use the revised " "idleConf.CurrentTheme everywhere in idlelib." msgstr "" #: ../build/NEWS:23509 ../build/NEWS:26059 msgid "" "`bpo-24782 `__: Extension configuration " "is now a tab in the IDLE Preferences dialog rather than a separate dialog. " "The former tabs are now a sorted list. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:23513 ../build/NEWS:26063 msgid "" "`bpo-22726 `__: Re-activate the config " "dialog help button with some content about the other buttons and the new " "IDLE Dark theme." msgstr "" #: ../build/NEWS:23516 ../build/NEWS:26066 msgid "" "`bpo-24820 `__: IDLE now has an 'IDLE " "Dark' built-in text color theme. It is more or less IDLE Classic inverted, " "with a cobalt blue background. Strings, comments, keywords, ... are still " "green, red, orange, ... . To use it with IDLEs released before November " "2015, hit the 'Save as New Custom Theme' button and enter a new name, such " "as 'Custom Dark'. The custom theme will work with any IDLE release, and can " "be modified." msgstr "" #: ../build/NEWS:23523 ../build/NEWS:26073 msgid "" "`bpo-25224 `__: README.txt is now an " "idlelib index for IDLE developers and curious users. The previous user " "content is now in the IDLE doc chapter. 'IDLE' now means 'Integrated " "Development and Learning Environment'." msgstr "" #: ../build/NEWS:23527 ../build/NEWS:26077 msgid "" "`bpo-24820 `__: Users can now set " "breakpoint colors in Settings -> Custom Highlighting. Original patch by Mark " "Roseman." msgstr "" #: ../build/NEWS:23530 ../build/NEWS:26080 msgid "" "`bpo-24972 `__: Inactive selection " "background now matches active selection background, as configured by users, " "on all systems. Found items are now always highlighted on Windows. Initial " "patch by Mark Roseman." msgstr "" #: ../build/NEWS:23534 ../build/NEWS:26084 msgid "" "`bpo-24570 `__: Idle: make calltip and " "completion boxes appear on Macs affected by a tk regression. Initial patch " "by Mark Roseman." msgstr "" #: ../build/NEWS:23537 ../build/NEWS:26087 msgid "" "`bpo-24988 `__: Idle ScrolledList " "context menus (used in debugger) now work on Mac Aqua. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:23540 ../build/NEWS:26090 msgid "" "`bpo-24801 `__: Make right-click for " "context menu work on Mac Aqua. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:23543 ../build/NEWS:26093 msgid "" "`bpo-25173 `__: Associate tkinter " "messageboxes with a specific widget. For Mac OSX, make them a 'sheet'. " "Patch by Mark Roseman." msgstr "" #: ../build/NEWS:23546 ../build/NEWS:26096 msgid "" "`bpo-25198 `__: Enhance the initial html " "viewer now used for Idle Help. Properly indent fixed-pitch text (patch by " "Mark Roseman). Give code snippet a very Sphinx-like light blueish-gray " "background. Re-use initial width and height set by users for shell and " "editor. When the Table of Contents (TOC) menu is used, put the section " "header at the top of the screen." msgstr "" #: ../build/NEWS:23553 ../build/NEWS:26103 msgid "" "`bpo-25225 `__: Condense and rewrite " "Idle doc section on text colors." msgstr "" #: ../build/NEWS:23555 ../build/NEWS:26105 msgid "" "`bpo-21995 `__: Explain some differences " "between IDLE and console Python." msgstr "" #: ../build/NEWS:23557 ../build/NEWS:26107 msgid "" "`bpo-22820 `__: Explain need for *print* " "when running file from Idle editor." msgstr "" #: ../build/NEWS:23559 ../build/NEWS:26109 msgid "" "`bpo-25224 `__: Doc: augment Idle " "feature list and no-subprocess section." msgstr "" #: ../build/NEWS:23561 ../build/NEWS:26111 msgid "" "`bpo-25219 `__: Update doc for Idle " "command line options. Some were missing and notes were not correct." msgstr "" #: ../build/NEWS:23564 ../build/NEWS:26114 msgid "" "`bpo-24861 `__: Most of idlelib is " "private and subject to change. Use idleib.idle.* to start Idle. See idlelib." "__init__.__doc__." msgstr "" #: ../build/NEWS:23567 ../build/NEWS:26117 msgid "" "`bpo-25199 `__: Idle: add " "synchronization comments for future maintainers." msgstr "" #: ../build/NEWS:23569 msgid "" "`bpo-16893 `__: Replace help.txt with " "help.html for Idle doc display. The new idlelib/help.html is rstripped Doc/" "build/html/library/idle.html. It looks better than help.txt and will better " "document Idle as released. The tkinter html viewer that works for this file " "was written by Rose Roseman. The now unused EditorWindow.HelpDialog class " "and helt.txt file are deprecated." msgstr "" #: ../build/NEWS:23576 ../build/NEWS:26126 msgid "" "`bpo-24199 `__: Deprecate unused idlelib." "idlever with possible removal in 3.6." msgstr "" #: ../build/NEWS:23578 ../build/NEWS:26128 msgid "" "`bpo-24790 `__: Remove extraneous code " "(which also create 2 & 3 conflicts)." msgstr "" #: ../build/NEWS:23583 ../build/NEWS:25574 msgid "" "`bpo-26736 `__: Used HTTPS for external " "links in the documentation if possible." msgstr "" #: ../build/NEWS:23585 ../build/NEWS:25576 msgid "" "`bpo-6953 `__: Rework the Readline module " "documentation to group related functions together, and add more details such " "as what underlying Readline functions and variables are accessed." msgstr "" #: ../build/NEWS:23589 ../build/NEWS:25580 msgid "" "`bpo-23606 `__: Adds note to ctypes " "documentation regarding cdll.msvcrt." msgstr "" #: ../build/NEWS:23591 ../build/NEWS:26143 msgid "" "`bpo-24952 `__: Clarify the default size " "argument of stack_size() in the \"threading\" and \"_thread\" modules. Patch " "from Mattip." msgstr "" #: ../build/NEWS:23594 ../build/NEWS:25585 msgid "" "`bpo-26014 `__: Update 3.x packaging " "documentation: * \"See also\" links to the new docs are now provided in the " "legacy pages * links to setuptools documentation have been updated" msgstr "" #: ../build/NEWS:23601 ../build/NEWS:25592 msgid "" "`bpo-21916 `__: Added tests for the " "turtle module. Patch by ingrid, Gregory Loyse and Jelle Zijlstra." msgstr "" #: ../build/NEWS:23604 msgid "" "`bpo-26295 `__: When using \"python3 -m " "test --testdir=TESTDIR\", regrtest doesn't add \"test.\" prefix to test " "module names." msgstr "" #: ../build/NEWS:23607 ../build/NEWS:25595 msgid "" "`bpo-26523 `__: The multiprocessing " "thread pool (multiprocessing.dummy.Pool) was untested." msgstr "" #: ../build/NEWS:23610 ../build/NEWS:25598 msgid "" "`bpo-26015 `__: Added new tests for " "pickling iterators of mutable sequences." msgstr "" #: ../build/NEWS:23612 ../build/NEWS:25600 msgid "" "`bpo-26325 `__: Added test.support." "check_no_resource_warning() to check that no ResourceWarning is emitted." msgstr "" #: ../build/NEWS:23615 msgid "" "`bpo-25940 `__: Changed test_ssl to use " "its internal local server more. This avoids relying on svn.python.org, " "which recently changed root certificate." msgstr "" #: ../build/NEWS:23618 ../build/NEWS:25606 msgid "" "`bpo-25616 `__: Tests for OrderedDict " "are extracted from test_collections into separate file test_ordered_dict." msgstr "" #: ../build/NEWS:23621 ../build/NEWS:26157 msgid "" "`bpo-25449 `__: Added tests for " "OrderedDict subclasses." msgstr "" #: ../build/NEWS:23623 msgid "" "`bpo-25188 `__: Add -P/--pgo to test." "regrtest to suppress error output when running the test suite for the " "purposes of a PGO build. Initial patch by Alecsandru Patrascu." msgstr "" #: ../build/NEWS:23627 msgid "" "`bpo-22806 `__: Add ``python -m test --" "list-tests`` command to list tests." msgstr "" #: ../build/NEWS:23629 msgid "" "`bpo-18174 `__: ``python -m test --" "huntrleaks ...`` now also checks for leak of file descriptors. Patch written " "by Richard Oudkerk." msgstr "" #: ../build/NEWS:23632 msgid "" "`bpo-25260 `__: Fix ``python -m test --" "coverage`` on Windows. Remove the list of ignored directories." msgstr "" #: ../build/NEWS:23635 ../build/NEWS:26164 msgid "" "``PCbuild\\rt.bat`` now accepts an unlimited number of arguments to pass " "along to regrtest.py. Previously there was a limit of 9." msgstr "" #: ../build/NEWS:23638 ../build/NEWS:25609 msgid "" "`bpo-26583 `__: Skip " "test_timestamp_overflow in test_import if bytecode files cannot be written." msgstr "" #: ../build/NEWS:23644 msgid "" "`bpo-21277 `__: Don't try to link " "_ctypes with a ffi_convenience library." msgstr "" #: ../build/NEWS:23646 ../build/NEWS:25615 msgid "" "`bpo-26884 `__: Fix linking extension " "modules for cross builds. Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:23649 msgid "" "`bpo-26932 `__: Fixed support of RTLD_* " "constants defined as enum values, not via macros (in particular on " "Android). Patch by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:23652 ../build/NEWS:25618 msgid "" "`bpo-22359 `__: Disable the rules for " "running _freeze_importlib and pgen when cross-compiling. The output of " "these programs is normally saved with the source code anyway, and is still " "regenerated when doing a native build. Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:23657 msgid "" "`bpo-21668 `__: Link audioop, _datetime, " "_ctypes_test modules to libm, except on Mac OS X. Patch written by Chi Hsuan " "Yen." msgstr "" #: ../build/NEWS:23660 ../build/NEWS:25629 msgid "" "`bpo-25702 `__: A --with-lto configure " "option has been added that will enable link time optimizations at build time " "during a make profile-opt. Some compilers and toolchains are known to not " "produce stable code when using LTO, be sure to test things thoroughly before " "relying on it. It can provide a few % speed up over profile-opt alone." msgstr "" #: ../build/NEWS:23666 ../build/NEWS:25635 msgid "" "`bpo-26624 `__: Adds validation of " "ucrtbase[d].dll version with warning for old versions." msgstr "" #: ../build/NEWS:23669 ../build/NEWS:25638 msgid "" "`bpo-17603 `__: Avoid error about " "nonexistent fileblocks.o file by using a lower-level check for st_blocks in " "struct stat." msgstr "" #: ../build/NEWS:23672 ../build/NEWS:25641 msgid "" "`bpo-26079 `__: Fixing the build output " "folder for tix-8.4.3.6. Patch by Bjoern Thiel." msgstr "" #: ../build/NEWS:23675 ../build/NEWS:25644 msgid "" "`bpo-26465 `__: Update Windows builds to " "use OpenSSL 1.0.2g." msgstr "" #: ../build/NEWS:23677 msgid "" "`bpo-25348 `__: Added ``--pgo`` and ``--" "pgo-job`` arguments to ``PCbuild\\build.bat`` for building with Profile-" "Guided Optimization. The old ``PCbuild\\build_pgo.bat`` script is removed." msgstr "" #: ../build/NEWS:23681 ../build/NEWS:25655 msgid "" "`bpo-25827 `__: Add support for building " "with ICC to ``configure``, including a new ``--with-icc`` flag." msgstr "" #: ../build/NEWS:23684 ../build/NEWS:25658 msgid "" "`bpo-25696 `__: Fix installation of " "Python on UNIX with make -j9." msgstr "" #: ../build/NEWS:23686 ../build/NEWS:26175 msgid "" "`bpo-24986 `__: It is now possible to " "build Python on Windows without errors when external libraries are not " "available." msgstr "" #: ../build/NEWS:23689 ../build/NEWS:25646 msgid "" "`bpo-24421 `__: Compile Modules/_math.c " "once, before building extensions. Previously it could fail to compile " "properly if the math and cmath builds were concurrent." msgstr "" #: ../build/NEWS:23693 msgid "" "`bpo-26465 `__: Update OS X 10.5+ 32-bit-" "only installer to build and link with OpenSSL 1.0.2g." msgstr "" #: ../build/NEWS:23696 ../build/NEWS:25663 msgid "" "`bpo-26268 `__: Update Windows builds to " "use OpenSSL 1.0.2f." msgstr "" #: ../build/NEWS:23698 ../build/NEWS:25665 msgid "" "`bpo-25136 `__: Support Apple Xcode 7's " "new textual SDK stub libraries." msgstr "" #: ../build/NEWS:23700 ../build/NEWS:25667 msgid "" "`bpo-24324 `__: Do not enable " "unreachable code warnings when using gcc as the option does not work " "correctly in older versions of gcc and has been silently removed as of " "gcc-4.5." msgstr "" #: ../build/NEWS:23707 ../build/NEWS:25674 msgid "" "`bpo-27053 `__: Updates make_zip.py to " "correctly generate library ZIP file." msgstr "" #: ../build/NEWS:23709 ../build/NEWS:25676 msgid "" "`bpo-26268 `__: Update the prepare_ssl." "py script to handle OpenSSL releases that don't include the contents of the " "include directory (that is, 1.0.2e and later)." msgstr "" #: ../build/NEWS:23713 ../build/NEWS:25680 msgid "" "`bpo-26071 `__: bdist_wininst created " "binaries fail to start and find 32bit Python" msgstr "" #: ../build/NEWS:23716 ../build/NEWS:25683 msgid "" "`bpo-26073 `__: Update the list of magic " "numbers in launcher" msgstr "" #: ../build/NEWS:23718 ../build/NEWS:25685 msgid "" "`bpo-26065 `__: Excludes venv from " "library when generating embeddable distro." msgstr "" #: ../build/NEWS:23720 ../build/NEWS:26214 msgid "" "`bpo-25022 `__: Removed very outdated PC/" "example_nt/ directory." msgstr "" #: ../build/NEWS:23725 ../build/NEWS:25690 msgid "" "`bpo-26799 `__: Fix python-gdb.py: don't " "get C types once when the Python code is loaded, but get C types on demand. " "The C types can change if python-gdb.py is loaded before the Python " "executable. Patch written by Thomas Ilsche." msgstr "" #: ../build/NEWS:23730 ../build/NEWS:25695 msgid "" "`bpo-26271 `__: Fix the Freeze tool to " "properly use flags passed through configure. Patch by Daniel Shaulov." msgstr "" #: ../build/NEWS:23733 ../build/NEWS:25698 msgid "" "`bpo-26489 `__: Add dictionary unpacking " "support to Tools/parser/unparse.py. Patch by Guo Ci Teo." msgstr "" #: ../build/NEWS:23736 ../build/NEWS:25701 msgid "" "`bpo-26316 `__: Fix variable name typo " "in Argument Clinic." msgstr "" #: ../build/NEWS:23738 ../build/NEWS:26219 msgid "" "`bpo-25440 `__: Fix output of python-" "config --extension-suffix." msgstr "" #: ../build/NEWS:23740 msgid "" "`bpo-25154 `__: The pyvenv script has " "been deprecated in favour of `python3 -m venv`." msgstr "" #: ../build/NEWS:23746 msgid "" "`bpo-26312 `__: SystemError is now " "raised in all programming bugs with using PyArg_ParseTupleAndKeywords(). " "RuntimeError did raised before in some programming bugs." msgstr "" #: ../build/NEWS:23750 msgid "" "`bpo-26198 `__: ValueError is now raised " "instead of TypeError on buffer overflow in parsing \"es#\" and \"et#\" " "format units. SystemError is now raised instead of TypeError on " "programmatical error in parsing format string." msgstr "" #: ../build/NEWS:23757 msgid "Python 3.5.5 final" msgstr "" #: ../build/NEWS:23759 msgid "*Release date: 2018-02-04*" msgstr "" #: ../build/NEWS:23761 msgid "There were no new changes in version 3.5.5." msgstr "" #: ../build/NEWS:23766 msgid "Python 3.5.5 release candidate 1" msgstr "" #: ../build/NEWS:23768 msgid "*Release date: 2018-01-23*" msgstr "" #: ../build/NEWS:23773 msgid "" "`bpo-32551 `__: The ``sys.path[0]`` " "initialization change for `bpo-29139 `__ " "caused a regression by revealing an inconsistency in how sys.path is " "initialized when executing ``__main__`` from a zipfile, directory, or other " "import location. This is considered a potential security issue, as it may " "lead to privileged processes unexpectedly loading code from user controlled " "directories in situations where that was not previously the case. The " "interpreter now consistently avoids ever adding the import location's parent " "directory to ``sys.path``, and ensures no other ``sys.path`` entries are " "inadvertently modified when inserting the import location named on the " "command line. (Originally reported as `bpo-29723 `__ against Python 3.6rc1, but it was missed at the time that the " "then upcoming Python 3.5.4 release would also be affected)" msgstr "" #: ../build/NEWS:23786 msgid "" "`bpo-30657 `__: Fixed possible integer " "overflow in PyBytes_DecodeEscape, CVE-2017-1000158. Original patch by Jay " "Bosamiya; rebased to Python 3 by Miro Hrončok." msgstr "" #: ../build/NEWS:23813 msgid "Python 3.5.4 final" msgstr "" #: ../build/NEWS:23815 msgid "*Release date: 2017-08-07*" msgstr "" #: ../build/NEWS:23825 msgid "Python 3.5.4 release candidate 1" msgstr "" #: ../build/NEWS:23827 msgid "*Release date: 2017-07-23*" msgstr "" #: ../build/NEWS:23879 msgid "" "`bpo-29537 `__: Restore runtime " "compatibility with bytecode files generated by CPython 3.5.0 to 3.5.2, and " "adjust the eval loop to avoid the problems that could be caused by the " "malformed variant of the BUILD_MAP_UNPACK_WITH_CALL opcode that they may " "contain. Patch by Petr Viktorin, Serhiy Storchaka, and Nick Coghlan." msgstr "" #: ../build/NEWS:24161 msgid "" "`bpo-30822 `__: Fix regrtest command " "line parser to allow passing -u extralargefile to run test_zipfile64." msgstr "" #: ../build/NEWS:24164 msgid "" "`bpo-30383 `__: regrtest: Enhance " "regrtest and backport features from the master branch. Add options: --" "coverage, --testdir, --list-tests (list test files, don't run them), --list-" "cases (list test identifiers, don't run them, :issue:`30523`), --matchfile " "(load a list of test filters from a text file, :issue:`30540`), --slowest " "(alias to --slow). Enhance output: add timestamp, test result, currently " "running tests, \"Tests result: xxx\" summary with total duration, etc. Fix " "reference leak hunting in regrtest, --huntrleaks: regrtest now warms up " "caches, create explicitly all internal singletons which are created on " "demand to prevent false positives when checking for reference leaks. (:issue:" "`30675`)." msgstr "" #: ../build/NEWS:24221 msgid "" "`bpo-27867 `__: Function " "PySlice_GetIndicesEx() is replaced with a macro if Py_LIMITED_API is set to " "the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or " "higher." msgstr "" #: ../build/NEWS:24233 msgid "Python 3.5.3 final" msgstr "" #: ../build/NEWS:24235 msgid "*Release date: 2017-01-17*" msgstr "" #: ../build/NEWS:24237 msgid "There were no code changes between 3.5.3rc1 and 3.5.3 final." msgstr "" #: ../build/NEWS:24242 msgid "Python 3.5.3 release candidate 1" msgstr "" #: ../build/NEWS:24244 msgid "*Release date: 2017-01-02*" msgstr "" #: ../build/NEWS:24249 msgid "" "`bpo-29073 `__: bytearray formatting no " "longer truncates on first null byte." msgstr "" #: ../build/NEWS:24253 msgid "" "`bpo-28147 `__: Fix a memory leak in " "split-table dictionaries: setattr() must not convert combined table into " "split table." msgstr "" #: ../build/NEWS:24265 msgid "" "`bpo-28991 `__: functools.lru_cache() " "was susceptible to an obscure reentrancy bug caused by a monkey-patched " "len() function." msgstr "" #: ../build/NEWS:24308 msgid "" "`bpo-28203 `__: Fix incorrect type in " "error message from ``complex(1.0, {2:3})``. Patch by Soumya Sharma." msgstr "" #: ../build/NEWS:24323 msgid "" "`bpo-28189 `__: dictitems_contains no " "longer swallows compare errors. (Patch by Xiang Zhang)" msgstr "" #: ../build/NEWS:24335 msgid "" "`bpo-26020 `__: set literal evaluation " "order did not match documented behaviour." msgstr "" #: ../build/NEWS:24354 msgid "" "`bpo-27419 `__: Standard __import__() no " "longer look up \"__import__\" in globals or builtins for importing " "submodules or \"from import\". Fixed handling an error of non-string " "package name." msgstr "" #: ../build/NEWS:24406 msgid "" "`bpo-20191 `__: Fixed a crash in " "resource.prlimit() when pass a sequence that doesn't own its elements as " "limits." msgstr "" #: ../build/NEWS:24457 msgid "" "`bpo-28488 `__: shutil.make_archive() no " "longer add entry \"./\" to ZIP archive." msgstr "" #: ../build/NEWS:24495 msgid "" "`bpo-27611 `__: Fixed support of default " "root window in the tkinter.tix module." msgstr "" #: ../build/NEWS:24521 msgid "" "`bpo-19003 `__: m email.generator now " "replaces only ``\\r`` and/or ``\\n`` line endings, per the RFC, instead of " "all unicode line endings." msgstr "" #: ../build/NEWS:24593 msgid "" "A new version of typing.py from https://github.com/python/typing: Collection " "(only for 3.6) (`bpo-27598 `__). Add " "FrozenSet to __all__ (upstream #261). Fix crash in _get_type_vars() " "(upstream #259). Remove the dict constraint in ForwardRef._eval_type " "(upstream #252)." msgstr "" #: ../build/NEWS:24609 msgid "" "`bpo-26750 `__: unittest.mock." "create_autospec() now works properly for subclasses of property() and other " "data descriptors." msgstr "" #: ../build/NEWS:24653 msgid "" "`bpo-26664 `__: Fix activate.fish by " "removing mis-use of ``$``." msgstr "" #: ../build/NEWS:24655 msgid "" "`bpo-22115 `__: Fixed tracing Tkinter " "variables: trace_vdelete() with wrong mode no longer break tracing, " "trace_vinfo() now always returns a list of pairs of strings, tracing in the " "\"u\" mode now works." msgstr "" #: ../build/NEWS:24659 msgid "" "Fix a scoping issue in importlib.util.LazyLoader which triggered an " "UnboundLocalError when lazy-loading a module that was already put into sys." "modules." msgstr "" #: ../build/NEWS:24759 msgid "" "`bpo-28600 `__: Optimize loop." "call_soon()." msgstr "" #: ../build/NEWS:24773 msgid "" "`bpo-24142 `__: Reading a corrupt config " "file left the parser in an invalid state. Original patch by Florian Höch." msgstr "" #: ../build/NEWS:24776 msgid "" "`bpo-28990 `__: Fix SSL hanging if " "connection is closed before handshake completed. (Patch by HoHo-Ho)" msgstr "" #: ../build/NEWS:24812 msgid "" "`bpo-26754 `__: PyUnicode_FSDecoder() " "accepted a filename argument encoded as an iterable of integers. Now only " "strings and bytes-like objects are accepted." msgstr "" #: ../build/NEWS:24824 msgid "" "`bpo-28950 `__: Disallow -j0 to be " "combined with -T/-l/-M in regrtest command line arguments." msgstr "" #: ../build/NEWS:24865 msgid "" "`bpo-27309 `__: Enabled proper Windows " "styles in python[w].exe manifest." msgstr "" #: ../build/NEWS:24898 msgid "" "`bpo-27983 `__: Cause lack of llvm-" "profdata tool when using clang as required for PGO linking to be a configure " "time error rather than make time when --with-optimizations is enabled. Also " "improve our ability to find the llvm-profdata tool on MacOS and some Linuxes." msgstr "" #: ../build/NEWS:24905 msgid "" "`bpo-26359 `__: Add the --with-" "optimizations configure flag." msgstr "" #: ../build/NEWS:24910 msgid "" "`bpo-25825 `__: Correct the references " "to Modules/python.exp and ld_so_aix, which are required on AIX. This " "updates references to an installation path that was changed in 3.2a4, and " "undoes changed references to the build tree that were made in 3.5.0a1." msgstr "" #: ../build/NEWS:24933 msgid "Python 3.5.2 final" msgstr "" #: ../build/NEWS:24935 msgid "*Release date: 2016-06-26*" msgstr "" #: ../build/NEWS:24945 msgid "" "`bpo-26867 `__: Ubuntu's openssl " "OP_NO_SSLv3 is forced on by default; fix test." msgstr "" #: ../build/NEWS:24950 msgid "" "`bpo-27365 `__: Allow non-ascii in " "idlelib/NEWS.txt - minimal part for 3.5.2." msgstr "" #: ../build/NEWS:24954 msgid "Python 3.5.2 release candidate 1" msgstr "" #: ../build/NEWS:24956 msgid "*Release date: 2016-06-12*" msgstr "" #: ../build/NEWS:24972 msgid "" "`bpo-27039 `__: Fixed bytearray.remove() " "for values greater than 127. Patch by Joe Jevnik." msgstr "" #: ../build/NEWS:25027 msgid "" "`bpo-26194 `__: Deque.insert() gave odd " "results for bounded deques that had reached their maximum size. Now an " "IndexError will be raised when attempting to insert into a full deque." msgstr "" #: ../build/NEWS:25031 msgid "" "`bpo-25843 `__: When compiling code, " "don't merge constants if they are equal but have a different types. For " "example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now correctly compiled to " "two different functions: ``f1()`` returns ``1`` (``int``) and ``f2()`` " "returns ``1.0`` (``int``), even if ``1`` and ``1.0`` are equal." msgstr "" #: ../build/NEWS:25093 msgid "" "Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " "Oststrom" msgstr "" #: ../build/NEWS:25278 msgid "" "`bpo-21925 `__: :func:`warnings." "formatwarning` now catches exceptions on ``linecache.getline(...)`` to be " "able to log :exc:`ResourceWarning` emitted late during the Python shutdown " "process." msgstr "" #: ../build/NEWS:25320 msgid "" "`bpo-15068 `__: Got rid of excessive " "buffering in the fileinput module. The bufsize parameter is no longer used." msgstr "" #: ../build/NEWS:25349 msgid "" "`bpo-26367 `__: importlib.__import__() " "raises SystemError like builtins.__import__() when ``level`` is specified " "but without an accompanying package specified." msgstr "" #: ../build/NEWS:25408 msgid "" "`bpo-17633 `__: Improve zipimport's " "support for namespace packages." msgstr "" #: ../build/NEWS:25507 msgid "" "`bpo-27223 `__: asyncio: Fix _read_ready " "and _write_ready to respect _conn_lost. Patch by Łukasz Langa." msgstr "" #: ../build/NEWS:25510 msgid "" "`bpo-22970 `__: asyncio: Fix " "inconsistency cancelling Condition.wait. Patch by David Coles." msgstr "" #: ../build/NEWS:25546 msgid "" "`bpo-21703 `__: Add test for IDLE's undo " "delegator. Original patch by Saimadhav Heblikar ." msgstr "" #: ../build/NEWS:25582 msgid "" "`bpo-25500 `__: Fix documentation to not " "claim that __import__ is searched for in the global scope." msgstr "" #: ../build/NEWS:25603 msgid "" "`bpo-25940 `__: Changed test_ssl to use " "self-signed.pythontest.net. This avoids relying on svn.python.org, which " "recently changed root certificate." msgstr "" #: ../build/NEWS:25626 msgid "" "`bpo-21668 `__: Link audioop, _datetime, " "_ctypes_test modules to libm, except on Mac OS X. Patch written by Xavier de " "Gaye." msgstr "" #: ../build/NEWS:25650 msgid "" "`bpo-25348 `__: Added ``--pgo`` and ``--" "pgo-job`` arguments to ``PCbuild\\build.bat`` for building with Profile-" "Guided Optimization. The old ``PCbuild\\build_pgo.bat`` script is now " "deprecated, and simply calls ``PCbuild\\build.bat --pgo %*``." msgstr "" #: ../build/NEWS:25711 msgid "Python 3.5.1 final" msgstr "" #: ../build/NEWS:25713 msgid "*Release date: 2015-12-06*" msgstr "" #: ../build/NEWS:25724 msgid "" "`bpo-25715 `__: Python 3.5.1 installer " "shows wrong upgrade path and incorrect logic for launcher detection." msgstr "" #: ../build/NEWS:25729 msgid "Python 3.5.1 release candidate 1" msgstr "" #: ../build/NEWS:25731 msgid "*Release date: 2015-11-22*" msgstr "" #: ../build/NEWS:25790 msgid "" "`bpo-25182 `__: The stdprinter (used as " "sys.stderr before the io module is imported at startup) now uses the " "backslashreplace error handler." msgstr "" #: ../build/NEWS:25793 msgid "" "`bpo-25131 `__: Make the line number and " "column offset of set/dict literals and comprehensions correspond to the " "opening brace." msgstr "" #: ../build/NEWS:25796 msgid "" "`bpo-25150 `__: Hide the private " "_Py_atomic_xxx symbols from the public Python.h header to fix a compilation " "error with OpenMP. PyThreadState_GET() becomes an alias to " "PyThreadState_Get() to avoid ABI incompatibilities." msgstr "" #: ../build/NEWS:25820 msgid "" "`bpo-25590 `__: In the Readline " "completer, only call getattr() once per attribute." msgstr "" #: ../build/NEWS:25898 msgid "" "`bpo-24483 `__: C implementation of " "functools.lru_cache() now calculates key's hash only once." msgstr "" #: ../build/NEWS:25901 msgid "" "`bpo-22958 `__: Constructor and update " "method of weakref.WeakValueDictionary now accept the self and the dict " "keyword arguments." msgstr "" #: ../build/NEWS:25904 msgid "" "`bpo-22609 `__: Constructor of " "collections.UserDict now accepts the self keyword argument." msgstr "" #: ../build/NEWS:25907 msgid "" "`bpo-25111 `__: Fixed comparison of " "traceback.FrameSummary." msgstr "" #: ../build/NEWS:25909 msgid "" "`bpo-25262 `__: Added support for " "BINBYTES8 opcode in Python implementation of unpickler. Highest 32 bits of " "64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored " "on 32-bit platforms in C implementation." msgstr "" #: ../build/NEWS:25914 msgid "" "`bpo-25034 `__: Fix string.Formatter " "problem with auto-numbering and nested format_specs. Patch by Anthon van der " "Neut." msgstr "" #: ../build/NEWS:25917 msgid "" "`bpo-25233 `__: Rewrite the guts of " "asyncio.Queue and asyncio.Semaphore to be more understandable and correct." msgstr "" #: ../build/NEWS:25926 msgid "" "`bpo-23329 `__: Allow the ssl module to " "be built with older versions of LibreSSL." msgstr "" #: ../build/NEWS:25929 msgid "Prevent overflow in _Unpickler_Read." msgstr "" #: ../build/NEWS:25931 msgid "" "`bpo-25047 `__: The XML encoding " "declaration written by Element Tree now respects the letter case given by " "the user. This restores the ability to write encoding names in uppercase " "like \"UTF-8\", which worked in Python 2." msgstr "" #: ../build/NEWS:25935 msgid "" "`bpo-25135 `__: Make deque_clear() safer " "by emptying the deque before clearing. This helps avoid possible reentrancy " "issues." msgstr "" #: ../build/NEWS:25938 msgid "" "`bpo-19143 `__: platform module now " "reads Windows version from kernel32.dll to avoid compatibility shims." msgstr "" #: ../build/NEWS:25941 msgid "" "`bpo-25092 `__: Fix datetime.strftime() " "failure when errno was already set to EINVAL." msgstr "" #: ../build/NEWS:25944 msgid "" "`bpo-23517 `__: Fix rounding in " "fromtimestamp() and utcfromtimestamp() methods of datetime.datetime: " "microseconds are now rounded to nearest with ties going to nearest even " "integer (ROUND_HALF_EVEN), instead of being rounding towards minus infinity " "(ROUND_FLOOR). It's important that these methods use the same rounding mode " "than datetime.timedelta to keep the property: (datetime(1970,1,1) + " "timedelta(seconds=t)) == datetime.utcfromtimestamp(t). It also the rounding " "mode used by round(float) for example." msgstr "" #: ../build/NEWS:25953 msgid "" "`bpo-25155 `__: Fix datetime.datetime." "now() and datetime.datetime.utcnow() on Windows to support date after year " "2038. It was a regression introduced in Python 3.5.0." msgstr "" #: ../build/NEWS:25957 msgid "" "`bpo-25108 `__: Omitted internal frames " "in traceback functions print_stack(), format_stack(), and extract_stack() " "called without arguments." msgstr "" #: ../build/NEWS:25960 msgid "" "`bpo-25118 `__: Fix a regression of " "Python 3.5.0 in os.waitpid() on Windows." msgstr "" #: ../build/NEWS:25962 msgid "" "`bpo-24684 `__: socket.socket." "getaddrinfo() now calls PyUnicode_AsEncodedString() instead of calling the " "encode() method of the host, to handle correctly custom string with an " "encode() method which doesn't return a byte string. The encoder of the IDNA " "codec is now called directly instead of calling the encode() method of the " "string." msgstr "" #: ../build/NEWS:25968 msgid "" "`bpo-25060 `__: Correctly compute stack " "usage of the BUILD_MAP opcode." msgstr "" #: ../build/NEWS:25970 msgid "" "`bpo-24857 `__: Comparing call_args to a " "long sequence now correctly returns a boolean result instead of raising an " "exception. Patch by A Kaptur." msgstr "" #: ../build/NEWS:25973 msgid "" "`bpo-23144 `__: Make sure that " "HTMLParser.feed() returns all the data, even when convert_charrefs is True." msgstr "" #: ../build/NEWS:25976 msgid "" "`bpo-24982 `__: shutil.make_archive() " "with the \"zip\" format now adds entries for directories (including empty " "directories) in ZIP file." msgstr "" #: ../build/NEWS:25979 msgid "" "`bpo-25019 `__: Fixed a crash caused by " "setting non-string key of expat parser. Based on patch by John Leitch." msgstr "" #: ../build/NEWS:25982 msgid "" "`bpo-16180 `__: Exit pdb if file has " "syntax error, instead of trapping user in an infinite loop. Patch by Xavier " "de Gaye." msgstr "" #: ../build/NEWS:25985 msgid "" "`bpo-24891 `__: Fix a race condition at " "Python startup if the file descriptor of stdin (0), stdout (1) or stderr (2) " "is closed while Python is creating sys.stdin, sys.stdout and sys.stderr " "objects. These attributes are now set to None if the creation of the object " "failed, instead of raising an OSError exception. Initial patch written by " "Marco Paolini." msgstr "" #: ../build/NEWS:25991 msgid "" "`bpo-24992 `__: Fix error handling and a " "race condition (related to garbage collection) in collections.OrderedDict " "constructor." msgstr "" #: ../build/NEWS:25994 msgid "" "`bpo-24881 `__: Fixed setting binary " "mode in Python implementation of FileIO on Windows and Cygwin. Patch from " "Akira Li." msgstr "" #: ../build/NEWS:26010 msgid "" "`bpo-21112 `__: Fix regression in " "unittest.expectedFailure on subclasses. Patch from Berker Peksag." msgstr "" #: ../build/NEWS:26013 msgid "" "`bpo-24764 `__: cgi.FieldStorage." "read_multi() now ignores the Content-Length header in part headers. Patch " "written by Peter Landry and reviewed by Pierre Quentel." msgstr "" #: ../build/NEWS:26017 ../build/NEWS:26282 msgid "" "`bpo-24913 `__: Fix overrun error in " "deque.index(). Found by John Leitch and Bryce Darling." msgstr "" #: ../build/NEWS:26020 msgid "" "`bpo-24774 `__: Fix docstring in http." "server.test. Patch from Chiu-Hsiang Hsu." msgstr "" #: ../build/NEWS:26022 msgid "" "`bpo-21159 `__: Improve message in " "configparser.InterpolationMissingOptionError. Patch from Łukasz Langa." msgstr "" #: ../build/NEWS:26025 msgid "" "`bpo-20362 `__: Honour TestCase." "longMessage correctly in assertRegex. Patch from Ilia Kurenkov." msgstr "" #: ../build/NEWS:26028 msgid "" "`bpo-23572 `__: Fixed functools." "singledispatch on classes with falsy metaclasses. Patch by Ethan Furman." msgstr "" #: ../build/NEWS:26031 msgid "asyncio: ensure_future() now accepts awaitable objects." msgstr "" #: ../build/NEWS:26119 msgid "" "`bpo-16893 `__: Replace help.txt with " "help.html for Idle doc display. The new idlelib/help.html is rstripped Doc/" "build/html/library/idle.html. It looks better than help.txt and will better " "document Idle as released. The tkinter html viewer that works for this file " "was written by Mark Roseman. The now unused EditorWindow.HelpDialog class " "and helt.txt file are deprecated." msgstr "" #: ../build/NEWS:26136 msgid "" "`bpo-12067 `__: Rewrite Comparisons " "section in the Expressions chapter of the language reference. Some of the " "details of comparing mixed types were incorrect or ambiguous. NotImplemented " "is only relevant at a lower level than the Expressions chapter. Added " "details of comparing range() objects, and default behaviour and consistency " "suggestions for user-defined classes. Patch from Andy Maier." msgstr "" #: ../build/NEWS:26146 msgid "" "`bpo-23725 `__: Overhaul tempfile docs. " "Note deprecated status of mktemp. Patch from Zbigniew Jędrzejewski-Szmek." msgstr "" #: ../build/NEWS:26149 msgid "" "`bpo-24808 `__: Update the types of some " "PyTypeObject fields. Patch by Joseph Weston." msgstr "" #: ../build/NEWS:26152 msgid "" "`bpo-22812 `__: Fix unittest discovery " "examples. Patch from Pam McA'Nulty." msgstr "" #: ../build/NEWS:26159 msgid "" "`bpo-25099 `__: Make test_compileall not " "fail when an entry on sys.path cannot be written to (commonly seen in " "administrative installs on Windows)." msgstr "" #: ../build/NEWS:26162 msgid "" "`bpo-23919 `__: Prevents assert dialogs " "appearing in the test suite." msgstr "" #: ../build/NEWS:26170 msgid "" "`bpo-24915 `__: Add LLVM support for PGO " "builds and use the test suite to generate the profile data. Initial patch by " "Alecsandru Patrascu of Intel." msgstr "" #: ../build/NEWS:26173 msgid "" "`bpo-24910 `__: Windows MSIs now have " "unique display names." msgstr "" #: ../build/NEWS:26181 msgid "" "`bpo-25450 `__: Updates shortcuts to " "start Python in installation directory." msgstr "" #: ../build/NEWS:26183 msgid "" "`bpo-25164 `__: Changes default all-" "users install directory to match per-user directory." msgstr "" #: ../build/NEWS:26186 msgid "" "`bpo-25143 `__: Improves installer error " "messages for unsupported platforms." msgstr "" #: ../build/NEWS:26188 msgid "" "`bpo-25163 `__: Display correct " "directory in installer when using non-default settings." msgstr "" #: ../build/NEWS:26191 msgid "" "`bpo-25361 `__: Disables use of SSE2 " "instructions in Windows 32-bit build" msgstr "" #: ../build/NEWS:26193 msgid "" "`bpo-25089 `__: Adds logging to " "installer for case where launcher is not selected on upgrade." msgstr "" #: ../build/NEWS:26196 msgid "" "`bpo-25165 `__: Windows uninstallation " "should not remove launcher if other versions remain" msgstr "" #: ../build/NEWS:26199 msgid "" "`bpo-25112 `__: py.exe launcher is " "missing icons" msgstr "" #: ../build/NEWS:26201 msgid "" "`bpo-25102 `__: Windows installer does " "not precompile for -O or -OO." msgstr "" #: ../build/NEWS:26203 msgid "" "`bpo-25081 `__: Makes Back button in " "installer go back to upgrade page when upgrading." msgstr "" #: ../build/NEWS:26206 msgid "" "`bpo-25091 `__: Increases font size of " "the installer." msgstr "" #: ../build/NEWS:26208 msgid "" "`bpo-25126 `__: Clarifies that the non-" "web installer will download some components." msgstr "" #: ../build/NEWS:26211 msgid "" "`bpo-25213 `__: Restores " "requestedExecutionLevel to manifest to disable UAC virtualization." msgstr "" #: ../build/NEWS:26223 msgid "Python 3.5.0 final" msgstr "" #: ../build/NEWS:26225 msgid "*Release date: 2015-09-13*" msgstr "" #: ../build/NEWS:26230 msgid "" "`bpo-25071 `__: Windows installer should " "not require TargetDir parameter when installing quietly." msgstr "" #: ../build/NEWS:26235 msgid "Python 3.5.0 release candidate 4" msgstr "" #: ../build/NEWS:26237 msgid "*Release date: 2015-09-09*" msgstr "" #: ../build/NEWS:26242 msgid "" "`bpo-25029 `__: Fixes MemoryError in " "test_strptime." msgstr "" #: ../build/NEWS:26247 msgid "" "`bpo-25027 `__: Reverts partial-static " "build options and adds vcruntime140.dll to Windows installation." msgstr "" #: ../build/NEWS:26252 msgid "Python 3.5.0 release candidate 3" msgstr "" #: ../build/NEWS:26254 msgid "*Release date: 2015-09-07*" msgstr "" #: ../build/NEWS:26259 msgid "" "`bpo-24305 `__: Prevent import subsystem " "stack frames from being counted by the warnings.warn(stacklevel=) parameter." msgstr "" #: ../build/NEWS:26262 msgid "" "`bpo-24912 `__: Prevent __class__ " "assignment to immutable built-in objects." msgstr "" #: ../build/NEWS:26264 msgid "" "`bpo-24975 `__: Fix AST compilation for :" "pep:`448` syntax." msgstr "" #: ../build/NEWS:26269 msgid "" "`bpo-24917 `__: time_strftime() buffer " "over-read." msgstr "" #: ../build/NEWS:26271 msgid "" "`bpo-24748 `__: To resolve a " "compatibility problem found with py2exe and pywin32, imp.load_dynamic() once " "again ignores previously loaded modules to support Python modules replacing " "themselves with extension modules. Patch by Petr Viktorin." msgstr "" #: ../build/NEWS:26276 msgid "" "`bpo-24635 `__: Fixed a bug in typing.py " "where isinstance([], typing.Iterable) would return True once, then False on " "subsequent calls." msgstr "" #: ../build/NEWS:26279 msgid "" "`bpo-24989 `__: Fixed buffer overread in " "BytesIO.readline() if a position is set beyond size. Based on patch by John " "Leitch." msgstr "" #: ../build/NEWS:26287 msgid "Python 3.5.0 release candidate 2" msgstr "" #: ../build/NEWS:26289 msgid "*Release date: 2015-08-25*" msgstr "" #: ../build/NEWS:26294 msgid "" "`bpo-24769 `__: Interpreter now starts " "properly when dynamic loading is disabled. Patch by Petr Viktorin." msgstr "" #: ../build/NEWS:26297 msgid "" "`bpo-21167 `__: NAN operations are now " "handled correctly when python is compiled with ICC even if -fp-model strict " "is not specified." msgstr "" #: ../build/NEWS:26300 msgid "" "`bpo-24492 `__: A \"package\" lacking a " "__name__ attribute when trying to perform a ``from .. import ...`` statement " "will trigger an ImportError instead of an AttributeError." msgstr "" #: ../build/NEWS:26307 msgid "" "`bpo-24847 `__: Removes vcruntime140.dll " "dependency from Tcl/Tk." msgstr "" #: ../build/NEWS:26309 msgid "" "`bpo-24839 `__: platform._syscmd_ver " "raises DeprecationWarning" msgstr "" #: ../build/NEWS:26311 msgid "" "`bpo-24867 `__: Fix Task.get_stack() for " "'async def' coroutines" msgstr "" #: ../build/NEWS:26315 msgid "Python 3.5.0 release candidate 1" msgstr "" #: ../build/NEWS:26317 msgid "*Release date: 2015-08-09*" msgstr "" #: ../build/NEWS:26322 msgid "" "`bpo-24667 `__: Resize odict in all " "cases that the underlying dict resizes." msgstr "" #: ../build/NEWS:26327 msgid "" "`bpo-24824 `__: Signatures of codecs." "encode() and codecs.decode() now are compatible with pydoc." msgstr "" #: ../build/NEWS:26330 msgid "" "`bpo-24634 `__: Importing uuid should " "not try to load libc on Windows" msgstr "" #: ../build/NEWS:26332 msgid "" "`bpo-24798 `__: _msvccompiler.py doesn't " "properly support manifests" msgstr "" #: ../build/NEWS:26334 msgid "" "`bpo-4395 `__: Better testing and " "documentation of binary operators. Patch by Martin Panter." msgstr "" #: ../build/NEWS:26337 msgid "" "`bpo-23973 `__: Update typing.py from " "GitHub repo." msgstr "" #: ../build/NEWS:26339 msgid "" "`bpo-23004 `__: mock_open() now reads " "binary data correctly when the type of read_data is bytes. Initial patch by " "Aaron Hill." msgstr "" #: ../build/NEWS:26342 msgid "" "`bpo-23888 `__: Handle fractional time " "in cookie expiry. Patch by ssh." msgstr "" #: ../build/NEWS:26344 msgid "" "`bpo-23652 `__: Make it possible to " "compile the select module against the libc headers from the Linux Standard " "Base, which do not include some EPOLL macros. Patch by Matt Frank." msgstr "" #: ../build/NEWS:26348 msgid "" "`bpo-22932 `__: Fix timezones in email." "utils.formatdate. Patch from Dmitry Shachnev." msgstr "" #: ../build/NEWS:26351 msgid "" "`bpo-23779 `__: imaplib raises TypeError " "if authenticator tries to abort. Patch from Craig Holmquist." msgstr "" #: ../build/NEWS:26354 msgid "" "`bpo-23319 `__: Fix ctypes." "BigEndianStructure, swap correctly bytes. Patch written by Matthieu Gautier." msgstr "" #: ../build/NEWS:26357 msgid "" "`bpo-23254 `__: Document how to close " "the TCPServer listening socket. Patch from Martin Panter." msgstr "" #: ../build/NEWS:26360 msgid "" "`bpo-19450 `__: Update Windows and OS X " "installer builds to use SQLite 3.8.11." msgstr "" #: ../build/NEWS:26362 msgid "" "`bpo-17527 `__: Add PATCH to wsgiref." "validator. Patch from Luca Sbardella." msgstr "" #: ../build/NEWS:26364 msgid "" "`bpo-24791 `__: Fix grammar regression " "for call syntax: 'g(\\*a or b)'." msgstr "" #: ../build/NEWS:26369 msgid "" "`bpo-23672 `__: Allow Idle to edit and " "run files with astral chars in name. Patch by Mohd Sanad Zaki Rizvi." msgstr "" #: ../build/NEWS:26372 msgid "" "`bpo-24745 `__: Idle editor default " "font. Switch from Courier to platform-sensitive TkFixedFont. This should " "not affect current customized font selections. If there is a problem, edit " "$HOME/.idlerc/config-main.cfg and remove 'fontxxx' entries from [Editor " "Window]. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:26378 msgid "" "`bpo-21192 `__: Idle editor. When a file " "is run, put its name in the restart bar. Do not print false prompts. " "Original patch by Adnan Umer." msgstr "" #: ../build/NEWS:26381 msgid "" "`bpo-13884 `__: Idle menus. Remove " "tearoff lines. Patch by Roger Serwy." msgstr "" #: ../build/NEWS:26386 msgid "" "`bpo-24129 `__: Clarify the reference " "documentation for name resolution. This includes removing the assumption " "that readers will be familiar with the name resolution scheme Python used " "prior to the introduction of lexical scoping for function namespaces. Patch " "by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:26391 msgid "" "`bpo-20769 `__: Improve reload() docs. " "Patch by Dorian Pula." msgstr "" #: ../build/NEWS:26393 msgid "" "`bpo-23589 `__: Remove duplicate " "sentence from the FAQ. Patch by Yongzhi Pan." msgstr "" #: ../build/NEWS:26395 msgid "" "`bpo-24729 `__: Correct IO tutorial to " "match implementation regarding encoding parameter to open function." msgstr "" #: ../build/NEWS:26401 msgid "" "`bpo-24751 `__: When running regrtest " "with the ``-w`` command line option, a test run is no longer marked as a " "failure if all tests succeed when re-run." msgstr "" #: ../build/NEWS:26407 msgid "Python 3.5.0 beta 4" msgstr "" #: ../build/NEWS:26409 msgid "*Release date: 2015-07-26*" msgstr "" #: ../build/NEWS:26414 msgid "" "`bpo-23573 `__: Restored optimization of " "bytes.rfind() and bytearray.rfind() for single-byte argument on Linux." msgstr "" #: ../build/NEWS:26417 msgid "" "`bpo-24569 `__: Make :pep:`448` " "dictionary evaluation more consistent." msgstr "" #: ../build/NEWS:26419 msgid "" "`bpo-24583 `__: Fix crash when set is " "mutated while being updated." msgstr "" #: ../build/NEWS:26421 msgid "" "`bpo-24407 `__: Fix crash when dict is " "mutated while being updated." msgstr "" #: ../build/NEWS:26423 msgid "" "`bpo-24619 `__: New approach for " "tokenizing async/await. As a consequence, it is now possible to have one-" "line 'async def foo(): await ..' functions." msgstr "" #: ../build/NEWS:26426 msgid "" "`bpo-24687 `__: Plug refleak on " "SyntaxError in function parameters annotations." msgstr "" #: ../build/NEWS:26428 msgid "" "`bpo-15944 `__: memoryview: Allow " "arbitrary formats when casting to bytes. Patch by Martin Panter." msgstr "" #: ../build/NEWS:26434 msgid "" "`bpo-23441 `__: rcompleter now prints a " "tab character instead of displaying possible completions for an empty word. " "Initial patch by Martin Sekera." msgstr "" #: ../build/NEWS:26437 msgid "" "`bpo-24683 `__: Fixed crashes in _json " "functions called with arguments of inappropriate type." msgstr "" #: ../build/NEWS:26440 msgid "" "`bpo-21697 `__: shutil.copytree() now " "correctly handles symbolic links that point to directories. Patch by " "Eduardo Seabra and Thomas Kluyver." msgstr "" #: ../build/NEWS:26443 msgid "" "`bpo-14373 `__: Fixed segmentation fault " "when gc.collect() is called during constructing lru_cache (C implementation)." msgstr "" #: ../build/NEWS:26446 msgid "" "`bpo-24695 `__: Fix a regression in " "traceback.print_exception(). If exc_traceback is None we shouldn't print a " "traceback header like described in the documentation." msgstr "" #: ../build/NEWS:26450 msgid "" "`bpo-24620 `__: Random.setstate() now " "validates the value of state last element." msgstr "" #: ../build/NEWS:26453 msgid "" "`bpo-22485 `__: Fixed an issue that " "caused `inspect.getsource` to return incorrect results on nested functions." msgstr "" #: ../build/NEWS:26456 msgid "" "`bpo-22153 `__: Improve unittest docs. " "Patch from Martin Panter and evilzero." msgstr "" #: ../build/NEWS:26458 msgid "" "`bpo-24580 `__: Symbolic group " "references to open group in re patterns now are explicitly forbidden as well " "as numeric group references." msgstr "" #: ../build/NEWS:26461 msgid "" "`bpo-24206 `__: Fixed __eq__ and __ne__ " "methods of inspect classes." msgstr "" #: ../build/NEWS:26463 msgid "" "`bpo-24631 `__: Fixed regression in the " "timeit module with multiline setup." msgstr "" #: ../build/NEWS:26471 msgid "" "`bpo-24608 `__: chunk.Chunk.read() now " "always returns bytes, not str." msgstr "" #: ../build/NEWS:26473 msgid "" "`bpo-18684 `__: Fixed reading out of the " "buffer in the re module." msgstr "" #: ../build/NEWS:26475 msgid "" "`bpo-24259 `__: tarfile now raises a " "ReadError if an archive is truncated inside a data segment." msgstr "" #: ../build/NEWS:26478 msgid "" "`bpo-15014 `__: SMTP.auth() and SMTP." "login() now support RFC 4954's optional initial-response argument to the " "SMTP AUTH command." msgstr "" #: ../build/NEWS:26481 msgid "" "`bpo-24669 `__: Fix inspect.getsource() " "for 'async def' functions. Patch by Kai Groner." msgstr "" #: ../build/NEWS:26484 msgid "" "`bpo-24688 `__: ast.get_docstring() for " "'async def' functions." msgstr "" #: ../build/NEWS:26489 msgid "" "`bpo-24603 `__: Update Windows builds " "and OS X 10.5 installer to use OpenSSL 1.0.2d." msgstr "" #: ../build/NEWS:26494 msgid "Python 3.5.0 beta 3" msgstr "" #: ../build/NEWS:26496 msgid "*Release date: 2015-07-05*" msgstr "" #: ../build/NEWS:26501 msgid "" "`bpo-24467 `__: Fixed possible buffer " "over-read in bytearray. The bytearray object now always allocates place for " "trailing null byte and it's buffer now is always null-terminated." msgstr "" #: ../build/NEWS:26505 msgid "Upgrade to Unicode 8.0.0." msgstr "" #: ../build/NEWS:26507 msgid "" "`bpo-24345 `__: Add Py_tp_finalize slot " "for the stable ABI." msgstr "" #: ../build/NEWS:26509 msgid "" "`bpo-24400 `__: Introduce a distinct " "type for :pep:`492` coroutines; add types.CoroutineType, inspect." "getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer use " "CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def' " "coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine, " "it's intended to test for pure 'async def' coroutines only; add new opcode: " "GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be " "instance of collections.abc.Generator; collections.abc.Awaitable and " "collections.abc.Coroutine can no longer be used to detect generator-based " "coroutines--use inspect.isawaitable instead." msgstr "" #: ../build/NEWS:26520 msgid "" "`bpo-24450 `__: Add gi_yieldfrom to " "generators and cr_await to coroutines. Contributed by Benno Leslie and Yury " "Selivanov." msgstr "" #: ../build/NEWS:26523 msgid "" "`bpo-19235 `__: Add new RecursionError " "exception. Patch by Georg Brandl." msgstr "" #: ../build/NEWS:26528 msgid "" "`bpo-21750 `__: mock_open.read_data can " "now be read from each instance, as it could in Python 3.3." msgstr "" #: ../build/NEWS:26531 msgid "" "`bpo-24552 `__: Fix use after free in an " "error case of the _pickle module." msgstr "" #: ../build/NEWS:26533 msgid "" "`bpo-24514 `__: tarfile now tolerates " "number fields consisting of only whitespace." msgstr "" #: ../build/NEWS:26536 msgid "" "`bpo-19176 `__: Fixed doctype() related " "bugs in C implementation of ElementTree. A deprecation warning no longer " "issued by XMLParser subclass with default doctype() method. Direct call of " "doctype() now issues a warning. Parser's doctype() now is not called if " "target's doctype() is called. Based on patch by Martin Panter." msgstr "" #: ../build/NEWS:26542 msgid "" "`bpo-20387 `__: Restore semantic round-" "trip correctness in tokenize/untokenize for tab-indented blocks." msgstr "" #: ../build/NEWS:26545 msgid "" "`bpo-24456 `__: Fixed possible buffer " "over-read in adpcm2lin() and lin2adpcm() functions of the audioop module." msgstr "" #: ../build/NEWS:26548 msgid "" "`bpo-24336 `__: The contextmanager " "decorator now works with functions with keyword arguments called \"func\" " "and \"self\". Patch by Martin Panter." msgstr "" #: ../build/NEWS:26551 msgid "" "`bpo-24522 `__: Fix possible integer " "overflow in json accelerator module." msgstr "" #: ../build/NEWS:26553 msgid "" "`bpo-24489 `__: ensure a previously set " "C errno doesn't disturb cmath.polar()." msgstr "" #: ../build/NEWS:26555 msgid "" "`bpo-24408 `__: Fixed AttributeError in " "measure() and metrics() methods of tkinter.Font." msgstr "" #: ../build/NEWS:26558 msgid "" "`bpo-14373 `__: C implementation of " "functools.lru_cache() now can be used with methods." msgstr "" #: ../build/NEWS:26561 msgid "" "`bpo-24347 `__: Set KeyError if " "PyDict_GetItemWithError returns NULL." msgstr "" #: ../build/NEWS:26563 msgid "" "`bpo-24348 `__: Drop superfluous incref/" "decref." msgstr "" #: ../build/NEWS:26565 msgid "" "`bpo-24359 `__: Check for changed " "OrderedDict size during iteration." msgstr "" #: ../build/NEWS:26567 msgid "" "`bpo-24368 `__: Support keyword " "arguments in OrderedDict methods." msgstr "" #: ../build/NEWS:26569 msgid "" "`bpo-24362 `__: Simplify the C " "OrderedDict fast nodes resize logic." msgstr "" #: ../build/NEWS:26571 msgid "" "`bpo-24377 `__: Fix a ref leak in " "OrderedDict.__repr__." msgstr "" #: ../build/NEWS:26573 msgid "" "`bpo-24369 `__: Defend against key-" "changes during iteration." msgstr "" #: ../build/NEWS:26578 msgid "" "`bpo-24373 `__: _testmultiphase and " "xxlimited now use tp_traverse and tp_finalize to avoid reference leaks " "encountered when combining tp_dealloc with PyType_FromSpec (see `bpo-16690 " "`__ for details)" msgstr "" #: ../build/NEWS:26585 msgid "" "`bpo-24458 `__: Update documentation to " "cover multi-phase initialization for extension modules (PEP 489). Patch by " "Petr Viktorin." msgstr "" #: ../build/NEWS:26588 msgid "" "`bpo-24351 `__: Clarify what is meant by " "\"identifier\" in the context of string.Template instances." msgstr "" #: ../build/NEWS:26594 msgid "" "`bpo-24432 `__: Update Windows builds " "and OS X 10.5 installer to use OpenSSL 1.0.2c." msgstr "" #: ../build/NEWS:26599 msgid "Python 3.5.0 beta 2" msgstr "" #: ../build/NEWS:26601 msgid "*Release date: 2015-05-31*" msgstr "" #: ../build/NEWS:26606 msgid "" "`bpo-24284 `__: The startswith and " "endswith methods of the str class no longer return True when finding the " "empty string and the indexes are completely out of range." msgstr "" #: ../build/NEWS:26610 msgid "" "`bpo-24115 `__: Update uses of " "PyObject_IsTrue(), PyObject_Not(), PyObject_IsInstance(), " "PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle " "errors correctly." msgstr "" #: ../build/NEWS:26614 msgid "" "`bpo-24328 `__: Fix importing one " "character extension modules." msgstr "" #: ../build/NEWS:26616 msgid "" "`bpo-11205 `__: In dictionary displays, " "evaluate the key before the value." msgstr "" #: ../build/NEWS:26618 msgid "" "`bpo-24285 `__: Fixed regression that " "prevented importing extension modules from inside packages. Patch by Petr " "Viktorin." msgstr "" #: ../build/NEWS:26624 msgid "" "`bpo-23247 `__: Fix a crash in the " "StreamWriter.reset() of CJK codecs." msgstr "" #: ../build/NEWS:26626 msgid "" "`bpo-24270 `__: Add math.isclose() and " "cmath.isclose() functions as per :pep:`485`. Contributed by Chris Barker and " "Tal Einat." msgstr "" #: ../build/NEWS:26629 msgid "" "`bpo-5633 `__: Fixed timeit when the " "statement is a string and the setup is not." msgstr "" #: ../build/NEWS:26632 msgid "" "`bpo-24326 `__: Fixed audioop.ratecv() " "with non-default weightB argument. Original patch by David Moore." msgstr "" #: ../build/NEWS:26635 msgid "" "`bpo-16991 `__: Add a C implementation " "of OrderedDict." msgstr "" #: ../build/NEWS:26637 msgid "" "`bpo-23934 `__: Fix inspect.signature to " "fail correctly for builtin types lacking signature information. Initial " "patch by James Powell." msgstr "" #: ../build/NEWS:26642 msgid "Python 3.5.0 beta 1" msgstr "" #: ../build/NEWS:26644 msgid "*Release date: 2015-05-24*" msgstr "" #: ../build/NEWS:26649 msgid "" "`bpo-24276 `__: Fixed optimization of " "property descriptor getter." msgstr "" #: ../build/NEWS:26651 msgid "" "`bpo-24268 `__: PEP 489: Multi-phase " "extension module initialization. Patch by Petr Viktorin." msgstr "" #: ../build/NEWS:26654 msgid "" "`bpo-23955 `__: Add pyvenv.cfg option to " "suppress registry/environment lookup for generating sys.path on Windows." msgstr "" #: ../build/NEWS:26657 msgid "" "`bpo-24257 `__: Fixed system error in " "the comparison of faked types.SimpleNamespace." msgstr "" #: ../build/NEWS:26660 msgid "" "`bpo-22939 `__: Fixed integer overflow " "in iterator object. Patch by Clement Rouault." msgstr "" #: ../build/NEWS:26663 msgid "" "`bpo-23985 `__: Fix a possible buffer " "overrun when deleting a slice from the front of a bytearray and then " "appending some other bytes data." msgstr "" #: ../build/NEWS:26666 msgid "" "`bpo-24102 `__: Fixed exception type " "checking in standard error handlers." msgstr "" #: ../build/NEWS:26668 msgid "" "`bpo-15027 `__: The UTF-32 encoder is " "now 3x to 7x faster." msgstr "" #: ../build/NEWS:26670 msgid "" "`bpo-23290 `__: Optimize set_merge() for " "cases where the target is empty. (Contributed by Serhiy Storchaka.)" msgstr "" #: ../build/NEWS:26673 msgid "" "`bpo-2292 `__: PEP 448: Additional " "Unpacking Generalizations." msgstr "" #: ../build/NEWS:26675 msgid "" "`bpo-24096 `__: Make warnings." "warn_explicit more robust against mutation of the warnings.filters list." msgstr "" #: ../build/NEWS:26678 msgid "" "`bpo-23996 `__: Avoid a crash when a " "delegated generator raises an unnormalized StopIteration exception. Patch " "by Stefan Behnel." msgstr "" #: ../build/NEWS:26681 msgid "" "`bpo-23910 `__: Optimize property() " "getter calls. Patch by Joe Jevnik." msgstr "" #: ../build/NEWS:26683 msgid "" "`bpo-23911 `__: Move path-based " "importlib bootstrap code to a separate frozen module." msgstr "" #: ../build/NEWS:26686 msgid "" "`bpo-24192 `__: Fix namespace package " "imports." msgstr "" #: ../build/NEWS:26688 msgid "" "`bpo-24022 `__: Fix tokenizer crash when " "processing undecodable source code." msgstr "" #: ../build/NEWS:26690 msgid "" "`bpo-9951 `__: Added a hex() method to " "bytes, bytearray, and memoryview." msgstr "" #: ../build/NEWS:26692 msgid "" "`bpo-22906 `__: PEP 479: Change " "StopIteration handling inside generators." msgstr "" #: ../build/NEWS:26694 msgid "" "`bpo-24017 `__: PEP 492: Coroutines with " "async and await syntax." msgstr "" #: ../build/NEWS:26699 msgid "" "`bpo-14373 `__: Added C implementation " "of functools.lru_cache(). Based on patches by Matt Joiner and Alexey " "Kachayev." msgstr "" #: ../build/NEWS:26702 msgid "" "`bpo-24230 `__: The tempfile module now " "accepts bytes for prefix, suffix and dir parameters and returns bytes in " "such situations (matching the os module APIs)." msgstr "" #: ../build/NEWS:26706 msgid "" "`bpo-22189 `__: collections.UserString " "now supports __getnewargs__(), __rmod__(), casefold(), format_map(), " "isprintable(), and maketrans(). Patch by Joe Jevnik." msgstr "" #: ../build/NEWS:26710 msgid "" "`bpo-24244 `__: Prevents termination " "when an invalid format string is encountered on Windows in strftime." msgstr "" #: ../build/NEWS:26713 msgid "" "`bpo-23973 `__: PEP 484: Add the typing " "module." msgstr "" #: ../build/NEWS:26715 msgid "" "`bpo-23086 `__: The collections.abc." "Sequence() abstract base class added *start* and *stop* parameters to the " "index() mixin. Patch by Devin Jeanpierre." msgstr "" #: ../build/NEWS:26719 msgid "" "`bpo-20035 `__: Replaced the ``tkinter." "_fix`` module used for setting up the Tcl/Tk environment on Windows with a " "private function in the ``_tkinter`` module that makes no permanent changes " "to the environment." msgstr "" #: ../build/NEWS:26723 msgid "" "`bpo-24257 `__: Fixed segmentation fault " "in sqlite3.Row constructor with faked cursor type." msgstr "" #: ../build/NEWS:26726 msgid "" "`bpo-15836 `__: assertRaises(), " "assertRaisesRegex(), assertWarns() and assertWarnsRegex() assertments now " "check the type of the first argument to prevent possible user error. Based " "on patch by Daniel Wagner-Hall." msgstr "" #: ../build/NEWS:26730 msgid "" "`bpo-9858 `__: Add missing method stubs " "to _io.RawIOBase. Patch by Laura Rupprecht." msgstr "" #: ../build/NEWS:26733 msgid "" "`bpo-22955 `__: attrgetter, itemgetter " "and methodcaller objects in the operator module now support pickling. Added " "readable and evaluable repr for these objects. Based on patch by Josh " "Rosenberg." msgstr "" #: ../build/NEWS:26737 msgid "" "`bpo-22107 `__: tempfile.gettempdir() " "and tempfile.mkdtemp() now try again when a directory with the chosen name " "already exists on Windows as well as on Unix. tempfile.mkstemp() now fails " "early if parent directory is not valid (not exists or is a file) on Windows." msgstr "" #: ../build/NEWS:26742 msgid "" "`bpo-23780 `__: Improved error message " "in os.path.join() with single argument." msgstr "" #: ../build/NEWS:26744 msgid "" "`bpo-6598 `__: Increased time precision " "and random number range in email.utils.make_msgid() to strengthen the " "uniqueness of the message ID." msgstr "" #: ../build/NEWS:26747 msgid "" "`bpo-24091 `__: Fixed various crashes in " "corner cases in C implementation of ElementTree." msgstr "" #: ../build/NEWS:26750 msgid "" "`bpo-21931 `__: msilib.FCICreate() now " "raises TypeError in the case of a bad argument instead of a ValueError with " "a bogus FCI error number. Patch by Jeffrey Armstrong." msgstr "" #: ../build/NEWS:26754 msgid "" "`bpo-13866 `__: *quote_via* argument " "added to urllib.parse.urlencode." msgstr "" #: ../build/NEWS:26756 msgid "" "`bpo-20098 `__: New mangle_from policy " "option for email, default True for compat32, but False for all other " "policies." msgstr "" #: ../build/NEWS:26759 msgid "" "`bpo-24211 `__: The email library now " "supports RFC 6532: it can generate headers using utf-8 instead of encoded " "words." msgstr "" #: ../build/NEWS:26762 msgid "" "`bpo-16314 `__: Added support for the " "LZMA compression in distutils." msgstr "" #: ../build/NEWS:26764 msgid "" "`bpo-21804 `__: poplib now supports RFC " "6856 (UTF8)." msgstr "" #: ../build/NEWS:26766 msgid "" "`bpo-18682 `__: Optimized pprint " "functions for builtin scalar types." msgstr "" #: ../build/NEWS:26768 msgid "" "`bpo-22027 `__: smtplib now supports RFC " "6531 (SMTPUTF8)." msgstr "" #: ../build/NEWS:26770 msgid "" "`bpo-23488 `__: Random generator objects " "now consume 2x less memory on 64-bit." msgstr "" #: ../build/NEWS:26772 msgid "" "`bpo-1322 `__: platform.dist() and " "platform.linux_distribution() functions are now deprecated. Initial patch " "by Vajrasky Kok." msgstr "" #: ../build/NEWS:26775 msgid "" "`bpo-22486 `__: Added the math.gcd() " "function. The fractions.gcd() function now is deprecated. Based on patch " "by Mark Dickinson." msgstr "" #: ../build/NEWS:26778 msgid "" "`bpo-24064 `__: Property() docstrings " "are now writeable. (Patch by Berker Peksag.)" msgstr "" #: ../build/NEWS:26781 msgid "" "`bpo-22681 `__: Added support for the " "koi8_t encoding." msgstr "" #: ../build/NEWS:26783 msgid "" "`bpo-22682 `__: Added support for the " "kz1048 encoding." msgstr "" #: ../build/NEWS:26785 msgid "" "`bpo-23796 `__: peek and read1 methods " "of BufferedReader now raise ValueError if they called on a closed object. " "Patch by John Hergenroeder." msgstr "" #: ../build/NEWS:26788 msgid "" "`bpo-21795 `__: smtpd now supports the " "8BITMIME extension whenever the new *decode_data* constructor argument is " "set to False." msgstr "" #: ../build/NEWS:26791 msgid "" "`bpo-24155 `__: optimize heapq.heapify() " "for better cache performance when heapifying large lists." msgstr "" #: ../build/NEWS:26794 msgid "" "`bpo-21800 `__: imaplib now supports RFC " "5161 (enable), RFC 6855 (utf8/internationalized email) and automatically " "encodes non-ASCII usernames and passwords to UTF8." msgstr "" #: ../build/NEWS:26798 msgid "" "`bpo-20274 `__: When calling a _sqlite." "Connection, it now complains if passed any keyword arguments. Previously it " "silently ignored them." msgstr "" #: ../build/NEWS:26801 msgid "" "`bpo-20274 `__: Remove ignored and " "erroneous \"kwargs\" parameters from three METH_VARARGS methods on _sqlite." "Connection." msgstr "" #: ../build/NEWS:26804 msgid "" "`bpo-24134 `__: assertRaises(), " "assertRaisesRegex(), assertWarns() and assertWarnsRegex() checks now emits a " "deprecation warning when callable is None or keyword arguments except msg is " "passed in the context manager mode." msgstr "" #: ../build/NEWS:26809 msgid "" "`bpo-24018 `__: Add a collections.abc." "Generator abstract base class. Contributed by Stefan Behnel." msgstr "" #: ../build/NEWS:26812 msgid "" "`bpo-23880 `__: Tkinter's getint() and " "getdouble() now support Tcl_Obj. Tkinter's getdouble() now supports any " "numbers (in particular int)." msgstr "" #: ../build/NEWS:26815 msgid "" "`bpo-22619 `__: Added negative limit " "support in the traceback module. Based on patch by Dmitry Kazakov." msgstr "" #: ../build/NEWS:26818 msgid "" "`bpo-24094 `__: Fix possible crash in " "json.encode with poorly behaved dict subclasses." msgstr "" #: ../build/NEWS:26821 msgid "" "`bpo-9246 `__: On POSIX, os.getcwd() now " "supports paths longer than 1025 bytes. Patch written by William Orr." msgstr "" #: ../build/NEWS:26824 msgid "" "`bpo-17445 `__: add difflib.diff_bytes() " "to support comparison of byte strings (fixes a regression from Python 2)." msgstr "" #: ../build/NEWS:26827 msgid "" "`bpo-23917 `__: Fall back to sequential " "compilation when ProcessPoolExecutor doesn't exist. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:26830 msgid "" "`bpo-23008 `__: Fixed resolving " "attributes with boolean value is False in pydoc." msgstr "" #: ../build/NEWS:26833 msgid "" "Fix asyncio issue 235: LifoQueue and PriorityQueue's put didn't increment " "unfinished tasks (this bug was introduced when JoinableQueue was merged with " "Queue)." msgstr "" #: ../build/NEWS:26837 msgid "" "`bpo-23908 `__: os functions now reject " "paths with embedded null character on Windows instead of silently truncating " "them." msgstr "" #: ../build/NEWS:26840 msgid "" "`bpo-23728 `__: binascii.crc_hqx() could " "return an integer outside of the range 0-0xffff for empty data." msgstr "" #: ../build/NEWS:26843 msgid "" "`bpo-23887 `__: urllib.error.HTTPError " "now has a proper repr() representation. Patch by Berker Peksag." msgstr "" #: ../build/NEWS:26846 msgid "" "asyncio: New event loop APIs: set_task_factory() and get_task_factory()." msgstr "" #: ../build/NEWS:26848 msgid "asyncio: async() function is deprecated in favour of ensure_future()." msgstr "" #: ../build/NEWS:26850 msgid "" "`bpo-24178 `__: asyncio.Lock, Condition, " "Semaphore, and BoundedSemaphore support new 'async with' syntax. " "Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:26853 msgid "" "`bpo-24179 `__: Support 'async for' for " "asyncio.StreamReader. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:26856 msgid "" "`bpo-24184 `__: Add AsyncIterator and " "AsyncIterable ABCs to collections.abc. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:26859 msgid "" "`bpo-22547 `__: Implement informative " "__repr__ for inspect.BoundArguments. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:26862 msgid "" "`bpo-24190 `__: Implement inspect." "BoundArgument.apply_defaults() method. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:26865 msgid "" "`bpo-20691 `__: Add 'follow_wrapped' " "argument to inspect.Signature.from_callable() and inspect.signature(). " "Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:26869 msgid "" "`bpo-24248 `__: Deprecate inspect." "Signature.from_function() and inspect.Signature.from_builtin()." msgstr "" #: ../build/NEWS:26872 msgid "" "`bpo-23898 `__: Fix inspect." "classify_class_attrs() to support attributes with overloaded __eq__ and " "__bool__. Patch by Mike Bayer." msgstr "" #: ../build/NEWS:26875 msgid "" "`bpo-24298 `__: Fix inspect.signature() " "to correctly unwrap wrappers around bound methods." msgstr "" #: ../build/NEWS:26881 msgid "" "`bpo-23184 `__: remove unused names and " "imports in idlelib. Initial patch by Al Sweigart." msgstr "" #: ../build/NEWS:26887 msgid "" "`bpo-21520 `__: test_zipfile no longer " "fails if the word 'bad' appears anywhere in the name of the current " "directory." msgstr "" #: ../build/NEWS:26890 msgid "" "`bpo-9517 `__: Move script_helper into " "the support package. Patch by Christie Wilson." msgstr "" #: ../build/NEWS:26896 msgid "" "`bpo-22155 `__: Add File Handlers " "subsection with createfilehandler to tkinter doc. Remove obsolete example " "from FAQ. Patch by Martin Panter." msgstr "" #: ../build/NEWS:26899 msgid "" "`bpo-24029 `__: Document the name " "binding behavior for submodule imports." msgstr "" #: ../build/NEWS:26901 msgid "" "`bpo-24077 `__: Fix typo in man page for " "-I command option: -s, not -S" msgstr "" #: ../build/NEWS:26906 msgid "" "`bpo-24000 `__: Improved Argument " "Clinic's mapping of converters to legacy \"format units\". Updated the " "documentation to match." msgstr "" #: ../build/NEWS:26909 msgid "" "`bpo-24001 `__: Argument Clinic " "converters now use accept={type} instead of types={'type'} to specify the " "types the converter accepts." msgstr "" #: ../build/NEWS:26912 msgid "" "`bpo-23330 `__: h2py now supports " "arbitrary filenames in #include." msgstr "" #: ../build/NEWS:26914 msgid "" "`bpo-24031 `__: make patchcheck now " "supports git checkouts, too." msgstr "" #: ../build/NEWS:26918 msgid "Python 3.5.0 alpha 4" msgstr "" #: ../build/NEWS:26920 msgid "*Release date: 2015-04-19*" msgstr "" #: ../build/NEWS:26925 msgid "" "`bpo-22980 `__: Under Linux, GNU/" "KFreeBSD and the Hurd, C extensions now include the architecture triplet in " "the extension name, to make it easy to test builds for different ABIs in the " "same working tree. Under OS X, the extension name now includes :pep:`3149`-" "style information." msgstr "" #: ../build/NEWS:26930 msgid "" "`bpo-22631 `__: Added Linux-specific " "socket constant CAN_RAW_FD_FRAMES. Patch courtesy of Joe Jevnik." msgstr "" #: ../build/NEWS:26933 msgid "" "`bpo-23731 `__: Implement :pep:`488`: " "removal of .pyo files." msgstr "" #: ../build/NEWS:26935 msgid "" "`bpo-23726 `__: Don't enable GC for user " "subclasses of non-GC types that don't add any new fields. Patch by Eugene " "Toder." msgstr "" #: ../build/NEWS:26938 msgid "" "`bpo-23309 `__: Avoid a deadlock at " "shutdown if a daemon thread is aborted while it is holding a lock to a " "buffered I/O object, and the main thread tries to use the same I/O object " "(typically stdout or stderr). A fatal error is emitted instead." msgstr "" #: ../build/NEWS:26943 msgid "" "`bpo-22977 `__: Fixed formatting Windows " "error messages on Wine. Patch by Martin Panter." msgstr "" #: ../build/NEWS:26946 msgid "" "`bpo-23466 `__: %c, %o, %x, and %X in " "bytes formatting now raise TypeError on non-integer input." msgstr "" #: ../build/NEWS:26949 msgid "" "`bpo-24044 `__: Fix possible null " "pointer dereference in list.sort in out of memory conditions." msgstr "" #: ../build/NEWS:26952 msgid "" "`bpo-21354 `__: PyCFunction_New function " "is exposed by python DLL again." msgstr "" #: ../build/NEWS:26957 msgid "" "`bpo-23840 `__: tokenize.open() now " "closes the temporary binary file on error to fix a resource warning." msgstr "" #: ../build/NEWS:26960 msgid "" "`bpo-16914 `__: new debuglevel 2 in " "smtplib adds timestamps to debug output." msgstr "" #: ../build/NEWS:26962 msgid "" "`bpo-7159 `__: urllib.request now " "supports sending auth credentials automatically after the first 401. This " "enhancement is a superset of the enhancement from `bpo-19494 `__ and supersedes that change." msgstr "" #: ../build/NEWS:26966 msgid "" "`bpo-23703 `__: Fix a regression in " "urljoin() introduced in 901e4e52b20a. Patch by Demian Brecht." msgstr "" #: ../build/NEWS:26969 msgid "" "`bpo-4254 `__: Adds _curses." "update_lines_cols(). Patch by Arnon Yaari" msgstr "" #: ../build/NEWS:26971 msgid "" "`bpo-19933 `__: Provide default argument " "for ndigits in round. Patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:26974 msgid "" "`bpo-23193 `__: Add a numeric_owner " "parameter to tarfile.TarFile.extract and tarfile.TarFile.extractall. Patch " "by Michael Vogt and Eric Smith." msgstr "" #: ../build/NEWS:26977 msgid "" "`bpo-23342 `__: Add a subprocess.run() " "function than returns a CalledProcess instance for a more consistent API " "than the existing call* functions." msgstr "" #: ../build/NEWS:26980 msgid "" "`bpo-21217 `__: inspect.getsourcelines() " "now tries to compute the start and end lines from the code object, fixing an " "issue when a lambda function is used as decorator argument. Patch by Thomas " "Ballinger and Allison Kaptur." msgstr "" #: ../build/NEWS:26984 msgid "" "`bpo-24521 `__: Fix possible integer " "overflows in the pickle module." msgstr "" #: ../build/NEWS:26986 msgid "" "`bpo-22931 `__: Allow '[' and ']' in " "cookie values." msgstr "" #: ../build/NEWS:26988 msgid "The keywords attribute of functools.partial is now always a dictionary." msgstr "" #: ../build/NEWS:26990 msgid "" "`bpo-23811 `__: Add missing newline to " "the PyCompileError error message. Patch by Alex Shkop." msgstr "" #: ../build/NEWS:26993 msgid "" "`bpo-21116 `__: Avoid blowing memory " "when allocating a multiprocessing shared array that's larger than 50% of the " "available RAM. Patch by Médéric Boquien." msgstr "" #: ../build/NEWS:26997 msgid "" "`bpo-22982 `__: Improve BOM handling " "when seeking to multiple positions of a writable text file." msgstr "" #: ../build/NEWS:27000 msgid "" "`bpo-23464 `__: Removed deprecated " "asyncio JoinableQueue." msgstr "" #: ../build/NEWS:27002 msgid "" "`bpo-23529 `__: Limit the size of " "decompressed data when reading from GzipFile, BZ2File or LZMAFile. This " "defeats denial of service attacks using compressed bombs (i.e. compressed " "payloads which decompress to a huge size). Patch by Martin Panter and " "Nikolaus Rath." msgstr "" #: ../build/NEWS:27007 msgid "" "`bpo-21859 `__: Added Python " "implementation of io.FileIO." msgstr "" #: ../build/NEWS:27009 msgid "" "`bpo-23865 `__: close() methods in " "multiple modules now are idempotent and more robust at shutdown. If they " "need to release multiple resources, all are released even if errors occur." msgstr "" #: ../build/NEWS:27013 msgid "" "`bpo-23400 `__: Raise same exception on " "both Python 2 and 3 if sem_open is not available. Patch by Davin Potts." msgstr "" #: ../build/NEWS:27016 msgid "" "`bpo-10838 `__: The subprocess now " "module includes SubprocessError and TimeoutError in its list of exported " "names for the users wild enough to use ``from subprocess import *``." msgstr "" #: ../build/NEWS:27020 msgid "" "`bpo-23411 `__: Added DefragResult, " "ParseResult, SplitResult, DefragResultBytes, ParseResultBytes, and " "SplitResultBytes to urllib.parse.__all__. Patch by Martin Panter." msgstr "" #: ../build/NEWS:27024 msgid "" "`bpo-23881 `__: urllib.request." "ftpwrapper constructor now closes the socket if the FTP connection failed to " "fix a ResourceWarning." msgstr "" #: ../build/NEWS:27027 msgid "" "`bpo-23853 `__: :meth:`socket.socket." "sendall` does no more reset the socket timeout each time data is sent " "successfully. The socket timeout is now the maximum total duration to send " "all data." msgstr "" #: ../build/NEWS:27031 msgid "" "`bpo-22721 `__: An order of multiline " "pprint output of set or dict containing orderable and non-orderable elements " "no longer depends on iteration order of set or dict." msgstr "" #: ../build/NEWS:27035 msgid "" "`bpo-15133 `__: _tkinter.tkapp." "getboolean() now supports Tcl_Obj and always returns bool. tkinter." "BooleanVar now validates input values (accepted bool, int, str, and " "Tcl_Obj). tkinter.BooleanVar.get() now always returns bool." msgstr "" #: ../build/NEWS:27040 msgid "" "`bpo-10590 `__: xml.sax.parseString() " "now supports string argument." msgstr "" #: ../build/NEWS:27042 msgid "" "`bpo-23338 `__: Fixed formatting ctypes " "error messages on Cygwin. Patch by Makoto Kato." msgstr "" #: ../build/NEWS:27045 msgid "" "`bpo-15582 `__: inspect.getdoc() now " "follows inheritance chains." msgstr "" #: ../build/NEWS:27047 msgid "" "`bpo-2175 `__: SAX parsers now support a " "character stream of InputSource object." msgstr "" #: ../build/NEWS:27050 msgid "" "`bpo-16840 `__: Tkinter now supports 64-" "bit integers added in Tcl 8.4 and arbitrary precision integers added in Tcl " "8.5." msgstr "" #: ../build/NEWS:27053 msgid "" "`bpo-23834 `__: Fix socket.sendto(), use " "the C Py_ssize_t type to store the result of sendto() instead of the C int " "type." msgstr "" #: ../build/NEWS:27056 msgid "" "`bpo-23618 `__: :meth:`socket.socket." "connect` now waits until the connection completes instead of raising :exc:" "`InterruptedError` if the connection is interrupted by signals, signal " "handlers don't raise an exception and the socket is blocking or has a " "timeout. :meth:`socket.socket.connect` still raise :exc:`InterruptedError` " "for non-blocking sockets." msgstr "" #: ../build/NEWS:27062 msgid "" "`bpo-21526 `__: Tkinter now supports new " "boolean type in Tcl 8.5." msgstr "" #: ../build/NEWS:27064 msgid "" "`bpo-23836 `__: Fix the faulthandler " "module to handle reentrant calls to its signal handlers." msgstr "" #: ../build/NEWS:27067 msgid "" "`bpo-23838 `__: linecache now clears the " "cache and returns an empty result on MemoryError." msgstr "" #: ../build/NEWS:27070 msgid "" "`bpo-10395 `__: Added os.path." "commonpath(). Implemented in posixpath and ntpath. Based on patch by Rafik " "Draoui." msgstr "" #: ../build/NEWS:27073 msgid "" "`bpo-23611 `__: Serializing more " "\"lookupable\" objects (such as unbound methods or nested classes) now are " "supported with pickle protocols < 4." msgstr "" #: ../build/NEWS:27076 msgid "" "`bpo-13583 `__: sqlite3.Row now supports " "slice indexing." msgstr "" #: ../build/NEWS:27078 msgid "" "`bpo-18473 `__: Fixed 2to3 and 3to2 " "compatible pickle mappings. Fixed ambiguous reverse mappings. Added many " "new mappings. Import mapping is no longer applied to modules already mapped " "with full name mapping." msgstr "" #: ../build/NEWS:27082 msgid "" "`bpo-23485 `__: select.select() is now " "retried automatically with the recomputed timeout when interrupted by a " "signal, except if the signal handler raises an exception. This change is " "part of the :pep:`475`." msgstr "" #: ../build/NEWS:27086 msgid "" "`bpo-23752 `__: When built from an " "existing file descriptor, io.FileIO() now only calls fstat() once. Before " "fstat() was called twice, which was not necessary." msgstr "" #: ../build/NEWS:27090 msgid "" "`bpo-23704 `__: collections.deque() " "objects now support __add__, __mul__, and __imul__()." msgstr "" #: ../build/NEWS:27093 msgid "" "`bpo-23171 `__: csv.Writer.writerow() " "now supports arbitrary iterables." msgstr "" #: ../build/NEWS:27095 msgid "" "`bpo-23745 `__: The new email header " "parser now handles duplicate MIME parameter names without error, similar to " "how get_param behaves." msgstr "" #: ../build/NEWS:27098 msgid "" "`bpo-22117 `__: Fix os.utime(), it now " "rounds the timestamp towards minus infinity (-inf) instead of rounding " "towards zero." msgstr "" #: ../build/NEWS:27101 msgid "" "`bpo-23310 `__: Fix MagicMock's " "initializer to work with __methods__, just like configure_mock(). Patch by " "Kasia Jachim." msgstr "" #: ../build/NEWS:27107 msgid "" "`bpo-23817 `__: FreeBSD now uses \"1.0\" " "in the SOVERSION as other operating systems, instead of just \"1\"." msgstr "" #: ../build/NEWS:27110 msgid "" "`bpo-23501 `__: Argument Clinic now " "generates code into separate files by default." msgstr "" #: ../build/NEWS:27116 msgid "" "`bpo-23799 `__: Added test.support." "start_threads() for running and cleaning up multiple threads." msgstr "" #: ../build/NEWS:27119 msgid "" "`bpo-22390 `__: test.regrtest now emits " "a warning if temporary files or directories are left after running a test." msgstr "" #: ../build/NEWS:27125 msgid "" "`bpo-18128 `__: pygettext now uses " "standard +NNNN format in the POT-Creation-Date header." msgstr "" #: ../build/NEWS:27128 msgid "" "`bpo-23935 `__: Argument Clinic's " "understanding of format units accepting bytes, bytearrays, and buffers is " "now consistent with both the documentation and the implementation." msgstr "" #: ../build/NEWS:27132 msgid "" "`bpo-23944 `__: Argument Clinic now " "wraps long impl prototypes at column 78." msgstr "" #: ../build/NEWS:27134 msgid "" "`bpo-20586 `__: Argument Clinic now " "ensures that functions without docstrings have signatures." msgstr "" #: ../build/NEWS:27137 msgid "" "`bpo-23492 `__: Argument Clinic now " "generates argument parsing code with PyArg_Parse instead of PyArg_ParseTuple " "if possible." msgstr "" #: ../build/NEWS:27140 msgid "" "`bpo-23500 `__: Argument Clinic is now " "smarter about generating the \"#ifndef\" (empty) definition of the methoddef " "macro: it's only generated once, even if Argument Clinic processes the same " "symbol multiple times, and it's emitted at the end of all processing rather " "than immediately after the first use." msgstr "" #: ../build/NEWS:27149 msgid "" "`bpo-23998 `__: PyImport_ReInitLock() " "now checks for lock allocation error" msgstr "" #: ../build/NEWS:27153 msgid "Python 3.5.0 alpha 3" msgstr "" #: ../build/NEWS:27155 msgid "*Release date: 2015-03-28*" msgstr "" #: ../build/NEWS:27160 msgid "" "`bpo-23573 `__: Increased performance of " "string search operations (str.find, str.index, str.count, the in operator, " "str.split, str.partition) with arguments of different kinds (UCS1, UCS2, " "UCS4)." msgstr "" #: ../build/NEWS:27164 msgid "" "`bpo-23753 `__: Python doesn't support " "anymore platforms without stat() or fstat(), these functions are always " "required." msgstr "" #: ../build/NEWS:27167 msgid "" "`bpo-23681 `__: The -b option now " "affects comparisons of bytes with int." msgstr "" #: ../build/NEWS:27169 msgid "" "`bpo-23632 `__: Memoryviews now allow " "tuple indexing (including for multi-dimensional memoryviews)." msgstr "" #: ../build/NEWS:27172 msgid "" "`bpo-23192 `__: Fixed generator " "lambdas. Patch by Bruno Cauet." msgstr "" #: ../build/NEWS:27174 msgid "" "`bpo-23629 `__: Fix the default " "__sizeof__ implementation for variable-sized objects." msgstr "" #: ../build/NEWS:27180 msgid "" "`bpo-14260 `__: The groupindex attribute " "of regular expression pattern object now is non-modifiable mapping." msgstr "" #: ../build/NEWS:27183 msgid "" "`bpo-23792 `__: Ignore KeyboardInterrupt " "when the pydoc pager is active. This mimics the behavior of the standard " "unix pagers, and prevents pipepager from shutting down while the pager " "itself is still running." msgstr "" #: ../build/NEWS:27187 msgid "" "`bpo-23775 `__: pprint() of OrderedDict " "now outputs the same representation as repr()." msgstr "" #: ../build/NEWS:27190 msgid "" "`bpo-23765 `__: Removed IsBadStringPtr " "calls in ctypes" msgstr "" #: ../build/NEWS:27192 msgid "" "`bpo-22364 `__: Improved some re error " "messages using regex for hints." msgstr "" #: ../build/NEWS:27194 msgid "" "`bpo-23742 `__: ntpath.expandvars() no " "longer loses unbalanced single quotes." msgstr "" #: ../build/NEWS:27196 msgid "" "`bpo-21717 `__: The zipfile.ZipFile.open " "function now supports 'x' (exclusive creation) mode." msgstr "" #: ../build/NEWS:27199 msgid "" "`bpo-21802 `__: The reader in " "BufferedRWPair now is closed even when closing writer failed in " "BufferedRWPair.close()." msgstr "" #: ../build/NEWS:27202 msgid "" "`bpo-23622 `__: Unknown escapes in " "regular expressions that consist of ``'\\'`` and ASCII letter now raise a " "deprecation warning and will be forbidden in Python 3.6." msgstr "" #: ../build/NEWS:27206 msgid "" "`bpo-23671 `__: string.Template now " "allows specifying the \"self\" parameter as a keyword argument. string." "Formatter now allows specifying the \"self\" and the \"format_string\" " "parameters as keyword arguments." msgstr "" #: ../build/NEWS:27210 msgid "" "`bpo-23502 `__: The pprint module now " "supports mapping proxies." msgstr "" #: ../build/NEWS:27212 msgid "" "`bpo-17530 `__: pprint now wraps long " "bytes objects and bytearrays." msgstr "" #: ../build/NEWS:27214 msgid "" "`bpo-22687 `__: Fixed some corner cases " "in breaking words in tetxtwrap. Got rid of quadratic complexity in breaking " "long words." msgstr "" #: ../build/NEWS:27217 msgid "" "`bpo-4727 `__: The copy module now uses " "pickle protocol 4 (PEP 3154) and supports copying of instances of classes " "whose __new__ method takes keyword-only arguments." msgstr "" #: ../build/NEWS:27221 msgid "" "`bpo-23491 `__: Added a zipapp module to " "support creating executable zip file archives of Python code. Registered \"." "pyz\" and \".pyzw\" extensions on Windows for these archives (PEP 441)." msgstr "" #: ../build/NEWS:27225 msgid "" "`bpo-23657 `__: Avoid explicit checks " "for str in zipapp, adding support for pathlib.Path objects as arguments." msgstr "" #: ../build/NEWS:27228 msgid "" "`bpo-23688 `__: Added support of " "arbitrary bytes-like objects and avoided unnecessary copying of memoryview " "in gzip.GzipFile.write(). Original patch by Wolfgang Maier." msgstr "" #: ../build/NEWS:27232 msgid "" "`bpo-23252 `__: Added support for " "writing ZIP files to unseekable streams." msgstr "" #: ../build/NEWS:27234 msgid "" "`bpo-23647 `__: Increase imaplib's " "MAXLINE to accommodate modern mailbox sizes." msgstr "" #: ../build/NEWS:27236 msgid "" "`bpo-23539 `__: If body is None, http." "client.HTTPConnection.request now sets Content-Length to 0 for PUT, POST, " "and PATCH headers to avoid 411 errors from some web servers." msgstr "" #: ../build/NEWS:27240 msgid "" "`bpo-22351 `__: The nntplib.NNTP " "constructor no longer leaves the connection and socket open until the " "garbage collector cleans them up. Patch by Martin Panter." msgstr "" #: ../build/NEWS:27244 msgid "" "`bpo-23704 `__: collections.deque() " "objects now support methods for index(), insert(), and copy(). This allows " "deques to be registered as a MutableSequence and it improves their " "substitutability for lists." msgstr "" #: ../build/NEWS:27248 msgid "" "`bpo-23715 `__: :func:`signal." "sigwaitinfo` and :func:`signal.sigtimedwait` are now retried when " "interrupted by a signal not in the *sigset* parameter, if the signal handler " "does not raise an exception. signal.sigtimedwait() recomputes the timeout " "with a monotonic clock when it is retried." msgstr "" #: ../build/NEWS:27253 msgid "" "`bpo-23001 `__: Few functions in modules " "mmap, ossaudiodev, socket, ssl, and codecs, that accepted only read-only " "bytes-like object now accept writable bytes-like object too." msgstr "" #: ../build/NEWS:27257 msgid "" "`bpo-23646 `__: If time.sleep() is " "interrupted by a signal, the sleep is now retried with the recomputed delay, " "except if the signal handler raises an exception (PEP 475)." msgstr "" #: ../build/NEWS:27261 msgid "" "`bpo-23136 `__: _strptime now uniformly " "handles all days in week 0, including Dec 30 of previous year. Based on " "patch by Jim Carroll." msgstr "" #: ../build/NEWS:27264 msgid "" "`bpo-23700 `__: Iterator of " "NamedTemporaryFile now keeps a reference to NamedTemporaryFile instance. " "Patch by Bohuslav Kabrda." msgstr "" #: ../build/NEWS:27267 msgid "" "`bpo-22903 `__: The fake test case " "created by unittest.loader when it fails importing a test module is now " "picklable." msgstr "" #: ../build/NEWS:27270 msgid "" "`bpo-22181 `__: On Linux, os.urandom() " "now uses the new getrandom() syscall if available, syscall introduced in the " "Linux kernel 3.17. It is more reliable and more secure, because it avoids " "the need of a file descriptor and waits until the kernel has enough entropy." msgstr "" #: ../build/NEWS:27275 msgid "" "`bpo-2211 `__: Updated the implementation " "of the http.cookies.Morsel class. Setting attributes key, value and " "coded_value directly now is deprecated. update() and setdefault() now " "transform and check keys. Comparing for equality now takes into account " "attributes key, value and coded_value. copy() now returns a Morsel, not a " "dict. repr() now contains all attributes. Optimized checking keys and " "quoting values. Added new tests. Original patch by Demian Brecht." msgstr "" #: ../build/NEWS:27283 msgid "" "`bpo-18983 `__: Allow selection of " "output units in timeit. Patch by Julian Gindi." msgstr "" #: ../build/NEWS:27286 msgid "" "`bpo-23631 `__: Fix traceback." "format_list when a traceback has been mutated." msgstr "" #: ../build/NEWS:27288 msgid "" "`bpo-23568 `__: Add rdivmod support to " "MagicMock() objects. Patch by Håkan Lövdahl." msgstr "" #: ../build/NEWS:27291 msgid "" "`bpo-2052 `__: Add charset parameter to " "HtmlDiff.make_file()." msgstr "" #: ../build/NEWS:27293 msgid "" "`bpo-23668 `__: Support os.truncate and " "os.ftruncate on Windows." msgstr "" #: ../build/NEWS:27295 msgid "" "`bpo-23138 `__: Fixed parsing cookies " "with absent keys or values in cookiejar. Patch by Demian Brecht." msgstr "" #: ../build/NEWS:27298 msgid "" "`bpo-23051 `__: multiprocessing.Pool " "methods imap() and imap_unordered() now handle exceptions raised by an " "iterator. Patch by Alon Diamant and Davin Potts." msgstr "" #: ../build/NEWS:27302 msgid "" "`bpo-23581 `__: Add matmul support to " "MagicMock. Patch by Håkan Lövdahl." msgstr "" #: ../build/NEWS:27304 msgid "" "`bpo-23566 `__: enable(), register(), " "dump_traceback() and dump_traceback_later() functions of faulthandler now " "accept file descriptors. Patch by Wei Wu." msgstr "" #: ../build/NEWS:27308 msgid "" "`bpo-22928 `__: Disabled HTTP header " "injections in http.client. Original patch by Demian Brecht." msgstr "" #: ../build/NEWS:27311 msgid "" "`bpo-23615 `__: Modules bz2, tarfile and " "tokenize now can be reloaded with imp.reload(). Patch by Thomas Kluyver." msgstr "" #: ../build/NEWS:27314 msgid "" "`bpo-23605 `__: os.walk() now calls os." "scandir() instead of os.listdir(). The usage of os.scandir() reduces the " "number of calls to os.stat(). Initial patch written by Ben Hoyt." msgstr "" #: ../build/NEWS:27321 msgid "" "`bpo-23585 `__: make patchcheck will " "ensure the interpreter is built." msgstr "" #: ../build/NEWS:27326 msgid "" "`bpo-23583 `__: Added tests for standard " "IO streams in IDLE." msgstr "" #: ../build/NEWS:27328 msgid "" "`bpo-22289 `__: Prevent test_urllib2net " "failures due to ftp connection timeout." msgstr "" #: ../build/NEWS:27333 msgid "" "`bpo-22826 `__: The result of open() in " "Tools/freeze/bkfile.py is now better compatible with regular files (in " "particular it now supports the context management protocol)." msgstr "" #: ../build/NEWS:27339 msgid "Python 3.5.0 alpha 2" msgstr "" #: ../build/NEWS:27341 msgid "*Release date: 2015-03-09*" msgstr "" #: ../build/NEWS:27346 msgid "" "`bpo-23571 `__: PyObject_Call() and " "PyCFunction_Call() now raise a SystemError if a function returns a result " "and raises an exception. The SystemError is chained to the previous " "exception." msgstr "" #: ../build/NEWS:27353 msgid "" "`bpo-22524 `__: New os.scandir() " "function, part of the :pep:`471`: \"os.scandir() function -- a better and " "faster directory iterator\". Patch written by Ben Hoyt." msgstr "" #: ../build/NEWS:27357 msgid "" "`bpo-23103 `__: Reduced the memory " "consumption of IPv4Address and IPv6Address." msgstr "" #: ../build/NEWS:27359 msgid "" "`bpo-21793 `__: BaseHTTPRequestHandler " "again logs response code as numeric, not as stringified enum. Patch by " "Demian Brecht." msgstr "" #: ../build/NEWS:27362 msgid "" "`bpo-23476 `__: In the ssl module, " "enable OpenSSL's X509_V_FLAG_TRUSTED_FIRST flag on certificate stores when " "it is available." msgstr "" #: ../build/NEWS:27365 msgid "" "`bpo-23576 `__: Avoid stalling in SSL " "reads when EOF has been reached in the SSL layer but the underlying " "connection hasn't been closed." msgstr "" #: ../build/NEWS:27368 msgid "" "`bpo-23504 `__: Added an __all__ to the " "types module." msgstr "" #: ../build/NEWS:27370 msgid "" "`bpo-23563 `__: Optimized utility " "functions in urllib.parse." msgstr "" #: ../build/NEWS:27372 msgid "" "`bpo-7830 `__: Flatten nested functools." "partial." msgstr "" #: ../build/NEWS:27374 msgid "" "`bpo-20204 `__: Added the __module__ " "attribute to _tkinter classes." msgstr "" #: ../build/NEWS:27376 msgid "" "`bpo-19980 `__: Improved help() for non-" "recognized strings. help('') now shows the help on str. help('help') now " "shows the help on help(). Original patch by Mark Lawrence." msgstr "" #: ../build/NEWS:27380 msgid "" "`bpo-23521 `__: Corrected pure python " "implementation of timedelta division. Eliminated OverflowError from " "``timedelta * float`` for some floats; Corrected rounding in timedelta true " "division." msgstr "" #: ../build/NEWS:27384 msgid "" "`bpo-21619 `__: Popen objects no longer " "leave a zombie after exit in the with statement if the pipe was broken. " "Patch by Martin Panter." msgstr "" #: ../build/NEWS:27387 msgid "" "`bpo-22936 `__: Make it possible to show " "local variables in tracebacks for both the traceback module and unittest." msgstr "" #: ../build/NEWS:27390 msgid "" "`bpo-15955 `__: Add an option to limit " "the output size in bz2.decompress(). Patch by Nikolaus Rath." msgstr "" #: ../build/NEWS:27393 msgid "" "`bpo-6639 `__: Module-level turtle " "functions no longer raise TclError after closing the window." msgstr "" #: ../build/NEWS:27396 msgid "" "`bpo-814253 `__: Group references and " "conditional group references now work in lookbehind assertions in regular " "expressions. (See also: `bpo-9179 `__)" msgstr "" #: ../build/NEWS:27399 msgid "" "`bpo-23215 `__: Multibyte codecs with " "custom error handlers that ignores errors consumed too much memory and " "raised SystemError or MemoryError. Original patch by Aleksi Torhamo." msgstr "" #: ../build/NEWS:27403 msgid "" "`bpo-5700 `__: io.FileIO() called flush() " "after closing the file. flush() was not called in close() if closefd=False." msgstr "" #: ../build/NEWS:27406 msgid "" "`bpo-23374 `__: Fixed pydoc failure with " "non-ASCII files when stdout encoding differs from file system encoding (e.g. " "on Mac OS)." msgstr "" #: ../build/NEWS:27409 msgid "" "`bpo-23481 `__: Remove RC4 from the SSL " "module's default cipher list." msgstr "" #: ../build/NEWS:27411 msgid "" "`bpo-21548 `__: Fix pydoc.synopsis() and " "pydoc.apropos() on modules with empty docstrings." msgstr "" #: ../build/NEWS:27414 msgid "" "`bpo-22885 `__: Fixed arbitrary code " "execution vulnerability in the dbm.dumb module. Original patch by Claudiu " "Popa." msgstr "" #: ../build/NEWS:27417 msgid "" "`bpo-23239 `__: ssl.match_hostname() now " "supports matching of IP addresses." msgstr "" #: ../build/NEWS:27419 msgid "" "`bpo-23146 `__: Fix mishandling of " "absolute Windows paths with forward slashes in pathlib." msgstr "" #: ../build/NEWS:27422 msgid "" "`bpo-23096 `__: Pickle representation of " "floats with protocol 0 now is the same for both Python and C implementations." msgstr "" #: ../build/NEWS:27425 msgid "" "`bpo-19105 `__: pprint now more " "efficiently uses free space at the right." msgstr "" #: ../build/NEWS:27427 msgid "" "`bpo-14910 `__: Add allow_abbrev " "parameter to argparse.ArgumentParser. Patch by Jonathan Paugh, Steven " "Bethard, paul j3 and Daniel Eriksson." msgstr "" #: ../build/NEWS:27430 msgid "" "`bpo-21717 `__: tarfile.open() now " "supports 'x' (exclusive creation) mode." msgstr "" #: ../build/NEWS:27432 msgid "" "`bpo-23344 `__: marshal.dumps() is now " "20-25% faster on average." msgstr "" #: ../build/NEWS:27434 msgid "" "`bpo-20416 `__: marshal.dumps() with " "protocols 3 and 4 is now 40-50% faster on average." msgstr "" #: ../build/NEWS:27437 msgid "" "`bpo-23421 `__: Fixed compression in " "tarfile CLI. Patch by wdv4758h." msgstr "" #: ../build/NEWS:27439 msgid "" "`bpo-23367 `__: Fix possible overflows " "in the unicodedata module." msgstr "" #: ../build/NEWS:27441 msgid "" "`bpo-23361 `__: Fix possible overflow in " "Windows subprocess creation code." msgstr "" #: ../build/NEWS:27443 msgid "" "logging.handlers.QueueListener now takes a respect_handler_level keyword " "argument which, if set to True, will pass messages to handlers taking " "handler levels into account." msgstr "" #: ../build/NEWS:27447 msgid "" "`bpo-19705 `__: turtledemo now has a " "visual sorting algorithm demo. Original patch from Jason Yeo." msgstr "" #: ../build/NEWS:27450 msgid "" "`bpo-23801 `__: Fix issue where cgi." "FieldStorage did not always ignore the entire preamble to a multipart body." msgstr "" #: ../build/NEWS:27456 msgid "" "`bpo-23445 `__: pydebug builds now use " "\"gcc -Og\" where possible, to make the resulting executable faster." msgstr "" #: ../build/NEWS:27459 msgid "" "`bpo-23686 `__: Update OS X 10.5 " "installer build to use OpenSSL 1.0.2a." msgstr "" #: ../build/NEWS:27464 msgid "" "`bpo-20204 `__: Deprecation warning is " "now raised for builtin types without the __module__ attribute." msgstr "" #: ../build/NEWS:27470 msgid "" "`bpo-23465 `__: Implement :pep:`486` - " "Make the Python Launcher aware of virtual environments. Patch by Paul Moore." msgstr "" #: ../build/NEWS:27473 msgid "" "`bpo-23437 `__: Make user scripts " "directory versioned on Windows. Patch by Paul Moore." msgstr "" #: ../build/NEWS:27478 msgid "Python 3.5.0 alpha 1" msgstr "" #: ../build/NEWS:27480 msgid "*Release date: 2015-02-08*" msgstr "" #: ../build/NEWS:27485 msgid "" "`bpo-23285 `__: PEP 475 - EINTR handling." msgstr "" #: ../build/NEWS:27487 msgid "" "`bpo-22735 `__: Fix many edge cases " "(including crashes) involving custom mro() implementations." msgstr "" #: ../build/NEWS:27490 msgid "" "`bpo-22896 `__: Avoid using " "PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and " "PyObject_AsWriteBuffer()." msgstr "" #: ../build/NEWS:27493 msgid "" "`bpo-21295 `__: Revert some changes " "(`bpo-16795 `__) to AST line numbers and " "column offsets that constituted a regression." msgstr "" #: ../build/NEWS:27496 msgid "" "`bpo-22986 `__: Allow changing an " "object's __class__ between a dynamic type and static type in some cases." msgstr "" #: ../build/NEWS:27499 msgid "" "`bpo-15859 `__: " "PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and " "PyUnicode_EncodeCodePage() now raise an exception if the object is not a " "Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on " "platforms other than Windows. Patch written by Campbell Barton." msgstr "" #: ../build/NEWS:27504 msgid "" "`bpo-21408 `__: The default __ne__() now " "returns NotImplemented if __eq__() returned NotImplemented. Original patch " "by Martin Panter." msgstr "" #: ../build/NEWS:27507 msgid "" "`bpo-23321 `__: Fixed a crash in str." "decode() when error handler returned replacement string longer than " "malformed input data." msgstr "" #: ../build/NEWS:27510 msgid "" "`bpo-22286 `__: The \"backslashreplace\" " "error handlers now works with decoding and translating." msgstr "" #: ../build/NEWS:27513 msgid "" "`bpo-23253 `__: Delay-load " "ShellExecute[AW] in os.startfile for reduced startup overhead on Windows." msgstr "" #: ../build/NEWS:27516 msgid "" "`bpo-22038 `__: pyatomic.h now uses " "stdatomic.h or GCC built-in functions for atomic memory access if available. " "Patch written by Vitor de Lima and Gustavo Temple." msgstr "" #: ../build/NEWS:27520 msgid "" "`bpo-20284 `__: %-interpolation (aka " "printf) formatting added for bytes and bytearray." msgstr "" #: ../build/NEWS:27523 msgid "" "`bpo-23048 `__: Fix jumping out of an " "infinite while loop in the pdb." msgstr "" #: ../build/NEWS:27525 msgid "" "`bpo-20335 `__: bytes constructor now " "raises TypeError when encoding or errors is specified with non-string " "argument. Based on patch by Renaud Blanch." msgstr "" #: ../build/NEWS:27528 msgid "" "`bpo-22834 `__: If the current working " "directory ends up being set to a non-existent directory then import will no " "longer raise FileNotFoundError." msgstr "" #: ../build/NEWS:27531 msgid "" "`bpo-22869 `__: Move the interpreter " "startup & shutdown code to a new dedicated pylifecycle.c module" msgstr "" #: ../build/NEWS:27534 msgid "" "`bpo-22847 `__: Improve method cache " "efficiency." msgstr "" #: ../build/NEWS:27536 msgid "" "`bpo-22335 `__: Fix crash when trying to " "enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform." msgstr "" #: ../build/NEWS:27539 msgid "" "`bpo-22653 `__: Fix an assertion failure " "in debug mode when doing a reentrant dict insertion in debug mode." msgstr "" #: ../build/NEWS:27542 msgid "" "`bpo-22643 `__: Fix integer overflow in " "Unicode case operations (upper, lower, title, swapcase, casefold)." msgstr "" #: ../build/NEWS:27545 msgid "" "`bpo-17636 `__: Circular imports " "involving relative imports are now supported." msgstr "" #: ../build/NEWS:27547 msgid "" "`bpo-22604 `__: Fix assertion error in " "debug mode when dividing a complex number by (nan+0j)." msgstr "" #: ../build/NEWS:27550 msgid "" "`bpo-21052 `__: Do not raise " "ImportWarning when sys.path_hooks or sys.meta_path are set to None." msgstr "" #: ../build/NEWS:27553 msgid "" "`bpo-16518 `__: Use 'bytes-like object " "required' in error messages that previously used the far more cryptic \"'x' " "does not support the buffer protocol." msgstr "" #: ../build/NEWS:27557 msgid "" "`bpo-22470 `__: Fixed integer overflow " "issues in \"backslashreplace\", \"xmlcharrefreplace\", and \"surrogatepass\" " "error handlers." msgstr "" #: ../build/NEWS:27560 msgid "" "`bpo-22540 `__: speed up " "`PyObject_IsInstance` and `PyObject_IsSubclass` in the common case that the " "second argument has metaclass `type`." msgstr "" #: ../build/NEWS:27563 msgid "" "`bpo-18711 `__: Add a new " "`PyErr_FormatV` function, similar to `PyErr_Format` but accepting a " "`va_list` argument." msgstr "" #: ../build/NEWS:27566 msgid "" "`bpo-22520 `__: Fix overflow checking " "when generating the repr of a unicode object." msgstr "" #: ../build/NEWS:27569 msgid "" "`bpo-22519 `__: Fix overflow checking in " "PyBytes_Repr." msgstr "" #: ../build/NEWS:27571 msgid "" "`bpo-22518 `__: Fix integer overflow " "issues in latin-1 encoding." msgstr "" #: ../build/NEWS:27573 msgid "" "`bpo-16324 `__: _charset parameter of " "MIMEText now also accepts email.charset.Charset instances. Initial patch by " "Claude Paroz." msgstr "" #: ../build/NEWS:27576 msgid "" "`bpo-1764286 `__: Fix inspect." "getsource() to support decorated functions. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:27579 msgid "" "`bpo-18554 `__: os.__all__ includes " "posix functions." msgstr "" #: ../build/NEWS:27581 msgid "" "`bpo-21391 `__: Use os.path.abspath in " "the shutil module." msgstr "" #: ../build/NEWS:27583 msgid "" "`bpo-11471 `__: avoid generating a " "JUMP_FORWARD instruction at the end of an if-block if there is no else-" "clause. Original patch by Eugene Toder." msgstr "" #: ../build/NEWS:27586 msgid "" "`bpo-22215 `__: Now ValueError is raised " "instead of TypeError when str or bytes argument contains not permitted null " "character or byte." msgstr "" #: ../build/NEWS:27589 msgid "" "`bpo-22258 `__: Fix the internal " "function set_inheritable() on Illumos. This platform exposes the function " "``ioctl(FIOCLEX)``, but calling it fails with errno is ENOTTY: " "\"Inappropriate ioctl for device\". set_inheritable() now falls back to the " "slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``)." msgstr "" #: ../build/NEWS:27595 msgid "" "`bpo-21389 `__: Displaying the " "__qualname__ of the underlying function in the repr of a bound method." msgstr "" #: ../build/NEWS:27598 msgid "" "`bpo-22206 `__: Using pthread, " "PyThread_create_key() now sets errno to ENOMEM and returns -1 (error) on " "integer overflow." msgstr "" #: ../build/NEWS:27601 msgid "" "`bpo-20184 `__: Argument Clinic based " "signature introspection added for 30 of the builtin functions." msgstr "" #: ../build/NEWS:27604 msgid "" "`bpo-22116 `__: C functions and methods " "(of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by " "Wei Wu." msgstr "" #: ../build/NEWS:27607 msgid "" "`bpo-22077 `__: Improve index error " "messages for bytearrays, bytes, lists, and tuples by adding 'or slices'. " "Added ', not ' for bytearrays. Original patch by Claudiu Popa." msgstr "" #: ../build/NEWS:27611 msgid "" "`bpo-20179 `__: Apply Argument Clinic to " "bytes and bytearray. Patch by Tal Einat." msgstr "" #: ../build/NEWS:27614 msgid "" "`bpo-22082 `__: Clear interned strings " "in slotdefs." msgstr "" #: ../build/NEWS:27616 msgid "Upgrade Unicode database to Unicode 7.0.0." msgstr "" #: ../build/NEWS:27618 msgid "" "`bpo-21897 `__: Fix a crash with the " "f_locals attribute with closure variables when frame.clear() has been called." msgstr "" #: ../build/NEWS:27621 msgid "" "`bpo-21205 `__: Add a new " "``__qualname__`` attribute to generator, the qualified name, and use it in " "the representation of a generator (``repr(gen)``). The default name of the " "generator (``__name__`` attribute) is now get from the function instead of " "the code. Use ``gen.gi_code.co_name`` to get the name of the code." msgstr "" #: ../build/NEWS:27627 msgid "" "`bpo-21669 `__: With the aid of " "heuristics in SyntaxError.__init__, the parser now attempts to generate more " "meaningful (or at least more search engine friendly) error messages when " "\"exec\" and \"print\" are used as statements." msgstr "" #: ../build/NEWS:27631 msgid "" "`bpo-21642 `__: In the conditional if-" "else expression, allow an integer written with no space between itself and " "the ``else`` keyword (e.g. ``True if 42else False``) to be valid syntax." msgstr "" #: ../build/NEWS:27635 msgid "" "`bpo-21523 `__: Fix over-pessimistic " "computation of the stack effect of some opcodes in the compiler. This also " "fixes a quadratic compilation time issue noticeable when compiling code with " "a large number of \"and\" and \"or\" operators." msgstr "" #: ../build/NEWS:27640 msgid "" "`bpo-21418 `__: Fix a crash in the " "builtin function super() when called without argument and without current " "frame (ex: embedded Python)." msgstr "" #: ../build/NEWS:27643 msgid "" "`bpo-21425 `__: Fix flushing of standard " "streams in the interactive interpreter." msgstr "" #: ../build/NEWS:27646 msgid "" "`bpo-21435 `__: In rare cases, when " "running finalizers on objects in cyclic trash a bad pointer dereference " "could occur due to a subtle flaw in internal iteration logic." msgstr "" #: ../build/NEWS:27650 msgid "" "`bpo-21377 `__: PyBytes_Concat() now " "tries to concatenate in-place when the first argument has a reference count " "of 1. Patch by Nikolaus Rath." msgstr "" #: ../build/NEWS:27653 msgid "" "`bpo-20355 `__: -W command line options " "now have higher priority than the PYTHONWARNINGS environment variable. " "Patch by Arfrever." msgstr "" #: ../build/NEWS:27656 msgid "" "`bpo-21274 `__: Define PATH_MAX for GNU/" "Hurd in Python/pythonrun.c." msgstr "" #: ../build/NEWS:27658 msgid "" "`bpo-20904 `__: Support setting FPU " "precision on m68k." msgstr "" #: ../build/NEWS:27660 msgid "" "`bpo-21209 `__: Fix sending tuples to " "custom generator objects with the yield from syntax." msgstr "" #: ../build/NEWS:27663 msgid "" "`bpo-21193 `__: pow(a, b, c) now raises " "ValueError rather than TypeError when b is negative. Patch by Josh Rosenberg." msgstr "" #: ../build/NEWS:27666 msgid "" "`bpo-21176 `__: PEP 465: Add the '@' " "operator for matrix multiplication." msgstr "" #: ../build/NEWS:27668 msgid "" "`bpo-21134 `__: Fix segfault when str is " "called on an uninitialized UnicodeEncodeError, UnicodeDecodeError, or " "UnicodeTranslateError object." msgstr "" #: ../build/NEWS:27671 msgid "" "`bpo-19537 `__: Fix PyUnicode_DATA() " "alignment under m68k. Patch by Andreas Schwab." msgstr "" #: ../build/NEWS:27674 msgid "" "`bpo-20929 `__: Add a type cast to avoid " "shifting a negative number." msgstr "" #: ../build/NEWS:27676 msgid "" "`bpo-20731 `__: Properly position in " "source code files even if they are opened in text mode. Patch by Serhiy " "Storchaka." msgstr "" #: ../build/NEWS:27679 msgid "" "`bpo-20637 `__: Key-sharing now also " "works for instance dictionaries of subclasses. Patch by Peter Ingebretson." msgstr "" #: ../build/NEWS:27682 msgid "" "`bpo-8297 `__: Attributes missing from " "modules now include the module name in the error text. Original patch by " "ysj.ray." msgstr "" #: ../build/NEWS:27685 msgid "" "`bpo-19995 `__: %c, %o, %x, and %X now " "raise TypeError on non-integer input." msgstr "" #: ../build/NEWS:27687 msgid "" "`bpo-19655 `__: The ASDL parser - used " "by the build process to generate code for managing the Python AST in C - was " "rewritten. The new parser is self contained and does not require to carry " "long the spark.py parser-generator library; spark.py was removed from the " "source base." msgstr "" #: ../build/NEWS:27692 msgid "" "`bpo-12546 `__: Allow ``\\x00`` to be " "used as a fill character when using str, int, float, and complex __format__ " "methods." msgstr "" #: ../build/NEWS:27695 msgid "" "`bpo-20480 `__: Add ipaddress." "reverse_pointer. Patch by Leon Weber." msgstr "" #: ../build/NEWS:27697 msgid "" "`bpo-13598 `__: Modify string.Formatter " "to support auto-numbering of replacement fields. It now matches the behavior " "of str.format() in this regard. Patches by Phil Elson and Ramchandra Apte." msgstr "" #: ../build/NEWS:27701 msgid "" "`bpo-8931 `__: Make alternate formatting " "('#') for type 'c' raise an exception. In versions prior to 3.5, '#' with " "'c' had no effect. Now specifying it is an error. Patch by Torsten " "Landschoff." msgstr "" #: ../build/NEWS:27705 msgid "" "`bpo-23165 `__: Perform overflow checks " "before allocating memory in the _Py_char2wchar function." msgstr "" #: ../build/NEWS:27711 msgid "" "`bpo-23399 `__: pyvenv creates relative " "symlinks where possible." msgstr "" #: ../build/NEWS:27713 msgid "" "`bpo-20289 `__: cgi.FieldStorage() now " "supports the context management protocol." msgstr "" #: ../build/NEWS:27716 msgid "" "`bpo-13128 `__: Print response headers " "for CONNECT requests when debuglevel > 0. Patch by Demian Brecht." msgstr "" #: ../build/NEWS:27719 msgid "" "`bpo-15381 `__: Optimized io.BytesIO to " "make less allocations and copyings." msgstr "" #: ../build/NEWS:27721 msgid "" "`bpo-22818 `__: Splitting on a pattern " "that could match an empty string now raises a warning. Patterns that can " "only match empty strings are now rejected." msgstr "" #: ../build/NEWS:27725 msgid "" "`bpo-23099 `__: Closing io.BytesIO with " "exported buffer is rejected now to prevent corrupting exported buffer." msgstr "" #: ../build/NEWS:27728 msgid "" "`bpo-23326 `__: Removed __ne__ " "implementations. Since fixing default __ne__ implementation in `bpo-21408 " "`__ they are redundant." msgstr "" #: ../build/NEWS:27731 msgid "" "`bpo-23363 `__: Fix possible overflow in " "itertools.permutations." msgstr "" #: ../build/NEWS:27733 msgid "" "`bpo-23364 `__: Fix possible overflow in " "itertools.product." msgstr "" #: ../build/NEWS:27735 msgid "" "`bpo-23366 `__: Fixed possible integer " "overflow in itertools.combinations." msgstr "" #: ../build/NEWS:27737 msgid "" "`bpo-23369 `__: Fixed possible integer " "overflow in _json.encode_basestring_ascii." msgstr "" #: ../build/NEWS:27740 msgid "" "`bpo-23353 `__: Fix the exception " "handling of generators in PyEval_EvalFrameEx(). At entry, save or swap the " "exception state even if PyEval_EvalFrameEx() is called with throwflag=0. At " "exit, the exception state is now always restored or swapped, not only if why " "is WHY_YIELD or WHY_RETURN. Patch co-written with Antoine Pitrou." msgstr "" #: ../build/NEWS:27746 msgid "" "`bpo-14099 `__: Restored support of " "writing ZIP files to tellable but non-seekable streams." msgstr "" #: ../build/NEWS:27749 msgid "" "`bpo-14099 `__: Writing to ZipFile and " "reading multiple ZipExtFiles is threadsafe now." msgstr "" #: ../build/NEWS:27752 msgid "" "`bpo-19361 `__: JSON decoder now raises " "JSONDecodeError instead of ValueError." msgstr "" #: ../build/NEWS:27754 msgid "" "`bpo-18518 `__: timeit now rejects " "statements which can't be compiled outside a function or a loop (e.g. " "\"return\" or \"break\")." msgstr "" #: ../build/NEWS:27757 msgid "" "`bpo-23094 `__: Fixed readline with " "frames in Python implementation of pickle." msgstr "" #: ../build/NEWS:27759 msgid "" "`bpo-23268 `__: Fixed bugs in the " "comparison of ipaddress classes." msgstr "" #: ../build/NEWS:27761 msgid "" "`bpo-21408 `__: Removed incorrect " "implementations of __ne__() which didn't returned NotImplemented if __eq__() " "returned NotImplemented. The default __ne__() now works correctly." msgstr "" #: ../build/NEWS:27765 msgid "" "`bpo-19996 `__: :class:`email.feedparser." "FeedParser` now handles (malformed) headers with no key rather than assuming " "the body has started." msgstr "" #: ../build/NEWS:27768 msgid "" "`bpo-20188 `__: Support Application-" "Layer Protocol Negotiation (ALPN) in the ssl module." msgstr "" #: ../build/NEWS:27771 msgid "" "`bpo-23133 `__: Pickling of ipaddress " "objects now produces more compact and portable representation." msgstr "" #: ../build/NEWS:27774 msgid "" "`bpo-23248 `__: Update ssl error codes " "from latest OpenSSL git master." msgstr "" #: ../build/NEWS:27776 msgid "" "`bpo-23266 `__: Much faster " "implementation of ipaddress.collapse_addresses() when there are many non-" "consecutive addresses." msgstr "" #: ../build/NEWS:27779 msgid "" "`bpo-23098 `__: 64-bit dev_t is now " "supported in the os module." msgstr "" #: ../build/NEWS:27781 msgid "" "`bpo-21817 `__: When an exception is " "raised in a task submitted to a ProcessPoolExecutor, the remote traceback is " "now displayed in the parent process. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:27785 msgid "" "`bpo-15955 `__: Add an option to limit " "output size when decompressing LZMA data. Patch by Nikolaus Rath and Martin " "Panter." msgstr "" #: ../build/NEWS:27788 msgid "" "`bpo-23250 `__: In the http.cookies " "module, capitalize \"HttpOnly\" and \"Secure\" as they are written in the " "standard." msgstr "" #: ../build/NEWS:27791 msgid "" "`bpo-23063 `__: In the distutils' check " "command, fix parsing of reST with code or code-block directives." msgstr "" #: ../build/NEWS:27794 msgid "" "`bpo-23209 `__: selectors.BaseSelector." "get_key() now raises a RuntimeError if the selector is closed. And selectors." "BaseSelector.close() now clears its internal reference to the selector " "mapping to break a reference cycle. Initial patch written by Martin Richard. " "(See also: `bpo-23225 `__)" msgstr "" #: ../build/NEWS:27799 msgid "" "`bpo-17911 `__: Provide a way to seed " "the linecache for a PEP-302 module without actually loading the code." msgstr "" #: ../build/NEWS:27802 msgid "" "`bpo-17911 `__: Provide a new object API " "for traceback, including the ability to not lookup lines at all until the " "traceback is actually rendered, without any trace of the original objects " "being kept alive." msgstr "" #: ../build/NEWS:27806 msgid "" "`bpo-19777 `__: Provide a home() " "classmethod on Path objects. Contributed by Victor Salgado and Mayank " "Tripathi." msgstr "" #: ../build/NEWS:27809 msgid "" "`bpo-23206 `__: Make ``json.dumps(..., " "ensure_ascii=False)`` as fast as the default case of ``ensure_ascii=True``. " "Patch by Naoki Inada." msgstr "" #: ../build/NEWS:27812 msgid "" "`bpo-23185 `__: Add math.inf and math." "nan constants." msgstr "" #: ../build/NEWS:27814 msgid "" "`bpo-23186 `__: Add ssl.SSLObject." "shared_ciphers() and ssl.SSLSocket.shared_ciphers() to fetch the client's " "list ciphers sent at handshake." msgstr "" #: ../build/NEWS:27818 msgid "" "`bpo-23143 `__: Remove compatibility " "with OpenSSLs older than 0.9.8." msgstr "" #: ../build/NEWS:27820 msgid "" "`bpo-23132 `__: Improve performance and " "introspection support of comparison methods created by functool." "total_ordering." msgstr "" #: ../build/NEWS:27823 msgid "" "`bpo-19776 `__: Add an expanduser() " "method on Path objects." msgstr "" #: ../build/NEWS:27825 msgid "" "`bpo-23112 `__: Fix SimpleHTTPServer to " "correctly carry the query string and fragment when it redirects to add a " "trailing slash." msgstr "" #: ../build/NEWS:27828 msgid "" "`bpo-21793 `__: Added http.HTTPStatus " "enums (i.e. HTTPStatus.OK, HTTPStatus.NOT_FOUND). Patch by Demian Brecht." msgstr "" #: ../build/NEWS:27831 msgid "" "`bpo-23093 `__: In the io, module allow " "more operations to work on detached streams." msgstr "" #: ../build/NEWS:27834 msgid "" "`bpo-23111 `__: In the ftplib, make ssl." "PROTOCOL_SSLv23 the default protocol version." msgstr "" #: ../build/NEWS:27837 msgid "" "`bpo-22585 `__: On OpenBSD 5.6 and " "newer, os.urandom() now calls getentropy(), instead of reading /dev/urandom, " "to get pseudo-random bytes." msgstr "" #: ../build/NEWS:27840 msgid "" "`bpo-19104 `__: pprint now produces " "evaluable output for wrapped strings." msgstr "" #: ../build/NEWS:27842 msgid "" "`bpo-23071 `__: Added missing names to " "codecs.__all__. Patch by Martin Panter." msgstr "" #: ../build/NEWS:27844 msgid "" "`bpo-22783 `__: Pickling now uses the " "NEWOBJ opcode instead of the NEWOBJ_EX opcode if possible." msgstr "" #: ../build/NEWS:27847 msgid "" "`bpo-15513 `__: Added a __sizeof__ " "implementation for pickle classes." msgstr "" #: ../build/NEWS:27849 msgid "" "`bpo-19858 `__: pickletools.optimize() " "now aware of the MEMOIZE opcode, can produce more compact result and no " "longer produces invalid output if input data contains MEMOIZE opcodes " "together with PUT or BINPUT opcodes." msgstr "" #: ../build/NEWS:27853 msgid "" "`bpo-22095 `__: Fixed HTTPConnection." "set_tunnel with default port. The port value in the host header was set to " "\"None\". Patch by Demian Brecht." msgstr "" #: ../build/NEWS:27856 msgid "" "`bpo-23016 `__: A warning no longer " "produces an AttributeError when the program is run with pythonw.exe." msgstr "" #: ../build/NEWS:27859 msgid "" "`bpo-21775 `__: shutil.copytree(): fix " "crash when copying to VFAT. An exception handler assumed that OSError " "objects always have a 'winerror' attribute. That is not the case, so the " "exception handler itself raised AttributeError when run on Linux (and, " "presumably, any other non-Windows OS). Patch by Greg Ward." msgstr "" #: ../build/NEWS:27865 msgid "" "`bpo-1218234 `__: Fix inspect." "getsource() to load updated source of reloaded module. Initial patch by " "Berker Peksag." msgstr "" #: ../build/NEWS:27868 msgid "" "`bpo-21740 `__: Support wrapped " "callables in doctest. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:27870 msgid "" "`bpo-23009 `__: Make sure selectors." "EpollSelector.select() works when no FD is registered." msgstr "" #: ../build/NEWS:27873 msgid "" "`bpo-22959 `__: In the constructor of " "http.client.HTTPSConnection, prefer the context's check_hostname attribute " "over the *check_hostname* parameter." msgstr "" #: ../build/NEWS:27876 msgid "" "`bpo-22696 `__: Add function :func:`sys." "is_finalizing` to know about interpreter shutdown." msgstr "" #: ../build/NEWS:27879 msgid "" "`bpo-16043 `__: Add a default limit for " "the amount of data xmlrpclib.gzip_decode will return. This resolves " "CVE-2013-1753." msgstr "" #: ../build/NEWS:27882 msgid "" "`bpo-14099 `__: ZipFile.open() no longer " "reopen the underlying file. Objects returned by ZipFile.open() can now " "operate independently of the ZipFile even if the ZipFile was created by " "passing in a file-like object as the first argument to the constructor." msgstr "" #: ../build/NEWS:27887 msgid "" "`bpo-22966 `__: Fix __pycache__ pyc file " "name clobber when pyc_compile is asked to compile a source file containing " "multiple dots in the source file name." msgstr "" #: ../build/NEWS:27890 msgid "" "`bpo-21971 `__: Update turtledemo doc " "and add module to the index." msgstr "" #: ../build/NEWS:27892 msgid "" "`bpo-21032 `__: Fixed socket leak if " "HTTPConnection.getresponse() fails. Original patch by Martin Panter." msgstr "" #: ../build/NEWS:27895 msgid "" "`bpo-22407 `__: Deprecated the use of re." "LOCALE flag with str patterns or re.ASCII. It was newer worked." msgstr "" #: ../build/NEWS:27898 msgid "" "`bpo-22902 `__: The \"ip\" command is " "now used on Linux to determine MAC address in uuid.getnode(). Pach by Bruno " "Cauet." msgstr "" #: ../build/NEWS:27901 msgid "" "`bpo-22960 `__: Add a context argument " "to xmlrpclib.ServerProxy constructor." msgstr "" #: ../build/NEWS:27903 msgid "" "`bpo-22389 `__: Add contextlib." "redirect_stderr()." msgstr "" #: ../build/NEWS:27905 msgid "" "`bpo-21356 `__: Make ssl.RAND_egd() " "optional to support LibreSSL. The availability of the function is checked " "during the compilation. Patch written by Bernard Spil." msgstr "" #: ../build/NEWS:27909 msgid "" "`bpo-22915 `__: SAX parser now supports " "files opened with file descriptor or bytes path." msgstr "" #: ../build/NEWS:27912 msgid "" "`bpo-22609 `__: Constructors and update " "methods of mapping classes in the collections module now accept the self " "keyword argument." msgstr "" #: ../build/NEWS:27915 msgid "" "`bpo-22940 `__: Add readline." "append_history_file." msgstr "" #: ../build/NEWS:27917 msgid "" "`bpo-19676 `__: Added the \"namereplace" "\" error handler." msgstr "" #: ../build/NEWS:27919 msgid "" "`bpo-22788 `__: Add *context* parameter " "to logging.handlers.HTTPHandler." msgstr "" #: ../build/NEWS:27921 msgid "" "`bpo-22921 `__: Allow SSLContext to take " "the *hostname* parameter even if OpenSSL doesn't support SNI." msgstr "" #: ../build/NEWS:27924 msgid "" "`bpo-22894 `__: TestCase.subTest() would " "cause the test suite to be stopped when in failfast mode, even in the " "absence of failures." msgstr "" #: ../build/NEWS:27927 msgid "" "`bpo-22796 `__: HTTP cookie parsing is " "now stricter, in order to protect against potential injection attacks." msgstr "" #: ../build/NEWS:27930 msgid "" "`bpo-22370 `__: Windows detection in " "pathlib is now more robust." msgstr "" #: ../build/NEWS:27932 msgid "" "`bpo-22841 `__: Reject coroutines in " "asyncio add_signal_handler(). Patch by Ludovic.Gasc." msgstr "" #: ../build/NEWS:27935 msgid "" "`bpo-19494 `__: Added urllib.request." "HTTPBasicPriorAuthHandler. Patch by Matej Cepl." msgstr "" #: ../build/NEWS:27938 msgid "" "`bpo-22578 `__: Added attributes to the " "re.error class." msgstr "" #: ../build/NEWS:27940 msgid "" "`bpo-22849 `__: Fix possible double free " "in the io.TextIOWrapper constructor." msgstr "" #: ../build/NEWS:27942 msgid "" "`bpo-12728 `__: Different Unicode " "characters having the same uppercase but different lowercase are now matched " "in case-insensitive regular expressions." msgstr "" #: ../build/NEWS:27946 msgid "" "`bpo-22821 `__: Fixed fcntl() with " "integer argument on 64-bit big-endian platforms." msgstr "" #: ../build/NEWS:27949 msgid "" "`bpo-21650 `__: Add an `--sort-keys` " "option to json.tool CLI." msgstr "" #: ../build/NEWS:27951 msgid "" "`bpo-22824 `__: Updated reprlib output " "format for sets to use set literals. Patch contributed by Berker Peksag." msgstr "" #: ../build/NEWS:27954 msgid "" "`bpo-22824 `__: Updated reprlib output " "format for arrays to display empty arrays without an unnecessary empty " "list. Suggested by Serhiy Storchaka." msgstr "" #: ../build/NEWS:27957 msgid "" "`bpo-22406 `__: Fixed the uu_codec codec " "incorrectly ported to 3.x. Based on patch by Martin Panter." msgstr "" #: ../build/NEWS:27960 msgid "" "`bpo-17293 `__: uuid.getnode() now " "determines MAC address on AIX using netstat. Based on patch by Aivars " "Kalvāns." msgstr "" #: ../build/NEWS:27963 msgid "" "`bpo-22769 `__: Fixed ttk.Treeview." "tag_has() when called without arguments." msgstr "" #: ../build/NEWS:27965 msgid "" "`bpo-22417 `__: Verify certificates by " "default in httplib (PEP 476)." msgstr "" #: ../build/NEWS:27967 msgid "" "`bpo-22775 `__: Fixed unpickling of http." "cookies.SimpleCookie with protocol 2 and above. Patch by Tim Graham." msgstr "" #: ../build/NEWS:27970 msgid "" "`bpo-22776 `__: Brought excluded code " "into the scope of a try block in SysLogHandler.emit()." msgstr "" #: ../build/NEWS:27973 msgid "" "`bpo-22665 `__: Add missing " "get_terminal_size and SameFileError to shutil.__all__." msgstr "" #: ../build/NEWS:27976 msgid "" "`bpo-6623 `__: Remove deprecated Netrc " "class in the ftplib module. Patch by Matt Chaput." msgstr "" #: ../build/NEWS:27979 msgid "" "`bpo-17381 `__: Fixed handling of case-" "insensitive ranges in regular expressions." msgstr "" #: ../build/NEWS:27982 msgid "" "`bpo-22410 `__: Module level functions " "in the re module now cache compiled locale-dependent regular expressions " "taking into account the locale." msgstr "" #: ../build/NEWS:27985 msgid "" "`bpo-22759 `__: Query methods on pathlib." "Path() (exists(), is_dir(), etc.) now return False when the underlying stat " "call raises NotADirectoryError." msgstr "" #: ../build/NEWS:27988 msgid "" "`bpo-8876 `__: distutils now falls back " "to copying files when hard linking doesn't work. This allows use with " "special filesystems such as VirtualBox shared folders." msgstr "" #: ../build/NEWS:27992 msgid "" "`bpo-22217 `__: Implemented reprs of " "classes in the zipfile module." msgstr "" #: ../build/NEWS:27994 msgid "" "`bpo-22457 `__: Honour load_tests in the " "start_dir of discovery." msgstr "" #: ../build/NEWS:27996 msgid "" "`bpo-18216 `__: gettext now raises an " "error when a .mo file has an unsupported major version number. Patch by " "Aaron Hill." msgstr "" #: ../build/NEWS:27999 msgid "" "`bpo-13918 `__: Provide a locale." "delocalize() function which can remove locale-specific number formatting " "from a string representing a number, without then converting it to a " "specific type. Patch by Cédric Krier." msgstr "" #: ../build/NEWS:28003 msgid "" "`bpo-22676 `__: Make the pickling of " "global objects which don't have a __module__ attribute less slow." msgstr "" #: ../build/NEWS:28006 msgid "" "`bpo-18853 `__: Fixed ResourceWarning in " "shlex.__nain__." msgstr "" #: ../build/NEWS:28008 msgid "" "`bpo-9351 `__: Defaults set with " "set_defaults on an argparse subparser are no longer ignored when also set on " "the parent parser." msgstr "" #: ../build/NEWS:28011 msgid "" "`bpo-7559 `__: unittest test loading " "ImportErrors are reported as import errors with their import exception " "rather than as attribute errors after the import has already failed." msgstr "" #: ../build/NEWS:28015 msgid "" "`bpo-19746 `__: Make it possible to " "examine the errors from unittest discovery without executing the test suite. " "The new `errors` attribute on TestLoader exposes these non-fatal errors " "encountered during discovery." msgstr "" #: ../build/NEWS:28019 msgid "" "`bpo-21991 `__: Make email." "headerregistry's header 'params' attributes be read-only " "(MappingProxyType). Previously the dictionary was modifiable but a new one " "was created on each access of the attribute." msgstr "" #: ../build/NEWS:28023 msgid "" "`bpo-22638 `__: SSLv3 is now disabled " "throughout the standard library. It can still be enabled by instantiating a " "SSLContext manually." msgstr "" #: ../build/NEWS:28026 msgid "" "`bpo-22641 `__: In asyncio, the default " "SSL context for client connections is now created using ssl." "create_default_context(), for stronger security." msgstr "" #: ../build/NEWS:28029 msgid "" "`bpo-17401 `__: Include closefd in io." "FileIO repr." msgstr "" #: ../build/NEWS:28031 msgid "" "`bpo-21338 `__: Add silent mode for " "compileall. quiet parameters of compile_{dir, file, path} functions now have " "a multilevel value. Also, -q option of the CLI now have a multilevel value. " "Patch by Thomas Kluyver." msgstr "" #: ../build/NEWS:28035 msgid "" "`bpo-20152 `__: Convert the array and " "cmath modules to Argument Clinic." msgstr "" #: ../build/NEWS:28037 msgid "" "`bpo-18643 `__: Add socket.socketpair() " "on Windows." msgstr "" #: ../build/NEWS:28039 msgid "" "`bpo-22435 `__: Fix a file descriptor " "leak when socketserver bind fails." msgstr "" #: ../build/NEWS:28041 msgid "" "`bpo-13096 `__: Fixed segfault in CTypes " "POINTER handling of large values." msgstr "" #: ../build/NEWS:28043 msgid "" "`bpo-11694 `__: Raise ConversionError in " "xdrlib as documented. Patch by Filip Gruszczyński and Claudiu Popa." msgstr "" #: ../build/NEWS:28046 msgid "" "`bpo-19380 `__: Optimized parsing of " "regular expressions." msgstr "" #: ../build/NEWS:28048 msgid "" "`bpo-1519638 `__: Now unmatched groups " "are replaced with empty strings in re.sub() and re.subn()." msgstr "" #: ../build/NEWS:28051 msgid "" "`bpo-18615 `__: sndhdr.what/whathdr now " "return a namedtuple." msgstr "" #: ../build/NEWS:28053 msgid "" "`bpo-22462 `__: Fix pyexpat's creation " "of a dummy frame to make it appear in exception tracebacks." msgstr "" #: ../build/NEWS:28056 msgid "" "`bpo-21965 `__: Add support for in-" "memory SSL to the ssl module. Patch by Geert Jansen." msgstr "" #: ../build/NEWS:28059 msgid "" "`bpo-21173 `__: Fix len() on a " "WeakKeyDictionary when .clear() was called with an iterator alive." msgstr "" #: ../build/NEWS:28062 msgid "" "`bpo-11866 `__: Eliminated race " "condition in the computation of names for new threads." msgstr "" #: ../build/NEWS:28065 msgid "" "`bpo-21905 `__: Avoid RuntimeError in " "pickle.whichmodule() when sys.modules is mutated while iterating. Patch by " "Olivier Grisel." msgstr "" #: ../build/NEWS:28068 msgid "" "`bpo-11271 `__: concurrent.futures." "Executor.map() now takes a *chunksize* argument to allow batching of tasks " "in child processes and improve performance of ProcessPoolExecutor. Patch by " "Dan O'Reilly." msgstr "" #: ../build/NEWS:28072 msgid "" "`bpo-21883 `__: os.path.join() and os." "path.relpath() now raise a TypeError with more helpful error message for " "unsupported or mismatched types of arguments." msgstr "" #: ../build/NEWS:28076 msgid "" "`bpo-22219 `__: The zipfile module CLI " "now adds entries for directories (including empty directories) in ZIP file." msgstr "" #: ../build/NEWS:28079 msgid "" "`bpo-22449 `__: In the ssl.SSLContext." "load_default_certs, consult the environmental variables SSL_CERT_DIR and " "SSL_CERT_FILE on Windows." msgstr "" #: ../build/NEWS:28082 msgid "" "`bpo-22508 `__: The email.__version__ " "variable has been removed; the email code is no longer shipped separately " "from the stdlib, and __version__ hasn't been updated in several releases." msgstr "" #: ../build/NEWS:28086 msgid "" "`bpo-20076 `__: Added non derived UTF-8 " "aliases to locale aliases table." msgstr "" #: ../build/NEWS:28088 msgid "" "`bpo-20079 `__: Added locales supported " "in glibc 2.18 to locale alias table." msgstr "" #: ../build/NEWS:28090 msgid "" "`bpo-20218 `__: Added convenience " "methods read_text/write_text and read_bytes/ write_bytes to pathlib.Path " "objects." msgstr "" #: ../build/NEWS:28093 msgid "" "`bpo-22396 `__: On 32-bit AIX platform, " "don't expose os.posix_fadvise() nor os.posix_fallocate() because their " "prototypes in system headers are wrong." msgstr "" #: ../build/NEWS:28096 msgid "" "`bpo-22517 `__: When an io." "BufferedRWPair object is deallocated, clear its weakrefs." msgstr "" #: ../build/NEWS:28099 msgid "" "`bpo-22437 `__: Number of capturing " "groups in regular expression is no longer limited by 100." msgstr "" #: ../build/NEWS:28102 msgid "" "`bpo-17442 `__: InteractiveInterpreter " "now displays the full chained traceback in its showtraceback method, to " "match the built in interactive interpreter." msgstr "" #: ../build/NEWS:28106 msgid "" "`bpo-23392 `__: Added tests for marshal " "C API that works with FILE*." msgstr "" #: ../build/NEWS:28108 msgid "" "`bpo-10510 `__: distutils register and " "upload methods now use HTML standards compliant CRLF line endings." msgstr "" #: ../build/NEWS:28111 msgid "" "`bpo-9850 `__: Fixed macpath.join() for " "empty first component. Patch by Oleg Oshmyan." msgstr "" #: ../build/NEWS:28114 msgid "" "`bpo-5309 `__: distutils' build and " "build_ext commands now accept a ``-j`` option to enable parallel building of " "extension modules." msgstr "" #: ../build/NEWS:28117 msgid "" "`bpo-22448 `__: Improve canceled timer " "handles cleanup to prevent unbound memory usage. Patch by Joshua Moore-Oliva." msgstr "" #: ../build/NEWS:28120 msgid "" "`bpo-22427 `__: TemporaryDirectory no " "longer attempts to clean up twice when used in the with statement in " "generator." msgstr "" #: ../build/NEWS:28123 msgid "" "`bpo-22362 `__: Forbidden ambiguous " "octal escapes out of range 0-0o377 in regular expressions." msgstr "" #: ../build/NEWS:28126 msgid "" "`bpo-20912 `__: Now directories added to " "ZIP file have correct Unix and MS-DOS directory attributes." msgstr "" #: ../build/NEWS:28129 msgid "" "`bpo-21866 `__: ZipFile.close() no " "longer writes ZIP64 central directory records if allowZip64 is false." msgstr "" #: ../build/NEWS:28132 msgid "" "`bpo-22278 `__: Fix urljoin problem with " "relative urls, a regression observed after changes to issue22118 were " "submitted." msgstr "" #: ../build/NEWS:28135 msgid "" "`bpo-22415 `__: Fixed debugging output " "of the GROUPREF_EXISTS opcode in the re module. Removed trailing spaces in " "debugging output." msgstr "" #: ../build/NEWS:28138 msgid "" "`bpo-22423 `__: Unhandled exception in " "thread no longer causes unhandled AttributeError when sys.stderr is None." msgstr "" #: ../build/NEWS:28141 msgid "" "`bpo-21332 `__: Ensure that " "``bufsize=1`` in subprocess.Popen() selects line buffering, rather than " "block buffering. Patch by Akira Li." msgstr "" #: ../build/NEWS:28144 msgid "" "`bpo-21091 `__: Fix API bug: email." "message.EmailMessage.is_attachment is now a method." msgstr "" #: ../build/NEWS:28147 msgid "" "`bpo-21079 `__: Fix email.message." "EmailMessage.is_attachment to return the correct result when the header has " "parameters as well as a value." msgstr "" #: ../build/NEWS:28150 msgid "" "`bpo-22247 `__: Add NNTPError to nntplib." "__all__." msgstr "" #: ../build/NEWS:28152 msgid "" "`bpo-22366 `__: urllib.request.urlopen " "will accept a context object (SSLContext) as an argument which will then be " "used for HTTPS connection. Patch by Alex Gaynor." msgstr "" #: ../build/NEWS:28156 msgid "" "`bpo-4180 `__: The warnings registries " "are now reset when the filters are modified." msgstr "" #: ../build/NEWS:28159 msgid "" "`bpo-22419 `__: Limit the length of " "incoming HTTP request in wsgiref server to 65536 bytes and send a 414 error " "code for higher lengths. Patch contributed by Devin Cook." msgstr "" #: ../build/NEWS:28163 msgid "" "Lax cookie parsing in http.cookies could be a security issue when combined " "with non-standard cookie handling in some Web browsers. Reported by Sergey " "Bobrov." msgstr "" #: ../build/NEWS:28167 msgid "" "`bpo-20537 `__: logging methods now " "accept an exception instance as well as a Boolean value or exception tuple. " "Thanks to Yury Selivanov for the patch." msgstr "" #: ../build/NEWS:28170 msgid "" "`bpo-22384 `__: An exception in Tkinter " "callback no longer crashes the program when it is run with pythonw.exe." msgstr "" #: ../build/NEWS:28173 msgid "" "`bpo-22168 `__: Prevent turtle " "AttributeError with non-default Canvas on OS X." msgstr "" #: ../build/NEWS:28175 msgid "" "`bpo-21147 `__: sqlite3 now raises an " "exception if the request contains a null character instead of truncating " "it. Based on patch by Victor Stinner." msgstr "" #: ../build/NEWS:28178 msgid "" "`bpo-13968 `__: The glob module now " "supports recursive search in subdirectories using the ``**`` pattern." msgstr "" #: ../build/NEWS:28181 msgid "" "`bpo-21951 `__: Fixed a crash in Tkinter " "on AIX when called Tcl command with empty string or tuple argument." msgstr "" #: ../build/NEWS:28184 msgid "" "`bpo-21951 `__: Tkinter now most likely " "raises MemoryError instead of crash if the memory allocation fails." msgstr "" #: ../build/NEWS:28187 msgid "" "`bpo-22338 `__: Fix a crash in the json " "module on memory allocation failure." msgstr "" #: ../build/NEWS:28189 msgid "" "`bpo-12410 `__: imaplib.IMAP4 now " "supports the context management protocol. Original patch by Tarek Ziadé." msgstr "" #: ../build/NEWS:28192 msgid "" "`bpo-21270 `__: We now override tuple " "methods in mock.call objects so that they can be used as normal call " "attributes." msgstr "" #: ../build/NEWS:28195 msgid "" "`bpo-16662 `__: load_tests() is now " "unconditionally run when it is present in a package's __init__.py. " "TestLoader.loadTestsFromModule() still accepts use_load_tests, but it is " "deprecated and ignored. A new keyword-only attribute `pattern` is added and " "documented. Patch given by Robert Collins, tweaked by Barry Warsaw." msgstr "" #: ../build/NEWS:28201 msgid "" "`bpo-22226 `__: First letter no longer " "is stripped from the \"status\" key in the result of Treeview.heading()." msgstr "" #: ../build/NEWS:28204 msgid "" "`bpo-19524 `__: Fixed resource leak in " "the HTTP connection when an invalid response is received. Patch by Martin " "Panter." msgstr "" #: ../build/NEWS:28207 msgid "" "`bpo-20421 `__: Add a .version() method " "to SSL sockets exposing the actual protocol version in use." msgstr "" #: ../build/NEWS:28210 msgid "" "`bpo-19546 `__: configparser exceptions " "no longer expose implementation details. Chained KeyErrors are removed, " "which leads to cleaner tracebacks. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:28214 msgid "" "`bpo-22051 `__: turtledemo no longer " "reloads examples to re-run them. Initialization of variables and gui setup " "should be done in main(), which is called each time a demo is run, but not " "on import." msgstr "" #: ../build/NEWS:28218 msgid "" "`bpo-21933 `__: Turtledemo users can " "change the code font size with a menu selection or control(command) '-' or " "'+' or control-mousewheel. Original patch by Lita Cho." msgstr "" #: ../build/NEWS:28222 msgid "" "`bpo-21597 `__: The separator between " "the turtledemo text pane and the drawing canvas can now be grabbed and " "dragged with a mouse. The code text pane can be widened to easily view or " "copy the full width of the text. The canvas can be widened on small " "screens. Original patches by Jan Kanis and Lita Cho." msgstr "" #: ../build/NEWS:28228 msgid "" "`bpo-18132 `__: Turtledemo buttons no " "longer disappear when the window is shrunk. Original patches by Jan Kanis " "and Lita Cho." msgstr "" #: ../build/NEWS:28231 msgid "" "`bpo-22043 `__: time.monotonic() is now " "always available. ``threading.Lock.acquire()``, ``threading.RLock." "acquire()`` and socket operations now use a monotonic clock, instead of the " "system clock, when a timeout is used." msgstr "" #: ../build/NEWS:28236 msgid "" "`bpo-21527 `__: Add a default number of " "workers to ThreadPoolExecutor equal to 5 times the number of CPUs. Patch by " "Claudiu Popa." msgstr "" #: ../build/NEWS:28239 msgid "" "`bpo-22216 `__: smtplib now resets its " "state more completely after a quit. The most obvious consequence of the " "previous behavior was a STARTTLS failure during a connect/starttls/quit/" "connect/starttls sequence." msgstr "" #: ../build/NEWS:28243 msgid "" "`bpo-22098 `__: ctypes' " "BigEndianStructure and LittleEndianStructure now define an empty __slots__ " "so that subclasses don't always get an instance dict. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:28247 msgid "" "`bpo-22185 `__: Fix an occasional " "RuntimeError in threading.Condition.wait() caused by mutation of the waiters " "queue without holding the lock. Patch by Doug Zongker." msgstr "" #: ../build/NEWS:28251 msgid "" "`bpo-22287 `__: On UNIX, " "_PyTime_gettimeofday() now uses clock_gettime(CLOCK_REALTIME) if available. " "As a side effect, Python now depends on the librt library on Solaris and on " "Linux (only with glibc older than 2.17)." msgstr "" #: ../build/NEWS:28256 msgid "" "`bpo-22182 `__: Use e.args to unpack " "exceptions correctly in distutils.file_util.move_file. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:28259 msgid "" "The webbrowser module now uses subprocess's start_new_session=True rather " "than a potentially risky preexec_fn=os.setsid call." msgstr "" #: ../build/NEWS:28262 msgid "" "`bpo-22042 `__: signal.set_wakeup_fd(fd) " "now raises an exception if the file descriptor is in blocking mode." msgstr "" #: ../build/NEWS:28265 msgid "" "`bpo-16808 `__: inspect.stack() now " "returns a named tuple instead of a tuple. Patch by Daniel Shahaf." msgstr "" #: ../build/NEWS:28268 msgid "" "`bpo-22236 `__: Fixed Tkinter images " "copying operations in NoDefaultRoot mode." msgstr "" #: ../build/NEWS:28270 msgid "" "`bpo-2527 `__: Add a *globals* argument " "to timeit functions, in order to override the globals namespace in which the " "timed code is executed. Patch by Ben Roberts." msgstr "" #: ../build/NEWS:28274 msgid "" "`bpo-22118 `__: Switch urllib.parse to " "use RFC 3986 semantics for the resolution of relative URLs, rather than RFCs " "1808 and 2396. Patch by Demian Brecht." msgstr "" #: ../build/NEWS:28278 msgid "" "`bpo-21549 `__: Added the \"members\" " "parameter to TarFile.list()." msgstr "" #: ../build/NEWS:28280 msgid "" "`bpo-19628 `__: Allow compileall " "recursion depth to be specified with a -r option." msgstr "" #: ../build/NEWS:28283 msgid "" "`bpo-15696 `__: Add a __sizeof__ " "implementation for mmap objects on Windows." msgstr "" #: ../build/NEWS:28285 msgid "" "`bpo-22068 `__: Avoided reference loops " "with Variables and Fonts in Tkinter." msgstr "" #: ../build/NEWS:28287 msgid "" "`bpo-22165 `__: SimpleHTTPRequestHandler " "now supports undecodable file names." msgstr "" #: ../build/NEWS:28289 msgid "" "`bpo-15381 `__: Optimized line reading " "in io.BytesIO." msgstr "" #: ../build/NEWS:28291 msgid "" "`bpo-8797 `__: Raise HTTPError on failed " "Basic Authentication immediately. Initial patch by Sam Bull." msgstr "" #: ../build/NEWS:28294 msgid "" "`bpo-20729 `__: Restored the use of lazy " "iterkeys()/itervalues()/iteritems() in the mailbox module." msgstr "" #: ../build/NEWS:28297 msgid "" "`bpo-21448 `__: Changed FeedParser " "feed() to avoid O(N**2) behavior when parsing long line. Original patch by " "Raymond Hettinger." msgstr "" #: ../build/NEWS:28300 msgid "" "`bpo-22184 `__: The functools LRU Cache " "decorator factory now gives an earlier and clearer error message when the " "user forgets the required parameters." msgstr "" #: ../build/NEWS:28303 msgid "" "`bpo-17923 `__: glob() patterns ending " "with a slash no longer match non-dirs on AIX. Based on patch by Delhallt." msgstr "" #: ../build/NEWS:28306 msgid "" "`bpo-21725 `__: Added support for RFC " "6531 (SMTPUTF8) in smtpd." msgstr "" #: ../build/NEWS:28308 msgid "" "`bpo-22176 `__: Update the ctypes " "module's libffi to v3.1. This release adds support for the Linux AArch64 " "and POWERPC ELF ABIv2 little endian architectures." msgstr "" #: ../build/NEWS:28312 msgid "" "`bpo-5411 `__: Added support for the " "\"xztar\" format in the shutil module." msgstr "" #: ../build/NEWS:28314 msgid "" "`bpo-21121 `__: Don't force 3rd party C " "extensions to be built with -Werror=declaration-after-statement." msgstr "" #: ../build/NEWS:28317 msgid "" "`bpo-21975 `__: Fixed crash when using " "uninitialized sqlite3.Row (in particular when unpickling pickled sqlite3." "Row). sqlite3.Row is now initialized in the __new__() method." msgstr "" #: ../build/NEWS:28321 msgid "" "`bpo-20170 `__: Convert posixmodule to " "use Argument Clinic." msgstr "" #: ../build/NEWS:28323 msgid "" "`bpo-21539 `__: Add an *exists_ok* " "argument to `Pathlib.mkdir()` to mimic `mkdir -p` and `os.makedirs()` " "functionality. When true, ignore FileExistsErrors. Patch by Berker Peksag." msgstr "" #: ../build/NEWS:28327 msgid "" "`bpo-22127 `__: Bypass IDNA for pure-" "ASCII host names in the socket module (in particular for numeric IPs)." msgstr "" #: ../build/NEWS:28330 msgid "" "`bpo-21047 `__: set the default value " "for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker " "Peksag." msgstr "" #: ../build/NEWS:28333 msgid "Add an __all__ to html.entities." msgstr "" #: ../build/NEWS:28335 msgid "" "`bpo-15114 `__: the strict mode and " "argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception " "have been removed." msgstr "" #: ../build/NEWS:28338 msgid "" "`bpo-22085 `__: Dropped support of Tk " "8.3 in Tkinter." msgstr "" #: ../build/NEWS:28340 msgid "" "`bpo-21580 `__: Now Tkinter correctly " "handles bytes arguments passed to Tk. In particular this allows initializing " "images from binary data." msgstr "" #: ../build/NEWS:28343 msgid "" "`bpo-22003 `__: When initialized from a " "bytes object, io.BytesIO() now defers making a copy until it is mutated, " "improving performance and memory use on some use cases. Patch by David " "Wilson." msgstr "" #: ../build/NEWS:28347 msgid "" "`bpo-22018 `__: On Windows, signal." "set_wakeup_fd() now also supports sockets. A side effect is that Python " "depends to the WinSock library." msgstr "" #: ../build/NEWS:28350 msgid "" "`bpo-22054 `__: Add os.get_blocking() " "and os.set_blocking() functions to get and set the blocking mode of a file " "descriptor (False if the O_NONBLOCK flag is set, True otherwise). These " "functions are not available on Windows." msgstr "" #: ../build/NEWS:28355 msgid "" "`bpo-17172 `__: Make turtledemo start as " "active on OS X even when run with subprocess. Patch by Lita Cho." msgstr "" #: ../build/NEWS:28358 msgid "" "`bpo-21704 `__: Fix build error for " "_multiprocessing when semaphores are not available. Patch by Arfrever " "Frehtes Taifersar Arahesis." msgstr "" #: ../build/NEWS:28361 msgid "" "`bpo-20173 `__: Convert sha1, sha256, " "sha512 and md5 to ArgumentClinic. Patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:28364 msgid "" "Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on " "closed socket. repr(socket.socket) already works fine." msgstr "" #: ../build/NEWS:28367 msgid "" "`bpo-22033 `__: Reprs of most Python " "implemented classes now contain actual class name instead of hardcoded one." msgstr "" #: ../build/NEWS:28370 msgid "" "`bpo-21947 `__: The dis module can now " "disassemble generator-iterator objects based on their gi_code attribute. " "Patch by Clement Rouault." msgstr "" #: ../build/NEWS:28373 msgid "" "`bpo-16133 `__: The asynchat.async_chat." "handle_read() method now ignores BlockingIOError exceptions." msgstr "" #: ../build/NEWS:28376 msgid "" "`bpo-22044 `__: Fixed premature DECREF " "in call_tzinfo_method. Patch by Tom Flanagan." msgstr "" #: ../build/NEWS:28379 msgid "" "`bpo-19884 `__: readline: Disable the " "meta modifier key if stdout is not a terminal to not write the ANSI sequence " "``\"\\033[1034h\"`` into stdout. This sequence is used on some terminal (ex: " "TERM=xterm-256color\") to enable support of 8 bit characters." msgstr "" #: ../build/NEWS:28384 msgid "" "`bpo-4350 `__: Removed a number of out-of-" "dated and non-working for a long time Tkinter methods." msgstr "" #: ../build/NEWS:28387 msgid "" "`bpo-6167 `__: Scrollbar.activate() now " "returns the name of active element if the argument is not specified. " "Scrollbar.set() now always accepts only 2 arguments." msgstr "" #: ../build/NEWS:28391 msgid "" "`bpo-15275 `__: Clean up and speed up " "the ntpath module." msgstr "" #: ../build/NEWS:28393 msgid "" "`bpo-21888 `__: plistlib's load() and " "loads() now work if the fmt parameter is specified." msgstr "" #: ../build/NEWS:28396 msgid "" "`bpo-22032 `__: __qualname__ instead of " "__name__ is now always used to format fully qualified class names of Python " "implemented classes." msgstr "" #: ../build/NEWS:28399 msgid "" "`bpo-22031 `__: Reprs now always use " "hexadecimal format with the \"0x\" prefix when contain an id in form \" at " "0x...\"." msgstr "" #: ../build/NEWS:28402 msgid "" "`bpo-22018 `__: signal.set_wakeup_fd() " "now raises an OSError instead of a ValueError on ``fstat()`` failure." msgstr "" #: ../build/NEWS:28405 msgid "" "`bpo-21044 `__: tarfile.open() now " "handles fileobj with an integer 'name' attribute. Based on patch by Antoine " "Pietri." msgstr "" #: ../build/NEWS:28408 msgid "" "`bpo-21966 `__: Respect -q command-line " "option when code module is ran." msgstr "" #: ../build/NEWS:28410 msgid "" "`bpo-19076 `__: Don't pass the redundant " "'file' argument to self.error()." msgstr "" #: ../build/NEWS:28412 msgid "" "`bpo-16382 `__: Improve exception " "message of warnings.warn() for bad category. Initial patch by Phil Elson." msgstr "" #: ../build/NEWS:28415 msgid "" "`bpo-21932 `__: os.read() now uses a :c:" "func:`Py_ssize_t` type instead of :c:type:`int` for the size to support " "reading more than 2 GB at once. On Windows, the size is truncated to " "INT_MAX. As any call to os.read(), the OS may read less bytes than the " "number of requested bytes." msgstr "" #: ../build/NEWS:28420 msgid "" "`bpo-21942 `__: Fixed source file " "viewing in pydoc's server mode on Windows." msgstr "" #: ../build/NEWS:28422 msgid "" "`bpo-11259 `__: asynchat.async_chat()." "set_terminator() now raises a ValueError if the number of received bytes is " "negative." msgstr "" #: ../build/NEWS:28425 msgid "" "`bpo-12523 `__: asynchat.async_chat." "push() now raises a TypeError if it doesn't get a bytes string" msgstr "" #: ../build/NEWS:28428 msgid "" "`bpo-21707 `__: Add missing " "kwonlyargcount argument to ModuleFinder.replace_paths_in_code()." msgstr "" #: ../build/NEWS:28431 msgid "" "`bpo-20639 `__: calling Path." "with_suffix('') allows removing the suffix again. Patch by July Tikhonov." msgstr "" #: ../build/NEWS:28434 msgid "" "`bpo-21714 `__: Disallow the " "construction of invalid paths using Path.with_name(). Original patch by " "Antony Lee." msgstr "" #: ../build/NEWS:28437 msgid "" "`bpo-15014 `__: Added 'auth' method to " "smtplib to make implementing auth mechanisms simpler, and used it internally " "in the login method." msgstr "" #: ../build/NEWS:28440 msgid "" "`bpo-21151 `__: Fixed a segfault in the " "winreg module when ``None`` is passed as a ``REG_BINARY`` value to " "SetValueEx. Patch by John Ehresman." msgstr "" #: ../build/NEWS:28443 msgid "" "`bpo-21090 `__: io.FileIO.readall() does " "not ignore I/O errors anymore. Before, it ignored I/O errors if at least the " "first C call read() succeed." msgstr "" #: ../build/NEWS:28446 msgid "" "`bpo-5800 `__: headers parameter of " "wsgiref.headers.Headers is now optional. Initial patch by Pablo Torres " "Navarrete and SilentGhost." msgstr "" #: ../build/NEWS:28449 msgid "" "`bpo-21781 `__: ssl.RAND_add() now " "supports strings longer than 2 GB." msgstr "" #: ../build/NEWS:28451 msgid "" "`bpo-21679 `__: Prevent extraneous " "fstat() calls during open(). Patch by Bohuslav Kabrda." msgstr "" #: ../build/NEWS:28454 msgid "" "`bpo-21863 `__: cProfile now displays " "the module name of C extension functions, in addition to their own name." msgstr "" #: ../build/NEWS:28457 msgid "" "`bpo-11453 `__: asyncore: emit a " "ResourceWarning when an unclosed file_wrapper object is destroyed. The " "destructor now closes the file if needed. The close() method can now be " "called twice: the second call does nothing." msgstr "" #: ../build/NEWS:28461 msgid "" "`bpo-21858 `__: Better handling of " "Python exceptions in the sqlite3 module." msgstr "" #: ../build/NEWS:28463 msgid "" "`bpo-21476 `__: Make sure the email." "parser.BytesParser TextIOWrapper is discarded after parsing, so the input " "file isn't unexpectedly closed." msgstr "" #: ../build/NEWS:28466 msgid "" "`bpo-20295 `__: imghdr now recognizes " "OpenEXR format images." msgstr "" #: ../build/NEWS:28468 msgid "" "`bpo-21729 `__: Used the \"with\" " "statement in the dbm.dumb module to ensure files closing. Patch by Claudiu " "Popa." msgstr "" #: ../build/NEWS:28471 msgid "" "`bpo-21491 `__: socketserver: Fix a race " "condition in child processes reaping." msgstr "" #: ../build/NEWS:28473 msgid "" "`bpo-21719 `__: Added the " "``st_file_attributes`` field to os.stat_result on Windows." msgstr "" #: ../build/NEWS:28476 msgid "" "`bpo-21832 `__: Require named tuple " "inputs to be exact strings." msgstr "" #: ../build/NEWS:28478 msgid "" "`bpo-21722 `__: The distutils \"upload\" " "command now exits with a non-zero return code when uploading fails. Patch " "by Martin Dengler." msgstr "" #: ../build/NEWS:28481 msgid "" "`bpo-21723 `__: asyncio.Queue: support " "any type of number (ex: float) for the maximum size. Patch written by " "Vajrasky Kok." msgstr "" #: ../build/NEWS:28484 msgid "" "`bpo-21711 `__: support for \"site-python" "\" directories has now been removed from the site module (it was deprecated " "in 3.4)." msgstr "" #: ../build/NEWS:28487 msgid "" "`bpo-17552 `__: new socket.sendfile() " "method allowing a file to be sent over a socket by using high-performance os." "sendfile() on UNIX. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:28491 msgid "" "`bpo-18039 `__: dbm.dump.open() now " "always creates a new database when the flag has the value 'n'. Patch by " "Claudiu Popa." msgstr "" #: ../build/NEWS:28494 msgid "" "`bpo-21326 `__: Add a new is_closed() " "method to asyncio.BaseEventLoop. run_forever() and run_until_complete() " "methods of asyncio.BaseEventLoop now raise an exception if the event loop " "was closed." msgstr "" #: ../build/NEWS:28498 msgid "" "`bpo-21766 `__: Prevent a security hole " "in CGIHTTPServer by URL unquoting paths before checking for a CGI script at " "that path." msgstr "" #: ../build/NEWS:28501 msgid "" "`bpo-21310 `__: Fixed possible resource " "leak in failed open()." msgstr "" #: ../build/NEWS:28503 msgid "" "`bpo-21256 `__: Printout of keyword args " "should be in deterministic order in a mock function call. This will help to " "write better doctests." msgstr "" #: ../build/NEWS:28506 msgid "" "`bpo-21677 `__: Fixed chaining " "nonnormalized exceptions in io close() methods." msgstr "" #: ../build/NEWS:28508 msgid "" "`bpo-11709 `__: Fix the pydoc.help " "function to not fail when sys.stdin is not a valid file." msgstr "" #: ../build/NEWS:28511 msgid "" "`bpo-21515 `__: tempfile.TemporaryFile " "now uses os.O_TMPFILE flag is available." msgstr "" #: ../build/NEWS:28513 msgid "" "`bpo-13223 `__: Fix pydoc.writedoc so " "that the HTML documentation for methods that use 'self' in the example code " "is generated correctly." msgstr "" #: ../build/NEWS:28516 msgid "" "`bpo-21463 `__: In urllib.request, fix " "pruning of the FTP cache." msgstr "" #: ../build/NEWS:28518 msgid "" "`bpo-21618 `__: The subprocess module " "could fail to close open fds that were inherited by the calling process and " "already higher than POSIX resource limits would otherwise allow. On systems " "with a functioning /proc/self/fd or /dev/fd interface the max is now ignored " "and all fds are closed." msgstr "" #: ../build/NEWS:28523 msgid "" "`bpo-20383 `__: Introduce importlib.util." "module_from_spec() as the preferred way to create a new module." msgstr "" #: ../build/NEWS:28526 msgid "" "`bpo-21552 `__: Fixed possible integer " "overflow of too long string lengths in the tkinter module on 64-bit " "platforms." msgstr "" #: ../build/NEWS:28529 msgid "" "`bpo-14315 `__: The zipfile module now " "ignores extra fields in the central directory that are too short to be " "parsed instead of letting a struct.unpack error bubble up as this \"bad data" "\" appears in many real world zip files in the wild and is ignored by other " "zip tools." msgstr "" #: ../build/NEWS:28534 msgid "" "`bpo-13742 `__: Added \"key\" and " "\"reverse\" parameters to heapq.merge(). (First draft of patch contributed " "by Simon Sapin.)" msgstr "" #: ../build/NEWS:28537 msgid "" "`bpo-21402 `__: tkinter.ttk now works " "when default root window is not set." msgstr "" #: ../build/NEWS:28539 msgid "" "`bpo-3015 `__: _tkinter.create() now " "creates tkapp object with wantobject=1 by default." msgstr "" #: ../build/NEWS:28542 msgid "" "`bpo-10203 `__: sqlite3.Row now truly " "supports sequence protocol. In particular it supports reverse() and " "negative indices. Original patch by Claudiu Popa." msgstr "" #: ../build/NEWS:28546 msgid "" "`bpo-18807 `__: If copying (no symlinks) " "specified for a venv, then the python interpreter aliases (python, python3) " "are now created by copying rather than symlinking." msgstr "" #: ../build/NEWS:28550 msgid "" "`bpo-20197 `__: Added support for the " "WebP image type in the imghdr module. Patch by Fabrice Aneche and Claudiu " "Popa." msgstr "" #: ../build/NEWS:28553 msgid "" "`bpo-21513 `__: Speedup some properties " "of IP addresses (IPv4Address, IPv6Address) such as .is_private or ." "is_multicast." msgstr "" #: ../build/NEWS:28556 msgid "" "`bpo-21137 `__: Improve the repr for " "threading.Lock() and its variants by showing the \"locked\" or \"unlocked\" " "status. Patch by Berker Peksag." msgstr "" #: ../build/NEWS:28559 msgid "" "`bpo-21538 `__: The plistlib module now " "supports loading of binary plist files when reference or offset size is not " "a power of two." msgstr "" #: ../build/NEWS:28562 msgid "" "`bpo-21455 `__: Add a default backlog to " "socket.listen()." msgstr "" #: ../build/NEWS:28564 msgid "" "`bpo-21525 `__: Most Tkinter methods " "which accepted tuples now accept lists too." msgstr "" #: ../build/NEWS:28567 msgid "" "`bpo-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" msgstr "" #: ../build/NEWS:28571 msgid "" "`bpo-22236 `__: Tkinter tests now don't " "reuse default root window. New root window is created for every test class." msgstr "" #: ../build/NEWS:28574 msgid "" "`bpo-10744 `__: Fix :pep:`3118` format " "strings on ctypes objects with a nontrivial shape." msgstr "" #: ../build/NEWS:28577 msgid "" "`bpo-20826 `__: Optimize ipaddress." "collapse_addresses()." msgstr "" #: ../build/NEWS:28579 msgid "" "`bpo-21487 `__: Optimize ipaddress." "summarize_address_range() and ipaddress.{IPv4Network,IPv6Network}.subnets()." msgstr "" #: ../build/NEWS:28582 msgid "" "`bpo-21486 `__: Optimize parsing of " "netmasks in ipaddress.IPv4Network and ipaddress.IPv6Network." msgstr "" #: ../build/NEWS:28585 msgid "" "`bpo-13916 `__: Disallowed the " "surrogatepass error handler for non UTF-\\* encodings." msgstr "" #: ../build/NEWS:28588 msgid "" "`bpo-20998 `__: Fixed re.fullmatch() of " "repeated single character pattern with ignore case. Original patch by " "Matthew Barnett." msgstr "" #: ../build/NEWS:28591 msgid "" "`bpo-21075 `__: fileinput.FileInput now " "reads bytes from standard stream if binary mode is specified. Patch by Sam " "Kimbrel." msgstr "" #: ../build/NEWS:28594 msgid "" "`bpo-19775 `__: Add a samefile() method " "to pathlib Path objects. Initial patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:28597 msgid "" "`bpo-21226 `__: Set up modules properly " "in PyImport_ExecCodeModuleObject (and friends)." msgstr "" #: ../build/NEWS:28600 msgid "" "`bpo-21398 `__: Fix a unicode error in " "the pydoc pager when the documentation contains characters not encodable to " "the stdout encoding." msgstr "" #: ../build/NEWS:28603 msgid "" "`bpo-16531 `__: ipaddress.IPv4Network " "and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, " "so as to easily construct network objects from existing addresses." msgstr "" #: ../build/NEWS:28607 msgid "" "`bpo-21156 `__: importlib.abc." "InspectLoader.source_to_code() is now a staticmethod." msgstr "" #: ../build/NEWS:28610 msgid "" "`bpo-21424 `__: Simplified and optimized " "heaqp.nlargest() and nmsmallest() to make fewer tuple comparisons." msgstr "" #: ../build/NEWS:28613 msgid "" "`bpo-21396 `__: Fix TextIOWrapper(..., " "write_through=True) to not force a flush() on the underlying binary stream. " "Patch by akira." msgstr "" #: ../build/NEWS:28616 msgid "" "`bpo-18314 `__: Unlink now removes " "junctions on Windows. Patch by Kim Gräsman" msgstr "" #: ../build/NEWS:28618 msgid "" "`bpo-21088 `__: Bugfix for curses.window." "addch() regression in 3.4.0. In porting to Argument Clinic, the first two " "arguments were reversed." msgstr "" #: ../build/NEWS:28621 msgid "" "`bpo-21407 `__: _decimal: The module now " "supports function signatures." msgstr "" #: ../build/NEWS:28623 msgid "" "`bpo-10650 `__: Remove the non-standard " "'watchexp' parameter from the Decimal.quantize() method in the Python " "version. It had never been present in the C version." msgstr "" #: ../build/NEWS:28627 msgid "" "`bpo-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()." msgstr "" #: ../build/NEWS:28631 msgid "" "`bpo-19414 `__: Have the OrderedDict " "mark deleted links as unusable. This gives an early failure if the link is " "deleted during iteration." msgstr "" #: ../build/NEWS:28634 msgid "" "`bpo-21421 `__: Add __slots__ to the " "MappingViews ABC. Patch by Josh Rosenberg." msgstr "" #: ../build/NEWS:28636 msgid "" "`bpo-21101 `__: Eliminate double hashing " "in the C speed-up code for collections.Counter()." msgstr "" #: ../build/NEWS:28639 msgid "" "`bpo-21321 `__: itertools.islice() now " "releases the reference to the source iterator when the slice is exhausted. " "Patch by Anton Afanasyev." msgstr "" #: ../build/NEWS:28642 msgid "" "`bpo-21057 `__: TextIOWrapper now allows " "the underlying binary stream's read() or read1() method to return an " "arbitrary bytes-like object (such as a memoryview). Patch by Nikolaus Rath." msgstr "" #: ../build/NEWS:28646 msgid "" "`bpo-20951 `__: SSLSocket.send() now " "raises either SSLWantReadError or SSLWantWriteError on a non-blocking socket " "if the operation would block. Previously, it would return 0. Patch by " "Nikolaus Rath." msgstr "" #: ../build/NEWS:28650 msgid "" "`bpo-13248 `__: removed previously " "deprecated asyncore.dispatcher __getattr__ cheap inheritance hack." msgstr "" #: ../build/NEWS:28653 msgid "" "`bpo-9815 `__: assertRaises now tries to " "clear references to local variables in the exception's traceback." msgstr "" #: ../build/NEWS:28656 msgid "" "`bpo-19940 `__: ssl." "cert_time_to_seconds() now interprets the given time string in the UTC " "timezone (as specified in RFC 5280), not the local timezone." msgstr "" #: ../build/NEWS:28659 msgid "" "`bpo-13204 `__: Calling sys.flags." "__new__ would crash the interpreter, now it raises a TypeError." msgstr "" #: ../build/NEWS:28662 msgid "" "`bpo-19385 `__: Make operations on a " "closed dbm.dumb database always raise the same exception." msgstr "" #: ../build/NEWS:28665 msgid "" "`bpo-21207 `__: Detect when the os." "urandom cached fd has been closed or replaced, and open it anew." msgstr "" #: ../build/NEWS:28668 msgid "" "`bpo-21291 `__: subprocess's Popen." "wait() is now thread safe so that multiple threads may be calling wait() or " "poll() on a Popen instance at the same time without losing the Popen." "returncode value." msgstr "" #: ../build/NEWS:28672 msgid "" "`bpo-21127 `__: Path objects can now be " "instantiated from str subclass instances (such as ``numpy.str_``)." msgstr "" #: ../build/NEWS:28675 msgid "" "`bpo-15002 `__: urllib.response object " "to use _TemporaryFileWrapper (and _TemporaryFileCloser) facility. Provides a " "better way to handle file descriptor close. Patch contributed by Christian " "Theune." msgstr "" #: ../build/NEWS:28679 msgid "" "`bpo-12220 `__: mindom now raises a " "custom ValueError indicating it doesn't support spaces in URIs instead of " "letting a 'split' ValueError bubble up." msgstr "" #: ../build/NEWS:28682 msgid "" "`bpo-21068 `__: The ssl.PROTOCOL* " "constants are now enum members." msgstr "" #: ../build/NEWS:28684 msgid "" "`bpo-21276 `__: posixmodule: Don't " "define USE_XATTRS on KFreeBSD and the Hurd." msgstr "" #: ../build/NEWS:28686 msgid "" "`bpo-21262 `__: New method " "assert_not_called for Mock. It raises AssertionError if the mock has been " "called." msgstr "" #: ../build/NEWS:28689 msgid "" "`bpo-21238 `__: New keyword argument " "`unsafe` to Mock. It raises `AttributeError` incase of an attribute " "startswith assert or assret." msgstr "" #: ../build/NEWS:28692 msgid "" "`bpo-20896 `__: ssl." "get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3, for " "maximum compatibility." msgstr "" #: ../build/NEWS:28695 msgid "" "`bpo-21239 `__: patch.stopall() didn't " "work deterministically when the same name was patched more than once." msgstr "" #: ../build/NEWS:28698 msgid "" "`bpo-21203 `__: Updated fileConfig and " "dictConfig to remove inconsistencies. Thanks to Jure Koren for the patch." msgstr "" #: ../build/NEWS:28701 msgid "" "`bpo-21222 `__: Passing name keyword " "argument to mock.create_autospec now works." msgstr "" #: ../build/NEWS:28704 msgid "" "`bpo-21197 `__: Add lib64 -> lib symlink " "in venvs on 64-bit non-OS X POSIX." msgstr "" #: ../build/NEWS:28706 msgid "" "`bpo-17498 `__: Some SMTP servers " "disconnect after certain errors, violating strict RFC conformance. Instead " "of losing the error code when we issue the subsequent RSET, smtplib now " "returns the error code and defers raising the SMTPServerDisconnected error " "until the next command is issued." msgstr "" #: ../build/NEWS:28711 msgid "" "`bpo-17826 `__: setting an iterable " "side_effect on a mock function created by create_autospec now works. Patch " "by Kushal Das." msgstr "" #: ../build/NEWS:28714 msgid "" "`bpo-7776 `__: Fix ``Host:`` header and " "reconnection when using http.client.HTTPConnection.set_tunnel(). Patch by " "Nikolaus Rath." msgstr "" #: ../build/NEWS:28717 msgid "" "`bpo-20968 `__: unittest.mock.MagicMock " "now supports division. Patch by Johannes Baiter." msgstr "" #: ../build/NEWS:28720 msgid "" "`bpo-21529 `__: Fix arbitrary memory " "access in JSONDecoder.raw_decode with a negative second parameter. Bug " "reported by Guido Vranken. (See also: CVE-2014-4616)" msgstr "" #: ../build/NEWS:28724 msgid "" "`bpo-21169 `__: getpass now handles non-" "ascii characters that the input stream encoding cannot encode by re-encoding " "using the replace error handler." msgstr "" #: ../build/NEWS:28727 msgid "" "`bpo-21171 `__: Fixed undocumented " "filter API of the rot13 codec. Patch by Berker Peksag." msgstr "" #: ../build/NEWS:28730 msgid "" "`bpo-20539 `__: Improved math.factorial " "error message for large positive inputs and changed exception type " "(OverflowError -> ValueError) for large negative inputs." msgstr "" #: ../build/NEWS:28734 msgid "" "`bpo-21172 `__: isinstance check relaxed " "from dict to collections.Mapping." msgstr "" #: ../build/NEWS:28736 msgid "" "`bpo-21155 `__: asyncio.EventLoop." "create_unix_server() now raises a ValueError if path and sock are specified " "at the same time." msgstr "" #: ../build/NEWS:28739 msgid "" "`bpo-21136 `__: Avoid unnecessary " "normalization of Fractions resulting from power and other operations. Patch " "by Raymond Hettinger." msgstr "" #: ../build/NEWS:28742 msgid "" "`bpo-17621 `__: Introduce importlib.util." "LazyLoader." msgstr "" #: ../build/NEWS:28744 msgid "" "`bpo-21076 `__: signal module constants " "were turned into enums. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:28747 msgid "" "`bpo-20636 `__: Improved the repr of " "Tkinter widgets." msgstr "" #: ../build/NEWS:28749 msgid "" "`bpo-19505 `__: The items, keys, and " "values views of OrderedDict now support reverse iteration using reversed()." msgstr "" #: ../build/NEWS:28752 msgid "" "`bpo-21149 `__: Improved thread-safety " "in logging cleanup during interpreter shutdown. Thanks to Devin Jeanpierre " "for the patch." msgstr "" #: ../build/NEWS:28755 msgid "" "`bpo-21058 `__: Fix a leak of file " "descriptor in :func:`tempfile.NamedTemporaryFile`, close the file descriptor " "if :func:`io.open` fails" msgstr "" #: ../build/NEWS:28759 msgid "" "`bpo-21200 `__: Return None from pkgutil." "get_loader() when __spec__ is missing." msgstr "" #: ../build/NEWS:28761 msgid "" "`bpo-21013 `__: Enhance ssl." "create_default_context() when used for server side sockets to provide better " "security by default." msgstr "" #: ../build/NEWS:28764 msgid "" "`bpo-20145 `__: `assertRaisesRegex` and " "`assertWarnsRegex` now raise a TypeError if the second argument is not a " "string or compiled regex." msgstr "" #: ../build/NEWS:28767 msgid "" "`bpo-20633 `__: Replace relative import " "by absolute import." msgstr "" #: ../build/NEWS:28769 msgid "" "`bpo-20980 `__: Stop wrapping exception " "when using ThreadPool." msgstr "" #: ../build/NEWS:28771 msgid "" "`bpo-21082 `__: In os.makedirs, do not " "set the process-wide umask. Note this changes behavior of makedirs when " "exist_ok=True." msgstr "" #: ../build/NEWS:28774 msgid "" "`bpo-20990 `__: Fix issues found by " "pyflakes for multiprocessing." msgstr "" #: ../build/NEWS:28776 msgid "" "`bpo-21015 `__: SSL contexts will now " "automatically select an elliptic curve for ECDH key exchange on OpenSSL " "1.0.2 and later, and otherwise default to \"prime256v1\"." msgstr "" #: ../build/NEWS:28780 msgid "" "`bpo-21000 `__: Improve the command-line " "interface of json.tool." msgstr "" #: ../build/NEWS:28782 msgid "" "`bpo-20995 `__: Enhance default ciphers " "used by the ssl module to enable better security and prioritize perfect " "forward secrecy." msgstr "" #: ../build/NEWS:28785 msgid "" "`bpo-20884 `__: Don't assume that " "__file__ is defined on importlib.__init__." msgstr "" #: ../build/NEWS:28787 msgid "" "`bpo-21499 `__: Ignore __builtins__ in " "several test_importlib.test_api tests." msgstr "" #: ../build/NEWS:28789 msgid "" "`bpo-20627 `__: xmlrpc.client." "ServerProxy is now a context manager." msgstr "" #: ../build/NEWS:28791 msgid "" "`bpo-19165 `__: The formatter module now " "raises DeprecationWarning instead of PendingDeprecationWarning." msgstr "" #: ../build/NEWS:28794 msgid "" "`bpo-13936 `__: Remove the ability of " "datetime.time instances to be considered false in boolean contexts." msgstr "" #: ../build/NEWS:28797 msgid "" "`bpo-18931 `__: selectors module now " "supports /dev/poll on Solaris. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:28800 msgid "" "`bpo-19977 `__: When the ``LC_TYPE`` " "locale is the POSIX locale (``C`` locale), :py:data:`sys.stdin` and :py:data:" "`sys.stdout` are now using the ``surrogateescape`` error handler, instead of " "the ``strict`` error handler." msgstr "" #: ../build/NEWS:28805 msgid "" "`bpo-20574 `__: Implement incremental " "decoder for cp65001 code (Windows code page 65001, Microsoft UTF-8)." msgstr "" #: ../build/NEWS:28808 msgid "" "`bpo-20879 `__: Delay the initialization " "of encoding and decoding tables for base32, ascii85 and base85 codecs in the " "base64 module, and delay the initialization of the unquote_to_bytes() table " "of the urllib.parse module, to not waste memory if these modules are not " "used." msgstr "" #: ../build/NEWS:28813 msgid "" "`bpo-19157 `__: Include the broadcast " "address in the usuable hosts for IPv6 in ipaddress." msgstr "" #: ../build/NEWS:28816 msgid "" "`bpo-11599 `__: When an external command " "(e.g. compiler) fails, distutils now prints out the whole command line " "(instead of just the command name) if the environment variable " "DISTUTILS_DEBUG is set." msgstr "" #: ../build/NEWS:28820 msgid "" "`bpo-4931 `__: distutils should not " "produce unhelpful \"error: None\" messages anymore. distutils.util." "grok_environment_error is kept but doc-deprecated." msgstr "" #: ../build/NEWS:28823 msgid "" "`bpo-20875 `__: Prevent possible gzip " "\"'read' is not defined\" NameError. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:28826 msgid "" "`bpo-11558 `__: ``email.message.Message." "attach`` now returns a more useful error message if ``attach`` is called on " "a message for which ``is_multipart`` is False." msgstr "" #: ../build/NEWS:28830 msgid "" "`bpo-20283 `__: RE pattern methods now " "accept the string keyword parameters as documented. The pattern and source " "keyword parameters are left as deprecated aliases." msgstr "" #: ../build/NEWS:28834 msgid "" "`bpo-20778 `__: Fix modulefinder to work " "with bytecode-only modules." msgstr "" #: ../build/NEWS:28836 msgid "" "`bpo-20791 `__: copy.copy() now doesn't " "make a copy when the input is a bytes object. Initial patch by Peter Otten." msgstr "" #: ../build/NEWS:28839 msgid "" "`bpo-19748 `__: On AIX, time.mktime() " "now raises an OverflowError for year outsize range [1902; 2037]." msgstr "" #: ../build/NEWS:28842 msgid "" "`bpo-19573 `__: inspect.signature: Use " "enum for parameter kind constants." msgstr "" #: ../build/NEWS:28844 msgid "" "`bpo-20726 `__: inspect.signature: Make " "Signature and Parameter picklable." msgstr "" #: ../build/NEWS:28846 msgid "" "`bpo-17373 `__: Add inspect.Signature." "from_callable method." msgstr "" #: ../build/NEWS:28848 msgid "" "`bpo-20378 `__: Improve repr of inspect." "Signature and inspect.Parameter." msgstr "" #: ../build/NEWS:28850 msgid "" "`bpo-20816 `__: Fix inspect." "getcallargs() to raise correct TypeError for missing keyword-only arguments. " "Patch by Jeremiah Lowin." msgstr "" #: ../build/NEWS:28853 msgid "" "`bpo-20817 `__: Fix inspect." "getcallargs() to fail correctly if more than 3 arguments are missing. Patch " "by Jeremiah Lowin." msgstr "" #: ../build/NEWS:28856 msgid "" "`bpo-6676 `__: Ensure a meaningful " "exception is raised when attempting to parse more than one XML document per " "pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and " "Amaury Forgeot d'Arc, with suggested wording by David Gutteridge)" msgstr "" #: ../build/NEWS:28861 msgid "" "`bpo-21117 `__: Fix inspect.signature to " "better support functools.partial. Due to the specifics of functools.partial " "implementation, positional-or-keyword arguments passed as keyword arguments " "become keyword-only." msgstr "" #: ../build/NEWS:28866 msgid "" "`bpo-20334 `__: inspect.Signature and " "inspect.Parameter are now hashable. Thanks to Antony Lee for bug reports and " "suggestions." msgstr "" #: ../build/NEWS:28869 msgid "" "`bpo-15916 `__: doctest.DocTestSuite " "returns an empty unittest.TestSuite instead of raising ValueError if it " "finds no tests" msgstr "" #: ../build/NEWS:28872 msgid "" "`bpo-21209 `__: Fix asyncio.tasks." "CoroWrapper to workaround a bug in yield-from implementation in CPythons " "prior to 3.4.1." msgstr "" #: ../build/NEWS:28875 msgid "" "asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream " "`bpo-163 `__)." msgstr "" #: ../build/NEWS:28878 msgid "" "`bpo-21311 `__: Avoid exception in " "_osx_support with non-standard compiler configurations. Patch by John " "Szakmeister." msgstr "" #: ../build/NEWS:28881 msgid "" "`bpo-11571 `__: Ensure that the turtle " "window becomes the topmost window when launched on OS X." msgstr "" #: ../build/NEWS:28884 msgid "" "`bpo-21801 `__: Validate that " "__signature__ is None or an instance of Signature." msgstr "" #: ../build/NEWS:28887 msgid "" "`bpo-21923 `__: Prevent AttributeError " "in distutils.sysconfig.customize_compiler due to possible uninitialized " "_config_vars." msgstr "" #: ../build/NEWS:28891 msgid "" "`bpo-21323 `__: Fix http.server to again " "handle scripts in CGI subdirectories, broken by the fix for security " "`bpo-19435 `__. Patch by Zach Byrne." msgstr "" #: ../build/NEWS:28894 msgid "" "`bpo-22733 `__: Fix ffi_prep_args not " "zero-extending argument values correctly on 64-bit Windows." msgstr "" #: ../build/NEWS:28897 msgid "" "`bpo-23302 `__: Default to TCP_NODELAY=1 " "upon establishing an HTTPConnection. Removed use of hard-coded MSS as it's " "an optimization that's no longer needed with Nagle disabled." msgstr "" #: ../build/NEWS:28904 msgid "" "`bpo-20577 `__: Configuration of the max " "line length for the FormatParagraph extension has been moved from the " "General tab of the Idle preferences dialog to the FormatParagraph tab of the " "Config Extensions dialog. Patch by Tal Einat." msgstr "" #: ../build/NEWS:28909 msgid "" "`bpo-16893 `__: Update Idle doc chapter " "to match current Idle and add new information." msgstr "" #: ../build/NEWS:28912 msgid "" "`bpo-3068 `__: Add Idle extension " "configuration dialog to Options menu. Changes are written to HOME/.idlerc/" "config-extensions.cfg. Original patch by Tal Einat." msgstr "" #: ../build/NEWS:28916 msgid "" "`bpo-16233 `__: A module browser (File : " "Class Browser, Alt+C) requires an 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 is entered and a module is opened, a " "corresponding browser is also opened." msgstr "" #: ../build/NEWS:28922 msgid "" "`bpo-4832 `__: Save As to type Python " "files automatically adds .py to the name you enter (even if your system does " "not display it). Some systems automatically add .txt when type is Text " "files." msgstr "" #: ../build/NEWS:28926 msgid "" "`bpo-21986 `__: Code objects are not " "normally pickled by the pickle module. To match this, they are no longer " "pickled when running under Idle." msgstr "" #: ../build/NEWS:28929 msgid "" "`bpo-17390 `__: Adjust Editor window " "title; remove 'Python', move version to end." msgstr "" #: ../build/NEWS:28932 msgid "" "`bpo-14105 `__: Idle debugger " "breakpoints no longer disappear when inserting or deleting lines." msgstr "" #: ../build/NEWS:28935 msgid "" "`bpo-17172 `__: Turtledemo can now be " "run from Idle. Currently, the entry is on the Help menu, but it may move to " "Run. Patch by Ramchandra Apt and Lita Cho." msgstr "" #: ../build/NEWS:28939 msgid "" "`bpo-21765 `__: Add support for non-" "ascii identifiers to HyperParser." msgstr "" #: ../build/NEWS:28941 msgid "" "`bpo-21940 `__: Add unittest for " "WidgetRedirector. Initial patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:28944 msgid "" "`bpo-18592 `__: Add unittest for " "SearchDialogBase. Patch by Phil Webster." msgstr "" #: ../build/NEWS:28946 msgid "" "`bpo-21694 `__: Add unittest for " "ParenMatch. Patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:28948 msgid "" "`bpo-21686 `__: add unittest for " "HyperParser. Original patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:28951 msgid "" "`bpo-12387 `__: Add missing " "upper(lower)case versions of default Windows key bindings for Idle so Caps " "Lock does not disable them. Patch by Roger Serwy." msgstr "" #: ../build/NEWS:28955 msgid "" "`bpo-21695 `__: Closing a Find-in-files " "output window while the search is still in progress no longer closes Idle." msgstr "" #: ../build/NEWS:28958 msgid "" "`bpo-18910 `__: Add unittest for " "textView. Patch by Phil Webster." msgstr "" #: ../build/NEWS:28960 msgid "" "`bpo-18292 `__: Add unittest for " "AutoExpand. Patch by Saihadhav Heblikar." msgstr "" #: ../build/NEWS:28962 msgid "" "`bpo-18409 `__: Add unittest for " "AutoComplete. Patch by Phil Webster." msgstr "" #: ../build/NEWS:28964 msgid "" "`bpo-21477 `__: htest.py - Improve " "framework, complete set of tests. Patches by Saimadhav Heblikar" msgstr "" #: ../build/NEWS:28967 msgid "" "`bpo-18104 `__: Add idlelib/idle_test/" "htest.py with a few sample tests to begin consolidating and improving human-" "validated tests of Idle. Change other files as needed to work with htest. " "Running the module as __main__ runs all tests." msgstr "" #: ../build/NEWS:28972 msgid "" "`bpo-21139 `__: Change default paragraph " "width to 72, the :pep:`8` recommendation." msgstr "" #: ../build/NEWS:28975 msgid "" "`bpo-21284 `__: Paragraph reformat test " "passes after user changes reformat width." msgstr "" #: ../build/NEWS:28978 msgid "" "`bpo-17654 `__: Ensure IDLE menus are " "customized properly on OS X for non-framework builds and for all variants of " "Tk." msgstr "" #: ../build/NEWS:28981 msgid "" "`bpo-23180 `__: Rename IDLE \"Windows\" " "menu item to \"Window\". Patch by Al Sweigart." msgstr "" #: ../build/NEWS:28987 msgid "" "`bpo-15506 `__: Use standard " "PKG_PROG_PKG_CONFIG autoconf macro in the configure script." msgstr "" #: ../build/NEWS:28990 msgid "" "`bpo-22935 `__: Allow the ssl module to " "be compiled if openssl doesn't support SSL 3." msgstr "" #: ../build/NEWS:28993 msgid "" "`bpo-22592 `__: Drop support of the " "Borland C compiler to build Python. The distutils module still supports it " "to build extensions." msgstr "" #: ../build/NEWS:28996 msgid "" "`bpo-22591 `__: Drop support of MS-DOS, " "especially of the DJGPP compiler (MS-DOS port of GCC)." msgstr "" #: ../build/NEWS:28999 msgid "" "`bpo-16537 `__: Check whether self." "extensions is empty in setup.py. Patch by Jonathan Hosmer." msgstr "" #: ../build/NEWS:29002 msgid "" "`bpo-22359 `__: Remove incorrect uses of " "recursive make. Patch by Jonas Wagner." msgstr "" #: ../build/NEWS:29005 msgid "" "`bpo-21958 `__: Define HAVE_ROUND when " "building with Visual Studio 2013 and above. Patch by Zachary Turner." msgstr "" #: ../build/NEWS:29008 msgid "" "`bpo-18093 `__: the programs that embed " "the CPython runtime are now in a separate \"Programs\" directory, rather " "than being kept in the Modules directory." msgstr "" #: ../build/NEWS:29012 msgid "" "`bpo-15759 `__: \"make suspicious\", " "\"make linkcheck\" and \"make doctest\" in Doc/ now display special message " "when and only when there are failures." msgstr "" #: ../build/NEWS:29015 msgid "" "`bpo-21141 `__: The Windows build " "process no longer attempts to find Perl, instead relying on OpenSSL source " "being configured and ready to build. The ``PCbuild\\build_ssl.py`` script " "has been re-written and re-named to ``PCbuild\\prepare_ssl.py``, and takes " "care of configuring OpenSSL source for both 32 and 64 bit platforms. " "OpenSSL sources obtained from svn.python.org will always be pre-configured " "and ready to build." msgstr "" #: ../build/NEWS:29022 msgid "" "`bpo-21037 `__: Add a build option to " "enable AddressSanitizer support." msgstr "" #: ../build/NEWS:29024 msgid "" "`bpo-19962 `__: The Windows build " "process now creates \"python.bat\" in the root of the source tree, which " "passes all arguments through to the most recently built interpreter." msgstr "" #: ../build/NEWS:29028 msgid "" "`bpo-21285 `__: Refactor and fix curses " "configure check to always search in a ncursesw directory." msgstr "" #: ../build/NEWS:29031 msgid "" "`bpo-15234 `__: For BerkeleyDB and " "Sqlite, only add the found library and include directories if they aren't " "already being searched. This avoids an explicit runtime library dependency." msgstr "" #: ../build/NEWS:29035 msgid "" "`bpo-17861 `__: Tools/scripts/" "generate_opcode_h.py automatically regenerates Include/opcode.h from Lib/" "opcode.py if the latter gets any change." msgstr "" #: ../build/NEWS:29038 msgid "" "`bpo-20644 `__: OS X installer build " "support for documentation build changes in 3.4.1: assume externally supplied " "sphinx-build is available in /usr/bin." msgstr "" #: ../build/NEWS:29041 msgid "" "`bpo-20022 `__: Eliminate use of " "deprecated bundlebuilder in OS X builds." msgstr "" #: ../build/NEWS:29043 msgid "" "`bpo-15968 `__: Incorporated Tcl, Tk, " "and Tix builds into the Windows build solution." msgstr "" #: ../build/NEWS:29046 msgid "" "`bpo-17095 `__: Fix Modules/Setup " "*shared* support." msgstr "" #: ../build/NEWS:29048 msgid "" "`bpo-21811 `__: Anticipated fixes to " "support OS X versions > 10.9." msgstr "" #: ../build/NEWS:29050 msgid "" "`bpo-21166 `__: Prevent possible " "segfaults and other random failures of python --generate-posix-vars in " "pybuilddir.txt build target." msgstr "" #: ../build/NEWS:29053 msgid "" "`bpo-18096 `__: Fix library order " "returned by python-config." msgstr "" #: ../build/NEWS:29055 msgid "" "`bpo-17219 `__: Add library build dir " "for Python extension cross-builds." msgstr "" #: ../build/NEWS:29057 msgid "" "`bpo-22919 `__: Windows build updated to " "support VC 14.0 (Visual Studio 2015), which will be used for the official " "release." msgstr "" #: ../build/NEWS:29060 msgid "" "`bpo-21236 `__: Build _msi.pyd with " "cabinet.lib instead of fci.lib" msgstr "" #: ../build/NEWS:29062 msgid "" "`bpo-17128 `__: Use private version of " "OpenSSL for OS X 10.5+ installer." msgstr "" #: ../build/NEWS:29067 msgid "" "`bpo-14203 `__: Remove obsolete support " "for view==NULL in PyBuffer_FillInfo(), bytearray_getbuffer(), " "bytesiobuf_getbuffer() and array_buffer_getbuf(). All functions now raise " "BufferError in that case." msgstr "" #: ../build/NEWS:29071 msgid "" "`bpo-22445 `__: PyBuffer_IsContiguous() " "now implements precise contiguity tests, compatible with NumPy's " "NPY_RELAXED_STRIDES_CHECKING compilation flag. Previously the function " "reported false negatives for corner cases." msgstr "" #: ../build/NEWS:29075 msgid "" "`bpo-22079 `__: PyType_Ready() now " "checks that statically allocated type has no dynamically allocated bases." msgstr "" #: ../build/NEWS:29078 msgid "" "`bpo-22453 `__: Removed non-documented " "macro PyObject_REPR()." msgstr "" #: ../build/NEWS:29080 msgid "" "`bpo-18395 `__: Rename " "``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename " "``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these " "functions." msgstr "" #: ../build/NEWS:29084 msgid "" "`bpo-21233 `__: Add new C functions: " "PyMem_RawCalloc(), PyMem_Calloc(), PyObject_Calloc(), _PyObject_GC_Calloc(). " "bytes(int) is now using ``calloc()`` instead of ``malloc()`` for large " "objects which is faster and use less memory." msgstr "" #: ../build/NEWS:29089 msgid "" "`bpo-20942 `__: " "PyImport_ImportFrozenModuleObject() no longer sets __file__ to match what " "importlib does; this affects _frozen_importlib as well as any module loaded " "using imp.init_frozen()." msgstr "" #: ../build/NEWS:29096 msgid "" "`bpo-19548 `__: Update the codecs module " "documentation to better cover the distinction between text encodings and " "other codecs, together with other clarifications. Patch by Martin Panter." msgstr "" #: ../build/NEWS:29100 msgid "" "`bpo-22394 `__: Doc/Makefile now " "supports ``make venv PYTHON=../python`` to create a venv for generating the " "documentation, e.g., ``make html PYTHON=venv/bin/python3``." msgstr "" #: ../build/NEWS:29104 msgid "" "`bpo-21514 `__: The documentation of the " "json module now refers to new JSON RFC 7159 instead of obsoleted RFC 4627." msgstr "" #: ../build/NEWS:29107 msgid "" "`bpo-21777 `__: The binary sequence " "methods on bytes and bytearray are now documented explicitly, rather than " "assuming users will be able to derive the expected behaviour from the " "behaviour of the corresponding str methods." msgstr "" #: ../build/NEWS:29112 msgid "" "`bpo-6916 `__: undocument deprecated " "asynchat.fifo class." msgstr "" #: ../build/NEWS:29114 msgid "" "`bpo-17386 `__: Expanded functionality " "of the ``Doc/make.bat`` script to make it much more comparable to ``Doc/" "Makefile``." msgstr "" #: ../build/NEWS:29117 msgid "" "`bpo-21312 `__: Update the thread_foobar." "h template file to include newer threading APIs. Patch by Jack McCracken." msgstr "" #: ../build/NEWS:29120 msgid "" "`bpo-21043 `__: Remove the " "recommendation for specific CA organizations and to mention the ability to " "load the OS certificates." msgstr "" #: ../build/NEWS:29123 msgid "" "`bpo-20765 `__: Add missing " "documentation for PurePath.with_name() and PurePath.with_suffix()." msgstr "" #: ../build/NEWS:29126 msgid "" "`bpo-19407 `__: New package installation " "and distribution guides based on the Python Packaging Authority tools. " "Existing guides have been retained as legacy links from the distutils docs, " "as they still contain some required reference material for tool developers " "that isn't recorded anywhere else." msgstr "" #: ../build/NEWS:29131 msgid "" "`bpo-19697 `__: Document cases where " "__main__.__spec__ is None." msgstr "" #: ../build/NEWS:29136 msgid "" "`bpo-18982 `__: Add tests for CLI of the " "calendar module." msgstr "" #: ../build/NEWS:29138 msgid "" "`bpo-19548 `__: Added some additional " "checks to test_codecs to ensure that statements in the updated documentation " "remain accurate. Patch by Martin Panter." msgstr "" #: ../build/NEWS:29142 msgid "" "`bpo-22838 `__: All test_re tests now " "work with unittest test discovery." msgstr "" #: ../build/NEWS:29144 msgid "" "`bpo-22173 `__: Update lib2to3 tests to " "use unittest test discovery." msgstr "" #: ../build/NEWS:29146 msgid "" "`bpo-16000 `__: Convert test_curses to " "use unittest." msgstr "" #: ../build/NEWS:29148 msgid "" "`bpo-21456 `__: Skip two tests in " "test_urllib2net.py if _ssl module not present. Patch by Remi Pointel." msgstr "" #: ../build/NEWS:29151 msgid "" "`bpo-20746 `__: Fix test_pdb to run in " "refleak mode (-R). Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:29154 msgid "" "`bpo-22060 `__: test_ctypes has been " "somewhat cleaned up and simplified; it now uses unittest test discovery to " "find its tests." msgstr "" #: ../build/NEWS:29157 msgid "" "`bpo-22104 `__: regrtest.py no longer " "holds a reference to the suite of tests loaded from test modules that don't " "define test_main()." msgstr "" #: ../build/NEWS:29160 msgid "" "`bpo-22111 `__: Assorted cleanups in " "test_imaplib. Patch by Milan Oberkirch." msgstr "" #: ../build/NEWS:29162 msgid "" "`bpo-22002 `__: Added " "``load_package_tests`` function to test.support and used it to implement/" "augment test discovery in test_asyncio, test_email, test_importlib, " "test_json, and test_tools." msgstr "" #: ../build/NEWS:29166 msgid "" "`bpo-21976 `__: Fix test_ssl to accept " "LibreSSL version strings. Thanks to William Orr." msgstr "" #: ../build/NEWS:29169 msgid "" "`bpo-21918 `__: Converted test_tools " "from a module to a package containing separate test files for each tested " "script." msgstr "" #: ../build/NEWS:29172 msgid "" "`bpo-9554 `__: Use modern unittest " "features in test_argparse. Initial patch by Denver Coneybeare and Radu " "Voicilas." msgstr "" #: ../build/NEWS:29175 msgid "" "`bpo-20155 `__: Changed HTTP method " "names in failing tests in test_httpservers so that packet filtering software " "(specifically Windows Base Filtering Engine) does not interfere with the " "transaction semantics expected by the tests." msgstr "" #: ../build/NEWS:29180 msgid "" "`bpo-19493 `__: Refactored the ctypes " "test package to skip tests explicitly rather than silently." msgstr "" #: ../build/NEWS:29183 msgid "" "`bpo-18492 `__: All resources are now " "allowed when tests are not run by regrtest.py." msgstr "" #: ../build/NEWS:29186 msgid "" "`bpo-21634 `__: Fix pystone micro-" "benchmark: use floor division instead of true division to benchmark integers " "instead of floating point numbers. Set pystone version to 1.2. Patch written " "by Lennart Regebro." msgstr "" #: ../build/NEWS:29190 msgid "" "`bpo-21605 `__: Added tests for Tkinter " "images." msgstr "" #: ../build/NEWS:29192 msgid "" "`bpo-21493 `__: Added test for ntpath." "expanduser(). Original patch by Claudiu Popa." msgstr "" #: ../build/NEWS:29195 msgid "" "`bpo-19925 `__: Added tests for the spwd " "module. Original patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:29198 msgid "" "`bpo-21522 `__: Added Tkinter tests for " "Listbox.itemconfigure(), PanedWindow.paneconfigure(), and Menu." "entryconfigure()." msgstr "" #: ../build/NEWS:29201 msgid "" "`bpo-17756 `__: Fix test_code test when " "run from the installed location." msgstr "" #: ../build/NEWS:29203 msgid "" "`bpo-17752 `__: Fix distutils tests when " "run from the installed location." msgstr "" #: ../build/NEWS:29205 msgid "" "`bpo-18604 `__: Consolidated checks for " "GUI availability. All platforms now at least check whether Tk can be " "instantiated when the GUI resource is requested." msgstr "" #: ../build/NEWS:29209 msgid "" "`bpo-21275 `__: Fix a socket test on " "KFreeBSD." msgstr "" #: ../build/NEWS:29211 msgid "" "`bpo-21223 `__: Pass test_site/" "test_startup_imports when some of the extensions are built as builtins." msgstr "" #: ../build/NEWS:29214 msgid "" "`bpo-20635 `__: Added tests for Tk " "geometry managers." msgstr "" #: ../build/NEWS:29216 msgid "Add test case for freeze." msgstr "" #: ../build/NEWS:29218 msgid "" "`bpo-20743 `__: Fix a reference leak in " "test_tcl." msgstr "" #: ../build/NEWS:29220 msgid "" "`bpo-21097 `__: Move test_namespace_pkgs " "into test_importlib." msgstr "" #: ../build/NEWS:29222 msgid "" "`bpo-21503 `__: Use test_both() " "consistently in test_importlib." msgstr "" #: ../build/NEWS:29224 msgid "" "`bpo-20939 `__: Avoid various network " "test failures due to new redirect of http://www.python.org/ to https://www." "python.org: use http://www.example.com instead." msgstr "" #: ../build/NEWS:29228 msgid "" "`bpo-20668 `__: asyncio tests no longer " "rely on tests.txt file. (Patch by Vajrasky Kok)" msgstr "" #: ../build/NEWS:29231 msgid "" "`bpo-21093 `__: Prevent failures of " "ctypes test_macholib on OS X if a copy of libz exists in $HOME/lib or /usr/" "local/lib." msgstr "" #: ../build/NEWS:29234 msgid "" "`bpo-22770 `__: Prevent some Tk " "segfaults on OS X when running gui tests." msgstr "" #: ../build/NEWS:29236 msgid "" "`bpo-23211 `__: Workaround test_logging " "failure on some OS X 10.6 systems." msgstr "" #: ../build/NEWS:29238 msgid "" "`bpo-23345 `__: Prevent test_ssl " "failures with large OpenSSL patch level values (like 0.9.8zc)." msgstr "" #: ../build/NEWS:29244 msgid "" "`bpo-22314 `__: pydoc now works when the " "LINES environment variable is set." msgstr "" #: ../build/NEWS:29246 msgid "" "`bpo-22615 `__: Argument Clinic now " "supports the \"type\" argument for the int converter. This permits using the " "int converter with enums and typedefs." msgstr "" #: ../build/NEWS:29249 msgid "" "`bpo-20076 `__: The makelocalealias.py " "script no longer ignores UTF-8 mapping." msgstr "" #: ../build/NEWS:29251 msgid "" "`bpo-20079 `__: The makelocalealias.py " "script now can parse the SUPPORTED file from glibc sources and supports " "command line options for source paths." msgstr "" #: ../build/NEWS:29254 msgid "" "`bpo-22201 `__: Command-line interface " "of the zipfile module now correctly extracts ZIP files with directory " "entries. Patch by Ryan Wilson." msgstr "" #: ../build/NEWS:29257 msgid "" "`bpo-22120 `__: For functions using an " "unsigned integer return converter, Argument Clinic now generates a cast to " "that type for the comparison to -1 in the generated code. (This suppresses " "a compilation warning.)" msgstr "" #: ../build/NEWS:29261 msgid "" "`bpo-18974 `__: Tools/scripts/diff.py " "now uses argparse instead of optparse." msgstr "" #: ../build/NEWS:29263 msgid "" "`bpo-21906 `__: Make Tools/scripts/" "md5sum.py work in Python 3. Patch by Zachary Ware." msgstr "" #: ../build/NEWS:29266 msgid "" "`bpo-21629 `__: Fix Argument Clinic's " "\"--converters\" feature." msgstr "" #: ../build/NEWS:29268 msgid "Add support for ``yield from`` to 2to3." msgstr "" #: ../build/NEWS:29270 msgid "Add support for the :pep:`465` matrix multiplication operator to 2to3." msgstr "" #: ../build/NEWS:29272 msgid "" "`bpo-16047 `__: Fix module exception " "list and __file__ handling in freeze. Patch by Meador Inge." msgstr "" #: ../build/NEWS:29275 msgid "" "`bpo-11824 `__: Consider ABI tags in " "freeze. Patch by Meador Inge." msgstr "" #: ../build/NEWS:29277 msgid "" "`bpo-20535 `__: PYTHONWARNING no longer " "affects the run_tests.py script. Patch by Arfrever Frehtes Taifersar " "Arahesis." msgstr "" #: ../build/NEWS:29283 msgid "" "`bpo-23260 `__: Update Windows installer" msgstr "" #: ../build/NEWS:29285 msgid "" "The bundled version of Tcl/Tk has been updated to 8.6.3. The most visible " "result of this change is the addition of new native file dialogs when " "running on Windows Vista or newer. See Tcl/Tk's TIP 432 for more " "information. Also, this version of Tcl/Tk includes support for Windows 10." msgstr "" #: ../build/NEWS:29291 msgid "" "`bpo-17896 `__: The Windows build " "scripts now expect external library sources to be in ``PCbuild\\.." "\\externals`` rather than ``PCbuild\\..\\..``." msgstr "" #: ../build/NEWS:29294 msgid "" "`bpo-17717 `__: The Windows build " "scripts now use a copy of NASM pulled from svn.python.org to build OpenSSL." msgstr "" #: ../build/NEWS:29297 msgid "" "`bpo-21907 `__: Improved the batch " "scripts provided for building Python." msgstr "" #: ../build/NEWS:29299 msgid "" "`bpo-22644 `__: The bundled version of " "OpenSSL has been updated to 1.0.1j." msgstr "" #: ../build/NEWS:29301 msgid "" "`bpo-10747 `__: Use versioned labels in " "the Windows start menu. Patch by Olive Kilburn." msgstr "" #: ../build/NEWS:29304 msgid "" "`bpo-22980 `__: .pyd files with a " "version and platform tag (for example, \".cp35-win32.pyd\") will now be " "loaded in preference to those without tags." msgstr "" #: ../build/NEWS:29308 msgid "**(For information about older versions, consult the HISTORY file.)**" msgstr ""