# 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-01-27 19:26+0100\n" "PO-Revision-Date: 2017-08-29 14:38+0200\n" "Last-Translator: Julien Palard \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" "X-Generator: Poedit 2.0.2\n" #: whatsnew/changelog.rst:5 msgid "Changelog" msgstr "Changements" #: ../build/NEWS:5 msgid "Python next" msgstr "" #: ../build/NEWS:7 msgid "*Release date: XXXX-XX-XX*" msgstr "" #: ../build/NEWS:10 ../build/NEWS:166 ../build/NEWS:744 ../build/NEWS:1104 #: ../build/NEWS:2257 ../build/NEWS:2619 ../build/NEWS:3063 ../build/NEWS:3573 #: ../build/NEWS:3915 ../build/NEWS:4283 ../build/NEWS:4699 ../build/NEWS:6615 #: ../build/NEWS:7374 ../build/NEWS:7912 ../build/NEWS:8217 ../build/NEWS:8479 #: ../build/NEWS:11459 ../build/NEWS:11571 ../build/NEWS:11784 #: ../build/NEWS:11975 ../build/NEWS:12185 ../build/NEWS:12429 #: ../build/NEWS:12748 ../build/NEWS:13052 ../build/NEWS:13652 #: ../build/NEWS:13941 ../build/NEWS:16031 ../build/NEWS:16368 #: ../build/NEWS:16685 ../build/NEWS:17134 ../build/NEWS:17615 #: ../build/NEWS:17967 ../build/NEWS:17991 ../build/NEWS:18315 #: ../build/NEWS:18345 ../build/NEWS:18409 ../build/NEWS:18523 #: ../build/NEWS:18647 ../build/NEWS:18915 ../build/NEWS:19424 #: ../build/NEWS:19662 ../build/NEWS:19882 ../build/NEWS:20185 #: ../build/NEWS:21519 ../build/NEWS:21580 ../build/NEWS:21972 #: ../build/NEWS:22663 ../build/NEWS:22684 ../build/NEWS:23441 #: ../build/NEWS:23459 ../build/NEWS:23982 ../build/NEWS:24017 #: ../build/NEWS:24045 ../build/NEWS:24137 ../build/NEWS:24224 #: ../build/NEWS:24329 ../build/NEWS:24372 ../build/NEWS:24648 #: ../build/NEWS:24883 ../build/NEWS:25069 ../build/NEWS:25208 msgid "Core and Builtins" msgstr "" #: ../build/NEWS:12 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:16 msgid "" "`bpo-30858 `__: Improve error location " "in expressions that contain assignments. Patch by Pablo Galindo and " "Lysandros Nikolaou." msgstr "" #: ../build/NEWS:19 msgid "" "`bpo-42615 `__: Remove jump commands " "made redundant by the deletion of unreachable bytecode blocks" msgstr "" #: ../build/NEWS:22 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:26 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:30 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:43 ../build/NEWS:268 ../build/NEWS:824 ../build/NEWS:1444 #: ../build/NEWS:2315 ../build/NEWS:2703 ../build/NEWS:3190 ../build/NEWS:3650 #: ../build/NEWS:4013 ../build/NEWS:4360 ../build/NEWS:5016 ../build/NEWS:6779 #: ../build/NEWS:7443 ../build/NEWS:7987 ../build/NEWS:8281 ../build/NEWS:9033 #: ../build/NEWS:11441 ../build/NEWS:11474 ../build/NEWS:11602 #: ../build/NEWS:11810 ../build/NEWS:12001 ../build/NEWS:12206 #: ../build/NEWS:12504 ../build/NEWS:12825 ../build/NEWS:13150 #: ../build/NEWS:13740 ../build/NEWS:14399 ../build/NEWS:16068 #: ../build/NEWS:16414 ../build/NEWS:16780 ../build/NEWS:17104 #: ../build/NEWS:17206 ../build/NEWS:17662 ../build/NEWS:17697 #: ../build/NEWS:18059 ../build/NEWS:18362 ../build/NEWS:18444 #: ../build/NEWS:18547 ../build/NEWS:18717 ../build/NEWS:19052 #: ../build/NEWS:19470 ../build/NEWS:19679 ../build/NEWS:19763 #: ../build/NEWS:19780 ../build/NEWS:19922 ../build/NEWS:19948 #: ../build/NEWS:19998 ../build/NEWS:20470 ../build/NEWS:20593 #: ../build/NEWS:20703 ../build/NEWS:20793 ../build/NEWS:21525 #: ../build/NEWS:21543 ../build/NEWS:21631 ../build/NEWS:22103 #: ../build/NEWS:22417 ../build/NEWS:22428 ../build/NEWS:22822 #: ../build/NEWS:22854 ../build/NEWS:22966 ../build/NEWS:23020 #: ../build/NEWS:23089 ../build/NEWS:23527 ../build/NEWS:23965 #: ../build/NEWS:23992 ../build/NEWS:24030 ../build/NEWS:24050 #: ../build/NEWS:24157 ../build/NEWS:24251 ../build/NEWS:24347 #: ../build/NEWS:24422 ../build/NEWS:24680 ../build/NEWS:24903 #: ../build/NEWS:25076 ../build/NEWS:25434 msgid "Library" msgstr "" #: ../build/NEWS:45 msgid "" "`bpo-37961 `__: Fix crash in :func:" "`tracemalloc.Traceback.__repr__` (regressed in Python 3.9)." msgstr "" #: ../build/NEWS:48 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:52 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:56 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:61 msgid "" "`bpo-36541 `__: Fixed lib2to3.pgen2 to " "be able to parse PEP-570 positional only argument syntax." msgstr "" #: ../build/NEWS:64 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:68 msgid "" "`bpo-39717 `__: [tarfile] update nested " "exception raising to use `from None` or `from e`" msgstr "" #: ../build/NEWS:71 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:77 msgid "" "`bpo-42385 `__: StrEnum: fix " "_generate_next_value_ to return a str" msgstr "" #: ../build/NEWS:79 msgid "" "`bpo-31904 `__: Define THREAD_STACK_SIZE " "for VxWorks." msgstr "" #: ../build/NEWS:81 msgid "" "`bpo-34750 `__: [Enum] `_EnumDict." "update()` is now supported" msgstr "" #: ../build/NEWS:83 msgid "" "`bpo-42517 `__: Enum: private names do " "not become members / do not generate errors -- they remain normal attributes" msgstr "" #: ../build/NEWS:86 msgid "" "`bpo-42678 `__: `Enum`: call " "`__init_subclass__` after members have been added" msgstr "" #: ../build/NEWS:88 msgid "" "`bpo-42090 `__: ``zipfile.Path." "joinpath`` now accepts arbitrary arguments, same as ``pathlib.Path." "joinpath``." msgstr "" #: ../build/NEWS:91 msgid "" "`bpo-1635741 `__: Port the _csv module " "to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:94 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:99 msgid "" "`bpo-41907 `__: fix `format()` behavior " "for `IntFlag`" msgstr "" #: ../build/NEWS:101 msgid "" "`bpo-41462 `__: Add :func:`os." "set_blocking()` support for VxWorks RTOS." msgstr "" #: ../build/NEWS:103 msgid "" "`bpo-40219 `__: Lowered :class:`tkinter." "ttk.LabeledScale` dummy widget to prevent hiding part of the content label." msgstr "" #: ../build/NEWS:107 ../build/NEWS:516 ../build/NEWS:991 ../build/NEWS:1971 #: ../build/NEWS:2493 ../build/NEWS:2934 ../build/NEWS:3397 ../build/NEWS:3807 #: ../build/NEWS:4536 ../build/NEWS:5969 ../build/NEWS:7217 ../build/NEWS:7670 #: ../build/NEWS:8126 ../build/NEWS:8365 ../build/NEWS:10705 #: ../build/NEWS:11740 ../build/NEWS:11894 ../build/NEWS:12110 #: ../build/NEWS:12362 ../build/NEWS:12676 ../build/NEWS:13008 #: ../build/NEWS:13492 ../build/NEWS:15485 ../build/NEWS:16229 #: ../build/NEWS:16342 ../build/NEWS:16567 ../build/NEWS:16957 #: ../build/NEWS:17354 ../build/NEWS:17936 ../build/NEWS:18247 #: ../build/NEWS:18498 ../build/NEWS:18633 ../build/NEWS:18904 #: ../build/NEWS:19334 ../build/NEWS:19607 ../build/NEWS:19870 #: ../build/NEWS:20133 ../build/NEWS:21324 ../build/NEWS:21884 #: ../build/NEWS:22547 ../build/NEWS:22668 ../build/NEWS:23315 #: ../build/NEWS:23880 ../build/NEWS:24124 ../build/NEWS:24301 #: ../build/NEWS:24610 ../build/NEWS:24839 ../build/NEWS:25049 #: ../build/NEWS:26859 msgid "Tests" msgstr "" #: ../build/NEWS:109 msgid "" "`bpo-31904 `__: Skip some asyncio tests " "on VxWorks." msgstr "" #: ../build/NEWS:111 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:115 msgid "" "`bpo-31904 `__: Skip some tests in " "_test_all_chown_common() on VxWorks." msgstr "" #: ../build/NEWS:117 msgid "" "`bpo-41443 `__: Add more attribute " "checking in test_posix.py" msgstr "" #: ../build/NEWS:119 msgid "" "`bpo-31904 `__: Disable os.popen and " "impacted tests on VxWorks" msgstr "" #: ../build/NEWS:121 msgid "" "`bpo-41439 `__: Port test_ssl and " "test_uuid to VxWorks RTOS." msgstr "" #: ../build/NEWS:124 ../build/NEWS:551 ../build/NEWS:1007 ../build/NEWS:2022 #: ../build/NEWS:2502 ../build/NEWS:2960 ../build/NEWS:3413 ../build/NEWS:3816 #: ../build/NEWS:4220 ../build/NEWS:4591 ../build/NEWS:6139 ../build/NEWS:7253 #: ../build/NEWS:7724 ../build/NEWS:8139 ../build/NEWS:10872 #: ../build/NEWS:11527 ../build/NEWS:11749 ../build/NEWS:11900 #: ../build/NEWS:12120 ../build/NEWS:12367 ../build/NEWS:12696 #: ../build/NEWS:13519 ../build/NEWS:13839 ../build/NEWS:15548 #: ../build/NEWS:16237 ../build/NEWS:16347 ../build/NEWS:16582 #: ../build/NEWS:16974 ../build/NEWS:17110 ../build/NEWS:17370 #: ../build/NEWS:17894 ../build/NEWS:17978 ../build/NEWS:18269 #: ../build/NEWS:18334 ../build/NEWS:18506 ../build/NEWS:18624 #: ../build/NEWS:18893 ../build/NEWS:19348 ../build/NEWS:19634 #: ../build/NEWS:19831 ../build/NEWS:20150 ../build/NEWS:21367 #: ../build/NEWS:21922 ../build/NEWS:22593 ../build/NEWS:23338 #: ../build/NEWS:23893 ../build/NEWS:23953 ../build/NEWS:23970 #: ../build/NEWS:24212 ../build/NEWS:24317 ../build/NEWS:24830 #: ../build/NEWS:25044 ../build/NEWS:25179 ../build/NEWS:26710 msgid "Build" msgstr "" #: ../build/NEWS:126 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:130 msgid "" "`bpo-31904 `__: Enable libpython3.so for " "VxWorks." msgstr "" #: ../build/NEWS:133 ../build/NEWS:619 ../build/NEWS:2537 ../build/NEWS:2999 #: ../build/NEWS:3472 ../build/NEWS:6454 ../build/NEWS:7314 ../build/NEWS:7853 #: ../build/NEWS:8194 ../build/NEWS:11318 ../build/NEWS:11940 #: ../build/NEWS:12157 ../build/NEWS:12417 ../build/NEWS:13023 #: ../build/NEWS:13611 ../build/NEWS:15924 ../build/NEWS:16312 #: ../build/NEWS:16653 ../build/NEWS:17076 ../build/NEWS:17562 #: ../build/NEWS:17930 ../build/NEWS:18324 ../build/NEWS:18398 #: ../build/NEWS:19383 ../build/NEWS:19853 ../build/NEWS:20173 #: ../build/NEWS:21448 ../build/NEWS:22566 ../build/NEWS:23413 #: ../build/NEWS:23942 ../build/NEWS:24629 ../build/NEWS:24848 #: ../build/NEWS:25056 ../build/NEWS:26967 msgid "Tools/Demos" msgstr "" #: ../build/NEWS:135 msgid "" "`bpo-42613 `__: Fix ``freeze.py`` tool " "to use the prope config and library directories. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:139 ../build/NEWS:629 ../build/NEWS:1047 ../build/NEWS:2140 #: ../build/NEWS:2550 ../build/NEWS:3011 ../build/NEWS:3484 ../build/NEWS:3856 #: ../build/NEWS:4244 ../build/NEWS:4631 ../build/NEWS:6479 ../build/NEWS:7320 #: ../build/NEWS:7858 ../build/NEWS:8201 ../build/NEWS:11357 #: ../build/NEWS:11447 ../build/NEWS:12163 ../build/NEWS:12733 #: ../build/NEWS:13030 ../build/NEWS:13623 ../build/NEWS:13885 #: ../build/NEWS:15955 ../build/NEWS:16330 ../build/NEWS:16663 #: ../build/NEWS:17083 ../build/NEWS:17888 ../build/NEWS:18217 #: ../build/NEWS:18385 ../build/NEWS:18886 ../build/NEWS:19325 #: ../build/NEWS:19824 ../build/NEWS:20165 ../build/NEWS:21469 #: ../build/NEWS:21944 ../build/NEWS:22533 ../build/NEWS:24872 #: ../build/NEWS:25187 ../build/NEWS:26790 msgid "C API" msgstr "" #: ../build/NEWS:141 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:145 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:149 msgid "" "`bpo-42111 `__: Update the ``xxlimited`` " "module to be a better example of how to use the limited C API." msgstr "" #: ../build/NEWS:154 msgid "Python 3.10.0 alpha 3" msgstr "" #: ../build/NEWS:156 msgid "*Release date: 2020-12-07*" msgstr "" #: ../build/NEWS:159 ../build/NEWS:733 ../build/NEWS:1083 ../build/NEWS:2251 #: ../build/NEWS:2604 ../build/NEWS:3056 ../build/NEWS:3562 ../build/NEWS:4265 #: ../build/NEWS:4650 ../build/NEWS:6600 ../build/NEWS:7356 ../build/NEWS:7900 #: ../build/NEWS:8430 ../build/NEWS:11961 ../build/NEWS:12179 #: ../build/NEWS:13907 ../build/NEWS:16358 ../build/NEWS:17125 #: ../build/NEWS:17588 ../build/NEWS:17690 ../build/NEWS:19756 #: ../build/NEWS:19775 ../build/NEWS:19940 ../build/NEWS:19991 #: ../build/NEWS:20586 ../build/NEWS:20697 ../build/NEWS:20787 #: ../build/NEWS:21496 ../build/NEWS:21555 ../build/NEWS:22410 #: ../build/NEWS:22423 ../build/NEWS:22814 ../build/NEWS:22847 #: ../build/NEWS:22959 ../build/NEWS:23014 ../build/NEWS:23083 msgid "Security" msgstr "" #: ../build/NEWS:161 msgid "" "`bpo-40791 `__: Add ``volatile`` to the " "accumulator variable in ``hmac.compare_digest``, making constant-time-" "defeating optimizations less likely." msgstr "" #: ../build/NEWS:168 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:174 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:178 msgid ":meth:`collections.OrderedDict.items() `" msgstr "" #: ../build/NEWS:180 msgid ":meth:`dict.items`" msgstr "" #: ../build/NEWS:182 msgid ":func:`enumerate`" msgstr "" #: ../build/NEWS:184 msgid ":func:`functools.reduce`" msgstr "" #: ../build/NEWS:186 msgid ":func:`itertools.combinations`" msgstr "" #: ../build/NEWS:188 msgid ":func:`itertools.combinations_with_replacement`" msgstr "" #: ../build/NEWS:190 msgid ":func:`itertools.permutations`" msgstr "" #: ../build/NEWS:192 msgid ":func:`itertools.product`" msgstr "" #: ../build/NEWS:194 msgid ":func:`itertools.zip_longest`" msgstr "" #: ../build/NEWS:196 msgid ":func:`zip`" msgstr "" #: ../build/NEWS:198 msgid "" "Previously, they could have become untracked by a prior garbage collection. " "Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:201 msgid "" "`bpo-42500 `__: Improve handling of " "exceptions near recursion limit. Converts a number of Fatal Errors in " "RecursionErrors." msgstr "" #: ../build/NEWS:204 msgid "" "`bpo-42246 `__: PEP 626: After a return, " "the f_lineno attribute of a frame is always the last line executed." msgstr "" #: ../build/NEWS:207 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:211 msgid "" "`bpo-1635741 `__: Port the " "``_warnings`` extension module to the multi-phase initialization API (:pep:" "`489`). Patch by Victor Stinner." msgstr "" #: ../build/NEWS:214 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:219 msgid "" "`bpo-42381 `__: Allow assignment " "expressions in set literals and set comprehensions as per PEP 572. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:222 msgid "" "`bpo-42202 `__: Change function " "parameters annotations internal representation to tuple of strings. Patch " "provided by Yurii Karabas." msgstr "" #: ../build/NEWS:225 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:229 msgid "" "`bpo-42316 `__: Allow an unparenthesized " "walrus in subscript indexes." msgstr "" #: ../build/NEWS:231 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:235 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:240 msgid "" "`bpo-42332 `__: :class:`types." "GenericAlias` objects can now be the targets of weakrefs." msgstr "" #: ../build/NEWS:243 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:247 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:251 msgid "" "`bpo-40077 `__: Convert :mod:`queue` to " "use heap types." msgstr "" #: ../build/NEWS:253 msgid "" "`bpo-42246 `__: Improved accuracy of " "line tracing events and f_lineno attribute of Frame objects. See PEP 626 for " "details." msgstr "" #: ../build/NEWS:256 msgid "" "`bpo-40077 `__: Convert :mod:`mmap` to " "use heap types." msgstr "" #: ../build/NEWS:258 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:264 msgid "" "`bpo-26131 `__: The import system " "triggers a `ImportWarning` when it falls back to using `load_module()`." msgstr "" #: ../build/NEWS:270 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:274 msgid "Original Patch by Martin Panter. Modified by Senthil Kumaran." msgstr "" #: ../build/NEWS:276 msgid "" "`bpo-42562 `__: Fix issue when dis " "failed to parse function that has no line numbers. Patch provided by Yurii " "Karabas." msgstr "" #: ../build/NEWS:279 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:284 msgid "" "`bpo-42116 `__: Fix handling of trailing " "comments by :func:`inspect.getsource`." msgstr "" #: ../build/NEWS:286 msgid "" "`bpo-42532 `__: Remove unexpected call " "of ``__bool__`` when passing a ``spec_arg`` argument to a Mock." msgstr "" #: ../build/NEWS:289 msgid "" "`bpo-38200 `__: Added itertools." "pairwise()" msgstr "" #: ../build/NEWS:291 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:294 msgid "" "`bpo-42487 `__: ChainMap.__iter__ no " "longer calls __getitem__ on underlying maps" msgstr "" #: ../build/NEWS:297 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:302 msgid "" "`bpo-41818 `__: Make test_openpty() " "avoid unexpected success due to number of rows and/or number of columns " "being == 0." msgstr "" #: ../build/NEWS:305 msgid "" "`bpo-42392 `__: Remove loop parameter " "from ``asyncio.subprocess`` and ``asyncio.tasks`` functions. Patch provided " "by Yurii Karabas." msgstr "" #: ../build/NEWS:308 msgid "" "`bpo-42392 `__: Remove loop parameter " "from ``asyncio.open_connection`` and ``asyncio.start_server`` functions. " "Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:311 msgid "" "`bpo-28468 `__: Add :func:`platform." "freedesktop_os_release` function to parse freedesktop.org ``os-release`` " "files." msgstr "" #: ../build/NEWS:314 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:321 msgid "" "`bpo-26131 `__: Deprecate zipimport." "zipimporter.load_module() in favour of exec_module()." msgstr "" #: ../build/NEWS:324 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:331 msgid "" "`bpo-42392 `__: Remove loop parameter " "from ``__init__`` in all ``asyncio.locks`` and ``asyncio.Queue`` classes. " "Patch provided by Yurii Karabas." msgstr "" #: ../build/NEWS:335 msgid "" "`bpo-15450 `__: Make :class:`filecmp." "dircmp` respect subclassing. Now the :attr:`filecmp.dircmp.subdirs` behaves " "as expected when subclassing dircmp." msgstr "" #: ../build/NEWS:339 msgid "" "`bpo-42413 `__: The exception :exc:" "`socket.timeout` is now an alias of :exc:`TimeoutError`." msgstr "" #: ../build/NEWS:342 msgid "" "`bpo-31904 `__: Support signal module on " "VxWorks." msgstr "" #: ../build/NEWS:344 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:348 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:354 msgid "" "`bpo-1635741 `__: Convert _sre module " "types to heap types (PEP 384). Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:357 msgid "" "`bpo-42375 `__: subprocess module update " "for DragonFlyBSD support." msgstr "" #: ../build/NEWS:359 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:363 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:367 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:372 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:376 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:383 msgid "" "`bpo-42318 `__: Fixed support of non-BMP " "characters in :mod:`tkinter` on macOS." msgstr "" #: ../build/NEWS:385 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:389 msgid "" "`bpo-42333 `__: Port _ssl extension " "module to heap types." msgstr "" #: ../build/NEWS:391 msgid "" "`bpo-42014 `__: The ``onerror`` callback " "from ``shutil.rmtree`` now receives correct function when ``os.open`` fails." msgstr "" #: ../build/NEWS:394 msgid "" "`bpo-42237 `__: Fix `os.sendfile()` on " "illumos." msgstr "" #: ../build/NEWS:396 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:400 msgid "" "`bpo-42131 `__: Implement PEP 451/spec " "methods on zipimport.zipimporter: find_spec(), create_module(), and " "exec_module()." msgstr "" #: ../build/NEWS:403 msgid "" "This also allows for the documented deprecation of find_loader(), " "find_module(), and load_module()." msgstr "" #: ../build/NEWS:406 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:411 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:415 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:420 msgid "" "`bpo-42249 `__: Fixed writing binary " "Plist files larger than 4 GiB." msgstr "" #: ../build/NEWS:422 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:426 msgid "" "`bpo-41754 `__: webbrowser: Ignore " "*NotADirectoryError* when calling ``xdg-settings``." msgstr "" #: ../build/NEWS:429 msgid "" "`bpo-42183 `__: Fix a stack overflow " "error for asyncio Task or Future repr()." msgstr "" #: ../build/NEWS:431 msgid "" "The overflow occurs under some circumstances when a Task or Future " "recursively returns itself." msgstr "" #: ../build/NEWS:434 msgid "" "`bpo-42140 `__: Improve asyncio.wait " "function to create the futures set just one time." msgstr "" #: ../build/NEWS:437 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:440 msgid "" "`bpo-26131 `__: The `load_module()` " "methods found in importlib now trigger a DeprecationWarning." msgstr "" #: ../build/NEWS:443 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:449 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:454 msgid "" "`bpo-41889 `__: Enum: fix regression " "involving inheriting a multiply-inherited enum" msgstr "" #: ../build/NEWS:457 msgid "" "`bpo-41861 `__: Convert :mod:`sqlite3` " "to use heap types (PEP 384). Patch by Erlend E. Aasland." msgstr "" #: ../build/NEWS:460 msgid "" "`bpo-40624 `__: Added support for the " "XPath ``!=`` operator in xml.etree" msgstr "" #: ../build/NEWS:462 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:466 msgid "" "`bpo-41625 `__: Expose the :c:func:" "`splice` as :func:`os.splice` in the :mod:`os` module. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:469 msgid "" "`bpo-34215 `__: Clarify the error " "message for :exc:`asyncio.IncompleteReadError` when ``expected`` is ``None``." msgstr "" #: ../build/NEWS:472 msgid "" "`bpo-41543 `__: Add async context " "manager support for contextlib.nullcontext." msgstr "" #: ../build/NEWS:474 msgid "" "`bpo-21041 `__: :attr:`pathlib.PurePath." "parents` now supports negative indexing. Patch contributed by Yaroslav " "Pankovych." msgstr "" #: ../build/NEWS:477 msgid "" "`bpo-41332 `__: Added missing " "connect_accepted_socket() method to ``asyncio.AbstractEventLoop``." msgstr "" #: ../build/NEWS:480 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:485 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:489 msgid "" "`bpo-41001 `__: Add func:`os.eventfd` to " "provide a low level interface for Linux's event notification file descriptor." msgstr "" #: ../build/NEWS:492 msgid "" "`bpo-40816 `__: Add " "AsyncContextDecorator to contextlib to support async context manager as a " "decorator." msgstr "" #: ../build/NEWS:495 msgid "" "`bpo-40550 `__: Fix time-of-check/time-" "of-action issue in subprocess.Popen.send_signal." msgstr "" #: ../build/NEWS:498 msgid "" "`bpo-39411 `__: Add an ``is_async`` " "identifier to :mod:`pyclbr`'s ``Function`` objects. Patch by Batuhan Taskaya" msgstr "" #: ../build/NEWS:501 msgid "" "`bpo-35498 `__: Add slice support to :" "attr:`pathlib.PurePath.parents`." msgstr "" #: ../build/NEWS:504 ../build/NEWS:970 ../build/NEWS:1929 ../build/NEWS:2476 #: ../build/NEWS:2920 ../build/NEWS:3378 ../build/NEWS:3782 ../build/NEWS:4206 #: ../build/NEWS:4522 ../build/NEWS:5865 ../build/NEWS:7169 ../build/NEWS:7635 #: ../build/NEWS:8112 ../build/NEWS:8354 ../build/NEWS:10540 #: ../build/NEWS:11515 ../build/NEWS:11725 ../build/NEWS:11875 #: ../build/NEWS:12093 ../build/NEWS:12338 ../build/NEWS:12663 #: ../build/NEWS:13003 ../build/NEWS:13486 ../build/NEWS:13829 #: ../build/NEWS:15437 ../build/NEWS:16191 ../build/NEWS:16547 #: ../build/NEWS:16944 ../build/NEWS:17342 ../build/NEWS:17914 #: ../build/NEWS:18234 ../build/NEWS:18390 ../build/NEWS:18493 #: ../build/NEWS:19861 ../build/NEWS:20121 ../build/NEWS:21306 #: ../build/NEWS:21866 ../build/NEWS:22542 ../build/NEWS:23292 #: ../build/NEWS:23856 ../build/NEWS:24109 ../build/NEWS:24308 #: ../build/NEWS:24619 ../build/NEWS:26819 msgid "Documentation" msgstr "" #: ../build/NEWS:506 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:510 msgid "" "`bpo-42153 `__: Fix the URL for the IMAP " "protocol documents." msgstr "" #: ../build/NEWS:512 msgid "" "`bpo-41028 `__: Language and version " "switchers, previously maintained in every cpython branches, are now handled " "by docsbuild-script." msgstr "" #: ../build/NEWS:518 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:522 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:526 msgid "" "`bpo-31904 `__: Fix test_netrc on " "VxWorks: create temporary directories using temp_cwd()." msgstr "" #: ../build/NEWS:529 msgid "" "`bpo-31904 `__: skip " "test_getaddrinfo_ipv6_scopeid_symbolic and " "test_getnameinfo_ipv6_scopeid_symbolic on VxWorks" msgstr "" #: ../build/NEWS:532 msgid "" "`bpo-31904 `__: skip test_test of " "test_mailcap on VxWorks" msgstr "" #: ../build/NEWS:534 msgid "" "`bpo-31904 `__: add shell requirement " "for test_pipes" msgstr "" #: ../build/NEWS:536 msgid "" "`bpo-31904 `__: skip some tests related " "to fifo on VxWorks" msgstr "" #: ../build/NEWS:538 msgid "" "`bpo-31904 `__: Fix test_doctest.py " "failures for VxWorks." msgstr "" #: ../build/NEWS:540 msgid "" "`bpo-40754 `__: Include " "``_testinternalcapi`` module in Windows installer for test suite" msgstr "" #: ../build/NEWS:543 msgid "" "`bpo-41561 `__: test_ssl: skip " "test_min_max_version_mismatch when TLS 1.0 is not available" msgstr "" #: ../build/NEWS:546 msgid "" "`bpo-31904 `__: Fix os module failures " "for VxWorks RTOS." msgstr "" #: ../build/NEWS:548 msgid "" "`bpo-31904 `__: Fix fifo test cases for " "VxWorks RTOS." msgstr "" #: ../build/NEWS:553 msgid "" "`bpo-31904 `__: remove libnet dependency " "from detect_socket() for VxWorks" msgstr "" #: ../build/NEWS:555 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:560 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:564 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:569 msgid "" "`bpo-42087 `__: Support was removed for " "AIX 5.3 and below. See :issue:`40680`." msgstr "" #: ../build/NEWS:571 msgid "" "`bpo-40998 `__: Addressed three compiler " "warnings found by undefined behavior sanitizer (ubsan)." msgstr "" #: ../build/NEWS:575 ../build/NEWS:1014 ../build/NEWS:2043 ../build/NEWS:2512 #: ../build/NEWS:2972 ../build/NEWS:3430 ../build/NEWS:3821 ../build/NEWS:4601 #: ../build/NEWS:6211 ../build/NEWS:7276 ../build/NEWS:7785 ../build/NEWS:8153 #: ../build/NEWS:8398 ../build/NEWS:10990 ../build/NEWS:11534 #: ../build/NEWS:11917 ../build/NEWS:12125 ../build/NEWS:12372 #: ../build/NEWS:12711 ../build/NEWS:13017 ../build/NEWS:13552 #: ../build/NEWS:15660 ../build/NEWS:16257 ../build/NEWS:16588 #: ../build/NEWS:16999 ../build/NEWS:17376 ../build/NEWS:17950 #: ../build/NEWS:18199 ../build/NEWS:18329 ../build/NEWS:18619 #: ../build/NEWS:18860 ../build/NEWS:19390 ../build/NEWS:19622 #: ../build/NEWS:20143 ../build/NEWS:20159 ../build/NEWS:21430 #: ../build/NEWS:21935 ../build/NEWS:22578 ../build/NEWS:23397 #: ../build/NEWS:23429 ../build/NEWS:23447 ../build/NEWS:23904 #: ../build/NEWS:25193 ../build/NEWS:27006 msgid "Windows" msgstr "" #: ../build/NEWS:577 msgid "" "`bpo-42120 `__: Remove macro definition " "of ``copysign`` (to ``_copysign``) in headers." msgstr "" #: ../build/NEWS:580 msgid "" "`bpo-38506 `__: The Windows launcher now " "properly handles Python 3.10 when listing installed Python versions." msgstr "" #: ../build/NEWS:584 ../build/NEWS:1029 ../build/NEWS:2086 ../build/NEWS:2524 #: ../build/NEWS:2979 ../build/NEWS:3453 ../build/NEWS:4608 ../build/NEWS:6330 #: ../build/NEWS:7290 ../build/NEWS:7838 ../build/NEWS:11100 #: ../build/NEWS:11762 ../build/NEWS:11922 ../build/NEWS:12134 #: ../build/NEWS:12391 ../build/NEWS:12722 ../build/NEWS:13567 #: ../build/NEWS:16262 ../build/NEWS:16613 ../build/NEWS:17008 msgid "macOS" msgstr "" #: ../build/NEWS:586 msgid "" "`bpo-42504 `__: Fix build on macOS Big " "Sur when MACOSX_DEPLOYMENT_TARGET=11" msgstr "" #: ../build/NEWS:588 msgid "" "`bpo-41116 `__: Ensure distutils." "unixxcompiler.find_library_file can find system provided libraries on macOS " "11." msgstr "" #: ../build/NEWS:591 msgid "" "`bpo-41100 `__: Add support for macOS 11 " "and Apple Silicon systems." msgstr "" #: ../build/NEWS:593 msgid "" "It is now possible to build \"Universal 2\" binaries using \"--enable-" "universalsdk --with-universal-archs=universal2\"." msgstr "" #: ../build/NEWS:596 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:600 msgid "" "`bpo-42232 `__: Added Darwin specific " "madvise options to mmap module." msgstr "" #: ../build/NEWS:602 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:607 ../build/NEWS:1034 ../build/NEWS:2107 ../build/NEWS:2989 #: ../build/NEWS:3458 ../build/NEWS:3841 ../build/NEWS:4233 ../build/NEWS:4615 #: ../build/NEWS:6351 ../build/NEWS:7297 ../build/NEWS:7846 ../build/NEWS:8165 #: ../build/NEWS:8414 ../build/NEWS:11136 ../build/NEWS:11539 #: ../build/NEWS:11769 ../build/NEWS:11927 ../build/NEWS:12143 #: ../build/NEWS:12396 ../build/NEWS:13572 ../build/NEWS:13858 #: ../build/NEWS:15727 ../build/NEWS:16267 ../build/NEWS:16621 #: ../build/NEWS:17013 ../build/NEWS:17390 ../build/NEWS:17865 #: ../build/NEWS:18191 ../build/NEWS:19305 ../build/NEWS:19578 #: ../build/NEWS:19789 ../build/NEWS:20059 ../build/NEWS:21196 #: ../build/NEWS:22505 ../build/NEWS:22673 ../build/NEWS:23239 #: ../build/NEWS:23759 ../build/NEWS:24092 ../build/NEWS:24604 #: ../build/NEWS:26627 msgid "IDLE" msgstr "" #: ../build/NEWS:609 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:613 msgid "" "`bpo-42426 `__: Fix reporting offset of " "the RE error in searchengine." msgstr "" #: ../build/NEWS:615 msgid "" "`bpo-42415 `__: Get docstrings for IDLE " "calltips more often by using inspect.getdoc." msgstr "" #: ../build/NEWS:621 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:625 msgid "" "`bpo-36310 `__: Allow :file:`Tools/i18n/" "pygettext.py` to detect calls to ``gettext`` in f-strings." msgstr "" #: ../build/NEWS:631 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:635 msgid "" "`bpo-1635741 `__: Port :mod:`select` " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:638 msgid "" "`bpo-1635741 `__: Port " "_posixsubprocess extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:641 msgid "" "`bpo-1635741 `__: Port _posixshmem " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:644 msgid "" "`bpo-1635741 `__: Port _struct " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:647 msgid "" "`bpo-1635741 `__: Port :mod:`spwd` " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:650 msgid "" "`bpo-1635741 `__: Port :mod:`gc` " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:653 msgid "" "`bpo-1635741 `__: Port _queue " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:656 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:661 msgid "" "`bpo-1635741 `__: Port :mod:`symtable` " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:664 msgid "" "`bpo-1635741 `__: Port :mod:`grp` and :" "mod:`pwd` extension modules to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:667 msgid "" "`bpo-1635741 `__: Port _random " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:670 msgid "" "`bpo-1635741 `__: Port _hashlib " "extension module to multiphase initialization (:pep:`489`)" msgstr "" #: ../build/NEWS:673 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:677 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:681 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:689 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:695 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:699 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:703 msgid "" "`bpo-41832 `__: The :c:func:" "`PyType_FromModuleAndSpec` function now accepts NULL ``tp_doc`` slot." msgstr "" #: ../build/NEWS:706 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:710 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:715 msgid "" "`bpo-42085 `__: Add dedicated entry to " "PyAsyncMethods for sending values" msgstr "" #: ../build/NEWS:717 msgid "" "`bpo-41073 `__: :c:func:" "`PyType_GetSlot()` can now accept static types." msgstr "" #: ../build/NEWS:719 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:728 msgid "Python 3.10.0 alpha 2" msgstr "" #: ../build/NEWS:730 msgid "*Release date: 2020-11-03*" msgstr "" #: ../build/NEWS:735 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:738 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:746 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:750 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:755 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:758 msgid "" "`bpo-42206 `__: Propagate and raise the " "errors caused by :c:func:`PyAST_Validate` in the parser." msgstr "" #: ../build/NEWS:761 msgid "" "`bpo-41796 `__: The :mod:`ast` module " "internal state is now per interpreter. Patch by Victor Stinner." msgstr "" #: ../build/NEWS:764 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:768 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:774 msgid "" "`bpo-42150 `__: Fix possible buffer " "overflow in the new parser when checking for continuation lines. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:777 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:781 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:785 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:789 msgid "" "`bpo-41984 `__: The garbage collector " "now tracks all user-defined classes. Patch by Brandt Bucher." msgstr "" #: ../build/NEWS:792 msgid "" "`bpo-41993 `__: Fixed potential issues " "with removing not completely initialized module from ``sys.modules`` when " "import fails." msgstr "" #: ../build/NEWS:795 msgid "" "`bpo-41979 `__: Star-unpacking is now " "allowed for with item's targets in the PEG parser." msgstr "" #: ../build/NEWS:798 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:803 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:808 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:812 msgid "" "`bpo-41902 `__: Micro optimization for " "range.index if step is 1. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:815 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:819 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:826 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:830 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:835 msgid "" "`bpo-29566 `__: ``binhex.binhex()`` " "consisently writes macOS 9 line endings." msgstr "" #: ../build/NEWS:837 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:842 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:846 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:851 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:855 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:860 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:864 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:867 msgid "" "`bpo-42089 `__: In ``importlib.metadata." "PackageNotFoundError``, make reference to the package metadata being missing " "to improve the user experience." msgstr "" #: ../build/NEWS:870 msgid "" "`bpo-41491 `__: plistlib: fix parsing " "XML plists with hexadecimal integer values" msgstr "" #: ../build/NEWS:873 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:877 msgid "" "`bpo-41966 `__: Fix pickling pure " "Python :class:`datetime.time` subclasses. Patch by Dean Inwood." msgstr "" #: ../build/NEWS:880 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:884 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:887 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:891 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:897 msgid "" "`bpo-42021 `__: Fix possible ref leaks " "in :mod:`sqlite3` module init." msgstr "" #: ../build/NEWS:899 msgid "" "`bpo-39101 `__: Fixed tests using " "IsolatedAsyncioTestCase from hanging on BaseExceptions." msgstr "" #: ../build/NEWS:902 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:906 msgid "" "`bpo-41943 `__: Fix bug where TestCase." "assertLogs doesn't correctly filter messages by level." msgstr "" #: ../build/NEWS:909 msgid "" "`bpo-41923 `__: Implement :pep:`613`, " "introducing :data:`typing.TypeAlias` annotation." msgstr "" #: ../build/NEWS:912 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:916 msgid "" "`bpo-23706 `__: Added *newline* " "parameter to ``pathlib.Path.write_text()``." msgstr "" #: ../build/NEWS:918 msgid "" "`bpo-41876 `__: Tkinter font class repr " "uses font name" msgstr "" #: ../build/NEWS:920 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:924 msgid "" "`bpo-39337 `__: :func:`encodings." "normalize_encoding` now ignores non-ASCII characters." msgstr "" #: ../build/NEWS:927 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:931 msgid "" "`bpo-30681 `__: Handle exceptions caused " "by unparseable date headers when using email \"default\" policy. Patch by " "Tim Bell, Georges Toth" msgstr "" #: ../build/NEWS:934 msgid "" "`bpo-41586 `__: Add F_SETPIPE_SZ and " "F_GETPIPE_SZ to fcntl module. Allow setting pipesize on subprocess.Popen." msgstr "" #: ../build/NEWS:937 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:941 msgid "" "`bpo-16936 `__: Allow ``ctypes." "wintypes`` to be imported on non-Windows systems." msgstr "" #: ../build/NEWS:944 msgid "" "`bpo-4356 `__: Add a key function to the " "bisect module." msgstr "" #: ../build/NEWS:946 msgid "" "`bpo-40592 `__: :func:`shutil.which` now " "ignores empty entries in :envvar:`PATHEXT` instead of treating them as a " "match." msgstr "" #: ../build/NEWS:949 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:953 msgid "" "`bpo-34204 `__: The :mod:`shelve` module " "now uses :data:`pickle.DEFAULT_PROTOCOL` by default instead of :mod:`pickle` " "protocol ``3``." msgstr "" #: ../build/NEWS:957 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:960 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:965 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:972 msgid "" "`bpo-42061 `__: Document __format__ " "functionality for IP addresses." msgstr "" #: ../build/NEWS:974 msgid "" "`bpo-41910 `__: Document the default " "implementation of `object.__eq__`." msgstr "" #: ../build/NEWS:976 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:981 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:985 msgid "" "`bpo-39693 `__: Fix tarfile's " "extractfile documentation" msgstr "" #: ../build/NEWS:987 msgid "" "`bpo-39416 `__: Document some " "restrictions on the default string representations of numeric classes." msgstr "" #: ../build/NEWS:993 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:997 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:1000 msgid "" "`bpo-41944 `__: Tests for CJK codecs no " "longer call ``eval()`` on content received via HTTP." msgstr "" #: ../build/NEWS:1003 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:1009 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:1016 msgid "" "`bpo-38439 `__: Updates the icons for " "IDLE in the Windows Store package." msgstr "" #: ../build/NEWS:1018 msgid "" "`bpo-38252 `__: Use 8-byte step to " "detect ASCII sequence in 64-bit Windows build." msgstr "" #: ../build/NEWS:1021 msgid "" "`bpo-39107 `__: Update Tcl and Tk to " "8.6.10 in Windows installer." msgstr "" #: ../build/NEWS:1023 msgid "" "`bpo-41557 `__: Update Windows installer " "to use SQLite 3.33.0." msgstr "" #: ../build/NEWS:1025 msgid "" "`bpo-38324 `__: Avoid Unicode errors " "when accessing certain locale data on Windows." msgstr "" #: ../build/NEWS:1031 msgid "" "`bpo-41471 `__: Ignore invalid prefix " "lengths in system proxy excludes." msgstr "" #: ../build/NEWS:1036 msgid "" "`bpo-33987 `__: Mostly finish using ttk " "widgets, mainly for editor, settings, and searches. Some patches by Mark " "Roseman." msgstr "" #: ../build/NEWS:1039 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:1043 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:1049 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:1053 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:1057 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:1061 msgid "" "`bpo-41845 `__: :c:func:" "`PyObject_GenericGetDict` is available again in the limited API when " "targeting 3.10 or later." msgstr "" #: ../build/NEWS:1064 msgid "" "`bpo-40422 `__: Add `_Py_closerange` " "function to provide performant closing of a range of file descriptors." msgstr "" #: ../build/NEWS:1067 msgid "" "`bpo-41986 `__: :c:data:" "`Py_FileSystemDefaultEncodeErrors` and :c:data:`Py_UTF8Mode` are available " "again in limited API." msgstr "" #: ../build/NEWS:1070 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:1074 msgid "" "`bpo-41784 `__: Added " "``PyUnicode_AsUTF8AndSize`` to the limited C API." msgstr "" #: ../build/NEWS:1078 msgid "Python 3.10.0 alpha 1" msgstr "" #: ../build/NEWS:1080 msgid "*Release date: 2020-10-05*" msgstr "" #: ../build/NEWS:1085 msgid "" "`bpo-41304 `__: Fixes `python3x._pth` " "being ignored on Windows, caused by the fix for :issue:`29778` " "(CVE-2020-15801)." msgstr "" #: ../build/NEWS:1088 msgid "" "`bpo-41162 `__: Audit hooks are now " "cleared later during finalization to avoid missing events." msgstr "" #: ../build/NEWS:1091 msgid "" "`bpo-29778 `__: Ensure :file:`python3." "dll` is loaded from correct locations when Python is embedded " "(CVE-2020-15523)." msgstr "" #: ../build/NEWS:1094 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:1100 msgid "" "`bpo-39603 `__: Prevent http header " "injection by rejecting control characters in http.client.putrequest(...)." msgstr "" #: ../build/NEWS:1106 msgid "" "`bpo-41909 `__: Fixed stack overflow in :" "func:`issubclass` and :func:`isinstance` when getting the ``__bases__`` " "attribute leads to infinite recursion." msgstr "" #: ../build/NEWS:1110 msgid "" "`bpo-41922 `__: Speed up calls to " "``reversed()`` by using the :pep:`590` ``vectorcall`` calling convention. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:1113 msgid "" "`bpo-41873 `__: Calls to ``float()`` are " "now faster due to the ``vectorcall`` calling convention. Patch by Dennis " "Sweeney." msgstr "" #: ../build/NEWS:1116 msgid "" "`bpo-41870 `__: Speed up calls to " "``bool()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:1119 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_bisect` module to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:1122 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:1126 msgid "" "`bpo-41780 `__: Fix :meth:`__dir__` of :" "class:`types.GenericAlias`. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:1129 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_lsprof` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1132 msgid "" "`bpo-1635741 `__: Port the :mod:" "`cmath` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1135 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_scproxy` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1138 msgid "" "`bpo-1635741 `__: Port the :mod:" "`termios` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1141 msgid "" "`bpo-1635741 `__: Convert the :mod:" "`_sha256` extension module types to heap types." msgstr "" #: ../build/NEWS:1144 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:1148 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_overlapped` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1151 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_curses_panel` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1154 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_opcode` extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1157 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:1160 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:1164 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:1168 msgid "" "`bpo-41654 `__: Fix a crash that " "occurred when destroying subclasses of :class:`MemoryError`. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:1171 msgid "" "`bpo-1635741 `__: Port the :mod:`zlib` " "extension module to multi-phase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:1174 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:1180 msgid "" "`bpo-40077 `__: Convert :mod:`_operator` " "to use :c:func:`PyType_FromSpec`." msgstr "" #: ../build/NEWS:1182 msgid "" "`bpo-1653741 `__: Port :mod:`_sha3` to " "multi-phase init. Convert static types to heap types." msgstr "" #: ../build/NEWS:1185 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_blake2` extension module to the multi-phase initialization API (:pep:" "`489`)." msgstr "" #: ../build/NEWS:1188 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:1191 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:1194 msgid "" "`bpo-41525 `__: The output of ``python --" "help`` contains now only ASCII characters." msgstr "" #: ../build/NEWS:1197 msgid "" "`bpo-1635741 `__: Port the :mod:" "`_sha1`, :mod:`_sha512`, and :mod:`_md5` extension modules to multi-phase " "initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:1200 msgid "" "`bpo-41431 `__: Optimize " "``dict_merge()`` for copying dict (e.g. ``dict(d)`` and ``{}.update(d)``)." msgstr "" #: ../build/NEWS:1203 msgid "" "`bpo-41428 `__: Implement PEP 604. This " "supports (int | str) etc. in place of Union[str, int]." msgstr "" #: ../build/NEWS:1206 msgid "" "`bpo-41340 `__: Removed fallback " "implementation for ``strdup``." msgstr "" #: ../build/NEWS:1208 msgid "" "`bpo-38156 `__: Handle interrupts that " "come after EOF correctly in ``PyOS_StdioReadline``." msgstr "" #: ../build/NEWS:1211 msgid "" "`bpo-41342 `__: :func:`round` with " "integer argument is now faster (9--60%)." msgstr "" #: ../build/NEWS:1213 msgid "" "`bpo-41334 `__: Constructors :func:" "`str`, :func:`bytes` and :func:`bytearray` are now faster (around 30--40% " "for small objects)." msgstr "" #: ../build/NEWS:1216 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:1221 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:1225 msgid "" "`bpo-41247 `__: Always cache the running " "loop holder when running ``asyncio.set_running_loop``." msgstr "" #: ../build/NEWS:1228 msgid "" "`bpo-41252 `__: Fix incorrect " "refcounting in _ssl.c's ``_servername_callback()``." msgstr "" #: ../build/NEWS:1231 msgid "" "`bpo-1635741 `__: Port :mod:" "`multiprocessing` to multi-phase initialization" msgstr "" #: ../build/NEWS:1233 msgid "" "`bpo-1635741 `__: Port :mod:`winapi` " "to multiphase initialization" msgstr "" #: ../build/NEWS:1235 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:1239 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:1244 msgid "" "`bpo-1635741 `__: Port :mod:" "`faulthandler` to multiphase initialization." msgstr "" #: ../build/NEWS:1246 msgid "" "`bpo-1635741 `__: Port :mod:`sha256` " "to multiphase initialization" msgstr "" #: ../build/NEWS:1248 msgid "" "`bpo-41175 `__: Guard against a NULL " "pointer dereference within bytearrayobject triggered by the ``bytearray() + " "bytearray()`` operation." msgstr "" #: ../build/NEWS:1251 msgid "" "`bpo-41100 `__: add arm64 to the " "allowable Mac OS arches in mpdecimal.h" msgstr "" #: ../build/NEWS:1253 msgid "" "`bpo-41094 `__: Fix decoding errors with " "audit when open files with non-ASCII names on non-UTF-8 locale." msgstr "" #: ../build/NEWS:1256 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:1260 msgid "" "`bpo-41084 `__: Prefix the error message " "with 'f-string: ', when parsing an f-string expression which throws a :exc:" "`SyntaxError`." msgstr "" #: ../build/NEWS:1263 msgid "" "`bpo-40521 `__: Empty frozensets are no " "longer singletons." msgstr "" #: ../build/NEWS:1265 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:1269 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:1273 msgid "" "`bpo-41061 `__: Fix incorrect " "expressions and asserts in hashtable code and tests." msgstr "" #: ../build/NEWS:1276 msgid "" "`bpo-41052 `__: Opt out serialization/" "deserialization for _random.Random" msgstr "" #: ../build/NEWS:1278 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:1282 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:1286 msgid "" "`bpo-40939 `__: Remove the remaining " "files from the old parser and the :mod:`symbol` module." msgstr "" #: ../build/NEWS:1289 msgid "" "`bpo-40077 `__: Convert :mod:`_bz2` to " "use :c:func:`PyType_FromSpec`." msgstr "" #: ../build/NEWS:1291 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:1295 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:1299 msgid "" "`bpo-1635741 `__: Port :mod:`_gdbm` to " "multiphase initialization." msgstr "" #: ../build/NEWS:1301 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:1305 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:1308 msgid "" "`bpo-1635741 `__: Port :mod:`_dbm` to " "multiphase initialization." msgstr "" #: ../build/NEWS:1310 msgid "" "`bpo-40957 `__: Fix refleak in " "_Py_fopen_obj() when PySys_Audit() fails" msgstr "" #: ../build/NEWS:1312 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:1315 msgid "" "`bpo-40947 `__: The Python :ref:`Path " "Configuration ` now takes :c:member:`PyConfig.platlibdir` " "in account." msgstr "" #: ../build/NEWS:1318 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:1322 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:1329 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:1333 msgid "" "`bpo-40889 `__: Improved the performance " "of symmetric difference operations on dictionary item views. Patch by " "Dennis Sweeney." msgstr "" #: ../build/NEWS:1336 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:1340 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:1344 msgid "" "`bpo-40880 `__: Fix invalid memory read " "in the new parser when checking newlines in string literals. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:1347 msgid "" "`bpo-40883 `__: Fix memory leak in when " "parsing f-strings in the new parser. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:1350 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:1354 msgid "" "`bpo-40854 `__: Allow overriding :data:" "`sys.platlibdir` via a new :envvar:`PYTHONPLATLIBDIR` environment variable." msgstr "" #: ../build/NEWS:1357 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:1361 msgid "" "`bpo-1635741 `__: Port :mod:`fcntl` to " "multiphase initialization." msgstr "" #: ../build/NEWS:1363 msgid "" "`bpo-19468 `__: Delete unnecessary " "instance check in importlib.reload(). Patch by Furkan Önder." msgstr "" #: ../build/NEWS:1366 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:1371 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:1375 msgid "" "`bpo-40780 `__: Fix a corner case where " "g-style string formatting of a float failed to remove trailing zeros." msgstr "" #: ../build/NEWS:1378 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:1382 msgid "" "`bpo-40750 `__: Support the \"-d\" debug " "flag in the new PEG parser. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:1385 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:1391 msgid "" "`bpo-39573 `__: :c:func:`Py_TYPE()` is " "changed to the inline static function. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:1394 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:1397 msgid "" "`bpo-40521 `__: Each interpreter now its " "has own free lists, singletons and caches:" msgstr "" #: ../build/NEWS:1400 msgid "" "Free lists: float, tuple, list, dict, frame, context, asynchronous " "generator, MemoryError." msgstr "" #: ../build/NEWS:1402 msgid "" "Singletons: empty tuple, empty bytes string, empty Unicode string, single " "byte character, single Unicode (latin1) character." msgstr "" #: ../build/NEWS:1404 msgid "Slice cache." msgstr "" #: ../build/NEWS:1406 msgid "They are no longer shared by all interpreters." msgstr "" #: ../build/NEWS:1408 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:1412 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:1416 msgid "" "`bpo-4022 `__: Improve performance of " "generators by not raising internal StopIteration." msgstr "" #: ../build/NEWS:1419 msgid "" "`bpo-1635741 `__: Port :mod:`mmap` to " "multiphase initialization." msgstr "" #: ../build/NEWS:1421 msgid "" "`bpo-1635741 `__: Port :mod:`_lzma` to " "multiphase initialization." msgstr "" #: ../build/NEWS:1423 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:1429 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:1432 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:1437 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:1440 msgid "" "`bpo-26680 `__: The int type now " "supports the x.is_integer() method for compatibility with float." msgstr "" #: ../build/NEWS:1446 msgid "" "`bpo-41900 `__: C14N 2.0 serialisation " "in xml.etree.ElementTree failed for unprefixed attributes when a default " "namespace was defined." msgstr "" #: ../build/NEWS:1449 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:1452 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:1456 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:1460 msgid "" "`bpo-41842 `__: Add :func:`codecs." "unregister` function to unregister a codec search function." msgstr "" #: ../build/NEWS:1463 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:1467 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:1471 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:1475 msgid "" "`bpo-41817 `__: fix `tkinter.EventType` " "Enum so all members are strings, and none are tuples" msgstr "" #: ../build/NEWS:1478 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:1482 msgid "" "`bpo-41815 `__: Fix SQLite3 segfault " "when backing up closed database. Patch contributed by Peter David McCormick." msgstr "" #: ../build/NEWS:1485 msgid "" "`bpo-41816 `__: StrEnum added: it " "ensures that all members are already strings or string candidates" msgstr "" #: ../build/NEWS:1488 msgid "" "`bpo-41517 `__: fix bug allowing Enums " "to be extended via multiple inheritance" msgstr "" #: ../build/NEWS:1490 msgid "" "`bpo-39587 `__: use the correct mix-in " "data type when constructing Enums" msgstr "" #: ../build/NEWS:1492 msgid "" "`bpo-41792 `__: Add is_typeddict " "function to typing.py to check if a type is a TypedDict class" msgstr "" #: ../build/NEWS:1495 msgid "" "Previously there was no way to check that without using private API. See the " "`relevant issue in python/typing `" msgstr "" #: ../build/NEWS:1499 msgid "" "`bpo-41789 `__: Honor `object` overrides " "in `Enum` class creation (specifically, `__str__`, `__repr__`, `__format__`, " "and `__reduce_ex__`)." msgstr "" #: ../build/NEWS:1502 msgid "" "`bpo-32218 `__: `enum.Flag` and `enum." "IntFlag` members are now iterable" msgstr "" #: ../build/NEWS:1504 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:1508 msgid "" "`bpo-1635741 `__: Port the ``mashal`` " "extension module to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:1511 msgid "" "`bpo-1635741 `__: Port the ``_string`` " "extension module to the multi-phase initialization API (:pep:`489`)." msgstr "" #: ../build/NEWS:1514 msgid "" "`bpo-41732 `__: Added an :term:" "`iterator` to :class:`memoryview`." msgstr "" #: ../build/NEWS:1516 msgid "" "`bpo-41720 `__: Fixed :meth:`turtle." "Vec2D.__rmul__` for arguments which are not int or float." msgstr "" #: ../build/NEWS:1519 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:1523 msgid "" "`bpo-41687 `__: Fix implementation of " "sendfile to be compatible with Solaris." msgstr "" #: ../build/NEWS:1525 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:1529 msgid "" "`bpo-39010 `__: Restarting a " "``ProactorEventLoop`` on Windows no longer logs spurious " "``ConnectionResetErrors``." msgstr "" #: ../build/NEWS:1532 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:1536 msgid "" "`bpo-41662 `__: Fixed crash when mutate " "list of parameters during iteration in :mod:`sqlite3`." msgstr "" #: ../build/NEWS:1539 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:1543 msgid "" "`bpo-41609 `__: The pdb whatis command " "correctly reports instance methods as 'Method' rather than 'Function'." msgstr "" #: ../build/NEWS:1546 msgid "" "`bpo-39994 `__: Fixed pprint's handling " "of dict subclasses that override __repr__." msgstr "" #: ../build/NEWS:1549 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:1554 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:1557 msgid "" "`bpo-40782 `__: Change the method " "asyncio.AbstractEventLoop.run_in_executor to not be a coroutine." msgstr "" #: ../build/NEWS:1560 msgid "" "`bpo-41520 `__: Fix :mod:`codeop` " "regression that prevented turning compile warnings into errors." msgstr "" #: ../build/NEWS:1563 msgid "" "`bpo-41528 `__: turtle uses math module " "functions to convert degrees to radians and vice versa and to calculate " "vector norm" msgstr "" #: ../build/NEWS:1566 msgid "" "`bpo-41513 `__: Minor algorithmic " "improvement to math.hypot() and math.dist() giving small gains in speed and " "accuracy." msgstr "" #: ../build/NEWS:1569 msgid "" "`bpo-41503 `__: Fixed a race between " "setTarget and flush in logging.handlers.MemoryHandler." msgstr "" #: ../build/NEWS:1572 msgid "" "`bpo-41497 `__: Fix potential " "UnicodeDecodeError in dis module." msgstr "" #: ../build/NEWS:1574 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:1578 msgid "" "`bpo-41425 `__: Make tkinter doc example " "runnable." msgstr "" #: ../build/NEWS:1580 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:1585 msgid "" "`bpo-41440 `__: Add :func:`os." "cpu_count()` support for VxWorks RTOS." msgstr "" #: ../build/NEWS:1587 msgid "" "`bpo-41316 `__: Fix the :mod:`tarfile` " "module to write only basename of TAR file to GZIP compression header." msgstr "" #: ../build/NEWS:1590 msgid "" "`bpo-41384 `__: Raise TclError instead " "of TypeError when an unknown option is passed to tkinter.OptionMenu." msgstr "" #: ../build/NEWS:1593 msgid "" "`bpo-41317 `__: Use add_done_callback() " "in asyncio.loop.sock_accept() to unsubscribe reader early on cancellation." msgstr "" #: ../build/NEWS:1596 msgid "" "`bpo-41364 `__: Reduce import overhead " "of :mod:`uuid`." msgstr "" #: ../build/NEWS:1598 msgid "" "`bpo-35328 `__: Set the environment " "variable ``VIRTUAL_ENV_PROMPT`` at :mod:`venv` activation." msgstr "" #: ../build/NEWS:1601 msgid "" "`bpo-41341 `__: Recursive evaluation of " "`typing.ForwardRef` in `get_type_hints`." msgstr "" #: ../build/NEWS:1604 msgid "" "`bpo-41344 `__: Prevent creating :class:" "`shared_memory.SharedMemory` objects with :code:`size=0`." msgstr "" #: ../build/NEWS:1607 msgid "" "`bpo-41333 `__: :meth:`collections." "OrderedDict.pop` is now 2 times faster." msgstr "" #: ../build/NEWS:1609 msgid "" "`bpo-41288 `__: Unpickling invalid " "NEWOBJ_EX opcode with the C implementation raises now UnpicklingError " "instead of crashing." msgstr "" #: ../build/NEWS:1612 msgid "" "`bpo-39017 `__: Avoid infinite loop when " "reading specially crafted TAR files using the tarfile module " "(CVE-2019-20907)." msgstr "" #: ../build/NEWS:1615 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:1619 msgid "" "`bpo-41235 `__: Fix the error handling " "in :meth:`ssl.SSLContext.load_dh_params`." msgstr "" #: ../build/NEWS:1622 msgid "" "`bpo-41207 `__: In distutils.spawn, " "restore expectation that DistutilsExecError is raised when the command is " "not found." msgstr "" #: ../build/NEWS:1625 msgid "" "`bpo-29727 `__: Register :class:`array." "array` as a :class:`~collections.abc.MutableSequence`. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:1628 msgid "" "`bpo-39168 `__: Remove the ``__new__`` " "method of :class:`typing.Generic`." msgstr "" #: ../build/NEWS:1630 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:1633 msgid "" "`bpo-41195 `__: Add read-only ssl." "SSLContext.security_level attribute to retrieve the context's security level." msgstr "" #: ../build/NEWS:1636 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:1641 msgid "" "`bpo-41182 `__: selector: use " "DefaultSelector based upon implementation" msgstr "" #: ../build/NEWS:1643 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:1646 msgid "" "`bpo-40874 `__: The decimal module now " "requires libmpdec-2.5.0." msgstr "" #: ../build/NEWS:1648 msgid "" "`bpo-41138 `__: Fixed the :mod:`trace` " "module CLI for Python source files with non-UTF-8 encoding." msgstr "" #: ../build/NEWS:1651 msgid "" "`bpo-31082 `__: Use the term \"iterable" "\" in the docstring for :func:`functools.reduce`." msgstr "" #: ../build/NEWS:1654 msgid "" "`bpo-40521 `__: Remove freelist from " "collections.deque()." msgstr "" #: ../build/NEWS:1656 msgid "" "`bpo-31938 `__: Fix default-value " "signatures of several functions in the :mod:`select` module - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:1659 msgid "" "`bpo-41068 `__: Fixed reading files with " "non-ASCII names from ZIP archive directly after writing them." msgstr "" #: ../build/NEWS:1662 msgid "" "`bpo-41058 `__: :func:`pdb." "find_function` now correctly determines the source file encoding." msgstr "" #: ../build/NEWS:1665 msgid "" "`bpo-41056 `__: Invalid file descriptor " "values are now prevented from being passed to os.fpathconf. (discovered by " "Coverity)" msgstr "" #: ../build/NEWS:1668 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:1671 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:1675 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:1679 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:1682 msgid "" "`bpo-41025 `__: Fixed an issue " "preventing the C implementation of :class:`zoneinfo.ZoneInfo` from being " "subclassed." msgstr "" #: ../build/NEWS:1685 msgid "" "`bpo-35018 `__: Add the :class:`xml.sax." "handler.LexicalHandler` class that is present in other SAX XML " "implementations." msgstr "" #: ../build/NEWS:1688 msgid "" "`bpo-41002 `__: Improve performance of " "HTTPResponse.read with a given amount. Patch by Bruce Merry." msgstr "" #: ../build/NEWS:1691 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:1695 msgid "" "`bpo-40967 `__: Removed :meth:`asyncio." "Task.current_task` and :meth:`asyncio.Task.all_tasks`. Patch contributed by " "Rémi Lapeyre." msgstr "" #: ../build/NEWS:1698 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:1702 msgid "" "`bpo-40955 `__: Fix a minor memory leak " "in :mod:`subprocess` module when extra_groups was specified." msgstr "" #: ../build/NEWS:1705 msgid "" "`bpo-40855 `__: The standard deviation " "and variance functions in the statistics module were ignoring their mu and " "xbar arguments." msgstr "" #: ../build/NEWS:1708 msgid "" "`bpo-40939 `__: Use the new PEG parser " "when generating the stdlib :mod:`keyword` module." msgstr "" #: ../build/NEWS:1711 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:1714 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:1719 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:1723 msgid "" "`bpo-40876 `__: Clarify error message in " "the :mod:`csv` module." msgstr "" #: ../build/NEWS:1725 msgid "" "`bpo-39791 `__: Refresh importlib." "metadata from importlib_metadata 1.6.1." msgstr "" #: ../build/NEWS:1727 msgid "" "`bpo-40807 `__: Stop codeop." "_maybe_compile, used by code.InteractiveInterpreter (and IDLE). from " "emitting each warning three times." msgstr "" #: ../build/NEWS:1730 msgid "" "`bpo-32604 `__: Fix reference leak in " "the :mod:`select` module when the module is imported in a subinterpreter." msgstr "" #: ../build/NEWS:1733 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:1737 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:1741 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:1746 msgid "" "`bpo-40834 `__: Fix truncate when " "sending str object with_xxsubinterpreters.channel_send." msgstr "" #: ../build/NEWS:1749 msgid "" "`bpo-40755 `__: Add rich comparisons to " "collections.Counter()." msgstr "" #: ../build/NEWS:1751 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:1755 msgid "" "`bpo-39384 `__: Fixed email." "contentmanager to allow set_content() to set a null string." msgstr "" #: ../build/NEWS:1758 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:1763 msgid "" "`bpo-40777 `__: Initialize " "PyDateTime_IsoCalendarDateType.tp_base at run-time to avoid errors on some " "compilers." msgstr "" #: ../build/NEWS:1766 msgid "" "`bpo-38488 `__: Update ensurepip to " "install pip 20.1.1 and setuptools 47.1.0." msgstr "" #: ../build/NEWS:1768 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:1772 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:1776 msgid "" "`bpo-40791 `__: :func:`hashlib." "compare_digest` uses OpenSSL's ``CRYPTO_memcmp()`` function when OpenSSL is " "available." msgstr "" #: ../build/NEWS:1779 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:1784 msgid "" "`bpo-16995 `__: Add :func:`base64." "b32hexencode` and :func:`base64.b32hexdecode` to support the Base32 Encoding " "with Extended Hex Alphabet." msgstr "" #: ../build/NEWS:1787 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:1790 msgid "" "`bpo-30064 `__: Fix asyncio ``loop." "sock_*`` race condition issue" msgstr "" #: ../build/NEWS:1792 msgid "" "`bpo-40759 `__: Deprecate the :mod:" "`symbol` module." msgstr "" #: ../build/NEWS:1794 msgid "" "`bpo-40756 `__: The second argument " "(extra) of ``LoggerAdapter.__init__`` now defaults to None." msgstr "" #: ../build/NEWS:1797 msgid "" "`bpo-37129 `__: Add a new :data:`os." "RWF_APPEND` flag for :func:`os.pwritev`." msgstr "" #: ../build/NEWS:1799 msgid "" "`bpo-40737 `__: Fix possible reference " "leak for :mod:`sqlite3` initialization." msgstr "" #: ../build/NEWS:1801 msgid "" "`bpo-40726 `__: Handle cases where the " "``end_lineno`` is ``None`` on :func:`ast.increment_lineno`." msgstr "" #: ../build/NEWS:1804 msgid "" "`bpo-40698 `__: :mod:`distutils` upload " "creates SHA2-256 and Blake2b-256 digests. MD5 digests is skipped if platform " "blocks MD5." msgstr "" #: ../build/NEWS:1807 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:1811 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:1815 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:1818 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:1822 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:1831 msgid "" "`bpo-40671 `__: Prepare ``_hashlib`` " "for :pep:`489` and use :c:func:`PyModule_AddType`." msgstr "" #: ../build/NEWS:1834 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:1840 msgid "" "`bpo-36543 `__: Restored the deprecated :" "mod:`xml.etree.cElementTree` module." msgstr "" #: ../build/NEWS:1842 msgid "" "`bpo-40611 `__: :data:`~mmap." "MAP_POPULATE` constant has now been added to the list of exported :mod:" "`mmap` module flags." msgstr "" #: ../build/NEWS:1845 msgid "" "`bpo-39881 `__: PEP 554 for use in the " "test suite. (Patch By Joannah Nanjekye)" msgstr "" #: ../build/NEWS:1847 msgid "" "`bpo-13097 `__: ``ctypes`` now raises an " "``ArgumentError`` when a callback is invoked with more than 1024 arguments." msgstr "" #: ../build/NEWS:1850 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:1854 msgid "" "`bpo-23082 `__: Updated the error " "message and docs of PurePath.relative_to() to better reflect the function " "behaviour." msgstr "" #: ../build/NEWS:1857 msgid "" "`bpo-40318 `__: Use SQLite3 trace v2 " "API, if it is available." msgstr "" #: ../build/NEWS:1859 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:1862 msgid "" "`bpo-40084 `__: Fix ``Enum.__dir__``: " "dir(Enum.member) now includes attributes as well as methods." msgstr "" #: ../build/NEWS:1865 msgid "" "`bpo-31122 `__: ssl.wrap_socket() now " "raises ssl.SSLEOFError rather than OSError when peer closes connection " "during TLS negotiation" msgstr "" #: ../build/NEWS:1868 msgid "" "`bpo-39728 `__: fix default `_missing_` " "so a duplicate `ValueError` is not set as the `__context__` of the original " "`ValueError`" msgstr "" #: ../build/NEWS:1871 msgid "" "`bpo-39244 `__: Fixed :class:" "`multiprocessing.context.get_all_start_methods` to properly return the " "default method first on macOS." msgstr "" #: ../build/NEWS:1874 msgid "" "`bpo-39040 `__: Fix parsing of invalid " "mime headers parameters by collapsing whitespace between encoded words in a " "bare-quote-string." msgstr "" #: ../build/NEWS:1877 msgid "" "`bpo-38731 `__: Add ``--quiet`` option " "to command-line interface of :mod:`py_compile`. Patch by Gregory Schevchenko." msgstr "" #: ../build/NEWS:1880 msgid "" "`bpo-35714 `__: :exc:`struct.error` is " "now raised if there is a null character in a :mod:`struct` format string." msgstr "" #: ../build/NEWS:1883 msgid "" "`bpo-38144 `__: Added the *root_dir* and " "*dir_fd* parameters in :func:`glob.glob`." msgstr "" #: ../build/NEWS:1886 msgid "" "`bpo-26543 `__: Fix :meth:`IMAP4.noop()` " "when debug mode is enabled (ex: ``imaplib.Debug = 3``)." msgstr "" #: ../build/NEWS:1889 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:1893 msgid "" "`bpo-36290 `__: AST nodes are now " "raising :exc:`TypeError` on conflicting keyword arguments. Patch contributed " "by Rémi Lapeyre." msgstr "" #: ../build/NEWS:1896 msgid "" "`bpo-33944 `__: Added site.py site-" "packages tracing in verbose mode." msgstr "" #: ../build/NEWS:1898 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:1903 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:1908 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:1913 msgid "" "`bpo-34226 `__: Fix `cgi." "parse_multipart` without content_length. Patch by Roger Duran" msgstr "" #: ../build/NEWS:1916 msgid "" "`bpo-33660 `__: Fix pathlib.PosixPath to " "resolve a relative path located on the root directory properly." msgstr "" #: ../build/NEWS:1919 msgid "" "`bpo-28557 `__: Improve the error " "message for a misbehaving ``rawio.readinto``" msgstr "" #: ../build/NEWS:1921 msgid "" "`bpo-26680 `__: The d.is_integer() " "method is added to the Decimal type, for compatibility with other number " "types." msgstr "" #: ../build/NEWS:1924 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:1931 msgid "" "`bpo-41428 `__: Add documentation for :" "pep:`604` (Allow writing union types as ``X | Y``)." msgstr "" #: ../build/NEWS:1934 msgid "" "`bpo-41774 `__: In Programming FAQ " "\"Sequences (Tuples/Lists)\" section, add \"How do you remove multiple items " "from a list\"." msgstr "" #: ../build/NEWS:1937 msgid "" "`bpo-35293 `__: Fix " "RemovedInSphinx40Warning when building the documentation. Patch by Dong-hee " "Na." msgstr "" #: ../build/NEWS:1940 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:1944 msgid "" "`bpo-41726 `__: Update the refcounts " "info of ``PyType_FromModuleAndSpec``." msgstr "" #: ../build/NEWS:1946 msgid "" "`bpo-41624 `__: Fix the signature of :" "class:`typing.Coroutine`." msgstr "" #: ../build/NEWS:1948 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:1952 msgid "" "`bpo-41045 `__: Add documentation for " "debug feature of f-strings." msgstr "" #: ../build/NEWS:1954 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:1958 msgid "" "`bpo-40979 `__: Refactored typing.rst, " "arranging more than 70 classes, functions, and decorators into new sub-" "sections." msgstr "" #: ../build/NEWS:1961 msgid "" "`bpo-40552 `__: Fix in tutorial section " "4.2. Code snippet is now correct." msgstr "" #: ../build/NEWS:1963 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:1967 msgid "" "`bpo-37703 `__: Updated Documentation to " "comprehensively elaborate on the behaviour of gather.cancel()" msgstr "" #: ../build/NEWS:1973 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:1977 msgid "" "`bpo-41731 `__: Make " "test_cmd_line_script pass with option '-vv'." msgstr "" #: ../build/NEWS:1979 msgid "" "`bpo-41602 `__: Add tests for SIGINT " "handling in the runpy module." msgstr "" #: ../build/NEWS:1981 msgid "" "`bpo-41521 `__: :mod:`test.support`: " "Rename ``blacklist`` parameter of :func:`~test.support.check__all__` to " "``not_exported``." msgstr "" #: ../build/NEWS:1984 msgid "" "`bpo-41477 `__: Make ctypes optional in " "test_genericalias." msgstr "" #: ../build/NEWS:1986 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:1989 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:1993 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:1998 msgid "" "`bpo-41009 `__: Fix use of ``support." "require_{linux|mac|freebsd}_version()`` decorators as class decorator." msgstr "" #: ../build/NEWS:2001 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:2005 msgid "" "`bpo-40964 `__: Disable remote :mod:" "`imaplib` tests, host cyrus.andrew.cmu.edu is blocking incoming connections." msgstr "" #: ../build/NEWS:2008 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:2012 msgid "" "`bpo-17258 `__: Skip some :mod:" "`multiprocessing` tests when MD5 hash digest is blocked." msgstr "" #: ../build/NEWS:2015 msgid "" "`bpo-31904 `__: Increase " "LOOPBACK_TIMEOUT to 10 for VxWorks RTOS." msgstr "" #: ../build/NEWS:2017 msgid "" "`bpo-38169 `__: Increase code coverage " "for SharedMemory and ShareableList" msgstr "" #: ../build/NEWS:2019 msgid "" "`bpo-34401 `__: Make test_gdb properly " "run on HP-UX. Patch by Michael Osipov." msgstr "" #: ../build/NEWS:2024 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:2027 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:2030 msgid "" "`bpo-40204 `__: Pin Sphinx version to " "2.3.1 in ``Doc/Makefile``." msgstr "" #: ../build/NEWS:2032 msgid "" "`bpo-36020 `__: The C99 functions :c:" "func:`snprintf` and :c:func:`vsnprintf` are now required to build Python." msgstr "" #: ../build/NEWS:2035 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:2039 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:2045 msgid "" "`bpo-41744 `__: Fixes automatic import " "of props file when using the Nuget package." msgstr "" #: ../build/NEWS:2048 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:2051 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:2054 msgid "" "`bpo-41492 `__: Fixes the description " "that appears in UAC prompts." msgstr "" #: ../build/NEWS:2056 msgid "" "`bpo-40948 `__: Improve post-install " "message to direct people to the \"py\" command." msgstr "" #: ../build/NEWS:2059 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:2062 msgid "" "`bpo-40741 `__: Update Windows release " "to include SQLite 3.32.3." msgstr "" #: ../build/NEWS:2064 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:2067 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:2071 msgid "" "`bpo-41039 `__: Stable ABI redirection " "DLL (python3.dll) now uses ``#pragma comment(linker)`` for re-exporting." msgstr "" #: ../build/NEWS:2074 msgid "" "`bpo-40164 `__: Updates Windows OpenSSL " "to 1.1.1g" msgstr "" #: ../build/NEWS:2076 msgid "" "`bpo-39631 `__: Changes the registered " "MIME type for ``.py`` files on Windows to ``text/x-python`` instead of " "``text/plain``." msgstr "" #: ../build/NEWS:2079 msgid "" "`bpo-40677 `__: Manually define " "IO_REPARSE_TAG_APPEXECLINK in case some old Windows SDK doesn't have it." msgstr "" #: ../build/NEWS:2082 msgid "" "`bpo-37556 `__: Extend py.exe help to " "mention overrides via venv, shebang, environmental variables & ini files." msgstr "" #: ../build/NEWS:2088 msgid "" "`bpo-41557 `__: Update macOS installer " "to use SQLite 3.33.0." msgstr "" #: ../build/NEWS:2090 msgid "" "`bpo-39580 `__: Avoid opening Finder " "window if running installer from the command line. Patch contributed by Rick " "Heil." msgstr "" #: ../build/NEWS:2093 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:2099 msgid "" "`bpo-40741 `__: Update macOS installer " "to use SQLite 3.32.3." msgstr "" #: ../build/NEWS:2101 msgid "" "`bpo-41005 `__: fixed an XDG settings " "issue not allowing macos to open browser in webbrowser.py" msgstr "" #: ../build/NEWS:2104 msgid "" "`bpo-40741 `__: Update macOS installer " "to use SQLite 3.32.2." msgstr "" #: ../build/NEWS:2109 msgid "" "`bpo-41775 `__: Use 'IDLE Shell' as " "shell title" msgstr "" #: ../build/NEWS:2111 msgid "" "`bpo-35764 `__: Rewrite the Calltips doc " "section." msgstr "" #: ../build/NEWS:2113 msgid "" "`bpo-40181 `__: In calltips, stop " "reminding that '/' marks the end of positional-only arguments." msgstr "" #: ../build/NEWS:2116 msgid "" "`bpo-41468 `__: Improve IDLE run crash " "error message (which users should never see)." msgstr "" #: ../build/NEWS:2119 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:2123 msgid "" "`bpo-41300 `__: Save files with non-" "ascii chars. Fix regression released in 3.9.0b4 and 3.8.4." msgstr "" #: ../build/NEWS:2126 msgid "" "`bpo-37765 `__: Add keywords to module " "name completion list. Rewrite Completions section of IDLE doc." msgstr "" #: ../build/NEWS:2129 msgid "" "`bpo-41152 `__: The encoding of " "``stdin``, ``stdout`` and ``stderr`` in IDLE is now always UTF-8." msgstr "" #: ../build/NEWS:2132 msgid "" "`bpo-41144 `__: Make Open Module open a " "special module such as os.path." msgstr "" #: ../build/NEWS:2134 msgid "" "`bpo-39885 `__: Make context menu Cut " "and Copy work again when right-clicking within a selection." msgstr "" #: ../build/NEWS:2137 msgid "" "`bpo-40723 `__: Make test_idle pass when " "run after import." msgstr "" #: ../build/NEWS:2142 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:2146 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:2150 msgid "" "`bpo-41842 `__: Add :c:func:" "`PyCodec_Unregister` function to unregister a codec search function." msgstr "" #: ../build/NEWS:2153 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:2157 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:2160 msgid "" "`bpo-41524 `__: Fix bug in " "PyOS_mystrnicmp and PyOS_mystricmp that incremented pointers beyond the end " "of a string." msgstr "" #: ../build/NEWS:2163 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:2167 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:2172 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:2177 msgid "" "`bpo-41123 `__: Remove " "``PyUnicode_AsUnicodeCopy``." msgstr "" #: ../build/NEWS:2179 msgid "" "`bpo-41123 `__: Removed " "``PyLong_FromUnicode()``." msgstr "" #: ../build/NEWS:2181 msgid "" "`bpo-41123 `__: Removed " "``PyUnicode_GetMax()``." msgstr "" #: ../build/NEWS:2183 msgid "" "`bpo-41123 `__: Removed " "``Py_UNICODE_str*`` functions manipulating ``Py_UNICODE*`` strings." msgstr "" #: ../build/NEWS:2186 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:2191 msgid "" "`bpo-36346 `__: Raises " "DeprecationWarning for ``PyUnicode_FromUnicode(NULL, size)`` and " "``PyUnicode_FromStringAndSize(NULL, size)`` with ``size > 0``." msgstr "" #: ../build/NEWS:2194 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:2200 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:2204 msgid "" "`bpo-36020 `__: On Windows, ``#include " "\"pyerrors.h\"`` no longer defines ``snprintf`` and ``vsnprintf`` macros." msgstr "" #: ../build/NEWS:2207 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:2213 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:2217 msgid "" "`bpo-40724 `__: Allow defining buffer " "slots in type specs." msgstr "" #: ../build/NEWS:2219 msgid "" "`bpo-40679 `__: Fix a " "``_PyEval_EvalCode()`` crash if *qualname* argument is NULL." msgstr "" #: ../build/NEWS:2222 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:2225 msgid "" "`bpo-40826 `__: :c:func:" "`PyOS_InterruptOccurred` now fails with a fatal error if it is called with " "the GIL released." msgstr "" #: ../build/NEWS:2228 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:2232 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:2238 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:2241 msgid "" "`bpo-39583 `__: Remove superfluous " "\"extern C\" declarations from ``Include/cpython/*.h``." msgstr "" #: ../build/NEWS:2246 msgid "Python 3.9.0 beta 1" msgstr "" #: ../build/NEWS:2248 msgid "*Release date: 2020-05-19*" msgstr "" #: ../build/NEWS:2253 msgid "" "`bpo-40501 `__: :mod:`uuid` no longer " "uses :mod:`ctypes` to load :file:`libuuid` or :file:`rpcrt4.dll` at runtime." msgstr "" #: ../build/NEWS:2259 msgid "" "`bpo-40663 `__: Correctly generate " "annotations where parentheses are omitted but required (e.g: ``Type[(str, " "int, *other))]``." msgstr "" #: ../build/NEWS:2262 msgid "" "`bpo-40596 `__: Fixed :meth:`str." "isidentifier` for non-canonicalized strings containing non-BMP characters on " "Windows." msgstr "" #: ../build/NEWS:2265 msgid "" "`bpo-40593 `__: Improved syntax errors " "for invalid characters in source code." msgstr "" #: ../build/NEWS:2267 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:2271 msgid "" "`bpo-40566 `__: Apply :pep:`573` to :mod:" "`abc`." msgstr "" #: ../build/NEWS:2273 msgid "" "`bpo-40502 `__: Initialize ``n-" ">n_col_offset``. (Patch by Joannah Nanjekye)" msgstr "" #: ../build/NEWS:2275 msgid "" "`bpo-40527 `__: Fix command line " "argument parsing: no longer write errors multiple times into stderr." msgstr "" #: ../build/NEWS:2278 msgid "" "`bpo-1635741 `__: Port :mod:`errno` to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2280 msgid "" "`bpo-40523 `__: Add pass-throughs for :" "func:`hash` and :func:`reversed` to :class:`weakref.proxy` objects. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:2283 msgid "" "`bpo-1635741 `__: Port :mod:`syslog` " "to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2285 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:2292 msgid "" "`bpo-40417 `__: Fix imp module " "deprecation warning when PyImport_ReloadModule is called. Patch by Robert " "Rouhani." msgstr "" #: ../build/NEWS:2295 msgid "" "`bpo-40408 `__: Fixed support of nested " "type variables in GenericAlias (e.g. ``list[list[T]]``)." msgstr "" #: ../build/NEWS:2298 msgid "" "`bpo-1635741 `__: Port _stat module to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2300 msgid "" "`bpo-29587 `__: Enable implicit " "exception chaining when calling :meth:`generator.throw`." msgstr "" #: ../build/NEWS:2303 msgid "" "`bpo-40328 `__: Add tools for generating " "mappings headers for CJKCodecs." msgstr "" #: ../build/NEWS:2305 msgid "" "`bpo-40228 `__: Setting frame.f_lineno " "is now robust w.r.t. changes in the source-to-bytecode compiler" msgstr "" #: ../build/NEWS:2308 msgid "" "`bpo-38880 `__: Added the ability to " "list interpreters associated with channel ends in the internal " "subinterpreters module." msgstr "" #: ../build/NEWS:2311 msgid "" "`bpo-37986 `__: Improve performance of :" "c:func:`PyLong_FromDouble` for values that fit into :c:type:`long`." msgstr "" #: ../build/NEWS:2317 msgid "" "`bpo-40662 `__: Fixed :func:`ast." "get_source_segment` for ast nodes that have incomplete location information. " "Patch by Irit Katriel." msgstr "" #: ../build/NEWS:2320 msgid "" "`bpo-40665 `__: Convert :mod:`bisect` to " "use Argument Clinic." msgstr "" #: ../build/NEWS:2322 msgid "" "`bpo-40536 `__: Added the :func:" "`~zoneinfo.available_timezones` function to the :mod:`zoneinfo` module. " "Patch by Paul Ganssle." msgstr "" #: ../build/NEWS:2325 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:2329 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:2334 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:2338 msgid "" "`bpo-37630 `__: The :mod:`hashlib` " "module can now use SHA3 hashes and SHAKE XOF from OpenSSL when available." msgstr "" #: ../build/NEWS:2341 msgid "" "`bpo-40479 `__: The :mod:`hashlib` now " "compiles with OpenSSL 3.0.0-alpha2." msgstr "" #: ../build/NEWS:2343 msgid "" "`bpo-40257 `__: Revert changes to :func:" "`inspect.getdoc`." msgstr "" #: ../build/NEWS:2345 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:2349 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:2353 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:2356 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:2359 msgid "" "`bpo-40503 `__: :pep:`615`, the :mod:" "`zoneinfo` module. Adds support for the IANA time zone database." msgstr "" #: ../build/NEWS:2362 msgid "" "`bpo-40397 `__: Removed attributes " "``__args__`` and ``__parameters__`` from special generic aliases like " "``typing.List`` (not subscripted)." msgstr "" #: ../build/NEWS:2365 msgid "" "`bpo-40549 `__: Convert posixmodule.c " "(\"posix\" or \"nt\" module) to the multiphase initialization (PEP 489)." msgstr "" #: ../build/NEWS:2368 msgid "" "`bpo-31033 `__: Add a ``msg`` argument " "to :meth:`Future.cancel` and :meth:`Task.cancel`." msgstr "" #: ../build/NEWS:2371 msgid "" "`bpo-40541 `__: Added an optional " "*counts* parameter to random.sample()." msgstr "" #: ../build/NEWS:2373 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:2377 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:2381 msgid "" "`bpo-40504 `__: :func:`functools." "lru_cache` objects can now be the targets of weakrefs." msgstr "" #: ../build/NEWS:2384 msgid "" "`bpo-40559 `__: Fix possible memory leak " "in the C implementation of :class:`asyncio.Task`." msgstr "" #: ../build/NEWS:2387 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:2392 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:2396 msgid "" "`bpo-40457 `__: The ssl module now " "support OpenSSL builds without TLS 1.0 and 1.1 methods." msgstr "" #: ../build/NEWS:2399 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:2403 msgid "" "`bpo-40465 `__: Deprecated the optional " "*random* argument to *random.shuffle()*." msgstr "" #: ../build/NEWS:2406 msgid "" "`bpo-40459 `__: :func:`platform." "win32_ver` now produces correct *ptype* strings instead of empty strings." msgstr "" #: ../build/NEWS:2409 msgid "" "`bpo-39435 `__: The first argument of :" "func:`pickle.loads` is now positional-only." msgstr "" #: ../build/NEWS:2412 msgid "" "`bpo-39305 `__: Update :mod:`nntplib` to " "merge :class:`nntplib.NNTP` and :class:`nntplib._NNTPBase`. Patch by Dong-" "hee Na." msgstr "" #: ../build/NEWS:2415 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:2418 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:2422 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:2426 msgid "" "`bpo-40394 `__: Added default arguments " "to :meth:`difflib.SequenceMatcher.find_longest_match()`." msgstr "" #: ../build/NEWS:2429 msgid "" "`bpo-39995 `__: Fix a race condition in " "concurrent.futures._ThreadWakeup: access to _ThreadWakeup is now protected " "with the shutdown lock." msgstr "" #: ../build/NEWS:2432 msgid "" "`bpo-30966 `__: ``Process." "shutdown(wait=True)`` of :mod:`concurrent.futures` now closes explicitly the " "result queue." msgstr "" #: ../build/NEWS:2435 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:2439 msgid "" "`bpo-39966 `__: Revert `bpo-25597 " "`__. :class:`unittest.mock.MagicMock` " "with wraps' set uses default return values for magic methods." msgstr "" #: ../build/NEWS:2442 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:2446 msgid "" "`bpo-40375 `__: :meth:`imaplib.IMAP4." "unselect` is added. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:2448 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:2451 msgid "" "`bpo-40291 `__: Add support for " "CAN_J1939 sockets (available on Linux 5.4+)" msgstr "" #: ../build/NEWS:2453 msgid "" "`bpo-40273 `__: :class:`types." "MappingProxyType` is now reversible." msgstr "" #: ../build/NEWS:2455 msgid "" "`bpo-39075 `__: The repr for :class:" "`types.SimpleNamespace` is now insertion ordered rather than alphabetical." msgstr "" #: ../build/NEWS:2458 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:2463 msgid "" "`bpo-40025 `__: Raise TypeError when " "_generate_next_value_ is defined after members. Patch by Ethan Onstott." msgstr "" #: ../build/NEWS:2466 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:2471 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:2478 msgid "" "`bpo-34790 `__: Add version of removal " "for explicit passing of coros to `asyncio.wait()`'s documentation" msgstr "" #: ../build/NEWS:2481 msgid "" "`bpo-40561 `__: Provide docstrings for " "webbrowser open functions." msgstr "" #: ../build/NEWS:2483 msgid "" "`bpo-40499 `__: Mention that :func:" "`asyncio.wait` requires a non-empty set of awaitables." msgstr "" #: ../build/NEWS:2486 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:2490 msgid "" "`bpo-39435 `__: Fix an incorrect " "signature for :func:`pickle.loads` in the docs" msgstr "" #: ../build/NEWS:2495 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:2499 msgid "" "`bpo-40436 `__: test_gdb and test." "pythoninfo now check gdb command exit code." msgstr "" #: ../build/NEWS:2504 msgid "" "`bpo-40653 `__: Move _dirnameW out of " "HAVE_SYMLINK to fix a potential compiling issue." msgstr "" #: ../build/NEWS:2507 msgid "" "`bpo-40514 `__: Add ``--with-" "experimental-isolated-subinterpreters`` build option to ``configure``: " "better isolate subinterpreters, experimental build mode." msgstr "" #: ../build/NEWS:2514 msgid "" "`bpo-40650 `__: Include winsock2.h in " "pytime.c for timeval." msgstr "" #: ../build/NEWS:2516 msgid "" "`bpo-40458 `__: Increase reserved stack " "space to prevent overflow crash on Windows." msgstr "" #: ../build/NEWS:2519 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:2526 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:2534 msgid "" "`bpo-35569 `__: Expose RFC 3542 IPv6 " "socket options." msgstr "" #: ../build/NEWS:2539 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:2542 msgid "" "`bpo-40431 `__: Fix a syntax typo in " "``turtledemo`` that now raises a ``SyntaxError``." msgstr "" #: ../build/NEWS:2545 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:2552 msgid "" "`bpo-39465 `__: Remove the " "``_PyUnicode_ClearStaticStrings()`` function from the C API." msgstr "" #: ../build/NEWS:2555 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:2559 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:2563 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:2567 msgid "" "`bpo-40429 `__: The :c:func:" "`PyThreadState_GetFrame` function now returns a strong reference to the " "frame." msgstr "" #: ../build/NEWS:2570 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:2573 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "" #: ../build/NEWS:2574 msgid "``PyContext_ClearFreeList()``" msgstr "" #: ../build/NEWS:2575 msgid "``PyDict_ClearFreeList()``" msgstr "" #: ../build/NEWS:2576 msgid "``PyFloat_ClearFreeList()``" msgstr "" #: ../build/NEWS:2577 msgid "``PyFrame_ClearFreeList()``" msgstr "" #: ../build/NEWS:2578 msgid "``PyList_ClearFreeList()``" msgstr "" #: ../build/NEWS:2579 msgid "``PySet_ClearFreeList()``" msgstr "" #: ../build/NEWS:2580 msgid "``PyTuple_ClearFreeList()``" msgstr "" #: ../build/NEWS:2582 msgid "" "`bpo-40421 `__: New :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame." msgstr "" #: ../build/NEWS:2585 msgid "" "`bpo-40421 `__: New :c:func:" "`PyFrame_GetCode` function: return a borrowed reference to the frame code." msgstr "" #: ../build/NEWS:2588 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:2594 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:2599 msgid "Python 3.9.0 alpha 6" msgstr "" #: ../build/NEWS:2601 msgid "*Release date: 2020-04-27*" msgstr "" #: ../build/NEWS:2606 msgid "" "`bpo-40121 `__: Fixes audit events " "raised on creating a new socket." msgstr "" #: ../build/NEWS:2608 msgid "" "`bpo-39073 `__: Disallow CR or LF in " "email.headerregistry.Address arguments to guard against header injection " "attacks." msgstr "" #: ../build/NEWS:2611 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:2621 msgid "" "`bpo-40313 `__: Improve the performance " "of bytes.hex()." msgstr "" #: ../build/NEWS:2623 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:2629 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:2634 msgid "" "`bpo-39522 `__: Correctly unparse " "explicit ``u`` prefix for strings when postponed evaluation for annotations " "activated. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:2637 msgid "" "`bpo-40246 `__: Report a specialized " "error message, `invalid string prefix`, when the tokenizer encounters a " "string with an invalid prefix." msgstr "" #: ../build/NEWS:2640 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:2643 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:2648 msgid "" "`bpo-40077 `__: Fix possible refleaks " "in :mod:`_json`, memo of PyScannerObject should be traversed." msgstr "" #: ../build/NEWS:2651 msgid "" "`bpo-37207 `__: Speed up calls to " "``dict()`` by using the :pep:`590` ``vectorcall`` calling convention." msgstr "" #: ../build/NEWS:2654 msgid "" "`bpo-40141 `__: Add column and line " "information to ``ast.keyword`` nodes. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:2657 msgid "" "`bpo-1635741 `__: Port :mod:`resource` " "to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2660 msgid "" "`bpo-1635741 `__: Port :mod:`math` to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2662 msgid "" "`bpo-1635741 `__: Port _uuid module to " "multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2664 msgid "" "`bpo-40077 `__: Convert json module to " "use :c:func:`PyType_FromSpec`." msgstr "" #: ../build/NEWS:2666 msgid "" "`bpo-40067 `__: Improve the error " "message for multiple star expressions in an assignment. Patch by Furkan Onder" msgstr "" #: ../build/NEWS:2669 msgid "" "`bpo-1635741 `__: Port _functools " "module to multiphase initialization (PEP 489). Patch by Paulo Henrique Silva." msgstr "" #: ../build/NEWS:2672 msgid "" "`bpo-1635741 `__: Port operator module " "to multiphase initialization (PEP 489). Patch by Paulo Henrique Silva." msgstr "" #: ../build/NEWS:2675 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:2679 msgid "" "`bpo-1635741 `__: Port time module to " "multiphase initialization (:pep:`489`). Patch by Paulo Henrique Silva." msgstr "" #: ../build/NEWS:2682 ../build/NEWS:3074 msgid "" "`bpo-1635741 `__: Port _weakref " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:2685 msgid "" "`bpo-40020 `__: Fix a leak and " "subsequent crash in parsetok.c caused by realloc misuse on a rare codepath." msgstr "" #: ../build/NEWS:2688 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:2693 msgid "" "`bpo-39481 `__: Implement PEP 585. This " "supports list[int], tuple[str, ...] etc." msgstr "" #: ../build/NEWS:2696 msgid "" "`bpo-32894 `__: Support unparsing of " "infinity numbers in postponed annotations. Patch by Batuhan Taşkaya." msgstr "" #: ../build/NEWS:2699 msgid "" "`bpo-37207 `__: Speed up calls to " "``list()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Mark Shannon." msgstr "" #: ../build/NEWS:2705 msgid "" "`bpo-40398 `__: :func:`typing.get_args` " "now always returns an empty tuple for special generic aliases." msgstr "" #: ../build/NEWS:2708 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:2712 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:2717 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:2720 ../build/NEWS:2728 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:2724 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:2732 msgid "" "`bpo-40360 `__: The :mod:`lib2to3` " "module is pending deprecation due to :pep:`617`." msgstr "" #: ../build/NEWS:2735 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:2739 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:2742 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:2746 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:2750 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:2753 msgid "" "`bpo-40148 `__: Added :meth:`pathlib." "Path.with_stem()` to create a new Path with the stem replaced." msgstr "" #: ../build/NEWS:2756 msgid "" "`bpo-40325 `__: Deprecated support for " "set objects in random.sample()." msgstr "" #: ../build/NEWS:2758 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:2763 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:2769 msgid "" "`bpo-40287 `__: Fixed " "``SpooledTemporaryFile.seek()`` to return the position." msgstr "" #: ../build/NEWS:2771 msgid "" "`bpo-40290 `__: Added zscore() to " "statistics.NormalDist()." msgstr "" #: ../build/NEWS:2773 msgid "" "`bpo-40282 `__: Allow ``random." "getrandbits(0)`` to succeed and to return 0." msgstr "" #: ../build/NEWS:2775 msgid "" "`bpo-40286 `__: Add :func:`random." "randbytes` function and :meth:`random.Random.randbytes` method to generate " "random bytes." msgstr "" #: ../build/NEWS:2778 msgid "" "`bpo-40277 `__: :func:`collections." "namedtuple` now provides a human-readable repr for its field accessors." msgstr "" #: ../build/NEWS:2781 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:2785 msgid "" "`bpo-29255 `__: Wait in `KqueueSelector." "select` when no fds are registered" msgstr "" #: ../build/NEWS:2787 msgid "" "`bpo-40260 `__: Ensure :mod:" "`modulefinder` uses :func:`io.open_code` and respects coding comments." msgstr "" #: ../build/NEWS:2790 msgid "" "`bpo-40234 `__: Allow again to spawn " "daemon threads in subinterpreters (revert change which denied them)." msgstr "" #: ../build/NEWS:2793 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:2798 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:2802 msgid "" "`bpo-40149 `__: Implement traverse and " "clear slots in _abc._abc_data type." msgstr "" #: ../build/NEWS:2804 msgid "" "`bpo-40208 `__: Remove deprecated :meth:" "`symtable.SymbolTable.has_exec`." msgstr "" #: ../build/NEWS:2806 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:2809 msgid "" "`bpo-40190 `__: Add support for " "``_SC_AIX_REALMEM`` to :func:`posix.sysconf`." msgstr "" #: ../build/NEWS:2811 msgid "" "`bpo-40182 `__: Removed the " "``_field_types`` attribute of the :class:`typing.NamedTuple` class." msgstr "" #: ../build/NEWS:2814 msgid "" "`bpo-36517 `__: Multiple inheritance " "with :class:`typing.NamedTuple` now raises an error instead of silently " "ignoring other types." msgstr "" #: ../build/NEWS:2817 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:2821 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:2826 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:2830 msgid "" "`bpo-40094 `__: Add :func:`os." "waitstatus_to_exitcode` function: convert a wait status to an exit code." msgstr "" #: ../build/NEWS:2833 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:2837 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:2844 msgid "" "`bpo-25780 `__: Expose :data:`~socket." "CAN_RAW_JOIN_FILTERS` in the :mod:`socket` module." msgstr "" #: ../build/NEWS:2847 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:2852 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:2857 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:2861 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:2867 msgid "" "`bpo-40017 `__: Add :data:`time." "CLOCK_TAI` constant if the operating system support it." msgstr "" #: ../build/NEWS:2870 msgid "" "`bpo-40016 `__: In re docstring, clarify " "the relationship between inline and argument compile flags." msgstr "" #: ../build/NEWS:2873 msgid "" "`bpo-39953 `__: Update internal table of " "OpenSSL error codes in the ``ssl`` module." msgstr "" #: ../build/NEWS:2876 msgid "" "`bpo-36144 `__: Added :pep:`584` " "operators to :class:`weakref.WeakValueDictionary`." msgstr "" #: ../build/NEWS:2879 msgid "" "`bpo-36144 `__: Added :pep:`584` " "operators to :class:`weakref.WeakKeyDictionary`." msgstr "" #: ../build/NEWS:2882 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:2888 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:2892 msgid "" "`bpo-36144 `__: Added :pep:`584` " "operators (``|`` and ``|=``) to :class:`collections.ChainMap`." msgstr "" #: ../build/NEWS:2895 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:2899 msgid "" "`bpo-38410 `__: Properly handle :func:" "`sys.audit` failures in :func:`sys.set_asyncgen_hooks`." msgstr "" #: ../build/NEWS:2902 msgid "" "`bpo-36541 `__: lib2to3 now recognizes " "named assignment expressions (the walrus operator, ``:=``)" msgstr "" #: ../build/NEWS:2905 msgid "" "`bpo-35967 `__: In platform, delay the " "invocation of 'uname -p' until the processor attribute is requested." msgstr "" #: ../build/NEWS:2908 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:2913 msgid "" "`bpo-33262 `__: Deprecate passing None " "as an argument for :func:`shlex.split()`'s ``s`` parameter. Patch by " "Zackery Spytz." msgstr "" #: ../build/NEWS:2916 msgid "" "`bpo-31758 `__: Prevent crashes when " "using an uninitialized ``_elementtree.XMLParser`` object. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:2922 msgid "" "`bpo-27635 `__: The pickle documentation " "incorrectly claimed that ``__new__`` isn't called by default when unpickling." msgstr "" #: ../build/NEWS:2925 msgid "" "`bpo-39879 `__: Updated :ref:`datamodel` " "docs to include :func:`dict` insertion order preservation. Patch by Furkan " "Onder and Samy Lahfa." msgstr "" #: ../build/NEWS:2928 msgid "" "`bpo-38387 `__: Document :c:macro:" "`PyDoc_STRVAR` macro in the C-API reference." msgstr "" #: ../build/NEWS:2930 msgid "" "`bpo-13743 `__: Some methods within xml." "dom.minidom.Element class are now better documented." msgstr "" #: ../build/NEWS:2936 msgid "" "`bpo-31904 `__: Set expected default " "encoding in test_c_locale_coercion.py for VxWorks RTOS." msgstr "" #: ../build/NEWS:2939 msgid "" "`bpo-40162 `__: Update Travis CI " "configuration to OpenSSL 1.1.1f." msgstr "" #: ../build/NEWS:2941 msgid "" "`bpo-40146 `__: Update OpenSSL to 1.1.1f " "in Azure Pipelines." msgstr "" #: ../build/NEWS:2943 msgid "" "`bpo-40094 `__: Add :func:`test.support." "wait_process` function." msgstr "" #: ../build/NEWS:2945 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:2949 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:2953 msgid "" "`bpo-39793 `__: Use the same domain when " "testing ``make_msgid``. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:2956 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:2962 msgid "" "`bpo-38360 `__: Support single-argument " "form of macOS -isysroot flag." msgstr "" #: ../build/NEWS:2964 msgid "" "`bpo-40158 `__: Fix CPython MSBuild " "Properties in NuGet Package (build/native/python.props)" msgstr "" #: ../build/NEWS:2967 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:2974 msgid "" "`bpo-40164 `__: Updates Windows to " "OpenSSL 1.1.1f" msgstr "" #: ../build/NEWS:2976 msgid "" "`bpo-8901 `__: Ignore the Windows " "registry when the ``-E`` option is used." msgstr "" #: ../build/NEWS:2981 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:2986 msgid "" "`bpo-40164 `__: Update macOS installer " "builds to use OpenSSL 1.1.1g." msgstr "" #: ../build/NEWS:2991 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:2995 msgid "" "`bpo-38689 `__: IDLE will no longer " "freeze when inspect.signature fails when fetching a calltip." msgstr "" #: ../build/NEWS:3001 msgid "" "`bpo-40385 `__: Removed the checkpyc.py " "tool. Please see compileall without force mode as a potential alternative." msgstr "" #: ../build/NEWS:3004 msgid "" "`bpo-40179 `__: Fixed translation of " "``#elif`` in Argument Clinic." msgstr "" #: ../build/NEWS:3006 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:3013 msgid "" "`bpo-40241 `__: Move the :c:type:" "`PyGC_Head` structure to the internal C API." msgstr "" #: ../build/NEWS:3015 msgid "" "`bpo-40170 `__: Convert :c:func:" "`PyObject_IS_GC` macro to a function to hide implementation details." msgstr "" #: ../build/NEWS:3018 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:3023 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:3029 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:3034 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:3038 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:3042 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:3046 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyThreadState_GetID` function: get the unique identifier of a Python thread " "state." msgstr "" #: ../build/NEWS:3051 msgid "Python 3.9.0 alpha 5" msgstr "" #: ../build/NEWS:3053 msgid "*Release date: 2020-03-23*" msgstr "" #: ../build/NEWS:3058 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:3065 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:3071 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread executes pending calls." msgstr "" #: ../build/NEWS:3077 msgid "" "`bpo-1635741 `__: Port _collections " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3080 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:3086 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals." msgstr "" #: ../build/NEWS:3089 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:3094 msgid "" "`bpo-1635741 `__: Port _heapq module " "to multiphase initialization." msgstr "" #: ../build/NEWS:3096 msgid "" "`bpo-1635741 `__: Port itertools " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3099 msgid "" "`bpo-37207 `__: Speed up calls to " "``frozenset()`` by using the :pep:`590` ``vectorcall`` calling convention. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3102 msgid "" "`bpo-39984 `__: subinterpreters: Move " "``_PyRuntimeState.ceval.tracing_possible`` to ``PyInterpreterState.ceval." "tracing_possible``: each interpreter now has its own variable." msgstr "" #: ../build/NEWS:3107 msgid "" "`bpo-37207 `__: Speed up calls to " "``set()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:3110 msgid "" "`bpo-1635741 `__: Port _statistics " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3113 msgid "" "`bpo-39968 `__: Use inline function to " "replace extension modules' get_module_state macros." msgstr "" #: ../build/NEWS:3116 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:3120 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:3124 msgid "" "`bpo-37207 `__: Speed up calls to " "``tuple()`` by using the :pep:`590` ``vectorcall`` calling convention. Patch " "by Dong-hee Na." msgstr "" #: ../build/NEWS:3127 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:3131 msgid "" "`bpo-39926 `__: Update Unicode database " "to Unicode version 13.0.0." msgstr "" #: ../build/NEWS:3133 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:3137 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:3142 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:3148 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:3152 msgid "" "`bpo-39776 `__: Fix race condition where " "threads created by PyGILState_Ensure() could get a duplicate id." msgstr "" #: ../build/NEWS:3155 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:3159 msgid "" "`bpo-39778 `__: Fixed a crash due to " "incorrect handling of weak references in ``collections.OrderedDict`` " "classes. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3162 msgid "" "`bpo-1635741 `__: Port audioop " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3165 msgid "" "`bpo-39702 `__: Relax :term:`decorator` " "grammar restrictions to allow any valid expression (:pep:`614`)." msgstr "" #: ../build/NEWS:3168 msgid "" "`bpo-38091 `__: Tweak import deadlock " "detection code to not deadlock itself." msgstr "" #: ../build/NEWS:3170 msgid "" "`bpo-1635741 `__: Port _locale " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3173 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:3177 msgid "" "`bpo-39520 `__: Fix unparsing of ext " "slices with no items (``foo[:,]``). Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:3180 msgid "" "`bpo-39220 `__: Do not optimize " "annotations if 'from __future__ import annotations' is used. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:3183 msgid "" "`bpo-35712 `__: Using :data:" "`NotImplemented` in a boolean context has been deprecated. Patch contributed " "by Josh Rosenberg." msgstr "" #: ../build/NEWS:3186 msgid "" "`bpo-22490 `__: Don't leak environment " "variable ``__PYVENV_LAUNCHER__`` into the interpreter session on macOS." msgstr "" #: ../build/NEWS:3192 msgid "" "`bpo-39830 `__: Add :class:`zipfile." "Path` to ``__all__`` in the :mod:`zipfile` module." msgstr "" #: ../build/NEWS:3195 msgid "" "`bpo-40000 `__: Improved error messages " "for validation of ``ast.Constant`` nodes. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:3198 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:3202 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:3205 msgid "" "`bpo-39988 `__: Deprecated ``ast." "AugLoad`` and ``ast.AugStore`` node classes because they are no longer used." msgstr "" #: ../build/NEWS:3208 msgid "" "`bpo-39656 `__: Ensure ``bin/python3.#`` " "is always present in virtual environments on POSIX platforms - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:3211 msgid "" "`bpo-39969 `__: Deprecated ``ast.Param`` " "node class because it's no longer used. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:3214 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:3221 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:3225 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:3231 msgid "" "`bpo-36144 `__: :class:`collections." "OrderedDict` now implements ``|`` and ``|=`` (:pep:`584`)." msgstr "" #: ../build/NEWS:3234 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:3237 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:3242 msgid "" "`bpo-36144 `__: Updated :data:`os." "environ` and :data:`os.environb` to support :pep:`584`'s merge (``|``) and " "update (``|=``) operators." msgstr "" #: ../build/NEWS:3245 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:3250 msgid "" "`bpo-38075 `__: Fix the :meth:`random." "Random.seed` method when a :class:`bool` is passed as the seed." msgstr "" #: ../build/NEWS:3253 msgid "" "`bpo-39916 `__: More reliable use of " "``os.scandir()`` in ``Path.glob()``. It no longer emits a ResourceWarning " "when interrupted." msgstr "" #: ../build/NEWS:3256 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:3263 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:3268 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:3272 msgid "" "`bpo-39828 `__: Fix :mod:`json.tool` to " "catch :exc:`BrokenPipeError`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3275 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:3279 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:3283 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:3287 msgid "" "`bpo-39826 `__: Add getConnection method " "to logging HTTPHandler to enable custom connections." msgstr "" #: ../build/NEWS:3290 msgid "" "`bpo-39763 `__: Reimplement :func:" "`distutils.spawn.spawn` function with the :mod:`subprocess` module." msgstr "" #: ../build/NEWS:3293 msgid "" "`bpo-39794 `__: Add --without-decimal-" "contextvar build option. This enables a thread-local rather than a " "coroutine local context." msgstr "" #: ../build/NEWS:3296 msgid "" "`bpo-36144 `__: :class:`collections." "defaultdict` now implements ``|`` (:pep:`584`)." msgstr "" #: ../build/NEWS:3299 msgid "" "`bpo-39517 `__: Fix runpy.run_path() " "when using pathlike objects" msgstr "" #: ../build/NEWS:3301 msgid "" "`bpo-39775 `__: Change ``inspect." "Signature.parameters`` back to ``collections.OrderedDict``. This was changed " "to ``dict`` in Python 3.9.0a4." msgstr "" #: ../build/NEWS:3305 msgid "" "`bpo-39678 `__: Refactor queue_manager " "in :class:`concurrent.futures.ProcessPoolExecutor` to make it easier to " "maintain." msgstr "" #: ../build/NEWS:3309 msgid "" "`bpo-39764 `__: Fix AttributeError when " "calling get_stack on a PyAsyncGenObject Task" msgstr "" #: ../build/NEWS:3312 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:3318 msgid "" "`bpo-36144 `__: :class:`types." "MappingProxyType` objects now support the merge (``|``) operator from :pep:" "`584`." msgstr "" #: ../build/NEWS:3321 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:3325 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:3328 msgid "" "`bpo-39667 `__: Improve pathlib.Path " "compatibility on zipfile.Path and correct performance degradation as found " "in zipp 3.0." msgstr "" #: ../build/NEWS:3331 msgid "" "`bpo-39638 `__: Keep ASDL signatures in " "the docstrings for ``AST`` nodes. Patch by Batuhan Taskaya" msgstr "" #: ../build/NEWS:3334 msgid "" "`bpo-39639 `__: Deprecated ``ast.Suite`` " "node class because it's no longer used. Patch by Batuhan Taskaya." msgstr "" #: ../build/NEWS:3337 msgid "" "`bpo-39609 `__: Add thread_name_prefix " "to default asyncio executor" msgstr "" #: ../build/NEWS:3339 msgid "" "`bpo-39548 `__: Fix handling of header " "in :class:`urllib.request.AbstractDigestAuthHandler` when the optional " "``qop`` parameter is not present." msgstr "" #: ../build/NEWS:3343 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:3346 msgid "" "`bpo-39507 `__: Adding HTTP status 418 " "\"I'm a Teapot\" to HTTPStatus in http library. Patch by Ross Rhodes." msgstr "" #: ../build/NEWS:3349 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:3353 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:3358 msgid "" "`bpo-38641 `__: Added starred " "expressions support to ``return`` and ``yield`` statements for ``lib2to3``. " "Patch by Vlad Emelianov." msgstr "" #: ../build/NEWS:3361 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:3367 msgid "" "`bpo-34788 `__: Add support for scoped " "IPv6 addresses to :mod:`ipaddress`. Patch by Oleksandr Pavliuk." msgstr "" #: ../build/NEWS:3370 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:3380 msgid "" "`bpo-39868 `__: Updated the Language " "Reference for :pep:`572`." msgstr "" #: ../build/NEWS:3382 msgid "" "`bpo-13790 `__: Change 'string' to " "'specification' in format doc." msgstr "" #: ../build/NEWS:3384 msgid "" "`bpo-17422 `__: The language reference " "no longer restricts default class namespaces to dicts only." msgstr "" #: ../build/NEWS:3387 msgid "" "`bpo-39530 `__: Fix misleading " "documentation about mixed-type numeric comparisons." msgstr "" #: ../build/NEWS:3390 msgid "" "`bpo-39718 `__: Update :mod:`token` " "documentation to reflect additions in Python 3.8" msgstr "" #: ../build/NEWS:3393 msgid "" "`bpo-39677 `__: Changed operand name of " "**MAKE_FUNCTION** from *argc* to *flags* for module :mod:`dis`" msgstr "" #: ../build/NEWS:3399 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:3402 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:3405 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:3408 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:3415 msgid "" "`bpo-39761 `__: Fix build with DTrace " "but without additional DFLAGS." msgstr "" #: ../build/NEWS:3417 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:3421 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:3432 msgid "" "`bpo-39930 `__: Ensures the required :" "file:`vcruntime140.dll` is included in install packages." msgstr "" #: ../build/NEWS:3435 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:3439 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:3444 msgid "" "`bpo-38380 `__: Update Windows builds to " "use SQLite 3.31.1" msgstr "" #: ../build/NEWS:3446 msgid "" "`bpo-39789 `__: Update Windows release " "build machines to Visual Studio 2019 (MSVC 14.2)." msgstr "" #: ../build/NEWS:3449 msgid "" "`bpo-34803 `__: Package for nuget.org " "now includes repository reference and bundled icon image." msgstr "" #: ../build/NEWS:3455 msgid "" "`bpo-38380 `__: Update macOS builds to " "use SQLite 3.31.1" msgstr "" #: ../build/NEWS:3460 msgid "" "`bpo-27115 `__: For 'Go to Line', use a " "Query box subclass with IDLE standard behavior and improved error checking." msgstr "" #: ../build/NEWS:3463 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:3466 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:3469 msgid "" "`bpo-39781 `__: Selecting code context " "lines no longer causes a jump." msgstr "" #: ../build/NEWS:3474 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:3479 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:3486 msgid "" "`bpo-40024 `__: Add :c:func:" "`PyModule_AddType` helper function: add a type to a module. Patch by Dong-" "hee Na." msgstr "" #: ../build/NEWS:3489 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:3494 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyThreadState_GetFrame` function: get the current frame of a Python thread " "state." msgstr "" #: ../build/NEWS:3497 msgid "" "`bpo-37207 `__: Add _PyArg_NoKwnames " "helper function. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3499 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyThreadState_GetInterpreter`: get the interpreter of a Python thread state." msgstr "" #: ../build/NEWS:3502 msgid "" "`bpo-39947 `__: Add :c:func:" "`PyInterpreterState_Get` function to the limited C API." msgstr "" #: ../build/NEWS:3505 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:3508 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:3513 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:3517 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:3521 msgid "" "`bpo-39877 `__: Deprecated :c:func:" "`PyEval_InitThreads` and :c:func:`PyEval_ThreadsInitialized`. Calling :c:" "func:`PyEval_InitThreads` now does nothing." msgstr "" #: ../build/NEWS:3525 msgid "" "`bpo-38249 `__: :c:macro:" "`Py_UNREACHABLE` is now implemented with ``__builtin_unreachable()`` and " "analogs in release mode." msgstr "" #: ../build/NEWS:3528 msgid "" "`bpo-38643 `__: :c:func:" "`PyNumber_ToBase` now raises a :exc:`SystemError` instead of crashing when " "called with invalid base." msgstr "" #: ../build/NEWS:3531 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:3535 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:3544 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" #: ../build/NEWS:3546 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:3549 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:3557 msgid "Python 3.9.0 alpha 4" msgstr "" #: ../build/NEWS:3559 msgid "*Release date: 2020-02-25*" msgstr "" #: ../build/NEWS:3564 msgid "" "`bpo-39184 `__: Add audit events to " "functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal` and " "`syslog`." msgstr "" #: ../build/NEWS:3567 msgid "" "`bpo-39401 `__: Avoid unsafe DLL load at " "startup on Windows 7 and earlier." msgstr "" #: ../build/NEWS:3569 msgid "" "`bpo-39184 `__: Add audit events to " "command execution functions in os and pty modules." msgstr "" #: ../build/NEWS:3575 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:3579 msgid "" "`bpo-39573 `__: Update clinic tool to " "use :c:func:`Py_IS_TYPE`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:3582 msgid "" "`bpo-39619 `__: Enable use of :func:`os." "chroot` on HP-UX systems." msgstr "" #: ../build/NEWS:3584 msgid "" "`bpo-39573 `__: Add :c:func:`Py_IS_TYPE` " "static inline function to check whether the object *o* type is *type*." msgstr "" #: ../build/NEWS:3587 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:3591 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:3595 msgid "" "`bpo-1635741 `__: Port _crypt " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3598 msgid "" "`bpo-1635741 `__: Port _contextvars " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3601 msgid "" "`bpo-39510 `__: Fix segfault in " "``readinto()`` method on closed BufferedReader." msgstr "" #: ../build/NEWS:3603 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:3606 msgid "" "`bpo-39492 `__: Fix a reference cycle in " "the C Pickler that was preventing the garbage collection of deleted, pickled " "objects." msgstr "" #: ../build/NEWS:3609 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:3612 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:3616 msgid "" "`bpo-1635741 `__: Port _codecs " "extension module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3619 msgid "" "`bpo-1635741 `__: Port _bz2 extension " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3622 msgid "" "`bpo-1635741 `__: Port _abc extension " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3625 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:3630 msgid "" "`bpo-39219 `__: Syntax errors raised in " "the tokenizer now always set correct \"text\" and \"offset\" attributes." msgstr "" #: ../build/NEWS:3633 msgid "" "`bpo-36051 `__: Drop the GIL during " "large ``bytes.join`` operations. Patch by Bruce Merry." msgstr "" #: ../build/NEWS:3636 msgid "" "`bpo-38960 `__: Fix DTrace build issues " "on FreeBSD. Patch by David Carlier." msgstr "" #: ../build/NEWS:3638 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:3641 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:3645 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:3652 msgid "" "`bpo-30566 `__: Fix :exc:`IndexError` " "when trying to decode an invalid string with punycode codec." msgstr "" #: ../build/NEWS:3655 msgid "" "`bpo-39649 `__: Remove obsolete check " "for `__args__` in bdb.Bdb.format_stack_entry." msgstr "" #: ../build/NEWS:3658 msgid "" "`bpo-39648 `__: Expanded :func:`math." "gcd` and :func:`math.lcm` to handle multiple arguments." msgstr "" #: ../build/NEWS:3661 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:3665 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:3669 msgid "" "`bpo-39479 `__: Add :func:`math.lcm` " "function: least common multiple." msgstr "" #: ../build/NEWS:3671 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:3676 msgid "" "`bpo-39104 `__: Fix hanging " "ProcessPoolExcutor on ``shutdown(wait=False)`` when a task has failed " "pickling." msgstr "" #: ../build/NEWS:3679 msgid "" "`bpo-39627 `__: Fixed TypedDict totality " "check for inherited keys." msgstr "" #: ../build/NEWS:3681 msgid "" "`bpo-39474 `__: Fixed starting position " "of AST for expressions like ``(a)(b)``, ``(a)[b]`` and ``(a).b``." msgstr "" #: ../build/NEWS:3684 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:3689 msgid "" "`bpo-39590 `__: Collections.deque now " "holds strong references during deque.__contains__ and deque.count, fixing " "crashes." msgstr "" #: ../build/NEWS:3692 msgid "" "`bpo-39586 `__: The distutils " "``bdist_msi`` command is deprecated in Python 3.9, use ``bdist_wheel`` " "(wheel packages) instead." msgstr "" #: ../build/NEWS:3695 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:3700 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:3706 msgid "" "`bpo-39567 `__: Added audit for :func:" "`os.walk`, :func:`os.fwalk`, :meth:`pathlib.Path.glob` and :meth:`pathlib." "Path.rglob`." msgstr "" #: ../build/NEWS:3709 msgid "" "`bpo-39559 `__: Remove unused, " "undocumented argument ``getters`` from :func:`uuid.getnode`" msgstr "" #: ../build/NEWS:3712 msgid "" "`bpo-38149 `__: :func:`sys.audit` is now " "called only once per call of :func:`glob.glob` and :func:`glob.iglob`." msgstr "" #: ../build/NEWS:3715 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:3719 msgid "" "`bpo-39450 `__: Striped whitespace from " "docstring before returning it from :func:`unittest.case.shortDescription`." msgstr "" #: ../build/NEWS:3722 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:3728 msgid "" "`bpo-39353 `__: The :func:`binascii." "crc_hqx` function is no longer deprecated." msgstr "" #: ../build/NEWS:3730 msgid "" "`bpo-39493 `__: Mark ``typing.IO." "closed`` as a property" msgstr "" #: ../build/NEWS:3732 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:3736 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:3740 msgid "" "`bpo-38932 `__: Mock fully resets child " "objects on reset_mock(). Patch by Vegard Stikbakke" msgstr "" #: ../build/NEWS:3743 msgid "" "`bpo-39082 `__: Allow AsyncMock to " "correctly patch static/class methods" msgstr "" #: ../build/NEWS:3745 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:3749 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:3753 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:3758 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:3761 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:3765 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:3770 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:3774 msgid "" "`bpo-35727 `__: Fix sys.exit() and sys." "exit(None) exit code propagation when used in multiprocessing.Process." msgstr "" #: ../build/NEWS:3777 msgid "" "`bpo-32173 `__: * Add `lazycache` " "function to `__all__`. * Use `dict.clear` to clear the cache. * Refactoring " "`getline` function and `checkcache` function." msgstr "" #: ../build/NEWS:3784 msgid "" "`bpo-17422 `__: The language reference " "now specifies restrictions on class namespaces. Adapted from a patch by " "Ethan Furman." msgstr "" #: ../build/NEWS:3787 msgid "" "`bpo-39572 `__: Updated documentation of " "``total`` flag of TypeDict." msgstr "" #: ../build/NEWS:3789 msgid "" "`bpo-39654 `__: In pyclbr doc, update " "'class' to 'module' where appropriate and add readmodule comment. Patch by " "Hakan Çelik." msgstr "" #: ../build/NEWS:3792 msgid "" "`bpo-39153 `__: Clarify refcounting " "semantics for the following functions: - PyObject_SetItem - " "PyMapping_SetItemString - PyDict_SetItem - PyDict_SetItemString" msgstr "" #: ../build/NEWS:3796 msgid "" "`bpo-39392 `__: Explain that when " "filling with turtle, overlap regions may be left unfilled." msgstr "" #: ../build/NEWS:3799 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:3804 msgid "" "`bpo-9056 `__: Include subsection in TOC " "for PDF version of docs." msgstr "" #: ../build/NEWS:3809 msgid "" "`bpo-38325 `__: Skip tests on non-BMP " "characters of test_winconsoleio." msgstr "" #: ../build/NEWS:3811 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:3818 msgid "" "`bpo-39489 `__: Remove ``COUNT_ALLOCS`` " "special build." msgstr "" #: ../build/NEWS:3823 msgid "" "`bpo-39553 `__: Delete unused code " "related to SxS manifests." msgstr "" #: ../build/NEWS:3825 msgid "" "`bpo-39439 `__: Honor the Python path " "when a virtualenv is active on Windows." msgstr "" #: ../build/NEWS:3827 msgid "" "`bpo-39393 `__: Improve the error " "message when attempting to load a DLL with unresolved dependencies." msgstr "" #: ../build/NEWS:3830 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:3837 msgid "" "`bpo-39185 `__: The build.bat script has " "additional options for very-quiet output (-q) and very-verbose output (-vv)" msgstr "" #: ../build/NEWS:3843 msgid "" "`bpo-39663 `__: Add tests for pyparse " "find_good_parse_start()." msgstr "" #: ../build/NEWS:3845 msgid "" "`bpo-39600 `__: In the font " "configuration window, remove duplicated font names." msgstr "" #: ../build/NEWS:3847 msgid "" "`bpo-30780 `__: Add remaining " "configdialog tests for buttons and highlights and keys tabs." msgstr "" #: ../build/NEWS:3850 msgid "" "`bpo-39388 `__: IDLE Settings Cancel " "button now cancels pending changes" msgstr "" #: ../build/NEWS:3852 msgid "" "`bpo-38792 `__: Close an IDLE shell " "calltip if a :exc:`KeyboardInterrupt` or shell restart occurs. Patch by " "Zackery Spytz." msgstr "" #: ../build/NEWS:3858 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:3862 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:3867 msgid "" "`bpo-39573 `__: Add :c:func:" "`Py_SET_SIZE` function to set the size of an object." msgstr "" #: ../build/NEWS:3870 msgid "" "`bpo-39500 `__: :c:func:" "`PyUnicode_IsIdentifier` does not call :c:func:`Py_FatalError` anymore if " "the string is not ready." msgstr "" #: ../build/NEWS:3873 msgid "" "`bpo-39573 `__: Add :c:func:" "`Py_SET_TYPE` function to set the type of an object." msgstr "" #: ../build/NEWS:3876 msgid "" "`bpo-39573 `__: Add a :c:func:" "`Py_SET_REFCNT` function to set the reference counter of an object." msgstr "" #: ../build/NEWS:3879 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:3882 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:3890 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:3894 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:3898 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:3902 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:3910 msgid "Python 3.9.0 alpha 3" msgstr "" #: ../build/NEWS:3912 msgid "*Release date: 2020-01-24*" msgstr "" #: ../build/NEWS:3917 msgid "" "`bpo-39427 `__: Document all " "possibilities for the ``-X`` options in the command line help section. Patch " "by Pablo Galindo." msgstr "" #: ../build/NEWS:3920 msgid "" "`bpo-39421 `__: Fix possible crashes " "when operating with the functions in the :mod:`heapq` module and custom " "comparison operators." msgstr "" #: ../build/NEWS:3923 msgid "" "`bpo-39386 `__: Prevent double awaiting " "of async iterator." msgstr "" #: ../build/NEWS:3925 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:3929 msgid "" "`bpo-39320 `__: Replace four complex " "bytecodes for building sequences with three simpler ones." msgstr "" #: ../build/NEWS:3932 msgid "The following four bytecodes have been removed:" msgstr "" #: ../build/NEWS:3934 msgid "BUILD_LIST_UNPACK" msgstr "" #: ../build/NEWS:3935 msgid "BUILD_TUPLE_UNPACK" msgstr "" #: ../build/NEWS:3936 msgid "BUILD_SET_UNPACK" msgstr "" #: ../build/NEWS:3937 msgid "BUILD_TUPLE_UNPACK_WITH_CALL" msgstr "" #: ../build/NEWS:3939 msgid "The following three bytecodes have been added:" msgstr "" #: ../build/NEWS:3941 msgid "LIST_TO_TUPLE" msgstr "" #: ../build/NEWS:3942 msgid "LIST_EXTEND" msgstr "" #: ../build/NEWS:3943 msgid "SET_UPDATE" msgstr "" #: ../build/NEWS:3945 msgid "" "`bpo-39336 `__: Import loaders which " "publish immutable module objects can now publish immutable packages in " "addition to individual modules." msgstr "" #: ../build/NEWS:3948 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:3952 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:3957 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:3960 msgid "" "`bpo-39209 `__: Correctly handle multi-" "line tokens in interactive mode. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3963 msgid "" "`bpo-1635741 `__: Port _json extension " "module to multiphase initialization (:pep:`489`)." msgstr "" #: ../build/NEWS:3966 msgid "" "`bpo-39216 `__: Fix constant folding " "optimization for positional only arguments - by Anthony Sottile." msgstr "" #: ../build/NEWS:3969 msgid "" "`bpo-39215 `__: Fix ``SystemError`` when " "nested function has annotation on positional-only argument - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:3972 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:3975 msgid "" "`bpo-39200 `__: Correct the error " "message when trying to construct :class:`range` objects with no arguments. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:3978 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:3982 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:3985 msgid "" "`bpo-39156 `__: Split the COMPARE_OP " "bytecode instruction into four distinct instructions." msgstr "" #: ../build/NEWS:3988 msgid "COMPARE_OP for rich comparisons" msgstr "" #: ../build/NEWS:3989 msgid "IS_OP for 'is' and 'is not' tests" msgstr "" #: ../build/NEWS:3990 msgid "CONTAINS_OP for 'in' and 'is not' tests" msgstr "" #: ../build/NEWS:3991 msgid "" "JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements." msgstr "" #: ../build/NEWS:3993 msgid "" "This improves the clarity of the interpreter and should provide a modest " "speedup." msgstr "" #: ../build/NEWS:3996 msgid "" "`bpo-38588 `__: Fix possible crashes in " "dict and list when calling :c:func:`PyObject_RichCompareBool`." msgstr "" #: ../build/NEWS:3999 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:4004 msgid "" "(Contributed by Jendrik Seipp in `bpo-13601 `__.)" msgstr "" #: ../build/NEWS:4006 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:4010 msgid "" "`bpo-32021 `__: Include brotli .br " "encoding in mimetypes encodings_map" msgstr "" #: ../build/NEWS:4015 msgid "" "`bpo-39430 `__: Fixed race condition in " "lazy imports in :mod:`tarfile`." msgstr "" #: ../build/NEWS:4017 msgid "" "`bpo-39413 `__: The :func:`os.unsetenv` " "function is now also available on Windows." msgstr "" #: ../build/NEWS:4020 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:4024 msgid "" "`bpo-39395 `__: The :func:`os.putenv` " "and :func:`os.unsetenv` functions are now always available." msgstr "" #: ../build/NEWS:4027 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:4031 msgid "" "`bpo-39396 `__: Fix ``math." "nextafter(-0.0, +0.0)`` on AIX 7.1." msgstr "" #: ../build/NEWS:4033 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:4037 msgid "" "`bpo-39377 `__: Removed ``encoding`` " "option from :func:`json.loads`. It has been deprecated since Python 3.1." msgstr "" #: ../build/NEWS:4040 msgid "" "`bpo-39389 `__: Write accurate " "compression level metadata in :mod:`gzip` archives, rather than always " "signaling maximum compression." msgstr "" #: ../build/NEWS:4043 msgid "" "`bpo-39366 `__: The previously " "deprecated ``xpath()`` and ``xgtitle()`` methods of :class:`nntplib.NNTP` " "have been removed." msgstr "" #: ../build/NEWS:4046 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:4051 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:4057 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:4061 msgid "" "`bpo-39350 `__: Remove ``fractions." "gcd()`` function, deprecated since Python 3.5 (:issue:`22486`): use :func:" "`math.gcd` instead." msgstr "" #: ../build/NEWS:4064 msgid "" "`bpo-39329 `__: :class:`~smtplib.LMTP` " "constructor now has an optional *timeout* parameter. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:4067 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:4071 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:4075 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:4079 msgid "" "`bpo-39310 `__: Add :func:`math.ulp`: " "return the value of the least significant bit of a float." msgstr "" #: ../build/NEWS:4082 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:4086 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:4090 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:4094 msgid "" "`bpo-39288 `__: Add :func:`math." "nextafter`: return the next floating-point value after *x* towards *y*." msgstr "" #: ../build/NEWS:4097 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:4101 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:4105 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:4109 msgid "" "`bpo-39239 `__: The :meth:`select.epoll." "unregister` method no longer ignores the :data:`~errno.EBADF` error." msgstr "" #: ../build/NEWS:4112 msgid "" "`bpo-38907 `__: In http.server script, " "restore binding to IPv4 on Windows." msgstr "" #: ../build/NEWS:4114 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:4117 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:4122 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:4126 msgid "" "`bpo-38871 `__: Correctly parenthesize " "filter-based statements that contain lambda expressions in mod:`lib2to3`. " "Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:4129 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:4135 msgid "" "`bpo-39158 `__: ast.literal_eval() now " "supports empty sets." msgstr "" #: ../build/NEWS:4137 msgid "" "`bpo-39129 `__: Fix import path for " "``asyncio.TimeoutError``" msgstr "" #: ../build/NEWS:4139 msgid "" "`bpo-39057 `__: :func:`urllib.request." "proxy_bypass_environment` now ignores leading dots and no longer ignores a " "trailing newline." msgstr "" #: ../build/NEWS:4142 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:4145 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:4148 msgid "" "`bpo-21600 `__: Fix :func:`mock.patch." "stopall` to stop active patches that were created with :func:`mock.patch." "dict`." msgstr "" #: ../build/NEWS:4151 msgid "" "`bpo-39019 `__: Implement dummy " "``__class_getitem__`` for :class:`tempfile.SpooledTemporaryFile`." msgstr "" #: ../build/NEWS:4154 msgid "" "`bpo-39019 `__: Implement dummy " "``__class_getitem__`` for ``subprocess.Popen``, ``subprocess." "CompletedProcess``" msgstr "" #: ../build/NEWS:4157 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:4163 msgid "" "`bpo-38878 `__: Fixed __subclasshook__ " "of :class:`os.PathLike` to return a correct result upon inheritence. Patch " "by Bar Harel." msgstr "" #: ../build/NEWS:4166 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:4173 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:4177 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:4183 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:4188 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:4191 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:4194 msgid "" "`bpo-38293 `__: Add :func:`copy.copy` " "and :func:`copy.deepcopy` support to :func:`property` objects." msgstr "" #: ../build/NEWS:4197 msgid "" "`bpo-37958 `__: Added the pstats.Stats." "get_profile_dict() method to return the profile data as a StatsProfile " "instance." msgstr "" #: ../build/NEWS:4200 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:4208 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:4211 msgid "" "`bpo-38918 `__: Add an entry for " "``__module__`` in the \"function\" & \"method\" sections of the `inspect " "docs types and members table `_" msgstr "" #: ../build/NEWS:4215 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:4222 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:4225 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:4229 msgid "" "`bpo-39144 `__: The ctags and etags " "build targets both include Modules/_ctypes and Python standard library " "source files." msgstr "" #: ../build/NEWS:4235 msgid "" "`bpo-39050 `__: Make IDLE Settings " "dialog Help button work again." msgstr "" #: ../build/NEWS:4237 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:4240 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:4246 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:4255 msgid "" "`bpo-39164 `__: Add a private " "``_PyErr_GetExcInfo()`` function to retrieve exception information of the " "specified Python thread state." msgstr "" #: ../build/NEWS:4260 msgid "Python 3.9.0 alpha 2" msgstr "" #: ../build/NEWS:4262 msgid "*Release date: 2019-12-18*" msgstr "" #: ../build/NEWS:4267 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:4272 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:4279 msgid "" "`bpo-38804 `__: Fixes a ReDoS " "vulnerability in :mod:`http.cookiejar`. Patch by Ben Caller." msgstr "" #: ../build/NEWS:4285 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:4289 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:4293 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:4297 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:4301 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:4305 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:4308 msgid "" "`bpo-38922 `__: Calling ``replace`` on a " "code object now raises the ``code.__new__`` audit event." msgstr "" #: ../build/NEWS:4311 msgid "" "`bpo-38920 `__: Add audit hooks for " "when :func:`sys.excepthook` and :func:`sys.unraisablehook` are invoked." msgstr "" #: ../build/NEWS:4314 msgid "" "`bpo-38892 `__: Improve documentation " "for audit events table and functions." msgstr "" #: ../build/NEWS:4316 msgid "" "`bpo-38852 `__: Set the thread stack " "size to 8 Mb for debug builds on android platforms." msgstr "" #: ../build/NEWS:4319 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:4325 msgid "" "`bpo-36854 `__: The garbage collector " "state becomes per interpreter (``PyInterpreterState.gc``), rather than being " "global (``_PyRuntimeState.gc``)." msgstr "" #: ../build/NEWS:4329 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:4333 msgid "" "`bpo-38328 `__: Sped up the creation " "time of constant :class:`list` and :class:`set` displays. Patch by Brandt " "Bucher." msgstr "" #: ../build/NEWS:4336 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:4340 msgid "" "`bpo-38629 `__: Added ``__floor__`` and " "``__ceil__`` methods to float object. Patch by Batuhan Taşkaya." msgstr "" #: ../build/NEWS:4343 msgid "" "`bpo-27145 `__: int + int and int - int " "operators can now return small integer singletons. Patch by hongweipeng." msgstr "" #: ../build/NEWS:4346 msgid "" "`bpo-38021 `__: Provide a platform tag " "for AIX that is sufficient for PEP425 binary distribution identification. " "Patch by Michael Felt." msgstr "" #: ../build/NEWS:4349 msgid "" "`bpo-35409 `__: Ignore GeneratorExit " "exceptions when throwing an exception into the aclose coroutine of an " "asynchronous generator." msgstr "" #: ../build/NEWS:4352 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:4362 msgid "" "`bpo-39033 `__: Fix :exc:`NameError` in :" "mod:`zipimport`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:4365 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:4369 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:4372 msgid "" "`bpo-38708 `__: Fix a potential " "IndexError in email parser when parsing an empty msg-id." msgstr "" #: ../build/NEWS:4375 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:4379 msgid "" "`bpo-38994 `__: Implement " "``__class_getitem__`` for ``os.PathLike``, ``pathlib.Path``." msgstr "" #: ../build/NEWS:4382 msgid "" "`bpo-38979 `__: Return class from " "``ContextVar.__class_getitem__`` to simplify subclassing." msgstr "" #: ../build/NEWS:4385 msgid "" "`bpo-38978 `__: Implement " "``__class_getitem__`` on asyncio objects (Future, Task, Queue). Patch by " "Batuhan Taskaya." msgstr "" #: ../build/NEWS:4388 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:4392 msgid "" "`bpo-38986 `__: Make repr of C " "accelerated TaskWakeupMethWrapper the same as of pure Python version." msgstr "" #: ../build/NEWS:4395 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:4401 msgid "" "`bpo-38529 `__: Drop too noisy asyncio " "warning about deletion of a stream without explicit ``.close()`` call." msgstr "" #: ../build/NEWS:4404 msgid "" "`bpo-27413 `__: Added ability to pass " "through ``ensure_ascii`` options to json.dumps in the ``json.tool`` command-" "line interface." msgstr "" #: ../build/NEWS:4407 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:4411 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:4414 msgid "" "`bpo-38698 `__: Prevent " "UnboundLocalError to pop up in parse_message_id." msgstr "" #: ../build/NEWS:4416 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:4420 msgid "" "`bpo-38927 `__: Use ``python -m pip`` " "instead of ``pip`` to upgrade dependencies in venv." msgstr "" #: ../build/NEWS:4423 msgid "" "`bpo-26730 `__: Fix " "``SpooledTemporaryFile.rollover()`` might corrupt the file when it is in " "text mode. Patch by Serhiy Storchaka." msgstr "" #: ../build/NEWS:4426 msgid "" "`bpo-38881 `__: random.choices() now " "raises a ValueError when all the weights are zero." msgstr "" #: ../build/NEWS:4429 msgid "" "`bpo-38876 `__: Raise pickle." "UnpicklingError when loading an item from memo for invalid input." msgstr "" #: ../build/NEWS:4432 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:4439 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:4445 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:4449 msgid "" "`bpo-37838 `__: :meth:`typing." "get_type_hints` properly handles functions decorated with :meth:`functools." "wraps`." msgstr "" #: ../build/NEWS:4452 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:4457 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:4461 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:4466 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:4471 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:4475 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:4479 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:4482 msgid "" "`bpo-38686 `__: Added support for " "multiple ``qop`` values in :class:`urllib.request.AbstractDigestAuthHandler`." msgstr "" #: ../build/NEWS:4485 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:4489 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:4493 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:4498 msgid "" "`bpo-38045 `__: Improve the performance " "of :func:`enum._decompose` in :mod:`enum`. Patch by hongweipeng." msgstr "" #: ../build/NEWS:4501 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:4505 msgid "" "`bpo-36406 `__: Handle namespace " "packages in :mod:`doctest`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:4508 msgid "" "`bpo-34776 `__: Fix dataclasses to " "support forward references in type annotations" msgstr "" #: ../build/NEWS:4511 msgid "" "`bpo-20928 `__: ElementTree supports " "recursive XInclude processing. Patch by Stefan Behnel." msgstr "" #: ../build/NEWS:4514 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:4524 msgid "" "`bpo-38928 `__: Correct when venv's " "``upgrade_dependencies()`` and ``--upgrade-deps`` are added." msgstr "" #: ../build/NEWS:4527 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:4531 msgid "" "`bpo-22377 `__: Improves documentation " "of the values that :meth:`datetime.datetime.strptime` accepts for ``%Z``. " "Patch by Karl Dubost." msgstr "" #: ../build/NEWS:4538 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:4542 msgid "" "`bpo-38546 `__: Multiprocessing and " "concurrent.futures tests now stop the resource tracker process when tests " "complete." msgstr "" #: ../build/NEWS:4545 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:4553 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:4557 msgid "" "`bpo-38992 `__: Fix a test for :func:" "`math.fsum` that was failing due to constant folding." msgstr "" #: ../build/NEWS:4560 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:4567 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:4571 msgid "" "`bpo-38875 `__: test_capi: trashcan " "tests now require the test \"cpu\" resource." msgstr "" #: ../build/NEWS:4573 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:4576 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:4581 msgid "" "`bpo-38839 `__: Fix some unused " "functions in tests. Patch by Adam Johnson." msgstr "" #: ../build/NEWS:4583 msgid "" "`bpo-38669 `__: Raise :exc:`TypeError` " "when passing target as a string with :meth:`unittest.mock.patch.object`." msgstr "" #: ../build/NEWS:4586 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:4593 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:4597 msgid "" "`bpo-36500 `__: Added an optional \"regen" "\" project to the Visual Studio solution that will regenerate all grammar, " "tokens, and opcodes." msgstr "" #: ../build/NEWS:4603 msgid "" "`bpo-39007 `__: Add auditing events to " "functions in :mod:`winreg`." msgstr "" #: ../build/NEWS:4605 msgid "" "`bpo-33125 `__: Add support for building " "and releasing Windows ARM64 packages." msgstr "" #: ../build/NEWS:4610 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:4617 msgid "" "`bpo-38944 `__: Escape key now closes " "IDLE completion windows. Patch by Johnny Najera." msgstr "" #: ../build/NEWS:4620 msgid "" "`bpo-38943 `__: Fix IDLE autocomplete " "windows not always appearing on some systems. Patch by Johnny Najera." msgstr "" #: ../build/NEWS:4623 msgid "" "`bpo-38862 `__: 'Strip Trailing " "Whitespace' on the Format menu removes extra newlines at the end of non-" "shell files." msgstr "" #: ../build/NEWS:4626 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:4633 msgid "" "`bpo-38896 `__: Remove " "``PyUnicode_ClearFreeList()`` function: the Unicode free list has been " "removed in Python 3.3." msgstr "" #: ../build/NEWS:4636 msgid "" "`bpo-37340 `__: Remove " "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()`` functions: " "the free lists of bound method objects have been removed." msgstr "" #: ../build/NEWS:4640 msgid "" "`bpo-38835 `__: Exclude " "``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` " "from ``Py_LIMITED_API`` (stable API)." msgstr "" #: ../build/NEWS:4645 msgid "Python 3.9.0 alpha 1" msgstr "" #: ../build/NEWS:4647 msgid "*Release date: 2019-11-19*" msgstr "" #: ../build/NEWS:4652 msgid "" "`bpo-38722 `__: :mod:`runpy` now uses :" "meth:`io.open_code` to open code files. Patch by Jason Killen." msgstr "" #: ../build/NEWS:4655 msgid "" "`bpo-38622 `__: Add additional audit " "events for the :mod:`ctypes` module." msgstr "" #: ../build/NEWS:4657 msgid "" "`bpo-38418 `__: Fixes audit event for :" "func:`os.system` to be named ``os.system``." msgstr "" #: ../build/NEWS:4660 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:4664 msgid "" "`bpo-38174 `__: Update vendorized expat " "library version to 2.2.8, which resolves CVE-2019-15903." msgstr "" #: ../build/NEWS:4667 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:4672 msgid "" "`bpo-37461 `__: Fix an infinite loop " "when parsing specially crafted email headers. Patch by Abhilash Raj." msgstr "" #: ../build/NEWS:4675 msgid "" "`bpo-37363 `__: Adds audit events for " "the range of supported run commands (see :ref:`using-on-general`)." msgstr "" #: ../build/NEWS:4678 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:4683 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:4689 msgid "" "`bpo-37364 `__: :func:`io.open_code` is " "now used when reading :file:`.pth` files." msgstr "" #: ../build/NEWS:4692 msgid "" "`bpo-34631 `__: Updated OpenSSL to " "1.1.1c in Windows installer" msgstr "" #: ../build/NEWS:4694 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:4701 msgid "" "`bpo-38631 `__: Replace " "``Py_FatalError()`` call with a regular :exc:`RuntimeError` exception in :" "meth:`float.__getformat__`." msgstr "" #: ../build/NEWS:4704 msgid "" "`bpo-38639 `__: Optimized :func:`math." "floor()`, :func:`math.ceil()` and :func:`math.trunc()` for floats." msgstr "" #: ../build/NEWS:4707 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:4711 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:4715 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:4719 msgid "" "`bpo-38535 `__: Fixed line numbers and " "column offsets for AST nodes for calls without arguments in decorators." msgstr "" #: ../build/NEWS:4722 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:4725 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:4729 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:4733 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:4736 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:4742 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:4749 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:4753 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:4756 msgid "" "`bpo-38402 `__: Check the error from the " "system's underlying ``crypt`` or ``crypt_r``." msgstr "" #: ../build/NEWS:4759 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:4763 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:4767 msgid "" "`bpo-38317 `__: Fix warnings options " "priority: ``PyConfig.warnoptions`` has the highest priority, as stated in " "the :pep:`587`." msgstr "" #: ../build/NEWS:4770 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:4773 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:4778 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:4783 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:4786 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:4789 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:4793 msgid "" "`bpo-38124 `__: Fix an off-by-one error " "in PyState_AddModule that could cause out-of-bounds memory access." msgstr "" #: ../build/NEWS:4796 msgid "" "`bpo-38116 `__: The select module is now " "PEP-384 compliant and no longer has static state" msgstr "" #: ../build/NEWS:4799 msgid "" "`bpo-38113 `__: ast module updated to " "PEP-384 and all statics removed" msgstr "" #: ../build/NEWS:4801 msgid "" "`bpo-38076 `__: The struct module is now " "PEP-384 compatible" msgstr "" #: ../build/NEWS:4803 msgid "" "`bpo-38075 `__: The random module is now " "PEP-384 compatible" msgstr "" #: ../build/NEWS:4805 msgid "" "`bpo-38074 `__: zlib module made PEP-384 " "compatible" msgstr "" #: ../build/NEWS:4807 msgid "" "`bpo-38073 `__: Make pwd extension " "module PEP-384 compatible" msgstr "" #: ../build/NEWS:4809 msgid "" "`bpo-38072 `__: grp module made PEP-384 " "compatible" msgstr "" #: ../build/NEWS:4811 msgid "" "`bpo-38069 `__: Make _posixsubprocess " "PEP-384 compatible" msgstr "" #: ../build/NEWS:4813 msgid "" "`bpo-38071 `__: Make termios extension " "module PEP-384 compatible" msgstr "" #: ../build/NEWS:4815 msgid "" "`bpo-38005 `__: Fixed comparing and " "creating of InterpreterID and ChannelID." msgstr "" #: ../build/NEWS:4817 msgid "" "`bpo-36946 `__: Fix possible signed " "integer overflow when handling slices. Patch by hongweipeng." msgstr "" #: ../build/NEWS:4820 msgid "" "`bpo-37994 `__: Fixed silencing " "arbitrary errors if an attribute lookup fails in several sites. Only " "AttributeError should be silenced." msgstr "" #: ../build/NEWS:4823 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:4827 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:4831 msgid "" "`bpo-37947 `__: Adjust correctly the " "recursion level in the symtable generation for named expressions. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:4834 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:4838 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:4842 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:4846 msgid "" "`bpo-20490 `__: Improve import error " "message for partially initialized module on circular ``from`` imports - by " "Anthony Sottile." msgstr "" #: ../build/NEWS:4849 msgid "" "`bpo-37840 `__: Fix handling of negative " "indices in :c:member:`~PySequenceMethods.sq_item` of :class:`bytearray`. " "Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:4853 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:4857 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:4861 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:4865 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:4869 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:4873 msgid "" "`bpo-36279 `__: Fix potential use of " "uninitialized memory in :func:`os.wait3`." msgstr "" #: ../build/NEWS:4875 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:4878 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:4881 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:4885 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:4889 msgid "" "`bpo-37444 `__: Update differing " "exception between :meth:`builtins.__import__` and :meth:`importlib." "__import__`." msgstr "" #: ../build/NEWS:4892 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:4896 msgid "" "`bpo-37593 `__: Swap the positions of " "the *posonlyargs* and *args* parameters in the constructor of :class:`ast." "parameters` nodes." msgstr "" #: ../build/NEWS:4899 msgid "" "`bpo-37543 `__: Optimized pymalloc for " "non PGO build." msgstr "" #: ../build/NEWS:4901 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:4905 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:4909 msgid "" "`bpo-37433 `__: Fix ``SyntaxError`` " "indicator printing too many spaces for multi-line strings - by Anthony " "Sottile." msgstr "" #: ../build/NEWS:4912 msgid "" "`bpo-37417 `__: :meth:`bytearray.extend` " "now correctly handles errors that arise during iteration. Patch by Brandt " "Bucher." msgstr "" #: ../build/NEWS:4915 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:4920 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:4926 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:4930 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:4934 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:4937 msgid "" "`bpo-24214 `__: Improved support of the " "surrogatepass error handler in the UTF-8 and UTF-16 incremental decoders." msgstr "" #: ../build/NEWS:4940 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:4944 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:4948 msgid "" "`bpo-37316 `__: Fix the :c:func:" "`PySys_Audit` call in :class:`mmap.mmap`." msgstr "" #: ../build/NEWS:4950 msgid "" "`bpo-37300 `__: Remove an unnecssary " "Py_XINCREF in classobject.c." msgstr "" #: ../build/NEWS:4952 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:4956 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:4961 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:4966 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:4969 msgid "" "`bpo-36974 `__: Implemented separate " "vectorcall functions for every calling convention of builtin functions and " "methods. This improves performance for calls." msgstr "" #: ../build/NEWS:4973 msgid "" "`bpo-37213 `__: Handle correctly " "negative line offsets in the peephole optimizer. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:4976 msgid "" "`bpo-37219 `__: Remove erroneous " "optimization for empty set differences." msgstr "" #: ../build/NEWS:4978 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:4982 msgid "" "`bpo-36922 `__: Slot functions optimize " "any callable with ``Py_TPFLAGS_METHOD_DESCRIPTOR`` instead of only instances " "of ``function``." msgstr "" #: ../build/NEWS:4986 msgid "" "`bpo-36974 `__: The slot " "``tp_vectorcall_offset`` is inherited unconditionally to support ``super()." "__call__()`` when the base class uses vectorcall." msgstr "" #: ../build/NEWS:4989 msgid "" "`bpo-37160 `__: :func:`threading." "get_native_id` now also supports NetBSD." msgstr "" #: ../build/NEWS:4991 msgid "" "`bpo-37077 `__: Add :func:`threading." "get_native_id` support for AIX. Patch by M. Felt" msgstr "" #: ../build/NEWS:4994 msgid "" "`bpo-36781 `__: :func:`sum` has been " "optimized for boolean values." msgstr "" #: ../build/NEWS:4996 msgid "" "`bpo-34556 `__: Add ``--upgrade-deps`` " "to venv module. Patch by Cooper Ry Lees" msgstr "" #: ../build/NEWS:4998 msgid "" "`bpo-20523 `__: ``pdb.Pdb`` supports ~/." "pdbrc in Windows 7. Patch by Tim Hopper and Dan Lidral-Porter." msgstr "" #: ../build/NEWS:5001 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:5005 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:5009 msgid "" "`bpo-27575 `__: Improve speed of " "dictview intersection by directly using set intersection logic. Patch by " "David Su." msgstr "" #: ../build/NEWS:5012 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:5018 msgid "" "`bpo-36589 `__: The :func:`curses." "update_lines_cols` function now returns ``None`` instead of ``1`` on success." msgstr "" #: ../build/NEWS:5021 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:5024 msgid "" "`bpo-38724 `__: Add a repr for " "``subprocess.Popen`` objects. Patch by Andrey Doroschenko." msgstr "" #: ../build/NEWS:5027 msgid "" "`bpo-38786 `__: pydoc now recognizes and " "parses HTTPS URLs. Patch by python273." msgstr "" #: ../build/NEWS:5029 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:5032 msgid "" "`bpo-38723 `__: :mod:`pdb` now uses :" "meth:`io.open_code` to trigger auditing events." msgstr "" #: ../build/NEWS:5035 msgid "" "`bpo-27805 `__: Allow opening pipes and " "other non-seekable files in append mode with :func:`open`." msgstr "" #: ../build/NEWS:5038 msgid "" "`bpo-38438 `__: Simplify the :mod:" "`argparse` usage message for ``nargs=\"*\"``." msgstr "" #: ../build/NEWS:5040 msgid "" "`bpo-38761 `__: WeakSet is now " "registered as a collections.abc.MutableSet." msgstr "" #: ../build/NEWS:5042 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:5046 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:5049 msgid "" "`bpo-38692 `__: Add :class:`asyncio." "PidfdChildWatcher`, a Linux-specific child watcher implementation that polls " "process file descriptors." msgstr "" #: ../build/NEWS:5052 msgid "" "`bpo-38692 `__: Expose the Linux " "``pidfd_open`` syscall as :func:`os.pidfd_open`." msgstr "" #: ../build/NEWS:5055 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:5059 msgid "" "`bpo-38334 `__: Fixed seeking backward " "on an encrypted :class:`zipfile.ZipExtFile`." msgstr "" #: ../build/NEWS:5062 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:5066 msgid "" "`bpo-38586 `__: Now :func:`~logging." "config.fileConfig` correcty sets the .name of handlers loaded." msgstr "" #: ../build/NEWS:5069 msgid "" "`bpo-38565 `__: Add new " "cache_parameters() method for functools.lru_cache() to better support " "pickling." msgstr "" #: ../build/NEWS:5072 msgid "" "`bpo-34679 `__: asynci.ProactorEventLoop." "close() now only calls signal.set_wakeup_fd() in the main thread." msgstr "" #: ../build/NEWS:5075 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:5078 msgid "" "`bpo-36321 `__: Remove misspelled " "attribute. The 3.8 changelog noted that this would be removed in 3.9." msgstr "" #: ../build/NEWS:5081 msgid "" "`bpo-38521 `__: Fixed erroneous equality " "comparison in statistics.NormalDist()." msgstr "" #: ../build/NEWS:5083 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:5086 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:5090 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:5094 msgid "" "`bpo-38378 `__: Parameters *out* and " "*in* of :func:`os.sendfile` was renamed to *out_fd* and *in_fd*." msgstr "" #: ../build/NEWS:5097 msgid "" "`bpo-38417 `__: Added support for " "setting the umask in the child process to the subprocess module on POSIX " "systems." msgstr "" #: ../build/NEWS:5100 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:5104 msgid "" "`bpo-38431 `__: Fix ``__repr__`` method " "for :class:`dataclasses.InitVar` to support typing objects, patch by Samuel " "Colvin." msgstr "" #: ../build/NEWS:5107 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:5111 msgid "" "`bpo-38422 `__: Clarify docstrings of " "pathlib suffix(es)" msgstr "" #: ../build/NEWS:5113 msgid "" "`bpo-38405 `__: Nested subclasses of :" "class:`typing.NamedTuple` are now pickleable." msgstr "" #: ../build/NEWS:5116 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:5120 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:5124 msgid "" "`bpo-38341 `__: Add :exc:`smtplib." "SMTPNotSupportedError` to the :mod:`smtplib` exported names." msgstr "" #: ../build/NEWS:5127 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:5131 msgid "" "`bpo-38242 `__: Revert the new asyncio " "Streams API" msgstr "" #: ../build/NEWS:5133 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:5138 msgid "" "`bpo-38019 `__: Correctly handle pause/" "resume reading of closed asyncio unix pipe." msgstr "" #: ../build/NEWS:5141 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:5146 msgid "" "`bpo-38161 `__: Removes _AwaitEvent from " "AsyncMock." msgstr "" #: ../build/NEWS:5148 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:5153 msgid "" "`bpo-28286 `__: Deprecate opening :class:" "`~gzip.GzipFile` for writing implicitly. Always specify the *mode* argument " "for writing." msgstr "" #: ../build/NEWS:5156 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:5160 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:5163 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:5167 msgid "" "`bpo-38248 `__: asyncio: Fix " "inconsistent immediate Task cancellation" msgstr "" #: ../build/NEWS:5169 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:5172 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:5175 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:5180 msgid "" "`bpo-38155 `__: Add ``__all__`` to :mod:" "`datetime`. Patch by Tahia Khan." msgstr "" #: ../build/NEWS:5182 msgid "" "`bpo-38185 `__: Fixed case-insensitive " "string comparison in :class:`sqlite3.Row` indexing." msgstr "" #: ../build/NEWS:5185 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:5190 msgid "" "`bpo-37828 `__: Fix default mock name " "in :meth:`unittest.mock.Mock.assert_called` exceptions. Patch by Abraham " "Toriz Cruz." msgstr "" #: ../build/NEWS:5194 msgid "" "`bpo-38175 `__: Fix a memory leak in " "comparison of :class:`sqlite3.Row` objects." msgstr "" #: ../build/NEWS:5197 msgid "" "`bpo-33936 `__: _hashlib no longer calls " "obsolete OpenSSL initialization function with OpenSSL 1.1.0+." msgstr "" #: ../build/NEWS:5200 msgid "" "`bpo-34706 `__: Preserve subclassing in " "inspect.Signature.from_callable." msgstr "" #: ../build/NEWS:5202 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:5206 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:5210 msgid "" "`bpo-38148 `__: Add slots to :mod:" "`asyncio` transport classes, which can reduce memory usage." msgstr "" #: ../build/NEWS:5213 msgid "" "`bpo-38142 `__: The _hashlib OpenSSL " "wrapper extension module is now PEP-384 compliant." msgstr "" #: ../build/NEWS:5216 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:5219 msgid "" "`bpo-36991 `__: Fixes a potential " "incorrect AttributeError exception escaping ZipFile.extract() in some " "unsupported input error situations." msgstr "" #: ../build/NEWS:5222 msgid "" "`bpo-38134 `__: Remove obsolete copy of " "PBKDF2_HMAC_fast. All supported OpenSSL versions contain a fast " "implementation." msgstr "" #: ../build/NEWS:5225 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:5230 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:5234 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:5240 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:5243 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:5246 msgid "" "`bpo-38110 `__: The os.closewalk() " "implementation now uses the libc fdwalk() API on platforms where it is " "available." msgstr "" #: ../build/NEWS:5249 msgid "" "`bpo-38093 `__: Fixes AsyncMock so it " "doesn't crash when used with AsyncContextManagers or AsyncIterators." msgstr "" #: ../build/NEWS:5252 msgid "" "`bpo-37488 `__: Add warning to :meth:" "`datetime.utctimetuple`, :meth:`datetime.utcnow` and :meth:`datetime." "utcfromtimestamp` ." msgstr "" #: ../build/NEWS:5255 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:5259 msgid "" "`bpo-38086 `__: Update importlib." "metadata with changes from `importlib_metadata 0.21 `_." msgstr "" #: ../build/NEWS:5263 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:5267 msgid "" "`bpo-38037 `__: Fix reference counters " "in the :mod:`signal` module." msgstr "" #: ../build/NEWS:5269 msgid "" "`bpo-38066 `__: Hide internal asyncio." "Stream methods: feed_eof(), feed_data(), set_exception() and set_transport()." msgstr "" #: ../build/NEWS:5272 msgid "" "`bpo-38059 `__: inspect.py now uses sys." "exit() instead of exit()" msgstr "" #: ../build/NEWS:5274 msgid "" "`bpo-38049 `__: Added command-line " "interface for the :mod:`ast` module." msgstr "" #: ../build/NEWS:5276 msgid "" "`bpo-37953 `__: In :mod:`typing`, " "improved the ``__hash__`` and ``__eq__`` methods for :class:" "`ForwardReferences`." msgstr "" #: ../build/NEWS:5279 msgid "" "`bpo-38026 `__: Fixed :func:`inspect." "getattr_static` used ``isinstance`` while it should avoid dynamic lookup." msgstr "" #: ../build/NEWS:5282 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:5285 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:5289 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:5293 msgid "" "`bpo-37995 `__: Added the *indent* " "option to :func:`ast.dump` which allows it to produce a multiline indented " "output." msgstr "" #: ../build/NEWS:5296 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:5299 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:5305 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:5308 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:5311 msgid "" "`bpo-10978 `__: Semaphores and " "BoundedSemaphores can now release more than one waiting thread at a time." msgstr "" #: ../build/NEWS:5314 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:5318 msgid "call().foo().__getitem__('bar')" msgstr "" #: ../build/NEWS:5320 msgid "Patch by blhsing" msgstr "" #: ../build/NEWS:5322 msgid "" "`bpo-37965 `__: Fix C compiler warning " "caused by distutils.ccompiler.CCompiler.has_function." msgstr "" #: ../build/NEWS:5325 msgid "" "`bpo-37964 `__: Add ``F_GETPATH`` " "command to :mod:`fcntl`." msgstr "" #: ../build/NEWS:5327 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:5330 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:5334 msgid "" "`bpo-37951 `__: Most features of the " "subprocess module now work again in subinterpreters. Only *preexec_fn* is " "restricted in subinterpreters." msgstr "" #: ../build/NEWS:5337 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:5340 msgid "" "`bpo-37950 `__: Fix :func:`ast.dump` " "when call with incompletely initialized node." msgstr "" #: ../build/NEWS:5343 msgid "" "`bpo-34679 `__: Restores instantiation " "of Windows IOCP event loops from the non-main thread." msgstr "" #: ../build/NEWS:5346 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:5351 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:5354 msgid "" "`bpo-26589 `__: Added a new status code " "to the http module: 451 UNAVAILABLE_FOR_LEGAL_REASONS" msgstr "" #: ../build/NEWS:5357 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:5361 msgid "" "`bpo-32554 `__: Deprecate having random." "seed() call hash on arbitrary types." msgstr "" #: ../build/NEWS:5363 msgid "" "`bpo-9938 `__: Add optional keyword " "argument ``exit_on_error`` for :class:`ArgumentParser`." msgstr "" #: ../build/NEWS:5366 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:5370 msgid "" "`bpo-32793 `__: Fix a duplicated debug " "message when :meth:`smtplib.SMTP.connect` is called." msgstr "" #: ../build/NEWS:5373 msgid "" "`bpo-37885 `__: venv: Don't generate " "unset variable warning on deactivate." msgstr "" #: ../build/NEWS:5375 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:5379 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:5384 msgid "" "`bpo-37863 `__: Optimizations for " "Fraction.__hash__ suggested by Tim Peters." msgstr "" #: ../build/NEWS:5386 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:5392 msgid "" "`bpo-37798 `__: Add C fastpath for " "statistics.NormalDist.inv_cdf() Patch by Dong-hee Na" msgstr "" #: ../build/NEWS:5395 msgid "" "`bpo-37804 `__: Remove the deprecated " "method `threading.Thread.isAlive()`. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:5398 msgid "" "`bpo-37819 `__: Add Fraction." "as_integer_ratio() to match the corresponding methods in bool, int, float, " "and decimal." msgstr "" #: ../build/NEWS:5401 msgid "" "`bpo-14465 `__: Add an xml.etree." "ElementTree.indent() function for pretty-printing XML trees. Contributed by " "Stefan Behnel." msgstr "" #: ../build/NEWS:5404 msgid "" "`bpo-37810 `__: Fix :mod:`difflib` ``?`` " "hint in diff output when dealing with tabs. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:5407 msgid "" "`bpo-37772 `__: In ``zipfile.Path``, " "when adding implicit dirs, ensure that ancestral directories are added and " "that duplicates are excluded." msgstr "" #: ../build/NEWS:5410 msgid "" "`bpo-18578 `__: Renamed and documented " "`test.bytecode_helper` as `test.support.bytecode_helper`. Patch by Joannah " "Nanjekye." msgstr "" #: ../build/NEWS:5413 msgid "" "`bpo-37785 `__: Fix xgettext warnings " "in :mod:`argparse`." msgstr "" #: ../build/NEWS:5415 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:5419 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:5422 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:5426 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:5430 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:5436 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:5440 msgid "" "`bpo-37723 `__: Fix performance " "regression on regular expression parsing with huge character sets. Patch by " "Yann Vaginay." msgstr "" #: ../build/NEWS:5443 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:5446 msgid "" "`bpo-32178 `__: Fix IndexError in :mod:" "`email` package when trying to parse invalid address fields starting with ``:" "``." msgstr "" #: ../build/NEWS:5449 msgid "" "`bpo-37268 `__: The :mod:`parser` module " "is deprecated and will be removed in future versions of Python." msgstr "" #: ../build/NEWS:5452 msgid "" "`bpo-11953 `__: Completing WSA* error " "codes in :mod:`socket`." msgstr "" #: ../build/NEWS:5454 msgid "" "`bpo-37685 `__: Fixed comparisons of :" "class:`datetime.timedelta` and :class:`datetime.timezone`." msgstr "" #: ../build/NEWS:5457 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:5462 msgid "" "`bpo-37695 `__: Correct :func:`curses." "unget_wch` error message. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:5465 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:5468 msgid "" "`bpo-29553 `__: Fixed :meth:`argparse." "ArgumentParser.format_usage` for mutually exclusive groups. Patch by Andrew " "Nester." msgstr "" #: ../build/NEWS:5471 msgid "" "`bpo-37691 `__: Let math.dist() accept " "coordinates as sequences (or iterables) rather than just tuples." msgstr "" #: ../build/NEWS:5474 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:5480 msgid "" "`bpo-37354 `__: Make Activate.ps1 " "Powershell script static to allow for signing it." msgstr "" #: ../build/NEWS:5483 msgid "" "`bpo-37664 `__: Update wheels bundled " "with ensurepip (pip 19.2.3 and setuptools 41.2.0)" msgstr "" #: ../build/NEWS:5486 msgid "" "`bpo-37663 `__: Bring consistency to " "venv shell activation scripts by always using __VENV_PROMPT__." msgstr "" #: ../build/NEWS:5489 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:5494 msgid "" "`bpo-36161 `__: In :mod:`posix`, use " "``ttyname_r`` instead of ``ttyname`` for thread safety." msgstr "" #: ../build/NEWS:5497 msgid "" "`bpo-36324 `__: Make internal attributes " "for statistics.NormalDist() private." msgstr "" #: ../build/NEWS:5499 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:5503 msgid "" "`bpo-29446 `__: Make `from tkinter " "import *` import only the expected objects." msgstr "" #: ../build/NEWS:5505 msgid "" "`bpo-16970 `__: Adding a value error " "when an invalid value in passed to nargs Patch by Robert Leenders" msgstr "" #: ../build/NEWS:5508 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:5511 msgid "" "`bpo-37491 `__: Fix ``IndexError`` when " "parsing email headers with unexpectedly ending bare-quoted string value. " "Patch by Abhilash Raj." msgstr "" #: ../build/NEWS:5514 msgid "" "`bpo-37587 `__: Make json.loads faster " "for long strings. (Patch by Marco Paolini)" msgstr "" #: ../build/NEWS:5517 msgid "" "`bpo-18378 `__: Recognize \"UTF-8\" as a " "valid value for LC_CTYPE in locale._parse_localename." msgstr "" #: ../build/NEWS:5520 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:5525 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:5529 msgid "" "`bpo-37531 `__: \"python3 -m test -jN --" "timeout=TIMEOUT\" now kills a worker process if it runs longer than " "*TIMEOUT* seconds." msgstr "" #: ../build/NEWS:5532 msgid "" "`bpo-37482 `__: Fix serialization of " "display name in originator or destination address fields with both encoded " "words and special chars." msgstr "" #: ../build/NEWS:5535 msgid "" "`bpo-36993 `__: Improve error reporting " "for corrupt zip files with bad zip64 extra data. Patch by Daniel Hillier." msgstr "" #: ../build/NEWS:5538 msgid "" "`bpo-37502 `__: pickle.loads() no longer " "raises TypeError when the buffers argument is set to None" msgstr "" #: ../build/NEWS:5541 msgid "" "`bpo-37520 `__: Correct behavior for " "zipfile.Path.parent when the path object identifies a subdirectory." msgstr "" #: ../build/NEWS:5544 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:5547 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:5553 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:5558 msgid "" "`bpo-37481 `__: The distutils " "``bdist_wininst`` command is deprecated in Python 3.8, use ``bdist_wheel`` " "(wheel packages) instead." msgstr "" #: ../build/NEWS:5561 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:5565 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:5568 msgid "" "`bpo-37437 `__: Update vendorized expat " "version to 2.2.7." msgstr "" #: ../build/NEWS:5570 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:5575 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:5578 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:5582 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:5586 msgid "" "`bpo-29412 `__: Fix IndexError in " "parsing a header value ending unexpectedly. Patch by Abhilash Raj." msgstr "" #: ../build/NEWS:5589 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:5594 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:5597 msgid "" "`bpo-37376 `__: :mod:`pprint` now has " "support for :class:`types.SimpleNamespace`. Patch by Carl Bordum Hansen." msgstr "" #: ../build/NEWS:5600 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:5605 msgid "" "`bpo-37212 `__: :func:`unittest.mock." "call` now preserves the order of keyword arguments in repr output. Patch by " "Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:5608 msgid "" "`bpo-37372 `__: Fix error unpickling " "datetime.time objects from Python 2 with seconds>=24. Patch by Justin " "Blanchard." msgstr "" #: ../build/NEWS:5611 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:5618 msgid "" "`bpo-37358 `__: Optimized ``functools." "partial`` by using vectorcall." msgstr "" #: ../build/NEWS:5620 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:5628 msgid "" "`bpo-37163 `__: The *obj* argument of :" "func:`dataclasses.replace` is positional-only now." msgstr "" #: ../build/NEWS:5631 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:5635 msgid "" "`bpo-37328 `__: ``HTMLParser.unescape`` " "is removed. It was undocumented and deprecated since Python 3.4." msgstr "" #: ../build/NEWS:5638 msgid "" "`bpo-37305 `__: Add .webmanifest -> " "application/manifest+json to list of recognized file types and content type " "headers" msgstr "" #: ../build/NEWS:5641 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:5645 msgid "" "`bpo-37315 `__: Deprecated accepting " "floats with integral value (like ``5.0``) in :func:`math.factorial`." msgstr "" #: ../build/NEWS:5648 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:5652 msgid "" "`bpo-33972 `__: Email with single part " "but content-type set to ``multipart/*`` doesn't raise AttributeError anymore." msgstr "" #: ../build/NEWS:5655 msgid "" "`bpo-37280 `__: Use threadpool for " "reading from file for sendfile fallback mode." msgstr "" #: ../build/NEWS:5658 msgid "" "`bpo-37279 `__: Fix asyncio sendfile " "support when sendfile sends extra data in fallback mode." msgstr "" #: ../build/NEWS:5661 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:5665 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:5670 msgid "" "`bpo-37210 `__: Allow pure Python " "implementation of :mod:`pickle` to work even when the C :mod:`_pickle` " "module is unavailable." msgstr "" #: ../build/NEWS:5673 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:5678 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:5683 msgid "" "`bpo-35766 `__: Change the format of " "feature_version to be a (major, minor) tuple." msgstr "" #: ../build/NEWS:5686 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:5690 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:5694 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:5699 msgid "" "`bpo-37206 `__: Default values which " "cannot be represented as Python objects no longer improperly represented as " "``None`` in function signatures." msgstr "" #: ../build/NEWS:5702 msgid "" "`bpo-37111 `__: Added ``encoding`` and " "``errors`` keyword parameters to ``logging.basicConfig``." msgstr "" #: ../build/NEWS:5705 msgid "" "`bpo-12144 `__: Ensure cookies with " "``expires`` attribute are handled in :meth:`CookieJar.make_cookies`." msgstr "" #: ../build/NEWS:5708 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:5714 msgid "" "`bpo-37173 `__: The exception message " "for ``inspect.getfile()`` now correctly reports the passed class rather than " "the builtins module." msgstr "" #: ../build/NEWS:5717 msgid "" "`bpo-37178 `__: Give math.perm() a one " "argument form that means the same as math.factorial()." msgstr "" #: ../build/NEWS:5720 msgid "" "`bpo-37178 `__: For math.perm(n, k), let " "k default to n, giving the same result as factorial." msgstr "" #: ../build/NEWS:5723 msgid "" "`bpo-37165 `__: Converted _collections." "_count_elements to use the Argument Clinic." msgstr "" #: ../build/NEWS:5726 msgid "" "`bpo-34767 `__: Do not always create a :" "class:`collections.deque` in :class:`asyncio.Lock`." msgstr "" #: ../build/NEWS:5729 msgid "" "`bpo-37158 `__: Speed-up statistics." "fmean() by switching from a function to a generator." msgstr "" #: ../build/NEWS:5732 msgid "" "`bpo-34282 `__: Remove ``Enum._convert`` " "method, deprecated in 3.8." msgstr "" #: ../build/NEWS:5734 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:5738 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:5742 msgid "" "`bpo-35621 `__: Support running asyncio " "subprocesses when execution event loop in a thread on UNIX." msgstr "" #: ../build/NEWS:5745 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:5748 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:5752 msgid "" "`bpo-31163 `__: pathlib.Path instance's " "rename and replace methods now return the new Path instance." msgstr "" #: ../build/NEWS:5755 msgid "" "`bpo-25068 `__: :class:`urllib.request." "ProxyHandler` now lowercases the keys of the passed dictionary." msgstr "" #: ../build/NEWS:5758 msgid "" "`bpo-26185 `__: Fix :func:`repr` on " "empty :class:`ZipInfo` object. Patch by Mickaël Schoentgen." msgstr "" #: ../build/NEWS:5761 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:5765 msgid "" "`bpo-31904 `__: Port test_datetime to " "VxWorks: skip zoneinfo tests on VxWorks" msgstr "" #: ../build/NEWS:5767 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:5771 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:5775 msgid "" "`bpo-35070 `__: posix.getgrouplist() now " "works correctly when the user belongs to NGROUPS_MAX supplemental groups. " "Patch by Jeffrey Kintscher." msgstr "" #: ../build/NEWS:5778 msgid "" "`bpo-31783 `__: Fix race condition in " "ThreadPoolExecutor when worker threads are created during interpreter " "shutdown." msgstr "" #: ../build/NEWS:5781 msgid "" "`bpo-36582 `__: Fix ``UserString." "encode()`` to correctly return ``bytes`` rather than a ``UserString`` " "instance." msgstr "" #: ../build/NEWS:5784 msgid "" "`bpo-32424 `__: Deprecate xml.etree." "ElementTree.Element.copy() in favor of copy.copy()." msgstr "" #: ../build/NEWS:5787 msgid "Patch by Gordon P. Hemsley" msgstr "" #: ../build/NEWS:5789 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:5794 msgid "" "`bpo-36543 `__: Removed methods Element." "getchildren(), Element.getiterator() and ElementTree.getiterator() and the " "xml.etree.cElementTree module." msgstr "" #: ../build/NEWS:5797 msgid "" "`bpo-36409 `__: Remove the old plistlib " "API deprecated in Python 3.4" msgstr "" #: ../build/NEWS:5799 msgid "" "`bpo-36302 `__: distutils sorts source " "file lists so that Extension .so files build more reproducibly by default" msgstr "" #: ../build/NEWS:5802 msgid "" "`bpo-36250 `__: Ignore ``ValueError`` " "from ``signal`` with ``interaction`` in non-main thread." msgstr "" #: ../build/NEWS:5805 msgid "" "`bpo-36046 `__: Added ``user``, " "``group`` and ``extra_groups`` parameters to the subprocess.Popen " "constructor. Patch by Patrick McLean." msgstr "" #: ../build/NEWS:5808 msgid "" "`bpo-32627 `__: Fix compile error when " "``_uuid`` headers conflicting included." msgstr "" #: ../build/NEWS:5810 msgid "" "`bpo-35800 `__: Deprecate ``smtpd." "MailmanProxy`` ready for future removal." msgstr "" #: ../build/NEWS:5812 msgid "" "`bpo-35168 `__: :attr:`shlex.shlex." "punctuation_chars` is now a read-only property." msgstr "" #: ../build/NEWS:5815 msgid "" "`bpo-8538 `__: Add support for boolean " "actions like ``--foo`` and ``--no-foo`` to argparse. Patch contributed by " "Rémi Lapeyre." msgstr "" #: ../build/NEWS:5818 msgid "" "`bpo-20504 `__: Fixes a bug in :mod:" "`cgi` module when a multipart/form-data request has no `Content-Length` " "header." msgstr "" #: ../build/NEWS:5821 msgid "" "`bpo-25988 `__: The abstract base " "classes in :mod:`collections.abc` no longer are exposed in the regular :mod:" "`collections` module." msgstr "" #: ../build/NEWS:5824 msgid "" "`bpo-11122 `__: Distutils won't check " "for rpmbuild in specified paths only." msgstr "" #: ../build/NEWS:5826 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:5830 msgid "" "`bpo-34749 `__: :func:`binascii." "a2b_base64` is now up to 2 times faster. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:5833 msgid "" "`bpo-34519 `__: Add additional aliases " "for HP Roman 8. Patch by Michael Osipov." msgstr "" #: ../build/NEWS:5835 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:5840 msgid "" "`bpo-30618 `__: Add :meth:`~pathlib.Path." "readlink`. Patch by Girts Folkmanis." msgstr "" #: ../build/NEWS:5842 msgid "" "`bpo-32498 `__: Made :func:`urllib.parse." "unquote()` accept bytes in addition to strings. Patch by Stein Karlsen." msgstr "" #: ../build/NEWS:5845 msgid "" "`bpo-33348 `__: lib2to3 now recognizes " "expressions after ``*`` and `**` like in ``f(*[] or [])``." msgstr "" #: ../build/NEWS:5848 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:5852 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:5857 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:5861 msgid "" "`bpo-4963 `__: Fixed non-deterministic " "behavior related to mimetypes extension mapping and module reinitialization." msgstr "" #: ../build/NEWS:5867 msgid "" "`bpo-21767 `__: Explicitly mention abc " "support in functools.singledispatch" msgstr "" #: ../build/NEWS:5869 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:5874 msgid "" "`bpo-38351 `__: Modernize :mod:`email` " "examples from %-formatting to f-strings." msgstr "" #: ../build/NEWS:5876 msgid "" "`bpo-38778 `__: Document the fact that :" "exc:`RuntimeError` is raised if :meth:`os.fork` is called in a " "subinterpreter." msgstr "" #: ../build/NEWS:5879 msgid "" "`bpo-38592 `__: Add Brazilian Portuguese " "to the language switcher at Python Documentation website." msgstr "" #: ../build/NEWS:5882 msgid "" "`bpo-38294 `__: Add list of no-longer-" "escaped chars to re.escape documentation" msgstr "" #: ../build/NEWS:5884 msgid "" "`bpo-38053 `__: Modernized the plistlib " "documentation" msgstr "" #: ../build/NEWS:5886 msgid "" "`bpo-26868 `__: Fix example usage of :c:" "func:`PyModule_AddObject` to properly handle errors." msgstr "" #: ../build/NEWS:5889 msgid "" "`bpo-36797 `__: Fix a dead link in the " "distutils API Reference." msgstr "" #: ../build/NEWS:5891 msgid "" "`bpo-37977 `__: Warn more strongly and " "clearly about pickle insecurity" msgstr "" #: ../build/NEWS:5893 msgid "" "`bpo-37979 `__: Added a link to dateutil." "parser.isoparse in the datetime.fromisoformat documentation. Patch by Paul " "Ganssle" msgstr "" #: ../build/NEWS:5896 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:5901 msgid "" "`bpo-37937 `__: Mention ``frame." "f_trace`` in :func:`sys.settrace` docs." msgstr "" #: ../build/NEWS:5903 msgid "" "`bpo-37878 `__: Make :c:func:" "`PyThreadState_DeleteCurrent` Internal." msgstr "" #: ../build/NEWS:5905 msgid "" "`bpo-37759 `__: Beginning edits to " "Whatsnew 3.8" msgstr "" #: ../build/NEWS:5907 msgid "" "`bpo-37726 `__: Stop recommending getopt " "in the tutorial for command line argument parsing and promote argparse." msgstr "" #: ../build/NEWS:5910 msgid "" "`bpo-32910 `__: Remove implementation-" "specific behaviour of how venv's Deactivate works." msgstr "" #: ../build/NEWS:5913 msgid "" "`bpo-37256 `__: Fix wording of arguments " "for :class:`Request` in :mod:`urllib.request`" msgstr "" #: ../build/NEWS:5916 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:5920 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:5924 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:5928 msgid "Thanks to Benjamin Mintz for finding the bug." msgstr "" #: ../build/NEWS:5930 msgid "" "`bpo-37456 `__: Slash ('/') is now part " "of syntax." msgstr "" #: ../build/NEWS:5932 msgid "" "`bpo-37487 `__: Fix PyList_GetItem index " "description to include 0." msgstr "" #: ../build/NEWS:5934 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:5937 msgid "" "`bpo-37478 `__: Added possible " "exceptions to the description of os.chdir()." msgstr "" #: ../build/NEWS:5939 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:5942 msgid "" "`bpo-36260 `__: Add decompression " "pitfalls to zipfile module documentation." msgstr "" #: ../build/NEWS:5944 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:5948 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:5951 msgid "" "`bpo-36487 `__: Make C-API docs clear " "about what the \"main\" interpreter is." msgstr "" #: ../build/NEWS:5953 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:5957 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:5961 msgid "" "`bpo-33944 `__: Added a note about the " "intended use of code in .pth files." msgstr "" #: ../build/NEWS:5963 msgid "" "`bpo-34293 `__: Fix the Doc/Makefile " "regarding PAPER environment variable and PDF builds" msgstr "" #: ../build/NEWS:5966 msgid "" "`bpo-25237 `__: Add documentation for " "tkinter modules" msgstr "" #: ../build/NEWS:5971 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:5974 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:5980 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:5984 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:5990 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:5994 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:6000 msgid "" "`bpo-38239 `__: Fix test_gdb for Link " "Time Optimization (LTO) builds." msgstr "" #: ../build/NEWS:6002 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:6007 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:6012 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:6017 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:6022 msgid "" "`bpo-38212 `__: Multiprocessing tests: " "increase test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds." msgstr "" #: ../build/NEWS:6025 msgid "" "`bpo-38117 `__: Test with OpenSSL 1.1.1d" msgstr "" #: ../build/NEWS:6027 msgid "" "`bpo-38018 `__: Increase code coverage " "for multiprocessing.shared_memory." msgstr "" #: ../build/NEWS:6029 msgid "" "`bpo-37805 `__: Add tests for json." "dump(..., skipkeys=True). Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:6032 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:6036 msgid "" "`bpo-37876 `__: Add tests for ROT-13 " "codec." msgstr "" #: ../build/NEWS:6038 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:6041 msgid "" "`bpo-37558 `__: Fix " "test_shared_memory_cleaned_after_process_termination name handling" msgstr "" #: ../build/NEWS:6044 msgid "" "`bpo-37526 `__: Add :func:`test.support." "catch_threading_exception`: context manager catching :class:`threading." "Thread` exception using :func:`threading.excepthook`." msgstr "" #: ../build/NEWS:6048 msgid "" "`bpo-37421 `__: test_concurrent_futures " "now explicitly stops the ForkServer instance if it's running." msgstr "" #: ../build/NEWS:6051 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:6055 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:6059 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:6063 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:6066 msgid "" "`bpo-37421 `__: multiprocessing tests " "now explicitly call ``_run_finalizers()`` to immediately remove temporary " "directories created by tests." msgstr "" #: ../build/NEWS:6069 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:6074 msgid "" "`bpo-37472 `__: Remove ``Lib/test/" "outstanding_bugs.py``." msgstr "" #: ../build/NEWS:6076 msgid "" "`bpo-37199 `__: Fix test failures when " "IPv6 is unavailable or disabled." msgstr "" #: ../build/NEWS:6078 msgid "" "`bpo-19696 `__: Replace deprecated " "method \"random.choose\" with \"random.choice\" in \"test_pkg_import.py\"." msgstr "" #: ../build/NEWS:6081 msgid "" "`bpo-37335 `__: Remove no longer " "necessary code from c locale coercion tests" msgstr "" #: ../build/NEWS:6083 msgid "" "`bpo-37421 `__: Fix test_shutil to no " "longer leak temporary files." msgstr "" #: ../build/NEWS:6085 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:6088 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:6091 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:6095 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:6099 msgid "" "`bpo-35998 `__: Avoid TimeoutError in " "test_asyncio: test_start_tls_server_1()" msgstr "" #: ../build/NEWS:6101 msgid "" "`bpo-37278 `__: Fix test_asyncio " "ProactorLoopCtrlC: join the thread to prevent leaking a running thread and " "leaking a reference." msgstr "" #: ../build/NEWS:6104 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:6108 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:6112 msgid "" "Use ``python3 -m test --fail-env-changed`` to catch unraisable exceptions in " "tests." msgstr "" #: ../build/NEWS:6115 msgid "" "`bpo-37252 `__: Fix assertions in " "``test_close`` and ``test_events_mask_overflow`` devpoll tests." msgstr "" #: ../build/NEWS:6118 msgid "" "`bpo-37169 `__: Rewrite " "``_PyObject_IsFreed()`` unit tests." msgstr "" #: ../build/NEWS:6120 msgid "" "`bpo-37153 `__: ``test_venv." "test_multiprocessing()`` now explicitly calls ``pool.terminate()`` to wait " "until the pool completes." msgstr "" #: ../build/NEWS:6123 msgid "" "`bpo-34001 `__: Make test_ssl pass with " "LibreSSL. LibreSSL handles minimum and maximum TLS version differently than " "OpenSSL." msgstr "" #: ../build/NEWS:6126 msgid "" "`bpo-36919 `__: Make " "``test_source_encoding.test_issue2301`` implementation independent. The test " "will work now for both CPython and IronPython." msgstr "" #: ../build/NEWS:6129 msgid "" "`bpo-30202 `__: Update ``test." "test_importlib.test_abc`` to test ``find_spec()``." msgstr "" #: ../build/NEWS:6132 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:6135 msgid "" "`bpo-34596 `__: Fallback to a default " "reason when :func:`unittest.skip` is uncalled. Patch by Naitree Zhu." msgstr "" #: ../build/NEWS:6141 msgid "" "`bpo-38809 `__: On Windows, build " "scripts will now recognize and use python.exe from an active virtual env." msgstr "" #: ../build/NEWS:6144 msgid "" "`bpo-38684 `__: Fix _hashlib build when " "Blake2 is disabled, but OpenSSL supports it." msgstr "" #: ../build/NEWS:6147 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:6150 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:6153 msgid "" "`bpo-38301 `__: In Solaris family, we " "must be sure to use ``-D_REENTRANT``. Patch by Jesús Cea Avión." msgstr "" #: ../build/NEWS:6156 msgid "" "`bpo-36002 `__: Locate ``llvm-profdata`` " "and ``llvm-ar`` binaries using ``AC_PATH_TOOL`` rather than " "``AC_PATH_TARGET_TOOL``." msgstr "" #: ../build/NEWS:6159 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:6165 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:6172 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:6175 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:6179 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:6183 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:6193 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:6196 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:6200 msgid "" "`bpo-25361 `__: Enables use of SSE2 " "instructions in Windows 32-bit build." msgstr "" #: ../build/NEWS:6202 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:6208 msgid "patch by M Felt" msgstr "" #: ../build/NEWS:6213 msgid "" "`bpo-38589 `__: Fixes HTML Help shortcut " "when Windows is not installed to C drive" msgstr "" #: ../build/NEWS:6216 msgid "" "`bpo-38453 `__: Ensure ntpath.realpath() " "correctly resolves relative paths." msgstr "" #: ../build/NEWS:6218 msgid "" "`bpo-38519 `__: Restores the internal C " "headers that were missing from the nuget.org and Microsoft Store packages." msgstr "" #: ../build/NEWS:6221 msgid "" "`bpo-38492 `__: Remove ``pythonw.exe`` " "dependency on the Microsoft C++ runtime." msgstr "" #: ../build/NEWS:6223 msgid "" "`bpo-38344 `__: Fix error message in " "activate.bat" msgstr "" #: ../build/NEWS:6225 msgid "" "`bpo-38359 `__: Ensures ``pyw.exe`` " "launcher reads correct registry key." msgstr "" #: ../build/NEWS:6227 msgid "" "`bpo-38355 `__: Fixes ``ntpath." "realpath`` failing on ``sys.executable``." msgstr "" #: ../build/NEWS:6229 msgid "" "`bpo-38117 `__: Update bundled OpenSSL " "to 1.1.1d" msgstr "" #: ../build/NEWS:6231 msgid "" "`bpo-38092 `__: Reduce overhead when " "using multiprocessing in a Windows virtual environment." msgstr "" #: ../build/NEWS:6234 msgid "" "`bpo-38133 `__: Allow py.exe launcher to " "locate installations from the Microsoft Store and improve display of active " "virtual environments." msgstr "" #: ../build/NEWS:6237 msgid "" "`bpo-38114 `__: The ``pip.ini`` is no " "longer included in the Nuget package." msgstr "" #: ../build/NEWS:6239 msgid "" "`bpo-32592 `__: Set Windows 8 as the " "minimum required version for API support" msgstr "" #: ../build/NEWS:6241 msgid "" "`bpo-36634 `__: :func:`os.cpu_count` now " "returns active processors rather than maximum processors." msgstr "" #: ../build/NEWS:6244 msgid "" "`bpo-36634 `__: venv activate.bat now " "works when the existing variables contain double quote characters." msgstr "" #: ../build/NEWS:6247 msgid "" "`bpo-38081 `__: Prevent error calling :" "func:`os.path.realpath` on ``'NUL'``." msgstr "" #: ../build/NEWS:6249 msgid "" "`bpo-38087 `__: Fix case sensitivity in " "test_pathlib and test_ntpath." msgstr "" #: ../build/NEWS:6251 msgid "" "`bpo-38088 `__: Fixes distutils not " "finding vcruntime140.dll with only the v142 toolset installed." msgstr "" #: ../build/NEWS:6254 msgid "" "`bpo-37283 `__: Ensure command-line and " "unattend.xml setting override previously detected states in Windows " "installer." msgstr "" #: ../build/NEWS:6257 msgid "" "`bpo-38030 `__: Fixes :func:`os.stat` " "failing for block devices on Windows" msgstr "" #: ../build/NEWS:6259 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:6263 msgid "" "`bpo-37705 `__: Improve the " "implementation of ``winerror_to_errno()``." msgstr "" #: ../build/NEWS:6265 msgid "" "`bpo-37549 `__: :func:`os.dup` no longer " "fails for standard streams on Windows 7." msgstr "" #: ../build/NEWS:6268 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:6272 msgid "" "`bpo-9949 `__: Enable support for " "following symlinks in :func:`os.realpath`." msgstr "" #: ../build/NEWS:6274 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:6278 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:6282 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:6288 msgid "" "`bpo-37778 `__: Fixes the icons used for " "file associations to the Microsoft Store package." msgstr "" #: ../build/NEWS:6291 msgid "" "`bpo-37734 `__: Fix use of registry " "values to launch Python from Microsoft Store app." msgstr "" #: ../build/NEWS:6294 msgid "" "`bpo-37702 `__: Fix memory leak on " "Windows in creating an SSLContext object or running urllib.request." "urlopen('https://...')." msgstr "" #: ../build/NEWS:6297 msgid "" "`bpo-37672 `__: Switch Windows Store " "package's pip to use bundled :file:`pip.ini` instead of :envvar:`PIP_USER` " "variable." msgstr "" #: ../build/NEWS:6300 msgid "" "`bpo-10945 `__: Officially drop support " "for creating bdist_wininst installers on non-Windows systems." msgstr "" #: ../build/NEWS:6303 msgid "" "`bpo-37445 `__: Include the " "``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in ``FormatMessageW()`` calls." msgstr "" #: ../build/NEWS:6306 msgid "" "`bpo-37369 `__: Fixes path for :data:" "`sys.executable` when running from the Microsoft Store." msgstr "" #: ../build/NEWS:6309 msgid "" "`bpo-37380 `__: Don't collect unfinished " "processes with ``subprocess._active`` on Windows to cleanup later. Patch by " "Ruslan Kuprieiev." msgstr "" #: ../build/NEWS:6312 msgid "" "`bpo-37351 `__: Removes libpython38.a " "from standard Windows distribution." msgstr "" #: ../build/NEWS:6314 msgid "" "`bpo-35360 `__: Update Windows builds to " "use SQLite 3.28.0." msgstr "" #: ../build/NEWS:6316 msgid "" "`bpo-37267 `__: On Windows, :func:`os." "dup` no longer creates an inheritable fd when handling a character file." msgstr "" #: ../build/NEWS:6319 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:6322 msgid "" "`bpo-32587 `__: Make :data:`winreg." "REG_MULTI_SZ` support zero-length strings." msgstr "" #: ../build/NEWS:6324 msgid "" "`bpo-28269 `__: Replace use of :c:func:" "`strcasecmp` for the system function :c:func:`_stricmp`. Patch by Minmin " "Gong." msgstr "" #: ../build/NEWS:6327 msgid "" "`bpo-36590 `__: Add native Bluetooth " "RFCOMM support to socket module." msgstr "" #: ../build/NEWS:6332 msgid "" "`bpo-38117 `__: Updated OpenSSL to " "1.1.1d in macOS installer." msgstr "" #: ../build/NEWS:6334 msgid "" "`bpo-38089 `__: Move Azure Pipelines to " "latest VM versions and make macOS tests optional" msgstr "" #: ../build/NEWS:6337 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:6341 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:6346 msgid "" "`bpo-35360 `__: Update macOS installer " "to use SQLite 3.28.0." msgstr "" #: ../build/NEWS:6348 msgid "" "`bpo-34631 `__: Updated OpenSSL to " "1.1.1c in macOS installer." msgstr "" #: ../build/NEWS:6353 msgid "" "`bpo-26353 `__: Stop adding newline when " "saving an IDLE shell window." msgstr "" #: ../build/NEWS:6355 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:6359 msgid "" "`bpo-38598 `__: Do not try to compile " "IDLE shell or output windows" msgstr "" #: ../build/NEWS:6361 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:6365 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:6369 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:6373 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:6376 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:6380 msgid "" "`bpo-35771 `__: To avoid occasional " "spurious test_idle failures on slower machines, increase the ``hover_delay`` " "in test_tooltip." msgstr "" #: ../build/NEWS:6383 msgid "" "`bpo-37824 `__: Properly handle user " "input warnings in IDLE shell. Cease turning SyntaxWarnings into SyntaxErrors." msgstr "" #: ../build/NEWS:6386 msgid "" "`bpo-37929 `__: IDLE Settings dialog now " "closes properly when there is no shell window." msgstr "" #: ../build/NEWS:6389 msgid "" "`bpo-37902 `__: Add mousewheel scrolling " "for IDLE module, path, and stack browsers. Patch by George Zhang." msgstr "" #: ../build/NEWS:6392 msgid "" "`bpo-37849 `__: Fixed completions list " "appearing too high or low when shown above the current line." msgstr "" #: ../build/NEWS:6395 msgid "" "`bpo-36419 `__: Refactor IDLE " "autocomplete and improve testing." msgstr "" #: ../build/NEWS:6397 msgid "" "`bpo-37748 `__: Reorder the Run menu. " "Put the most common choice, Run Module, at the top." msgstr "" #: ../build/NEWS:6400 msgid "" "`bpo-37692 `__: Improve highlight config " "sample with example shell interaction and better labels for shell elements." msgstr "" #: ../build/NEWS:6403 msgid "" "`bpo-37628 `__: Settings dialog no " "longer expands with font size." msgstr "" #: ../build/NEWS:6405 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:6409 msgid "" "`bpo-33610 `__: Fix code context not " "showing the correct context when first toggled on." msgstr "" #: ../build/NEWS:6412 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:6416 msgid "" "`bpo-27452 `__: Cleanup ``config.py`` by " "inlining ``RemoveFile`` and simplifying the handling of ``file`` in " "``CreateConfigHandlers``." msgstr "" #: ../build/NEWS:6419 msgid "" "`bpo-37325 `__: Fix tab focus traversal " "order for help source and custom run dialogs." msgstr "" #: ../build/NEWS:6422 msgid "" "`bpo-37321 `__: Both subprocess " "connection error messages now refer to the 'Startup failure' section of the " "IDLE doc." msgstr "" #: ../build/NEWS:6425 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:6429 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:6434 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:6438 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:6443 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:6446 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:6450 msgid "" "`bpo-36390 `__: Gather Format menu " "functions into format.py. Combine paragraph.py, rstrip.py, and format " "methods from editor.py." msgstr "" #: ../build/NEWS:6456 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:6459 msgid "" "`bpo-38347 `__: pathfix.py: Assume all " "files that end on '.py' are Python scripts when working recursively." msgstr "" #: ../build/NEWS:6462 msgid "" "`bpo-37803 `__: pdb's ``--help`` and ``--" "version`` long options now work." msgstr "" #: ../build/NEWS:6464 msgid "" "`bpo-37942 `__: Improve ArgumentClinic " "converter for floats." msgstr "" #: ../build/NEWS:6466 msgid "" "`bpo-37704 `__: Remove ``Tools/scripts/" "h2py.py``: use cffi to access a C API in Python." msgstr "" #: ../build/NEWS:6469 msgid "" "`bpo-37675 `__: 2to3 now works when run " "from a zipped standard library." msgstr "" #: ../build/NEWS:6471 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:6475 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:6481 msgid "" "`bpo-37633 `__: Re-export some function " "compatibility wrappers for macros in ``pythonrun.h``." msgstr "" #: ../build/NEWS:6484 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:6490 msgid "" "`bpo-38650 `__: The global variable :c:" "data:`PyStructSequence_UnnamedField` is now a constant and refers to a " "constant string." msgstr "" #: ../build/NEWS:6493 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:6497 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:6502 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:6506 msgid "" "`bpo-38266 `__: Revert the removal of " "PyThreadState_DeleteCurrent() with documentation." msgstr "" #: ../build/NEWS:6509 msgid "" "`bpo-38303 `__: Update audioop extension " "module to use the stable ABI (PEP-384). Patch by Tyler Kieft." msgstr "" #: ../build/NEWS:6512 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:6516 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:6520 msgid "" "`bpo-38205 `__: The :c:func:" "`Py_UNREACHABLE` macro now calls :c:func:`Py_FatalError`." msgstr "" #: ../build/NEWS:6523 msgid "" "`bpo-38140 `__: Make dict and weakref " "offsets opaque for C heap types by passing the offsets through PyMemberDef" msgstr "" #: ../build/NEWS:6526 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:6531 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:6534 msgid "" "`bpo-37926 `__: Fix a crash in " "``PySys_SetArgvEx(0, NULL, 0)``." msgstr "" #: ../build/NEWS:6536 msgid "" "`bpo-37879 `__: Fix subtype_dealloc to " "suppress the type decref when the base type is a C heap type" msgstr "" #: ../build/NEWS:6539 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:6542 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:6546 msgid "" "`bpo-37151 `__: ``PyCFunction_Call`` is " "now a deprecated alias of :c:func:`PyObject_Call`." msgstr "" #: ../build/NEWS:6549 msgid "" "`bpo-37540 `__: The vectorcall protocol " "now requires that the caller passes only strings as keyword names." msgstr "" #: ../build/NEWS:6552 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:6556 msgid "" "`bpo-21120 `__: Exclude Python-ast.h, " "ast.h and asdl.h from the limited API." msgstr "" #: ../build/NEWS:6558 msgid "" "`bpo-37483 `__: Add new function " "``_PyObject_CallOneArg`` for calling an object with one positional argument." msgstr "" #: ../build/NEWS:6561 msgid "" "`bpo-36763 `__: Add :func:" "`PyConfig_SetWideStringList` function." msgstr "" #: ../build/NEWS:6563 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:6567 msgid "" "`bpo-28805 `__: The :const:" "`METH_FASTCALL` calling convention has been documented." msgstr "" #: ../build/NEWS:6570 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:6575 msgid "" "`bpo-37215 `__: Fix dtrace issue " "introduce by `bpo-36842 `__" msgstr "" #: ../build/NEWS:6577 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:6584 msgid "" "`bpo-37170 `__: Fix the cast on error " "in :c:func:`PyLong_AsUnsignedLongLongMask()`." msgstr "" #: ../build/NEWS:6587 msgid "" "`bpo-35381 `__: Convert posixmodule.c " "statically allocated types ``DirEntryType`` and ``ScandirIteratorType`` to " "heap-allocated types." msgstr "" #: ../build/NEWS:6590 msgid "" "`bpo-34331 `__: Use singular/plural noun " "in error message when instantiating an abstract class with non-overriden " "abstract method(s)." msgstr "" #: ../build/NEWS:6595 msgid "Python 3.8.0 beta 1" msgstr "" #: ../build/NEWS:6597 msgid "*Release date: 2019-06-04*" msgstr "" #: ../build/NEWS:6602 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:6607 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:6611 msgid "" "`bpo-33164 `__: Updated blake2 " "implementation which uses secure memset implementation provided by platform." msgstr "" #: ../build/NEWS:6617 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:6621 msgid "" "`bpo-37126 `__: All structseq objects " "are now tracked by the garbage collector. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:6624 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:6631 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:6636 msgid "" "`bpo-37087 `__: Add native thread ID " "(TID) support to OpenBSD." msgstr "" #: ../build/NEWS:6638 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:6642 msgid "" "`bpo-37072 `__: Fix crash in " "PyAST_FromNodeObject() when flags is NULL." msgstr "" #: ../build/NEWS:6644 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:6653 msgid "" "`bpo-26423 `__: Fix possible overflow in " "``wrap_lenfunc()`` when ``sizeof(long) < sizeof(Py_ssize_t)`` (e.g., 64-bit " "Windows)." msgstr "" #: ../build/NEWS:6656 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:6661 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:6666 msgid "" "`bpo-26836 `__: Add :func:`os." "memfd_create`." msgstr "" #: ../build/NEWS:6668 msgid "" "`bpo-37032 `__: Added new ``replace()`` " "method to the code type (:class:`types.CodeType`)." msgstr "" #: ../build/NEWS:6671 msgid "" "`bpo-37007 `__: Implement :func:`socket." "if_nameindex()`, :func:`socket.if_nametoindex()`, and :func:`socket." "if_indextoname()` on Windows." msgstr "" #: ../build/NEWS:6675 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:6680 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:6683 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:6687 msgid "" "`bpo-2180 `__: Treat line continuation at " "EOF as a ``SyntaxError`` by Anthony Sottile." msgstr "" #: ../build/NEWS:6690 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:6694 msgid "" "`bpo-36946 `__: Fix possible signed " "integer overflow when handling slices." msgstr "" #: ../build/NEWS:6696 msgid "" "`bpo-36826 `__: Add NamedExpression kind " "support to ast_unparse.c" msgstr "" #: ../build/NEWS:6698 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:6702 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:6706 msgid "" "`bpo-36861 `__: Update the Unicode " "database to version 12.1.0." msgstr "" #: ../build/NEWS:6708 msgid "" "`bpo-28866 `__: Avoid caching attributes " "of classes which type defines mro() to avoid a hard cache invalidation " "problem." msgstr "" #: ../build/NEWS:6711 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:6714 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:6720 msgid "" "`bpo-36842 `__: Implement PEP 578, " "adding sys.audit, io.open_code and related APIs." msgstr "" #: ../build/NEWS:6723 msgid "" "`bpo-27639 `__: Correct return type for " "UserList slicing operations. Patch by Michael Blahay, Erick Cervantes, and " "vaultah" msgstr "" #: ../build/NEWS:6726 msgid "" "`bpo-36737 `__: Move PyRuntimeState." "warnings into per-interpreter state (via \"module state\")." msgstr "" #: ../build/NEWS:6729 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:6734 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:6742 msgid "" "`bpo-24048 `__: Save the live exception " "during import.c's ``remove_module()``." msgstr "" #: ../build/NEWS:6744 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:6748 msgid "" "`bpo-36601 `__: A long-since-meaningless " "check for ``getpid() == main_pid`` was removed from Python's internal C " "signal handler." msgstr "" #: ../build/NEWS:6751 msgid "" "`bpo-36594 `__: Fix incorrect use of ``" "%p`` in format strings. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:6754 msgid "" "`bpo-36045 `__: builtins.help() now " "prefixes `async` for async functions" msgstr "" #: ../build/NEWS:6756 msgid "" "`bpo-36084 `__: Add native thread ID " "(TID) to threading.Thread objects (supported platforms: Windows, FreeBSD, " "Linux, macOS)" msgstr "" #: ../build/NEWS:6759 msgid "" "`bpo-36035 `__: Added fix for broken " "symlinks in combination with pathlib" msgstr "" #: ../build/NEWS:6761 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:6766 msgid "" "`bpo-20602 `__: Do not clear :data:`sys." "flags` and :data:`sys.float_info` during shutdown. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:6769 msgid "" "`bpo-26826 `__: Expose :func:" "`copy_file_range` as a low level API in the :mod:`os` module." msgstr "" #: ../build/NEWS:6772 msgid "" "`bpo-32388 `__: Remove cross-version " "binary compatibility requirement in tp_flags." msgstr "" #: ../build/NEWS:6775 msgid "" "`bpo-31862 `__: Port binascii to PEP 489 " "multiphase initialization. Patch by Marcel Plch." msgstr "" #: ../build/NEWS:6781 msgid "" "`bpo-37128 `__: Added :func:`math.perm`." msgstr "" #: ../build/NEWS:6783 msgid "" "`bpo-37120 `__: Add SSLContext." "num_tickets to control the number of TLSv1.3 session tickets." msgstr "" #: ../build/NEWS:6786 msgid "" "`bpo-12202 `__: Fix the error handling " "in :meth:`msilib.SummaryInformation.GetProperty`. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:6789 msgid "" "`bpo-26835 `__: The fcntl module now " "contains file sealing constants for sealing of memfds." msgstr "" #: ../build/NEWS:6792 msgid "" "`bpo-29262 `__: Add ``get_origin()`` and " "``get_args()`` introspection helpers to ``typing`` module." msgstr "" #: ../build/NEWS:6795 msgid "" "`bpo-12639 `__: :meth:`msilib.Directory." "start_component()` no longer fails if *keyfile* is not ``None``." msgstr "" #: ../build/NEWS:6798 msgid "" "`bpo-36999 `__: Add the ``asyncio.Task." "get_coro()`` method to publicly expose the tasks's coroutine object." msgstr "" #: ../build/NEWS:6801 msgid "" "`bpo-35246 `__: Make :func:`asyncio." "create_subprocess_exec` accept path-like arguments." msgstr "" #: ../build/NEWS:6804 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:6808 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:6813 msgid "" "`bpo-33725 `__: On macOS, the :mod:" "`multiprocessing` module now uses *spawn* start method by default." msgstr "" #: ../build/NEWS:6816 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:6821 msgid "" "`bpo-37058 `__: PEP 544: Add " "``Protocol`` and ``@runtime_checkable`` to the ``typing`` module." msgstr "" #: ../build/NEWS:6824 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:6828 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:6832 msgid "" "`bpo-37049 `__: PEP 589: Add " "``TypedDict`` to the ``typing`` module." msgstr "" #: ../build/NEWS:6834 msgid "" "`bpo-37046 `__: PEP 586: Add ``Literal`` " "to the ``typing`` module." msgstr "" #: ../build/NEWS:6836 msgid "" "`bpo-37045 `__: PEP 591: Add ``Final`` " "qualifier and ``@final`` decorator to the ``typing`` module." msgstr "" #: ../build/NEWS:6839 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:6845 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:6849 msgid "" "`bpo-37028 `__: Implement asyncio REPL" msgstr "" #: ../build/NEWS:6851 msgid "" "`bpo-37027 `__: Return safe to use proxy " "socket object from transport.get_extra_info('socket')" msgstr "" #: ../build/NEWS:6854 msgid "" "`bpo-32528 `__: Make asyncio." "CancelledError a BaseException." msgstr "" #: ../build/NEWS:6856 msgid "" "This will address the common mistake many asyncio users make: an \"except " "Exception\" clause breaking Tasks cancellation." msgstr "" #: ../build/NEWS:6859 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:6863 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:6867 msgid "" "`bpo-36996 `__: Handle :func:`unittest." "mock.patch` used as a decorator on async functions." msgstr "" #: ../build/NEWS:6870 msgid "" "`bpo-37008 `__: Add support for calling :" "func:`next` with the mock resulting from :func:`unittest.mock.mock_open`" msgstr "" #: ../build/NEWS:6873 msgid "" "`bpo-27737 `__: Allow whitespace only " "header encoding in ``email.header`` - by Batuhan Taskaya" msgstr "" #: ../build/NEWS:6876 msgid "" "`bpo-36969 `__: PDB command `args` now " "display positional only arguments. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:6879 msgid "" "`bpo-36969 `__: PDB command `args` now " "display keyword only arguments. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:6882 msgid "" "`bpo-36983 `__: Add missing names to " "``typing.__all__``: ``ChainMap``, ``ForwardRef``, ``OrderedDict`` - by " "Anthony Sottile." msgstr "" #: ../build/NEWS:6885 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:6889 msgid "" "`bpo-32972 `__: Implement ``unittest." "IsolatedAsyncioTestCase`` to help testing asyncio-based code." msgstr "" #: ../build/NEWS:6892 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:6897 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:6903 msgid "" "`bpo-36949 `__: Implement __repr__ for " "WeakSet objects." msgstr "" #: ../build/NEWS:6905 msgid "" "`bpo-36948 `__: Fix :exc:`NameError` in :" "meth:`urllib.request.URLopener.retrieve`. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:6909 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:6913 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:6917 msgid "Original patch by Giampaolo Rodola, updated by Ying Wang." msgstr "" #: ../build/NEWS:6919 msgid "" "`bpo-36888 `__: Python child processes " "can now access the status of their parent process using multiprocessing." "process.parent_process" msgstr "" #: ../build/NEWS:6922 msgid "" "`bpo-36921 `__: Deprecate ``@coroutine`` " "for sake of ``async def``." msgstr "" #: ../build/NEWS:6924 msgid "" "`bpo-25652 `__: Fix bug in ``__rmod__`` " "of ``UserString`` - by Batuhan Taskaya." msgstr "" #: ../build/NEWS:6926 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:6930 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:6946 msgid "" "`bpo-36845 `__: Added validation of " "integer prefixes to the construction of IP networks and interfaces in the " "ipaddress module." msgstr "" #: ../build/NEWS:6949 msgid "" "`bpo-23378 `__: Add an extend action to " "argparser." msgstr "" #: ../build/NEWS:6951 msgid "" "`bpo-36867 `__: Fix a bug making a " "SharedMemoryManager instance and its parent process use two separate " "resource_tracker processes." msgstr "" #: ../build/NEWS:6954 msgid "" "`bpo-23896 `__: Adds a grammar to " "lib2to3.pygram that contains exec as a function not as statement." msgstr "" #: ../build/NEWS:6957 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:6960 msgid "" "`bpo-35545 `__: Fix asyncio discarding " "IPv6 scopes when ensuring hostname resolutions internally" msgstr "" #: ../build/NEWS:6963 msgid "" "`bpo-36887 `__: Add new function :func:" "`math.isqrt` to compute integer square roots." msgstr "" #: ../build/NEWS:6966 msgid "" "`bpo-34632 `__: Introduce the " "``importlib.metadata`` module with (provisional) support for reading " "metadata from third-party packages." msgstr "" #: ../build/NEWS:6969 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:6974 msgid "" "`bpo-36778 `__: ``cp65001`` encoding " "(Windows code page 65001) becomes an alias to ``utf_8`` encoding." msgstr "" #: ../build/NEWS:6977 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:6981 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:6984 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:6988 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:6994 msgid "" "`bpo-36832 `__: Introducing ``zipfile." "Path``, a pathlib-compatible wrapper for traversing zip files." msgstr "" #: ../build/NEWS:6997 msgid "" "`bpo-36814 `__: Fix an issue where os." "posix_spawnp() would incorrectly raise a TypeError when file_actions is None." msgstr "" #: ../build/NEWS:7000 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:7004 msgid "" "`bpo-26903 `__: Limit `max_workers` in " "`ProcessPoolExecutor` to 61 to work around a WaitForMultipleObjects " "limitation." msgstr "" #: ../build/NEWS:7007 msgid "" "`bpo-36813 `__: Fix :class:`~logging." "handlers.QueueListener` to call ``queue.task_done()`` upon stopping. Patch " "by Bar Harel." msgstr "" #: ../build/NEWS:7010 msgid "" "`bpo-36806 `__: Forbid creation of " "asyncio stream objects like StreamReader, StreamWriter, Process, and their " "protocols outside of asyncio package." msgstr "" #: ../build/NEWS:7013 msgid "" "`bpo-36802 `__: Provide both sync and " "async calls for StreamWriter.write() and StreamWriter.close()" msgstr "" #: ../build/NEWS:7016 msgid "" "`bpo-36801 `__: Properly handle SSL " "connection closing in asyncio StreamWriter.drain() call." msgstr "" #: ../build/NEWS:7019 msgid "" "`bpo-36785 `__: Implement PEP 574 " "(pickle protocol 5 with out-of-band buffers)." msgstr "" #: ../build/NEWS:7021 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:7024 msgid "" "`bpo-6584 `__: Add a :exc:`~gzip." "BadGzipFile` exception to the :mod:`gzip` module." msgstr "" #: ../build/NEWS:7027 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:7031 msgid "" "`bpo-8138 `__: Don't mark ``wsgiref." "simple_server.SimpleServer`` as multi-threaded since ``wsgiref.simple_server." "WSGIServer`` is single-threaded." msgstr "" #: ../build/NEWS:7035 msgid "" "`bpo-22640 `__: :func:`py_compile." "compile` now supports silent mode. Patch by Joannah Nanjekye" msgstr "" #: ../build/NEWS:7038 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:7042 msgid "" "`bpo-36548 `__: Improved the repr of " "regular expression flags." msgstr "" #: ../build/NEWS:7044 msgid "" "`bpo-36542 `__: The signature of Python " "functions can now be overridden by specifying the ``__text_signature__`` " "attribute." msgstr "" #: ../build/NEWS:7047 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:7054 msgid "" "`bpo-35252 `__: Throw a TypeError " "instead of an AssertionError when using an invalid type annotation with " "singledispatch." msgstr "" #: ../build/NEWS:7057 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:7061 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:7065 msgid "" "`bpo-36368 `__: Fix a bug crashing " "SharedMemoryManager instances in interactive sessions after a ctrl-c " "(KeyboardInterrupt) was sent" msgstr "" #: ../build/NEWS:7068 msgid "" "`bpo-31904 `__: Fix mmap fail for VxWorks" msgstr "" #: ../build/NEWS:7070 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:7074 msgid "" "`bpo-36239 `__: Parsing .mo files now " "ignores comments starting and ending with #-#-#-#-#." msgstr "" #: ../build/NEWS:7077 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:7081 msgid "" "`bpo-31904 `__: Add posix module support " "for VxWorks." msgstr "" #: ../build/NEWS:7083 msgid "" "`bpo-35125 `__: Asyncio: Remove inner " "callback on outer cancellation in shield" msgstr "" #: ../build/NEWS:7085 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:7089 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:7092 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:7096 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:7102 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:7106 msgid "" "`bpo-26467 `__: Added AsyncMock to " "support using unittest to mock asyncio coroutines. Patch by Lisa Roach." msgstr "" #: ../build/NEWS:7109 msgid "" "`bpo-33569 `__: dataclasses.InitVar: " "Exposes the type used to create the init var." msgstr "" #: ../build/NEWS:7112 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:7116 msgid "" "`bpo-34303 `__: Performance of :func:" "`functools.reduce` is slightly improved. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:7119 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:7123 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:7126 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:7130 msgid "" "`bpo-24882 `__: Change " "ThreadPoolExecutor to use existing idle threads before spinning up new ones." msgstr "" #: ../build/NEWS:7133 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:7140 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:7144 msgid "" "`bpo-32941 `__: Allow :class:`mmap.mmap` " "objects to access the madvise() system call (through :meth:`mmap.mmap." "madvise`)." msgstr "" #: ../build/NEWS:7147 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:7151 msgid "" "`bpo-32515 `__: trace.py can now run " "modules via python3 -m trace -t --module module_name" msgstr "" #: ../build/NEWS:7154 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:7157 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:7161 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:7165 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:7171 msgid "" "`bpo-36896 `__: Clarify that some types " "have unstable constructor signature between Python versions." msgstr "" #: ../build/NEWS:7174 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:7178 msgid "" "Add a few tests to verify that the various values passed to the std* " "arguments actually work." msgstr "" #: ../build/NEWS:7181 msgid "" "`bpo-36984 `__: Improve version added " "references in ``typing`` module - by Anthony Sottile." msgstr "" #: ../build/NEWS:7184 msgid "" "`bpo-36868 `__: What's new now mentions " "SSLContext.hostname_checks_common_name instead of SSLContext.host_flags." msgstr "" #: ../build/NEWS:7187 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:7190 msgid "" "`bpo-36783 `__: Added C API " "Documentation for Time_FromTimeAndFold and PyDateTime_FromDateAndTimeAndFold " "as per PEP 495. Patch by Edison Abahurire." msgstr "" #: ../build/NEWS:7194 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:7198 msgid "" "`bpo-22865 `__: Add detail to the " "documentation on the `pty.spawn` function." msgstr "" #: ../build/NEWS:7200 msgid "" "`bpo-35397 `__: Remove deprecation and " "document urllib.parse.unwrap(). Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:7203 msgid "" "`bpo-32995 `__: Added the context " "variable in glossary." msgstr "" #: ../build/NEWS:7205 msgid "" "`bpo-33519 `__: Clarify that `copy()` is " "not part of the `MutableSequence` ABC." msgstr "" #: ../build/NEWS:7207 msgid "" "`bpo-33482 `__: Make `codecs." "StreamRecoder.writelines` take a list of bytes." msgstr "" #: ../build/NEWS:7209 msgid "" "`bpo-25735 `__: Added documentation for " "func factorial to indicate that returns integer values" msgstr "" #: ../build/NEWS:7212 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:7219 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:7224 msgid "" "`bpo-37098 `__: Fix test_memfd_create on " "older Linux Kernels." msgstr "" #: ../build/NEWS:7226 msgid "" "`bpo-37081 `__: Test with OpenSSL 1.1.1c" msgstr "" #: ../build/NEWS:7228 msgid "" "`bpo-36829 `__: Add :func:`test.support." "catch_unraisable_exception`: context manager catching unraisable exception " "using :func:`sys.unraisablehook`." msgstr "" #: ../build/NEWS:7231 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:7235 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:7239 msgid "" "`bpo-36816 `__: Update Lib/test/" "selfsigned_pythontestdotnet.pem to match self-signed.pythontest.net's new " "TLS certificate." msgstr "" #: ../build/NEWS:7242 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:7246 msgid "" "`bpo-36782 `__: Add tests for several C " "API functions in the :mod:`datetime` module. Patch by Edison Abahurire." msgstr "" #: ../build/NEWS:7249 msgid "" "`bpo-36342 `__: Fix test_multiprocessing " "in test_venv if platform lacks functioning sem_open." msgstr "" #: ../build/NEWS:7255 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:7261 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:7268 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:7273 msgid "" "`bpo-36786 `__: \"make install\" now " "runs compileall in parallel." msgstr "" #: ../build/NEWS:7278 msgid "" "`bpo-36965 `__: include of " "STATUS_CONTROL_C_EXIT without depending on MSC compiler" msgstr "" #: ../build/NEWS:7281 msgid "" "`bpo-35926 `__: Update to OpenSSL 1.1.1b " "for Windows." msgstr "" #: ../build/NEWS:7283 msgid "" "`bpo-29883 `__: Add Windows support for " "UDP transports for the Proactor Event Loop. Patch by Adam Meily." msgstr "" #: ../build/NEWS:7286 msgid "" "`bpo-33407 `__: The :c:macro:" "`Py_DEPRECATED()` macro has been implemented for MSVC." msgstr "" #: ../build/NEWS:7292 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:7299 msgid "" "`bpo-35610 `__: Replace now redundant ." "context_use_ps1 with .prompt_last_line. This finishes change started in " "`bpo-31858 `__." msgstr "" #: ../build/NEWS:7302 msgid "" "`bpo-37038 `__: Make idlelib.run " "runnable; add test clause." msgstr "" #: ../build/NEWS:7304 msgid "" "`bpo-36958 `__: Print any argument other " "than None or int passed to SystemExit or sys.exit()." msgstr "" #: ../build/NEWS:7307 msgid "" "`bpo-36807 `__: When saving a file, call " "os.fsync() so bits are flushed to e.g. USB drive." msgstr "" #: ../build/NEWS:7310 msgid "" "`bpo-32411 `__: In browser.py, remove " "extraneous sorting by line number since dictionary was created in line " "number order." msgstr "" #: ../build/NEWS:7316 msgid "" "`bpo-37053 `__: Handle strings like u" "\"bar\" correctly in Tools/parser/unparse.py. Patch by Chih-Hsuan Yen." msgstr "" #: ../build/NEWS:7322 msgid "" "`bpo-36763 `__: Implement the :pep:`587` " "\"Python Initialization Configuration\"." msgstr "" #: ../build/NEWS:7324 msgid "" "`bpo-36379 `__: Fix crashes when " "attempting to use the *modulo* parameter when ``__ipow__`` is implemented in " "C." msgstr "" #: ../build/NEWS:7327 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:7332 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:7336 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:7340 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:7345 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:7351 msgid "Python 3.8.0 alpha 4" msgstr "" #: ../build/NEWS:7353 msgid "*Release date: 2019-05-06*" msgstr "" #: ../build/NEWS:7358 msgid "" "`bpo-36742 `__: Fixes mishandling of pre-" "normalization characters in urlsplit()." msgstr "" #: ../build/NEWS:7361 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:7366 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:7376 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:7379 msgid "" "`bpo-32849 `__: Fix Python " "Initialization code on FreeBSD to detect properly when stdin file descriptor " "(fd 0) is invalid." msgstr "" #: ../build/NEWS:7382 msgid "" "`bpo-36623 `__: Remove parser headers " "and related function declarations that lack implementations after the " "removal of pgen." msgstr "" #: ../build/NEWS:7385 msgid "" "`bpo-20180 `__: ``dict.pop()`` is now up " "to 33% faster thanks to Argument Clinic. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:7388 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:7395 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:7400 msgid "" "`bpo-36549 `__: Change str.capitalize to " "use titlecase for the first character instead of uppercase." msgstr "" #: ../build/NEWS:7403 msgid "" "`bpo-36540 `__: Implement :pep:`570` " "(Python positional-only parameters). Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7406 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:7411 msgid "" "`bpo-36504 `__: Fix signed integer " "overflow in _ctypes.c's ``PyCArrayType_new()``." msgstr "" #: ../build/NEWS:7414 msgid "" "`bpo-20844 `__: Fix running script with " "encoding cookie and LF line ending may fail on Windows." msgstr "" #: ../build/NEWS:7417 msgid "" "`bpo-24214 `__: Fixed support of the " "surrogatepass error handler in the UTF-8 incremental decoder." msgstr "" #: ../build/NEWS:7420 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:7426 msgid "" "`bpo-36459 `__: Fix a possible double " "``PyMem_FREE()`` due to tokenizer.c's ``tok_nextc()``." msgstr "" #: ../build/NEWS:7429 msgid "" "`bpo-36433 `__: Fixed TypeError message " "in classmethoddescr_call." msgstr "" #: ../build/NEWS:7431 msgid "" "`bpo-36430 `__: Fix a possible reference " "leak in :func:`itertools.count`." msgstr "" #: ../build/NEWS:7433 msgid "" "`bpo-36440 `__: Include node names in " "``ParserError`` messages, instead of numeric IDs. Patch by A. Skrobov." msgstr "" #: ../build/NEWS:7436 msgid "" "`bpo-36143 `__: Regenerate :mod:" "`keyword` from the Grammar and Tokens file using pgen. Patch by Pablo " "Galindo." msgstr "" #: ../build/NEWS:7439 msgid "" "`bpo-18372 `__: Add missing :c:func:" "`PyObject_GC_Track` calls in the :mod:`pickle` module. Patch by Zackery " "Spytz." msgstr "" #: ../build/NEWS:7445 msgid "" "`bpo-35952 `__: Fix pythoninfo when the " "compiler is missing." msgstr "" #: ../build/NEWS:7447 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:7451 msgid "" "`bpo-26978 `__: `pathlib.path.link_to()` " "is now implemented. It creates a hard link pointing to a path." msgstr "" #: ../build/NEWS:7454 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:7458 msgid "" "`bpo-36734 `__: Fix compilation of " "``faulthandler.c`` on HP-UX. Initialize ``stack_t current_stack`` to zero " "using ``memset()``." msgstr "" #: ../build/NEWS:7461 msgid "" "`bpo-13611 `__: The xml.etree." "ElementTree packages gained support for C14N 2.0 serialisation. Patch by " "Stefan Behnel." msgstr "" #: ../build/NEWS:7464 msgid "" "`bpo-36669 `__: Add missing matrix " "multiplication operator support to weakref.proxy." msgstr "" #: ../build/NEWS:7467 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:7471 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:7475 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:7480 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:7485 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:7492 msgid "" "`bpo-25430 `__: improve performance of " "``IPNetwork.__contains__()``" msgstr "" #: ../build/NEWS:7494 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:7498 msgid "" "`bpo-36613 `__: Fix :mod:`asyncio` " "wait() not removing callback if exception" msgstr "" #: ../build/NEWS:7500 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:7503 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:7507 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:7513 msgid "" "`bpo-33461 `__: ``json.loads`` now emits " "``DeprecationWarning`` when ``encoding`` option is specified. Patch by " "Matthias Bussonnier." msgstr "" #: ../build/NEWS:7516 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:7519 msgid "" "`bpo-17561 `__: Set backlog=None as the " "default for socket.create_server." msgstr "" #: ../build/NEWS:7521 msgid "" "`bpo-34373 `__: Fix :func:`time.mktime` " "error handling on AIX for year before 1970." msgstr "" #: ../build/NEWS:7524 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:7527 msgid "" "`bpo-36546 `__: Add statistics." "quantiles()" msgstr "" #: ../build/NEWS:7529 msgid "" "`bpo-36050 `__: Optimized ``http.client." "HTTPResponse.read()`` for large response. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:7532 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:7536 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:7542 msgid "" "`bpo-27181 `__: Add statistics." "geometric_mean()." msgstr "" #: ../build/NEWS:7544 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:7549 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:7554 msgid "" "`bpo-36434 `__: Errors during writing to " "a ZIP file no longer prevent to properly close it." msgstr "" #: ../build/NEWS:7557 msgid "" "`bpo-36407 `__: Fixed wrong indentation " "writing for CDATA section in xml.dom.minidom. Patch by Vladimir Surjaninov." msgstr "" #: ../build/NEWS:7560 msgid "" "`bpo-36326 `__: inspect.getdoc() can now " "find docstrings for member objects when __slots__ is a dictionary." msgstr "" #: ../build/NEWS:7563 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:7568 msgid "" "`bpo-36348 `__: The :meth:`imap.IMAP4." "logout` method no longer ignores silently arbitrary exceptions." msgstr "" #: ../build/NEWS:7571 msgid "" "`bpo-31904 `__: Add time module support " "and fix test_time faiures for VxWorks." msgstr "" #: ../build/NEWS:7573 msgid "" "`bpo-36227 `__: Added support for " "keyword arguments `default_namespace` and `xml_declaration` in functions " "ElementTree.tostring() and ElementTree.tostringlist()." msgstr "" #: ../build/NEWS:7577 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:7583 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:7588 msgid "" "`bpo-35376 `__: :mod:`modulefinder` " "correctly handles modules that have the same name as a bad package. Patch by " "Brandt Bucher." msgstr "" #: ../build/NEWS:7591 msgid "" "`bpo-17396 `__: :mod:`modulefinder` no " "longer crashes when encountering syntax errors in followed imports. Patch by " "Brandt Bucher." msgstr "" #: ../build/NEWS:7594 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:7600 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:7603 msgid "" "`bpo-35416 `__: Fix potential resource " "warnings in distutils. Patch by Mickaël Schoentgen." msgstr "" #: ../build/NEWS:7606 msgid "" "`bpo-25451 `__: Add transparency methods " "to :class:`tkinter.PhotoImage`. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:7609 msgid "" "`bpo-35082 `__: Don't return deleted " "attributes when calling dir on a :class:`unittest.mock.Mock`." msgstr "" #: ../build/NEWS:7612 msgid "" "`bpo-34547 `__: :class:`wsgiref.handlers." "BaseHandler` now handles abrupt client connection terminations gracefully. " "Patch by Petter Strandmark." msgstr "" #: ../build/NEWS:7615 msgid "" "`bpo-31658 `__: :func:`xml.sax.parse` " "now supports :term:`path-like `. Patch by Mickaël " "Schoentgen." msgstr "" #: ../build/NEWS:7618 msgid "" "`bpo-34139 `__: Remove stale unix " "datagram socket before binding" msgstr "" #: ../build/NEWS:7620 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:7624 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:7628 msgid "" "`bpo-31310 `__: Fix the multiprocessing." "semaphore_tracker so it is reused by child processes" msgstr "" #: ../build/NEWS:7631 msgid "" "`bpo-31292 `__: Fix ``setup.py check --" "restructuredtext`` for files containing ``include`` directives." msgstr "" #: ../build/NEWS:7637 msgid "" "`bpo-36625 `__: Remove obsolete comments " "from docstrings in fractions.Fraction" msgstr "" #: ../build/NEWS:7639 msgid "" "`bpo-30840 `__: Document relative imports" msgstr "" #: ../build/NEWS:7641 msgid "" "`bpo-36523 `__: Add docstring for io." "IOBase.writelines()." msgstr "" #: ../build/NEWS:7643 msgid "" "`bpo-36425 `__: New documentation " "translation: `Simplified Chinese `_." msgstr "" #: ../build/NEWS:7646 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:7651 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:7655 msgid "" "`bpo-36157 `__: Added Documention for " "PyInterpreterState_Main()." msgstr "" #: ../build/NEWS:7657 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:7662 msgid "" "`bpo-35581 `__: @typing.type_check_only " "now allows type stubs to mark functions and classes not available during " "runtime." msgstr "" #: ../build/NEWS:7665 msgid "" "`bpo-33832 `__: Add glossary entry for " "'magic method'." msgstr "" #: ../build/NEWS:7667 msgid "" "`bpo-32913 `__: Added re.Match.groupdict " "example to regex HOWTO." msgstr "" #: ../build/NEWS:7672 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:7677 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:7681 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:7686 msgid "" "`bpo-32424 `__: Improve test coverage " "for xml.etree.ElementTree. Patch by Gordon P. Hemsley." msgstr "" #: ../build/NEWS:7689 msgid "" "`bpo-32424 `__: Fix typo in " "test_cyclic_gc() test for xml.etree.ElementTree. Patch by Gordon P. Hemsley." msgstr "" #: ../build/NEWS:7692 msgid "" "`bpo-36635 `__: Add a new :mod:" "`_testinternalcapi` module to test the internal C API." msgstr "" #: ../build/NEWS:7695 msgid "" "`bpo-36629 `__: Fix " "``test_imap4_host_default_value()`` of ``test_imaplib``: catch also :data:" "`errno.ENETUNREACH` error." msgstr "" #: ../build/NEWS:7698 msgid "" "`bpo-36611 `__: Fix ``test_sys." "test_getallocatedblocks()`` when :mod:`tracemalloc` is enabled." msgstr "" #: ../build/NEWS:7701 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:7706 msgid "" "`bpo-36565 `__: Fix reference hunting " "(``python3 -m test -R 3:3``) when Python has no built-in abc module." msgstr "" #: ../build/NEWS:7709 msgid "" "`bpo-31904 `__: Port test_resource to " "VxWorks: skip tests cases setting RLIMIT_FSIZE and RLIMIT_CPU." msgstr "" #: ../build/NEWS:7712 msgid "" "`bpo-31904 `__: Fix test_tabnanny on " "VxWorks: adjust ENOENT error message." msgstr "" #: ../build/NEWS:7714 msgid "" "`bpo-36436 `__: Fix ``_testcapi." "pymem_buffer_overflow()``: handle memory allocation failure." msgstr "" #: ../build/NEWS:7717 msgid "" "`bpo-31904 `__: Fix test_utf8_mode on " "VxWorks: Python always use UTF-8 on VxWorks." msgstr "" #: ../build/NEWS:7720 msgid "" "`bpo-36341 `__: Fix tests that may fail " "with PermissionError upon calling bind() on AF_UNIX sockets." msgstr "" #: ../build/NEWS:7726 msgid "" "`bpo-36747 `__: Remove the stale " "scriptsinstall Makefile target." msgstr "" #: ../build/NEWS:7728 msgid "" "`bpo-21536 `__: On Unix, C extensions " "are no longer linked to libpython except on Android and Cygwin." msgstr "" #: ../build/NEWS:7731 msgid "" "It is now possible for a statically linked Python to load a C extension " "built using a shared library Python." msgstr "" #: ../build/NEWS:7734 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:7740 msgid "distutils, python-config and python-config.py have been modified." msgstr "" #: ../build/NEWS:7742 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:7746 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:7752 msgid "" "`bpo-31904 `__: Don't build the " "``_crypt`` extension on VxWorks." msgstr "" #: ../build/NEWS:7754 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:7763 msgid "" "`bpo-36605 `__: ``make tags`` and ``make " "TAGS`` now also parse ``Modules/_io/*.c`` and ``Modules/_io/*.h``." msgstr "" #: ../build/NEWS:7766 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:7773 msgid "" "`bpo-36577 `__: setup.py now correctly " "reports missing OpenSSL headers and libraries again." msgstr "" #: ../build/NEWS:7776 msgid "" "`bpo-36544 `__: Fix regression " "introduced in `bpo-36146 `__ refactoring " "setup.py" msgstr "" #: ../build/NEWS:7778 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:7782 msgid "" "`bpo-36503 `__: Remove references to " "\"aix3\" and \"aix4\". Patch by M. Felt." msgstr "" #: ../build/NEWS:7787 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:7791 msgid "" "`bpo-36649 `__: Remove trailing spaces " "for registry keys when installed via the Store." msgstr "" #: ../build/NEWS:7794 msgid "" "`bpo-34144 `__: Fixed activate.bat to " "correctly update codepage when chcp.com returns dots in output. Patch by " "Lorenz Mende." msgstr "" #: ../build/NEWS:7797 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:7802 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:7812 msgid "" "`bpo-36441 `__: Fixes creating a venv " "when debug binaries are installed." msgstr "" #: ../build/NEWS:7814 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:7817 msgid "" "`bpo-36010 `__: Add the venv standard " "library module to the nuget distribution for Windows." msgstr "" #: ../build/NEWS:7820 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:7828 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:7831 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:7834 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:7840 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:7848 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:7855 msgid "" "`bpo-14546 `__: Fix the argument " "handling in Tools/scripts/lll.py." msgstr "" #: ../build/NEWS:7860 msgid "" "`bpo-36763 `__: Fix memory leak in :c:" "func:`Py_SetStandardStreamEncoding`: release memory if the function is " "called twice." msgstr "" #: ../build/NEWS:7863 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:7867 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:7874 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:7881 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:7888 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:7895 msgid "Python 3.8.0 alpha 3" msgstr "" #: ../build/NEWS:7897 msgid "*Release date: 2019-03-25*" msgstr "" #: ../build/NEWS:7902 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:7906 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:7914 msgid "" "`bpo-36421 `__: Fix a possible double " "decref in _ctypes.c's ``PyCArrayType_new()``." msgstr "" #: ../build/NEWS:7917 msgid "" "`bpo-36412 `__: Fix a possible crash " "when creating a new dictionary." msgstr "" #: ../build/NEWS:7919 msgid "" "`bpo-36398 `__: Fix a possible crash in " "``structseq_repr()``." msgstr "" #: ../build/NEWS:7921 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:7924 msgid "" "`bpo-36365 `__: repr(structseq) is no " "longer limited to 512 bytes." msgstr "" #: ../build/NEWS:7926 msgid "" "`bpo-36374 `__: Fix a possible null " "pointer dereference in ``merge_consts_recursive()``. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:7929 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:7932 msgid "" "`bpo-36352 `__: Python initialization " "now fails with an error, rather than silently truncating paths, if a path is " "too long." msgstr "" #: ../build/NEWS:7935 msgid "" "`bpo-36301 `__: Python initialization " "now fails if decoding ``pybuilddir.txt`` configuration file fails at startup." msgstr "" #: ../build/NEWS:7938 msgid "" "`bpo-36333 `__: Fix leak in " "_PyRuntimeState_Fini. Contributed by Stéphane Wirtel." msgstr "" #: ../build/NEWS:7941 msgid "" "`bpo-36332 `__: The builtin :func:" "`compile` can now handle AST objects that contain assignment expressions. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7944 msgid "" "`bpo-36282 `__: Improved error message " "for too much positional arguments in some builtin functions." msgstr "" #: ../build/NEWS:7947 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:7951 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:7955 msgid "" "`bpo-36252 `__: Update Unicode databases " "to version 12.0.0." msgstr "" #: ../build/NEWS:7957 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:7960 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:7963 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:7968 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:7976 msgid "" "`bpo-31904 `__: Use UTF-8 as the system " "encoding on VxWorks." msgstr "" #: ../build/NEWS:7978 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:7983 msgid "" "`bpo-35808 `__: Retire pgen and use a " "modified version of pgen2 to generate the parser. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:7989 msgid "" "`bpo-36401 `__: The class documentation " "created by pydoc now has a separate section for readonly properties." msgstr "" #: ../build/NEWS:7992 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:7997 msgid "" "`bpo-34745 `__: Fix :mod:`asyncio` ssl " "memory issues caused by circular references" msgstr "" #: ../build/NEWS:8000 msgid "" "`bpo-36324 `__: Add method to statistics." "NormalDist for computing the inverse cumulative normal distribution." msgstr "" #: ../build/NEWS:8003 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:8009 msgid "" "`bpo-36297 `__: \"unicode_internal\" " "codec is removed. It was deprecated since Python 3.3. Patch by Inada Naoki." msgstr "" #: ../build/NEWS:8012 msgid "" "`bpo-36298 `__: Raise " "ModuleNotFoundError in pyclbr when a module can't be found. Thanks to " "'mental' for the bug report." msgstr "" #: ../build/NEWS:8015 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:8019 msgid "" "`bpo-36285 `__: Fix integer overflows in " "the array module. Patch by Stephan Hohe." msgstr "" #: ../build/NEWS:8022 msgid "" "`bpo-31904 `__: Add _signal module " "support for VxWorks." msgstr "" #: ../build/NEWS:8024 msgid "" "`bpo-36272 `__: :mod:`logging` does not " "silently ignore RecursionError anymore. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:8027 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:8030 msgid "" "`bpo-35931 `__: The :mod:`pdb` ``debug`` " "command now gracefully handles all exceptions." msgstr "" #: ../build/NEWS:8033 msgid "" "`bpo-36251 `__: Fix format strings used " "for stderrprinter and re.Match reprs. Patch by Stephan Hohe." msgstr "" #: ../build/NEWS:8036 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:8041 msgid "" "`bpo-35807 `__: Update ensurepip to " "install pip 19.0.3 and setuptools 40.8.0." msgstr "" #: ../build/NEWS:8043 msgid "" "`bpo-36139 `__: Release GIL when " "closing :class:`~mmap.mmap` objects." msgstr "" #: ../build/NEWS:8045 msgid "" "`bpo-36179 `__: Fix two unlikely " "reference leaks in _hashopenssl. The leaks only occur in out-of-memory cases." msgstr "" #: ../build/NEWS:8048 msgid "" "`bpo-36169 `__: Add overlap() method to " "statistics.NormalDist. Computes the overlapping coefficient for two normal " "distributions." msgstr "" #: ../build/NEWS:8051 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:8055 msgid "" "`bpo-36130 `__: Fix ``pdb`` with " "``skip=...`` when stepping into a frame without a ``__name__`` global. " "Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:8058 msgid "" "`bpo-35652 `__: shutil." "copytree(copy_function=...) erroneously pass DirEntry instead of a path " "string." msgstr "" #: ../build/NEWS:8061 msgid "" "`bpo-35178 `__: Ensure custom :func:" "`warnings.formatwarning` function can receive `line` as positional argument. " "Based on patch by Tashrif Billah." msgstr "" #: ../build/NEWS:8064 msgid "" "`bpo-36106 `__: Resolve potential name " "clash with libm's sinpi(). Patch by Dmitrii Pasechnik." msgstr "" #: ../build/NEWS:8067 msgid "" "`bpo-36091 `__: Clean up reference to " "async generator in Lib/types. Patch by Henry Chen." msgstr "" #: ../build/NEWS:8070 msgid "" "`bpo-36043 `__: :class:`FileCookieJar` " "supports :term:`path-like object`. Contributed by Stéphane Wirtel" msgstr "" #: ../build/NEWS:8073 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:8077 msgid "" "`bpo-21269 `__: Add ``args`` and " "``kwargs`` properties to mock call objects. Contributed by Kumar Akshay." msgstr "" #: ../build/NEWS:8080 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:8085 msgid "" "`bpo-35843 `__: Implement " "``__getitem__`` for ``_NamespacePath``. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:8088 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:8092 msgid "" "`bpo-35715 `__: Librates the return " "value of a ProcessPoolExecutor _process_worker after it's no longer needed " "to free memory" msgstr "" #: ../build/NEWS:8095 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:8099 msgid "" "`bpo-35661 `__: Store the venv prompt in " "pyvenv.cfg." msgstr "" #: ../build/NEWS:8101 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:8105 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:8109 msgid "" "`bpo-35198 `__: Fix C++ extension " "compilation on AIX" msgstr "" #: ../build/NEWS:8114 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:8118 msgid "" "`bpo-36138 `__: Improve documentation " "about converting datetime.timedelta to scalars." msgstr "" #: ../build/NEWS:8121 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:8128 msgid "" "`bpo-36234 `__: test_posix." "PosixUidGidTests: add tests for invalid uid/gid type (str). Initial patch " "written by David Malcolm." msgstr "" #: ../build/NEWS:8131 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:8136 msgid "" "`bpo-36123 `__: Fix race condition in " "test_socket." msgstr "" #: ../build/NEWS:8141 msgid "" "`bpo-36356 `__: Fix leaks that led to " "build failure when configured with address sanitizer." msgstr "" #: ../build/NEWS:8144 msgid "" "`bpo-36146 `__: Add ``TEST_EXTENSIONS`` " "constant to ``setup.py`` to allow to not build test extensions like " "``_testcapi``." msgstr "" #: ../build/NEWS:8147 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:8150 msgid "" "`bpo-31904 `__: Enable build system to " "cross-build for VxWorks RTOS." msgstr "" #: ../build/NEWS:8155 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:8158 msgid "" "`bpo-36264 `__: Don't honor POSIX " "``HOME`` in ``os.path.expanduser`` on windows. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:8161 msgid "" "`bpo-24643 `__: Fix name collisions due " "to ``#define timezone _timezone`` in PC/pyconfig.h." msgstr "" #: ../build/NEWS:8167 msgid "" "`bpo-36405 `__: Use dict unpacking in " "idlelib." msgstr "" #: ../build/NEWS:8169 msgid "" "`bpo-36396 `__: Remove fgBg param of " "idlelib.config.GetHighlight(). This param was only used twice and changed " "the return type." msgstr "" #: ../build/NEWS:8172 msgid "" "`bpo-36176 `__: Fix IDLE autocomplete & " "calltip popup colors. Prevent conflicts with Linux dark themes (and slightly " "darken calltip background)." msgstr "" #: ../build/NEWS:8175 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:8179 msgid "" "`bpo-23216 `__: Add docstrings to IDLE " "search modules." msgstr "" #: ../build/NEWS:8181 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:8185 msgid "" "`bpo-32129 `__: Avoid blurry IDLE " "application icon on macOS with Tk 8.6. Patch by Kevin Walzer." msgstr "" #: ../build/NEWS:8188 msgid "" "`bpo-36096 `__: Refactor class variables " "to instance variables in colorizer." msgstr "" #: ../build/NEWS:8190 msgid "" "`bpo-30348 `__: Increase test coverage " "of idlelib.autocomplete by 30%. Patch by Louie Lu" msgstr "" #: ../build/NEWS:8196 msgid "" "`bpo-35132 `__: Fix py-list and py-bt " "commands of python-gdb.py on gdb7." msgstr "" #: ../build/NEWS:8198 msgid "" "`bpo-32217 `__: Fix freeze script on " "Windows." msgstr "" #: ../build/NEWS:8203 msgid "" "`bpo-36381 `__: Raise " "``DeprecationWarning`` when '#' formats are used for building or parsing " "values without ``PY_SSIZE_T_CLEAN``." msgstr "" #: ../build/NEWS:8206 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:8212 msgid "Python 3.8.0 alpha 2" msgstr "" #: ../build/NEWS:8214 msgid "*Release date: 2019-02-25*" msgstr "" #: ../build/NEWS:8219 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:8223 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:8226 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:8230 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:8233 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:8239 msgid "" "`bpo-35992 `__: Fix " "``__class_getitem__()`` not being called on a class with a custom non-" "subscriptable metaclass." msgstr "" #: ../build/NEWS:8242 msgid "" "`bpo-35993 `__: Fix a crash on fork when " "using subinterpreters. Contributed by Stéphane Wirtel" msgstr "" #: ../build/NEWS:8245 msgid "" "`bpo-35991 `__: Fix a potential double " "free in Modules/_randommodule.c." msgstr "" #: ../build/NEWS:8247 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:8250 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:8254 msgid "" "`bpo-12822 `__: Use monotonic clock for " "``pthread_cond_timedwait`` when ``pthread_condattr_setclock`` and " "``CLOCK_MONOTONIC`` are available." msgstr "" #: ../build/NEWS:8257 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:8260 msgid "" "`bpo-35886 `__: The implementation of " "PyInterpreterState has been moved into the internal header files (guarded by " "Py_BUILD_CORE)." msgstr "" #: ../build/NEWS:8263 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:8267 msgid "" "`bpo-35724 `__: Signal-handling is now " "guaranteed to happen relative to the main interpreter." msgstr "" #: ../build/NEWS:8270 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:8277 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:8283 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:8287 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:8292 msgid "" "`bpo-35904 `__: Added statistics.fmean() " "as a faster, floating point variant of the existing mean() function." msgstr "" #: ../build/NEWS:8295 msgid "" "`bpo-35918 `__: Removed broken " "``has_key`` method from multiprocessing.managers.SyncManager.dict. " "Contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:8298 msgid "" "`bpo-18283 `__: Add support for bytes " "to :func:`shutil.which`." msgstr "" #: ../build/NEWS:8300 msgid "" "`bpo-35960 `__: Fix :func:`dataclasses." "field` throwing away empty mapping objects passed as metadata." msgstr "" #: ../build/NEWS:8303 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:8307 msgid "" "`bpo-35931 `__: The :mod:`pdb` ``debug`` " "command now gracefully handles syntax errors." msgstr "" #: ../build/NEWS:8310 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:8314 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:8318 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:8325 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:8330 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:8334 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:8338 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:8345 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:8349 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:8356 msgid "" "`bpo-36083 `__: Fix formatting of --" "check-hash-based-pycs options in the manpage Synopsis." msgstr "" #: ../build/NEWS:8359 msgid "" "`bpo-36007 `__: Bump minimum sphinx " "version to 1.8. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:8361 msgid "" "`bpo-22062 `__: Update documentation and " "docstrings for pathlib. Original patch by Mike Short." msgstr "" #: ../build/NEWS:8367 msgid "" "`bpo-27313 `__: Avoid test_ttk_guionly " "ComboboxTest failure with macOS Cocoa Tk." msgstr "" #: ../build/NEWS:8370 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:8374 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:8379 msgid "" "`bpo-35798 `__: Added :func:`test." "support.check_syntax_warning`." msgstr "" #: ../build/NEWS:8381 msgid "" "`bpo-35505 `__: Make " "test_imap4_host_default_value independent on whether the local IMAP server " "is running." msgstr "" #: ../build/NEWS:8384 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:8388 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:8391 msgid "Patch by Michael Felt (aixtools)" msgstr "" #: ../build/NEWS:8393 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:8400 msgid "" "`bpo-35976 `__: Added ARM build support " "to Windows build files in PCBuild." msgstr "" #: ../build/NEWS:8402 msgid "" "`bpo-35692 `__: ``pathlib`` no longer " "raises when checking file and directory existence on drives that are not " "ready" msgstr "" #: ../build/NEWS:8405 msgid "" "`bpo-35872 `__: Uses the base Python " "executable when invoking venv in a virtual environment" msgstr "" #: ../build/NEWS:8408 msgid "" "`bpo-35873 `__: Prevents venv paths " "being inherited by child processes" msgstr "" #: ../build/NEWS:8410 msgid "" "`bpo-35299 `__: Fix sysconfig detection " "of the source directory and distutils handling of pyconfig.h during PGO " "profiling" msgstr "" #: ../build/NEWS:8416 msgid "" "`bpo-24310 `__: IDLE -- Document " "settings dialog font tab sample." msgstr "" #: ../build/NEWS:8418 msgid "" "`bpo-35833 `__: Revise IDLE doc for " "control codes sent to Shell. Add a code example block." msgstr "" #: ../build/NEWS:8421 msgid "" "`bpo-35689 `__: Add docstrings and " "unittests for colorizer.py." msgstr "" #: ../build/NEWS:8425 msgid "Python 3.8.0 alpha 1" msgstr "" #: ../build/NEWS:8427 msgid "*Release date: 2019-02-03*" msgstr "" #: ../build/NEWS:8432 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:8438 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:8444 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:8448 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:8452 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:8456 msgid "" "`bpo-34405 `__: Updated to OpenSSL " "1.1.0i for Windows builds." msgstr "" #: ../build/NEWS:8458 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:8462 msgid "" "`bpo-32533 `__: Fixed thread-safety of " "error handling in _ssl." msgstr "" #: ../build/NEWS:8464 ../build/NEWS:11963 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:8468 ../build/NEWS:11967 ../build/NEWS:16360 msgid "" "`bpo-33001 `__: Minimal fix to prevent " "buffer overrun in os.symlink on Windows" msgstr "" #: ../build/NEWS:8470 ../build/NEWS:11969 ../build/NEWS:16362 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:8475 ../build/NEWS:12181 msgid "" "`bpo-28414 `__: The ssl module now " "allows users to perform their own IDN en/decoding when using SNI." msgstr "" #: ../build/NEWS:8481 msgid "" "`bpo-35877 `__: Make parenthesis " "optional for named expressions in while statement. Patch by Karthikeyan " "Singaravelan." msgstr "" #: ../build/NEWS:8484 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:8488 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:8493 msgid "" "`bpo-35713 `__: Reorganize Python " "initialization to get working exceptions and sys.stderr earlier." msgstr "" #: ../build/NEWS:8496 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:8499 msgid "" "`bpo-35720 `__: Fixed a minor memory " "leak in pymain_parse_cmdline_impl function in Modules/main.c" msgstr "" #: ../build/NEWS:8502 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:8507 msgid "" "`bpo-35623 `__: Fix a crash when sorting " "very long lists. Patch by Stephan Hohe." msgstr "" #: ../build/NEWS:8510 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:8514 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:8518 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:8522 msgid "" "`bpo-35504 `__: Fix segfaults and :exc:" "`SystemError`\\ s when deleting certain attributes. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8525 msgid "" "`bpo-35504 `__: Fixed a SystemError when " "delete the characters_written attribute of an OSError." msgstr "" #: ../build/NEWS:8528 msgid "" "`bpo-35494 `__: Improved syntax error " "messages for unbalanced parentheses in f-string." msgstr "" #: ../build/NEWS:8531 msgid "" "`bpo-35444 `__: Fixed error handling in " "pickling methods when fail to look up builtin \"getattr\". Sped up pickling " "iterators." msgstr "" #: ../build/NEWS:8534 msgid "" "`bpo-35436 `__: Fix various issues with " "memory allocation error handling. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8537 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:8541 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:8546 msgid "" "`bpo-35372 `__: Fixed the code page " "decoder for input longer than 2 GiB containing undecodable bytes." msgstr "" #: ../build/NEWS:8549 msgid "" "`bpo-35336 `__: Fix " "PYTHONCOERCECLOCALE=1 environment variable: only coerce the C locale if the " "LC_CTYPE locale is \"C\"." msgstr "" #: ../build/NEWS:8552 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:8557 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:8561 msgid "" "`bpo-35269 `__: Fix a possible segfault " "involving a newly-created coroutine. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8564 msgid "" "`bpo-35224 `__: Implement :pep:`572` " "(assignment expressions). Patch by Emily Morehouse." msgstr "" #: ../build/NEWS:8567 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:8570 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:8574 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:8579 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:8584 msgid "" "`bpo-35169 `__: Improved error messages " "for forbidden assignments." msgstr "" #: ../build/NEWS:8586 msgid "" "`bpo-34022 `__: Fix handling of hash-" "based bytecode files in :mod:`zipimport`. Patch by Elvis Pranskevichus." msgstr "" #: ../build/NEWS:8589 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:8593 msgid "" "`bpo-29341 `__: Clarify in the " "docstrings of :mod:`os` methods that path-like objects are also accepted as " "input parameters." msgstr "" #: ../build/NEWS:8596 msgid "" "`bpo-35050 `__: :mod:`socket`: Fix off-" "by-one bug in length check for ``AF_ALG`` name and type." msgstr "" #: ../build/NEWS:8599 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:8604 msgid "" "`bpo-16806 `__: Fix ``lineno`` and " "``col_offset`` for multi-line string tokens." msgstr "" #: ../build/NEWS:8606 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:8610 msgid "" "`bpo-34983 `__: Expose :meth:`symtable." "Symbol.is_nonlocal` in the symtable module. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8613 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:8617 msgid "" "`bpo-34939 `__: Allow annotated names in " "module namespace that are declared global before the annotation happens. " "Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8620 msgid "" "`bpo-34973 `__: Fixed crash in :func:" "`bytes` when the :class:`list` argument is mutated while it is iterated." msgstr "" #: ../build/NEWS:8623 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:8630 msgid "" "`bpo-34879 `__: Fix a possible null " "pointer dereference in bytesobject.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8633 msgid "" "`bpo-34784 `__: Fix the implementation " "of PyStructSequence_NewType in order to create heap allocated " "StructSequences." msgstr "" #: ../build/NEWS:8636 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:8640 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:8643 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:8649 msgid "" "`bpo-34824 `__: Fix a possible null " "pointer dereference in Modules/_ssl.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8652 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:8657 msgid "" "`bpo-34762 `__: Fix contextvars C API to " "use PyObject* pointer types." msgstr "" #: ../build/NEWS:8659 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:8664 msgid "" "`bpo-34735 `__: Fix a memory leak in " "Modules/timemodule.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8667 msgid "" "`bpo-34683 `__: Fixed a bug where some " "SyntaxError error pointed to locations that were off-by-one." msgstr "" #: ../build/NEWS:8670 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:8674 msgid "" "`bpo-34653 `__: Remove unused function " "PyParser_SimpleParseStringFilename." msgstr "" #: ../build/NEWS:8676 msgid "" "`bpo-32236 `__: Warn that line buffering " "is not supported if :func:`open` is called with binary mode and " "``buffering=1``." msgstr "" #: ../build/NEWS:8679 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:8683 msgid "" "`bpo-34637 `__: Make the *start* " "argument to *sum()* visible as a keyword argument." msgstr "" #: ../build/NEWS:8686 msgid "" "`bpo-1621 `__: Do not assume signed " "integer overflow behavior (C undefined behavior) when performing set hash " "table resizing." msgstr "" #: ../build/NEWS:8689 msgid "" "`bpo-34588 `__: Fix an off-by-one in the " "recursive call pruning feature of traceback formatting." msgstr "" #: ../build/NEWS:8692 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:8696 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:8700 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:8704 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:8710 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:8714 msgid "" "`bpo-34527 `__: The UTF-8 Mode is now " "also enabled by the \"POSIX\" locale, not only by the \"C\" locale." msgstr "" #: ../build/NEWS:8717 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:8721 msgid "" "`bpo-34523 `__: The Python filesystem " "encoding is now read earlier during the Python initialization." msgstr "" #: ../build/NEWS:8724 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:8729 msgid "" "`bpo-34408 `__: Prevent a null pointer " "dereference and resource leakage in ``PyInterpreterState_New()``." msgstr "" #: ../build/NEWS:8732 msgid "" "`bpo-34400 `__: Fix undefined behavior " "in parsetok.c. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8734 msgid "" "`bpo-33073 `__: Added as_integer_ratio " "to ints to make them more interoperable with floats." msgstr "" #: ../build/NEWS:8737 msgid "" "`bpo-34377 `__: Update valgrind " "suppression list to use ``_PyObject_Free``/``_PyObject_Realloc`` instead of " "``PyObject_Free``/``PyObject_Realloc``." msgstr "" #: ../build/NEWS:8741 msgid "" "`bpo-34353 `__: Added the \"socket\" " "option in the `stat.filemode()` Python implementation to match the C " "implementation." msgstr "" #: ../build/NEWS:8744 msgid "" "`bpo-34320 `__: Fix ``dict(od)`` didn't " "copy iteration order of OrderedDict." msgstr "" #: ../build/NEWS:8746 msgid "" "`bpo-34113 `__: Fixed crash on debug " "builds when opcode stack was adjusted with negative numbers. Patch by " "Constantin Petrisor." msgstr "" #: ../build/NEWS:8749 msgid "" "`bpo-34100 `__: Compiler now merges " "constants in tuples and frozensets recursively. Code attributes like " "``co_names`` are merged too." msgstr "" #: ../build/NEWS:8752 msgid "" "`bpo-34151 `__: Performance of list " "concatenation, repetition and slicing operations is slightly improved. Patch " "by Sergey Fedoseev." msgstr "" #: ../build/NEWS:8755 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:8758 msgid "" "`bpo-33237 `__: Improved :exc:" "`AttributeError` message for partially initialized module." msgstr "" #: ../build/NEWS:8761 msgid "" "`bpo-34149 `__: Fix min and max " "functions to get default behavior when key is None." msgstr "" #: ../build/NEWS:8764 msgid "" "`bpo-34125 `__: Profiling of unbound " "built-in methods now works when ``**kwargs`` is given." msgstr "" #: ../build/NEWS:8767 msgid "" "`bpo-34141 `__: Optimized pickling " "atomic types (None, bool, int, float, bytes, str)." msgstr "" #: ../build/NEWS:8770 msgid "" "`bpo-34126 `__: Fix crashes when " "profiling certain invalid calls of unbound methods. Patch by Jeroen Demeyer." msgstr "" #: ../build/NEWS:8773 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:8776 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:8780 msgid "" "`bpo-34087 `__: Fix buffer overflow " "while converting unicode to numeric values." msgstr "" #: ../build/NEWS:8782 msgid "" "`bpo-34080 `__: Fixed a memory leak in " "the compiler when it raised some uncommon errors during tokenizing." msgstr "" #: ../build/NEWS:8785 msgid "" "`bpo-34066 `__: Disabled interruption by " "Ctrl-C between calling ``open()`` and entering a **with** block in ``with " "open()``." msgstr "" #: ../build/NEWS:8788 msgid "" "`bpo-34042 `__: Fix dict.copy() to " "maintain correct total refcount (as reported by sys.gettotalrefcount())." msgstr "" #: ../build/NEWS:8791 msgid "" "`bpo-33418 `__: Fix potential memory " "leak in function object when it creates reference cycle." msgstr "" #: ../build/NEWS:8794 msgid "" "`bpo-33985 `__: Implement contextvars." "ContextVar.name attribute." msgstr "" #: ../build/NEWS:8796 msgid "" "`bpo-33956 `__: Update vendored Expat " "library copy to version 2.2.5." msgstr "" #: ../build/NEWS:8798 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:8801 msgid "" "`bpo-33451 `__: Close directly executed " "pyc files before calling ``PyEval_EvalCode()``." msgstr "" #: ../build/NEWS:8804 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:8812 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:8815 ../build/NEWS:11461 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:8818 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:8823 ../build/NEWS:16033 msgid "" "`bpo-33786 `__: Fix asynchronous " "generators to handle GeneratorExit in athrow() correctly" msgstr "" #: ../build/NEWS:8826 msgid "" "`bpo-30167 `__: " "``PyRun_SimpleFileExFlags`` removes ``__cached__`` from module in addition " "to ``__file__``." msgstr "" #: ../build/NEWS:8829 ../build/NEWS:11464 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:8832 msgid "" "`bpo-33597 `__: Reduce ``PyGC_Head`` " "size from 3 words to 2 words." msgstr "" #: ../build/NEWS:8834 ../build/NEWS:11467 ../build/NEWS:16036 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:8838 ../build/NEWS:11573 ../build/NEWS:16040 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:8843 msgid "" "`bpo-33462 `__: Make dict and dict views " "reversible. Patch by Rémi Lapeyre." msgstr "" #: ../build/NEWS:8845 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:8850 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:8854 msgid "" "`bpo-25711 `__: The :mod:`zipimport` " "module has been rewritten in pure Python." msgstr "" #: ../build/NEWS:8856 ../build/NEWS:11578 msgid "" "`bpo-33509 `__: Fix module_globals " "parameter of warnings.warn_explicit(): don't crash if module_globals is not " "a dict." msgstr "" #: ../build/NEWS:8859 ../build/NEWS:11471 ../build/NEWS:16045 msgid "" "`bpo-31849 `__: Fix signed/unsigned " "comparison warning in pyhash.c." msgstr "" #: ../build/NEWS:8861 ../build/NEWS:11585 msgid "" "`bpo-33475 `__: Fixed miscellaneous bugs " "in converting annotations to strings and optimized parentheses in the string " "representation." msgstr "" #: ../build/NEWS:8864 msgid "" "`bpo-20104 `__: Added support for the " "`setpgroup`, `resetids`, `setsigmask`, `setsigdef` and `scheduler` " "parameters of `posix_spawn`. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8868 ../build/NEWS:11588 ../build/NEWS:16047 msgid "" "`bpo-33391 `__: Fix a leak in " "set_symmetric_difference()." msgstr "" #: ../build/NEWS:8870 ../build/NEWS:11786 msgid "" "`bpo-33363 `__: Raise a SyntaxError for " "``async with`` and ``async for`` statements outside of async functions." msgstr "" #: ../build/NEWS:8873 ../build/NEWS:11590 ../build/NEWS:16049 msgid "" "`bpo-28055 `__: Fix unaligned accesses " "in siphash24(). Patch by Rolf Eike Beer." msgstr "" #: ../build/NEWS:8875 ../build/NEWS:11789 msgid "" "`bpo-33128 `__: Fix a bug that causes " "PathFinder to appear twice on sys.meta_path. Patch by Pablo Galindo Salgado." msgstr "" #: ../build/NEWS:8878 msgid "" "`bpo-33331 `__: Modules imported last " "are now cleared first at interpreter shutdown." msgstr "" #: ../build/NEWS:8881 ../build/NEWS:11792 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:8885 msgid "" "`bpo-33305 `__: Improved syntax error " "messages for invalid numerical literals." msgstr "" #: ../build/NEWS:8887 msgid "" "`bpo-33306 `__: Improved syntax error " "messages for unbalanced parentheses." msgstr "" #: ../build/NEWS:8889 msgid "" "`bpo-33234 `__: The list constructor " "will pre-size and not over-allocate when the input length is known." msgstr "" #: ../build/NEWS:8892 msgid "" "`bpo-33270 `__: Intern the names for all " "anonymous code objects. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:8895 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:8898 msgid "" "`bpo-33176 `__: Add a ``toreadonly()`` " "method to memoryviews." msgstr "" #: ../build/NEWS:8900 ../build/NEWS:11796 ../build/NEWS:16051 msgid "" "`bpo-33231 `__: Fix potential memory " "leak in ``normalizestring()``." msgstr "" #: ../build/NEWS:8902 ../build/NEWS:11798 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:8907 ../build/NEWS:11803 ../build/NEWS:16053 msgid "" "`bpo-29922 `__: Improved error messages " "in 'async with' when ``__aenter__()`` or ``__aexit__()`` return non-" "awaitable object." msgstr "" #: ../build/NEWS:8910 ../build/NEWS:11806 ../build/NEWS:16056 msgid "" "`bpo-33199 `__: Fix ``ma_version_tag`` " "in dict implementation is uninitialized when copying from key-sharing dict." msgstr "" #: ../build/NEWS:8913 ../build/NEWS:11977 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:8918 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:8922 ../build/NEWS:11982 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:8926 msgid "" "`bpo-33083 `__: ``math.factorial`` no " "longer accepts arguments that are not int-like. Patch by Pablo Galindo." msgstr "" #: ../build/NEWS:8929 msgid "" "`bpo-33041 `__: Added new opcode :opcode:" "`END_ASYNC_FOR` and fixes the following issues:" msgstr "" #: ../build/NEWS:8932 msgid "" "Setting global :exc:`StopAsyncIteration` no longer breaks ``async for`` " "loops." msgstr "" #: ../build/NEWS:8934 msgid "Jumping into an ``async for`` loop is now disabled." msgstr "" #: ../build/NEWS:8935 msgid "Jumping out of an ``async for`` loop no longer corrupts the stack." msgstr "" #: ../build/NEWS:8937 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:8941 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:8945 ../build/NEWS:11988 ../build/NEWS:16370 msgid "" "`bpo-33026 `__: Fixed jumping out of " "\"with\" block by setting f_lineno." msgstr "" #: ../build/NEWS:8947 ../build/NEWS:11990 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:8952 ../build/NEWS:11592 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:8958 ../build/NEWS:11995 ../build/NEWS:16372 msgid "" "`bpo-17288 `__: Prevent jumps from " "'return' and 'exception' trace events." msgstr "" #: ../build/NEWS:8960 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:8963 msgid "" "`bpo-32932 `__: Make error message more " "revealing when there are non-str objects in ``__all__``." msgstr "" #: ../build/NEWS:8966 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:8970 ../build/NEWS:12187 ../build/NEWS:16374 msgid "" "`bpo-32889 `__: Update Valgrind " "suppression list to account for the rename of ``Py_ADDRESS_IN_RANG`` to " "``address_in_range``." msgstr "" #: ../build/NEWS:8973 ../build/NEWS:11997 msgid "" "`bpo-32836 `__: Don't use temporary " "variables in cases of list/dict/set comprehensions" msgstr "" #: ../build/NEWS:8976 ../build/NEWS:12190 msgid "" "`bpo-31356 `__: Remove the new API added " "in `bpo-31356 `__ (gc.ensure_disabled() " "context manager)." msgstr "" #: ../build/NEWS:8979 ../build/NEWS:12193 msgid "" "`bpo-32305 `__: For namespace packages, " "ensure that both ``__file__`` and ``__spec__.origin`` are set to None." msgstr "" #: ../build/NEWS:8982 ../build/NEWS:12196 msgid "" "`bpo-32303 `__: Make sure ``__spec__." "loader`` matches ``__loader__`` for namespace packages." msgstr "" #: ../build/NEWS:8985 ../build/NEWS:12199 msgid "" "`bpo-32711 `__: Fix the warning messages " "for Python/ast_unparse.c. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:8988 ../build/NEWS:12202 ../build/NEWS:16385 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:8991 msgid "" "`bpo-32489 `__: A :keyword:`continue` " "statement is now allowed in the :keyword:`finally` clause." msgstr "" #: ../build/NEWS:8994 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:9000 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:9006 msgid "" "`bpo-32285 `__: New function unicodedata." "is_normalized, which can check whether a string is in a specific normal form." msgstr "" #: ../build/NEWS:9009 msgid "" "`bpo-10544 `__: Yield expressions are " "now disallowed in comprehensions and generator expressions except the " "expression for the outermost iterable." msgstr "" #: ../build/NEWS:9012 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:9016 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:9020 msgid "" "`bpo-25862 `__: Fix assertion failures " "in the ``tell()`` method of ``io.TextIOWrapper``. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9023 ../build/NEWS:11598 ../build/NEWS:16064 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:9026 msgid "" "`bpo-31577 `__: Fix a crash in `os." "utime()` in case of a bad ns argument. Patch by Oren Milman." msgstr "" #: ../build/NEWS:9029 msgid "" "`bpo-29832 `__: Remove references to " "'getsockaddrarg' from various socket error messages. Patch by Oren Milman." msgstr "" #: ../build/NEWS:9035 msgid "" "`bpo-35845 `__: Add 'order' parameter to " "memoryview.tobytes()." msgstr "" #: ../build/NEWS:9037 msgid "" "`bpo-35864 `__: The _asdict() method for " "collections.namedtuple now returns a regular dict instead of an OrderedDict." msgstr "" #: ../build/NEWS:9040 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:9045 msgid "" "`bpo-35847 `__: RISC-V needed the " "CTYPES_PASS_BY_REF_HACK. Fixes ctypes Structure test_pass_by_value." msgstr "" #: ../build/NEWS:9048 msgid "" "`bpo-35813 `__: Shared memory submodule " "added to multiprocessing to avoid need for serialization between processes" msgstr "" #: ../build/NEWS:9051 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:9063 msgid "" "`bpo-35537 `__: :func:`os.posix_spawn` " "and :func:`os.posix_spawnp` now have a *setsid* parameter." msgstr "" #: ../build/NEWS:9066 msgid "" "`bpo-23846 `__: :class:`asyncio." "ProactorEventLoop` now catches and logs send errors when the self-pipe is " "full." msgstr "" #: ../build/NEWS:9069 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:9073 msgid "" "`bpo-35674 `__: Add a new :func:`os." "posix_spawnp` function. Patch by Joannah Nanjekye." msgstr "" #: ../build/NEWS:9076 msgid "" "`bpo-35733 `__: ``ast." "Constant(boolean)`` no longer an instance of :class:`ast.Num`. Patch by " "Anthony Sottile." msgstr "" #: ../build/NEWS:9079 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:9083 msgid "" "`bpo-35719 `__: Sped up multi-argument :" "mod:`math` functions atan2(), copysign(), remainder() and hypot() by " "1.3--2.5 times." msgstr "" #: ../build/NEWS:9086 msgid "" "`bpo-35717 `__: Fix KeyError exception " "raised when using enums and compile. Patch contributed by Rémi Lapeyre." msgstr "" #: ../build/NEWS:9089 msgid "" "`bpo-35699 `__: Fixed detection of " "Visual Studio Build Tools 2017 in distutils" msgstr "" #: ../build/NEWS:9091 msgid "" "`bpo-32710 `__: Fix memory leaks in " "asyncio ProactorEventLoop on overlapped operation failure." msgstr "" #: ../build/NEWS:9094 msgid "" "`bpo-35702 `__: The :data:`time." "CLOCK_UPTIME_RAW` constant is now available for macOS 10.12." msgstr "" #: ../build/NEWS:9097 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:9101 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:9104 msgid "" "`bpo-35283 `__: Add a deprecated warning " "for the :meth:`threading.Thread.isAlive` method. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:9107 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:9112 msgid "" "`bpo-35643 `__: Fixed a SyntaxWarning: " "invalid escape sequence in Modules/_sha3/cleanup.py. Patch by Mickaël " "Schoentgen." msgstr "" #: ../build/NEWS:9115 msgid "" "`bpo-35619 `__: Improved support of " "custom data descriptors in :func:`help` and :mod:`pydoc`." msgstr "" #: ../build/NEWS:9118 msgid "" "`bpo-28503 `__: The `crypt` module now " "internally uses the `crypt_r()` library function instead of `crypt()` when " "available." msgstr "" #: ../build/NEWS:9121 msgid "" "`bpo-35614 `__: Fixed help() on " "metaclasses. Patch by Sanyam Khurana." msgstr "" #: ../build/NEWS:9123 msgid "" "`bpo-35568 `__: Expose ``raise(signum)`` " "as `raise_signal`" msgstr "" #: ../build/NEWS:9125 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:9129 msgid "" "`bpo-35585 `__: Speed-up building enums " "by value, e.g. http.HTTPStatus(200)." msgstr "" #: ../build/NEWS:9131 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:9136 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:9139 msgid "" "`bpo-35526 `__: Delaying the 'joke' of " "barry_as_FLUFL.mandatory to Python version 4.0" msgstr "" #: ../build/NEWS:9142 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:9146 msgid "" "`bpo-31784 `__: :func:`uuid.uuid1` now " "calls :func:`time.time_ns` rather than ``int(time.time() * 1e9)``." msgstr "" #: ../build/NEWS:9149 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:9155 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:9159 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:9164 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:9169 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:9172 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:9175 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:9178 msgid "" "`bpo-23057 `__: Unblock Proactor event " "loop when keyboard interrupt is received on Windows" msgstr "" #: ../build/NEWS:9181 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:9184 msgid "" "`bpo-20239 `__: Allow repeated " "assignment deletion of :class:`unittest.mock.Mock` attributes. Patch by " "Pablo Galindo." msgstr "" #: ../build/NEWS:9187 msgid "" "`bpo-17185 `__: Set ``__signature__`` on " "mock for :mod:`inspect` to get signature. Patch by Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:9190 msgid "" "`bpo-35445 `__: Memory errors during " "creating posix.environ no longer ignored." msgstr "" #: ../build/NEWS:9192 msgid "" "`bpo-35415 `__: Validate fileno= " "argument to socket.socket()." msgstr "" #: ../build/NEWS:9194 msgid "" "`bpo-35424 `__: :class:`multiprocessing." "Pool` destructor now emits :exc:`ResourceWarning` if the pool is still " "running." msgstr "" #: ../build/NEWS:9197 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:9202 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:9206 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:9211 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:9218 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:9222 msgid "" "`bpo-35394 `__: Add empty slots to " "asyncio abstract protocols." msgstr "" #: ../build/NEWS:9224 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:9230 msgid "" "`bpo-35380 `__: Enable TCP_NODELAY on " "Windows for proactor asyncio event loop." msgstr "" #: ../build/NEWS:9232 msgid "" "`bpo-35341 `__: Add generic version of " "``collections.OrderedDict`` to the ``typing`` module. Patch by Ismo Toijala." msgstr "" #: ../build/NEWS:9235 msgid "" "`bpo-35371 `__: Fixed possible crash in " "``os.utime()`` on Windows when pass incorrect arguments." msgstr "" #: ../build/NEWS:9238 msgid "" "`bpo-35346 `__: :func:`platform.uname` " "now redirects ``stderr`` to :data:`os.devnull` when running external " "programs like ``cmd /c ver``." msgstr "" #: ../build/NEWS:9241 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:9247 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:9250 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:9254 msgid "" "`bpo-35312 `__: Make ``lib2to3.pgen2." "parse.ParseError`` round-trip pickle-able. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:9257 msgid "" "`bpo-35308 `__: Fix regression in " "``webbrowser`` where default browsers may be preferred over browsers in the " "``BROWSER`` environment variable." msgstr "" #: ../build/NEWS:9260 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:9264 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:9269 msgid "" "`bpo-35277 `__: Update ensurepip to " "install pip 18.1 and setuptools 40.6.2." msgstr "" #: ../build/NEWS:9271 msgid "" "`bpo-24209 `__: Adds IPv6 support when " "invoking http.server directly." msgstr "" #: ../build/NEWS:9273 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:9278 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:9282 msgid "" "`bpo-35189 `__: Modify the following " "fnctl function to retry if interrupted by a signal (EINTR): flock, lockf, " "fnctl" msgstr "" #: ../build/NEWS:9285 msgid "" "`bpo-30064 `__: Use add_done_callback() " "in sock_* asyncio API to unsubscribe reader/writer early on calcellation." msgstr "" #: ../build/NEWS:9288 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:9291 msgid "" "`bpo-35152 `__: Allow sending more than " "2 GB at once on a multiprocessing connection on non-Windows systems." msgstr "" #: ../build/NEWS:9294 msgid "" "`bpo-35062 `__: Fix incorrect parsing " "of :class:`_io.IncrementalNewlineDecoder`'s *translate* argument." msgstr "" #: ../build/NEWS:9297 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:9302 msgid "" "`bpo-34160 `__: ElementTree and minidom " "now preserve the attribute order specified by the user." msgstr "" #: ../build/NEWS:9305 msgid "" "`bpo-35079 `__: Improve difflib." "SequenceManager.get_matching_blocks doc by adding 'non-overlapping' and " "changing '!=' to '<'." msgstr "" #: ../build/NEWS:9308 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:9314 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:9318 msgid "" "`bpo-35024 `__: `importlib` no longer " "logs `wrote ` redundantly after `(created|could not create) " "` is already logged. Patch by Quentin Agren." msgstr "" #: ../build/NEWS:9322 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:9326 msgid "" "`bpo-31047 `__: Fix ``ntpath.abspath`` " "regression where it didn't remove a trailing separator on Windows. Patch by " "Tim Graham." msgstr "" #: ../build/NEWS:9329 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:9333 msgid "" "`bpo-31553 `__: Add the --json-lines " "option to json.tool. Patch by hongweipeng." msgstr "" #: ../build/NEWS:9335 msgid "" "`bpo-34794 `__: Fixed a leak in Tkinter " "when pass the Python wrapper around Tcl_Obj back to Tcl/Tk." msgstr "" #: ../build/NEWS:9338 msgid "" "`bpo-34909 `__: Enum: fix grandchildren " "subclassing when parent mixed with concrete data types." msgstr "" #: ../build/NEWS:9341 msgid "" "`bpo-35022 `__: :class:`unittest.mock." "MagicMock` now supports the ``__fspath__`` method (from :class:`os." "PathLike`)." msgstr "" #: ../build/NEWS:9344 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:9348 msgid "" "`bpo-23420 `__: Verify the value for the " "parameter '-s' of the cProfile CLI. Patch by Robert Kuska" msgstr "" #: ../build/NEWS:9351 msgid "" "`bpo-33947 `__: dataclasses now handle " "recursive reprs without raising RecursionError." msgstr "" #: ../build/NEWS:9354 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:9358 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:9363 msgid "" "`bpo-31522 `__: The `mailbox.mbox." "get_string` function *from_* parameter can now successfully be set to a non-" "default value." msgstr "" #: ../build/NEWS:9366 msgid "" "`bpo-34970 `__: Protect tasks weak set " "manipulation in ``asyncio.all_tasks()``" msgstr "" #: ../build/NEWS:9368 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:9373 msgid "" "`bpo-16965 `__: The :term:" "`2to3` :2to3fixer:`execfile` fixer now opens the file with mode ``'rb'``. " "Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9376 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:9380 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:9384 msgid "" "`bpo-23831 `__: Add ``moveto()`` method " "to the ``tkinter.Canvas`` widget. Patch by Juliette Monsel." msgstr "" #: ../build/NEWS:9387 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:9391 msgid "" "`bpo-32680 `__: :class:`smtplib.SMTP` " "objects now always have a `sock` attribute present" msgstr "" #: ../build/NEWS:9394 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:9397 msgid "" "`bpo-34936 `__: Fix ``TclError`` in " "``tkinter.Spinbox.selection_element()``. Patch by Juliette Monsel." msgstr "" #: ../build/NEWS:9400 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:9404 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:9409 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:9413 msgid "" "`bpo-34925 `__: 25% speedup in argument " "parsing for the functions in the bisect module." msgstr "" #: ../build/NEWS:9416 msgid "" "`bpo-34900 `__: Fixed :meth:`unittest." "TestCase.debug` when used to call test methods with subtests. Patch by " "Bruno Oliveira." msgstr "" #: ../build/NEWS:9419 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:9426 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:9429 msgid "" "`bpo-34871 `__: Fix inspect module " "polluted ``sys.modules`` when parsing ``__text_signature__`` of callable." msgstr "" #: ../build/NEWS:9432 msgid "" "`bpo-34898 `__: Add `mtime` argument to " "`gzip.compress` for reproducible output. Patch by Guo Ci Teo." msgstr "" #: ../build/NEWS:9435 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:9439 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:9443 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:9448 msgid "" "`bpo-34872 `__: Fix self-cancellation in " "C implementation of asyncio.Task" msgstr "" #: ../build/NEWS:9450 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:9455 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:9459 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:9463 msgid "" "`bpo-34758 `__: Add .wasm -> application/" "wasm to list of recognized file types and content type headers" msgstr "" #: ../build/NEWS:9466 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:9469 msgid "" "`bpo-34334 `__: In :class:" "`QueueHandler`, clear `exc_text` from :class:`LogRecord` to prevent " "traceback from being written twice." msgstr "" #: ../build/NEWS:9472 msgid "" "`bpo-34687 `__: On Windows, asyncio now " "uses ProactorEventLoop, instead of SelectorEventLoop, by default." msgstr "" #: ../build/NEWS:9475 msgid "" "`bpo-5950 `__: Support reading zip files " "with archive comments in :mod:`zipimport`." msgstr "" #: ../build/NEWS:9478 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:9484 msgid "" "`bpo-34728 `__: Add deprecation warning " "when `loop` is used in methods: `asyncio.sleep`, `asyncio.wait` and `asyncio." "wait_for`." msgstr "" #: ../build/NEWS:9487 msgid "" "`bpo-34738 `__: ZIP files created by :" "mod:`distutils` will now include entries for directories." msgstr "" #: ../build/NEWS:9490 msgid "" "`bpo-34659 `__: Add an optional " "*initial* argument to itertools.accumulate()." msgstr "" #: ../build/NEWS:9492 msgid "" "`bpo-29577 `__: Support multiple mixin " "classes when creating Enums." msgstr "" #: ../build/NEWS:9494 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:9498 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:9501 msgid "" "`bpo-31177 `__: Fix bug that prevented " "using :meth:`reset_mock ` on mock instances " "with deleted attributes" msgstr "" #: ../build/NEWS:9504 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:9507 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:9512 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:9515 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:9520 msgid "" "`bpo-34652 `__: Ensure :func:`os.lchmod` " "is never defined on Linux." msgstr "" #: ../build/NEWS:9522 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:9527 msgid "" "`bpo-34536 `__: `Enum._missing_`: raise " "`ValueError` if None returned and `TypeError` if non-member is returned." msgstr "" #: ../build/NEWS:9530 msgid "" "`bpo-34636 `__: Speed up re scanning of " "many non-matching characters for \\s \\w and \\d within bytes objects. " "(microoptimization)" msgstr "" #: ../build/NEWS:9533 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:9538 msgid "" "`bpo-34630 `__: Don't log SSL " "certificate errors in asyncio code (connection error logging is skipped " "already)." msgstr "" #: ../build/NEWS:9541 msgid "" "`bpo-32490 `__: Prevent filename " "duplication in :mod:`subprocess` exception messages. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9544 msgid "" "`bpo-34363 `__: dataclasses.asdict() " "and .astuple() now handle namedtuples correctly." msgstr "" #: ../build/NEWS:9547 msgid "" "`bpo-34625 `__: Update vendorized expat " "library version to 2.2.6." msgstr "" #: ../build/NEWS:9549 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:9553 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:9559 msgid "" "`bpo-34610 `__: Fixed iterator of :class:" "`multiprocessing.managers.DictProxy`." msgstr "" #: ../build/NEWS:9561 msgid "" "`bpo-34421 `__: Fix distutils logging " "for non-ASCII strings. This caused installation issues on Windows." msgstr "" #: ../build/NEWS:9564 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:9568 msgid "" "`bpo-30977 `__: Make uuid.UUID use " "``__slots__`` to reduce its memory footprint. Based on original patch by " "Wouter Bolsterlee." msgstr "" #: ../build/NEWS:9571 msgid "" "`bpo-34574 `__: OrderedDict iterators " "are not exhausted during pickling anymore. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:9574 msgid "" "`bpo-8110 `__: Refactored :mod:" "`subprocess` to check for Windows-specific modules rather than ``sys." "platform == 'win32'``." msgstr "" #: ../build/NEWS:9577 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:9580 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:9584 msgid "" "`bpo-34558 `__: Correct typo in Lib/" "ctypes/_aix.py" msgstr "" #: ../build/NEWS:9586 msgid "" "`bpo-34282 `__: Move ``Enum._convert`` " "to ``EnumMeta._convert_`` and fix enum members getting shadowed by parent " "attributes." msgstr "" #: ../build/NEWS:9589 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:9594 msgid "" "`bpo-34515 `__: Fix parsing non-ASCII " "identifiers in :mod:`lib2to3.pgen2.tokenize` (PEP 3131)." msgstr "" #: ../build/NEWS:9597 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:9601 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:9605 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:9610 msgid "" "`bpo-6700 `__: Fix inspect.getsourcelines " "for module level frames/tracebacks. Patch by Vladimir Matveev." msgstr "" #: ../build/NEWS:9613 msgid "" "`bpo-34171 `__: Running the :mod:`trace` " "module no longer creates the ``trace.cover`` file." msgstr "" #: ../build/NEWS:9616 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:9620 msgid "" "`bpo-34427 `__: Fix infinite loop in ``a." "extend(a)`` for ``MutableSequence`` subclasses." msgstr "" #: ../build/NEWS:9623 msgid "" "`bpo-34412 `__: Make :func:`signal." "strsignal` work on HP-UX. Patch by Michael Osipov." msgstr "" #: ../build/NEWS:9626 msgid "" "`bpo-20849 `__: shutil.copytree now " "accepts a new ``dirs_exist_ok`` keyword argument. Patch by Josh Bronson." msgstr "" #: ../build/NEWS:9629 msgid "" "`bpo-31715 `__: Associate ``.mjs`` file " "extension with ``application/javascript`` MIME Type." msgstr "" #: ../build/NEWS:9632 msgid "" "`bpo-34384 `__: :func:`os.readlink` now " "accepts :term:`path-like ` and :class:`bytes` objects on " "Windows." msgstr "" #: ../build/NEWS:9635 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:9639 msgid "" "`bpo-2122 `__: The :meth:`mmap.flush() " "` method now returns ``None`` on success, raises an " "exception on error under all platforms." msgstr "" #: ../build/NEWS:9642 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:9645 msgid "" "`bpo-34333 `__: Fix %-formatting in :" "meth:`pathlib.PurePath.with_suffix` when formatting an error message." msgstr "" #: ../build/NEWS:9648 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:9652 msgid "" "`bpo-26502 `__: Implement ``traceback." "FrameSummary.__len__()`` method to preserve compatibility with the old tuple " "API." msgstr "" #: ../build/NEWS:9655 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:9663 msgid "" "`bpo-9372 `__: Deprecate :meth:" "`__getitem__` methods of :class:`xml.dom.pulldom.DOMEventStream`, :class:" "`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput`." msgstr "" #: ../build/NEWS:9667 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:9671 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:9675 msgid "" "`bpo-33089 `__: Add math.dist() to " "compute the Euclidean distance between two points." msgstr "" #: ../build/NEWS:9678 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:9681 msgid "" "`bpo-31047 `__: Fix ``ntpath.abspath`` " "for invalid paths on windows. Patch by Franz Woellert." msgstr "" #: ../build/NEWS:9684 msgid "" "`bpo-32321 `__: Add pure Python fallback " "for functools.reduce. Patch by Robert Wright." msgstr "" #: ../build/NEWS:9687 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:9696 msgid "" "`bpo-34263 `__: asyncio's event loop " "will not pass timeouts longer than one day to epoll/select etc." msgstr "" #: ../build/NEWS:9699 msgid "" "`bpo-34035 `__: Fix several " "AttributeError in zipfile seek() methods. Patch by Mickaël Schoentgen." msgstr "" #: ../build/NEWS:9702 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:9705 msgid "" "`bpo-34075 `__: Deprecate passing non-" "ThreadPoolExecutor instances to :meth:`AbstractEventLoop." "set_default_executor`." msgstr "" #: ../build/NEWS:9708 msgid "" "`bpo-34251 `__: Restore ``msilib.Win64`` " "to preserve backwards compatibility since it's already used by :mod:" "`distutils`' ``bdist_msi`` command." msgstr "" #: ../build/NEWS:9711 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:9715 msgid "" "`bpo-33089 `__: Enhanced math.hypot() to " "support more than two dimensions." msgstr "" #: ../build/NEWS:9717 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:9721 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:9725 msgid "" "`bpo-34213 `__: Allow frozen dataclasses " "to have a field named \"object\". Previously this conflicted with an " "internal use of \"object\"." msgstr "" #: ../build/NEWS:9728 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:9736 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:9740 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:9744 msgid "" "`bpo-21446 `__: The :2to3fixer:`reload` " "fixer now uses :func:`importlib.reload` instead of deprecated :func:`imp." "reload`." msgstr "" #: ../build/NEWS:9747 msgid "" "`bpo-940286 `__: pydoc's ``Helper." "showtopic()`` method now prints the cross references of a topic correctly." msgstr "" #: ../build/NEWS:9750 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:9754 msgid "" "`bpo-33729 `__: Fixed issues with " "arguments parsing in :mod:`hashlib`." msgstr "" #: ../build/NEWS:9756 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:9760 msgid "" "`bpo-34108 `__: Remove extraneous CR in " "2to3 refactor." msgstr "" #: ../build/NEWS:9762 msgid "" "`bpo-34070 `__: Make sure to only check " "if the handle is a tty, when opening a file with ``buffering=-1``." msgstr "" #: ../build/NEWS:9765 msgid "" "`bpo-27494 `__: Reverted :issue:`27494`. " "2to3 rejects now a trailing comma in generator expressions." msgstr "" #: ../build/NEWS:9768 msgid "" "`bpo-33967 `__: functools.singledispatch " "now raises TypeError instead of IndexError when no positional arguments are " "passed." msgstr "" #: ../build/NEWS:9771 msgid "" "`bpo-34041 `__: Add the parameter " "*deterministic* to the :meth:`sqlite3.Connection.create_function` method. " "Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:9775 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:9779 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:9783 msgid "" "`bpo-34043 `__: Optimize tarfile " "uncompress performance about 15% when gzip is used." msgstr "" #: ../build/NEWS:9786 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:9790 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:9794 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:9797 msgid "" "`bpo-34003 `__: csv.DictReader now " "creates dicts instead of OrderedDicts. Patch by Michael Selik." msgstr "" #: ../build/NEWS:9800 msgid "" "`bpo-33978 `__: Closed existing logging " "handlers before reconfiguration via fileConfig and dictConfig. Patch by " "Karthikeyan Singaravelan." msgstr "" #: ../build/NEWS:9803 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:9807 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:9811 msgid "" "`bpo-27500 `__: Fix getaddrinfo to " "resolve IPv6 addresses correctly." msgstr "" #: ../build/NEWS:9813 msgid "" "`bpo-24567 `__: Improve random.choices() " "to handle subnormal input weights that could occasionally trigger an " "IndexError." msgstr "" #: ../build/NEWS:9816 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:9820 msgid "" "`bpo-25007 `__: Add :func:`copy.copy` " "and :func:`copy.deepcopy` support to zlib compressors and decompressors. " "Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:9823 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:9830 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:9834 msgid "" "`bpo-33897 `__: Added a 'force' keyword " "argument to logging.basicConfig()." msgstr "" #: ../build/NEWS:9836 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:9844 msgid "" "`bpo-33916 `__: bz2 and lzma: When " "Decompressor.__init__() is called twice, free the old lock to not leak " "memory." msgstr "" #: ../build/NEWS:9847 msgid "" "`bpo-32568 `__: Make select.epoll() and " "its documentation consistent regarding *sizehint* and *flags*." msgstr "" #: ../build/NEWS:9850 msgid "" "`bpo-33833 `__: Fixed bug in asyncio " "where ProactorSocketTransport logs AssertionError if force closed during " "write." msgstr "" #: ../build/NEWS:9853 msgid "" "`bpo-33663 `__: Convert content length " "to string before putting to header." msgstr "" #: ../build/NEWS:9855 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:9869 msgid "" "`bpo-26544 `__: Fixed implementation of :" "func:`platform.libc_ver`. It almost always returned version '2.9' for glibc." msgstr "" #: ../build/NEWS:9872 msgid "" "`bpo-33843 `__: Remove deprecated ``cgi." "escape``, ``cgi.parse_qs`` and ``cgi.parse_qsl``." msgstr "" #: ../build/NEWS:9875 msgid "" "`bpo-33842 `__: Remove ``tarfile." "filemode`` which is deprecated since Python 3.3." msgstr "" #: ../build/NEWS:9878 ../build/NEWS:11476 ../build/NEWS:16070 msgid "" "`bpo-30167 `__: Prevent site.main() " "exception if PYTHONSTARTUP is set. Patch by Steve Weber." msgstr "" #: ../build/NEWS:9881 msgid "" "`bpo-33805 `__: Improve error message of " "dataclasses.replace() when an InitVar is not specified" msgstr "" #: ../build/NEWS:9884 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:9887 ../build/NEWS:11479 ../build/NEWS:16073 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:9891 msgid "" "`bpo-32108 `__: In configparser, don't " "clear section when it is assigned to itself." msgstr "" #: ../build/NEWS:9894 msgid "" "`bpo-27397 `__: Make email module " "properly handle invalid-length base64 strings." msgstr "" #: ../build/NEWS:9897 msgid "" "`bpo-33578 `__: Implement multibyte " "encoder/decoder state methods" msgstr "" #: ../build/NEWS:9899 ../build/NEWS:11483 ../build/NEWS:16077 msgid "" "`bpo-30805 `__: Avoid race condition " "with debug logging" msgstr "" #: ../build/NEWS:9901 msgid "" "`bpo-33476 `__: Fix _header_value_parser." "py when address group is missing final ';'. Contributed by Enrique Perez-" "Terron" msgstr "" #: ../build/NEWS:9904 ../build/NEWS:11485 msgid "" "`bpo-33694 `__: asyncio: Fix a race " "condition causing data loss on pause_reading()/resume_reading() when using " "the ProactorEventLoop." msgstr "" #: ../build/NEWS:9907 ../build/NEWS:11488 msgid "" "`bpo-32493 `__: Correct test for " "``uuid_enc_be`` availability in ``configure.ac``. Patch by Michael Felt." msgstr "" #: ../build/NEWS:9910 ../build/NEWS:11491 msgid "" "`bpo-33792 `__: Add asyncio." "WindowsSelectorEventLoopPolicy and asyncio.WindowsProactorEventLoopPolicy." msgstr "" #: ../build/NEWS:9913 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:9917 ../build/NEWS:11494 msgid "" "`bpo-33778 `__: Update ``unicodedata``'s " "database to Unicode version 11.0.0." msgstr "" #: ../build/NEWS:9919 msgid "" "`bpo-33165 `__: Added a stacklevel " "parameter to logging calls to allow use of wrapper/helper functions for " "logging APIs." msgstr "" #: ../build/NEWS:9922 ../build/NEWS:11496 msgid "" "`bpo-33770 `__: improve base64 exception " "message for encoded inputs of invalid length" msgstr "" #: ../build/NEWS:9925 ../build/NEWS:11499 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:9928 ../build/NEWS:11502 ../build/NEWS:16079 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:9932 ../build/NEWS:11506 msgid "" "`bpo-33734 `__: asyncio/ssl: Fix " "AttributeError, increase default handshake timeout" msgstr "" #: ../build/NEWS:9935 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:9939 msgid "" "`bpo-2504 `__: Add gettext.pgettext() and " "variants." msgstr "" #: ../build/NEWS:9941 msgid "" "`bpo-33197 `__: Add description property " "for _ParameterKind" msgstr "" #: ../build/NEWS:9943 ../build/NEWS:11604 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:9946 ../build/NEWS:11607 ../build/NEWS:16083 msgid "" "`bpo-32684 `__: Fix gather to propagate " "cancellation of itself even with return_exceptions." msgstr "" #: ../build/NEWS:9949 ../build/NEWS:11610 msgid "" "`bpo-33654 `__: Support protocol type " "switching in SSLTransport.set_protocol()." msgstr "" #: ../build/NEWS:9951 ../build/NEWS:11612 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:9954 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:9964 ../build/NEWS:11615 ../build/NEWS:16086 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:9969 ../build/NEWS:11620 ../build/NEWS:16091 msgid "" "`bpo-31647 `__: Fixed bug where calling " "write_eof() on a _SelectorSocketTransport after it's already closed raises " "AttributeError." msgstr "" #: ../build/NEWS:9972 ../build/NEWS:11623 msgid "" "`bpo-32610 `__: Make asyncio.all_tasks() " "return only pending tasks." msgstr "" #: ../build/NEWS:9974 ../build/NEWS:11625 msgid "" "`bpo-32410 `__: Avoid blocking on file " "IO in sendfile fallback code" msgstr "" #: ../build/NEWS:9976 ../build/NEWS:11627 ../build/NEWS:16096 msgid "" "`bpo-33469 `__: Fix RuntimeError after " "closing loop that used run_in_executor" msgstr "" #: ../build/NEWS:9978 ../build/NEWS:11629 ../build/NEWS:16094 msgid "" "`bpo-33672 `__: Fix Task.__repr__ crash " "with Cython's bogus coroutines" msgstr "" #: ../build/NEWS:9980 ../build/NEWS:11631 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:9984 ../build/NEWS:11635 msgid "" "`bpo-33652 `__: Pickles of type " "variables and subscripted generics are now future-proof and compatible with " "older Python versions." msgstr "" #: ../build/NEWS:9987 ../build/NEWS:11638 msgid "" "`bpo-32493 `__: Fixed :func:`uuid.uuid1` " "on FreeBSD." msgstr "" #: ../build/NEWS:9989 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:9994 ../build/NEWS:11640 msgid "" "`bpo-33618 `__: Finalize and document " "preliminary and experimental TLS 1.3 support with OpenSSL 1.1.1" msgstr "" #: ../build/NEWS:9997 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:10001 ../build/NEWS:11643 msgid "" "`bpo-33623 `__: Fix possible SIGSGV when " "asyncio.Future is created in __del__" msgstr "" #: ../build/NEWS:10003 ../build/NEWS:11509 ../build/NEWS:16098 msgid "" "`bpo-11874 `__: Use a better regex when " "breaking usage into wrappable parts. Avoids bogus assertion errors from " "custom metavar strings." msgstr "" #: ../build/NEWS:10006 ../build/NEWS:11645 ../build/NEWS:16101 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:10010 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:10013 ../build/NEWS:11512 msgid "" "`bpo-33582 `__: Emit a deprecation " "warning for inspect.formatargspec" msgstr "" #: ../build/NEWS:10015 msgid "" "`bpo-21145 `__: Add ``functools." "cached_property`` decorator, for computed properties cached for the life of " "the instance." msgstr "" #: ../build/NEWS:10018 ../build/NEWS:11649 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:10022 ../build/NEWS:11653 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:10027 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:10031 ../build/NEWS:11658 msgid "" "`bpo-33540 `__: Add a new " "``block_on_close`` class attribute to ``ForkingMixIn`` and " "``ThreadingMixIn`` classes of :mod:`socketserver`." msgstr "" #: ../build/NEWS:10034 ../build/NEWS:11661 ../build/NEWS:16105 msgid "" "`bpo-33548 `__: tempfile." "_candidate_tempdir_list should consider common TEMP locations" msgstr "" #: ../build/NEWS:10037 ../build/NEWS:11664 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:10040 msgid "" "`bpo-33541 `__: Remove unused private " "method ``_strptime.LocaleTime.__pad`` (a.k.a. ``_LocaleTime__pad``)." msgstr "" #: ../build/NEWS:10043 ../build/NEWS:11667 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:10047 ../build/NEWS:11671 ../build/NEWS:16108 msgid "" "`bpo-33542 `__: Prevent ``uuid." "get_node`` from using a DUID instead of a MAC on Windows. Patch by Zvi Effron" msgstr "" #: ../build/NEWS:10050 ../build/NEWS:11674 ../build/NEWS:16111 msgid "" "`bpo-26819 `__: Fix race condition with " "`ReadTransport.resume_reading` in Windows proactor event loop." msgstr "" #: ../build/NEWS:10053 ../build/NEWS:11677 msgid "" "Fix failure in `typing.get_type_hints()` when ClassVar was provided as a " "string forward reference." msgstr "" #: ../build/NEWS:10056 msgid "" "`bpo-33516 `__: :class:`unittest.mock." "MagicMock` now supports the ``__round__`` magic method." msgstr "" #: ../build/NEWS:10059 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:10064 msgid "" "`bpo-28167 `__: Remove platform." "linux_distribution, which was deprecated since 3.5." msgstr "" #: ../build/NEWS:10067 msgid "" "`bpo-33504 `__: Switch the default " "dictionary implementation for :mod:`configparser` from :class:`collections." "OrderedDict` to the standard :class:`dict` type." msgstr "" #: ../build/NEWS:10071 ../build/NEWS:11680 msgid "" "`bpo-33505 `__: Optimize asyncio." "ensure_future() by reordering if checks: 1.17x faster." msgstr "" #: ../build/NEWS:10074 ../build/NEWS:11683 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:10078 msgid "" "`bpo-29235 `__: The :class:`cProfile." "Profile` class can now be used as a context manager. Patch by Scott " "Sanderson." msgstr "" #: ../build/NEWS:10081 ../build/NEWS:11687 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:10085 msgid "" "`bpo-26103 `__: Correct ``inspect." "isdatadescriptor`` to look for ``__set__`` or ``__delete__``. Patch by " "Aaron Hall." msgstr "" #: ../build/NEWS:10088 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:10095 ../build/NEWS:11691 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:10100 ../build/NEWS:11696 ../build/NEWS:16114 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:10104 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:10108 ../build/NEWS:11700 ../build/NEWS:16118 msgid "" "`bpo-20087 `__: Updated alias mapping " "with glibc 2.27 supported locales." msgstr "" #: ../build/NEWS:10110 ../build/NEWS:11702 ../build/NEWS:16120 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:10113 ../build/NEWS:11705 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:10117 ../build/NEWS:11812 msgid "" "`bpo-33281 `__: Fix ctypes.util." "find_library regression on macOS." msgstr "" #: ../build/NEWS:10119 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:10123 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:10126 msgid "" "`bpo-32933 `__: :func:`unittest.mock." "mock_open` now supports iteration over the file contents. Patch by Tony " "Flury." msgstr "" #: ../build/NEWS:10129 msgid "" "`bpo-33217 `__: Raise :exc:`TypeError` " "when looking up non-Enum objects in Enum classes and Enum members." msgstr "" #: ../build/NEWS:10132 ../build/NEWS:11709 ../build/NEWS:16123 msgid "" "`bpo-33197 `__: Update error message " "when constructing invalid inspect.Parameters Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:10135 ../build/NEWS:11814 ../build/NEWS:16126 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:10138 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:10143 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:10147 msgid "" "`bpo-32455 `__: Added *jump* parameter " "to :func:`dis.stack_effect`." msgstr "" #: ../build/NEWS:10149 msgid "" "`bpo-27485 `__: Rename and deprecate " "undocumented functions in :func:`urllib.parse`." msgstr "" #: ../build/NEWS:10152 msgid "" "`bpo-33332 `__: Add ``signal." "valid_signals()`` to expose the POSIX sigfillset() functionality." msgstr "" #: ../build/NEWS:10155 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:10158 ../build/NEWS:11817 ../build/NEWS:16129 msgid "" "`bpo-33329 `__: Fix multiprocessing " "regression on newer glibcs" msgstr "" #: ../build/NEWS:10160 msgid "" "`bpo-33334 `__: :func:`dis.stack_effect` " "now supports all defined opcodes including NOP and EXTENDED_ARG." msgstr "" #: ../build/NEWS:10163 ../build/NEWS:11819 ../build/NEWS:16131 msgid "" "`bpo-991266 `__: Fix quoting of the " "``Comment`` attribute of :class:`http.cookies.SimpleCookie`." msgstr "" #: ../build/NEWS:10166 ../build/NEWS:11822 ../build/NEWS:16134 msgid "" "`bpo-33131 `__: Upgrade bundled version " "of pip to 10.0.1." msgstr "" #: ../build/NEWS:10168 ../build/NEWS:11824 ../build/NEWS:16136 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:10172 msgid "" "`bpo-23403 `__: lib2to3 now uses pickle " "protocol 4 for pre-computed grammars." msgstr "" #: ../build/NEWS:10174 ../build/NEWS:11828 msgid "" "`bpo-33266 `__: lib2to3 now recognizes " "``rf'...'`` strings." msgstr "" #: ../build/NEWS:10176 ../build/NEWS:11830 msgid "" "`bpo-11594 `__: Ensure line-endings are " "respected when using lib2to3." msgstr "" #: ../build/NEWS:10178 ../build/NEWS:11832 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:10182 msgid "" "`bpo-33265 `__: ``contextlib.ExitStack`` " "and ``contextlib.AsyncExitStack`` now use a method instead of a wrapper " "function for exit callbacks." msgstr "" #: ../build/NEWS:10185 ../build/NEWS:11712 ../build/NEWS:16140 msgid "" "`bpo-33263 `__: Fix FD leak in " "`_SelectorSocketTransport` Patch by Vlad Starostin." msgstr "" #: ../build/NEWS:10188 ../build/NEWS:11836 ../build/NEWS:16143 msgid "" "`bpo-33256 `__: Fix display of " "```` call in the html produced by ``cgitb.html()``. Patch by " "Stéphane Blondon." msgstr "" #: ../build/NEWS:10191 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:10197 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:10201 msgid "" "This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when " "necessary, rather than adding ``\".\"``." msgstr "" #: ../build/NEWS:10204 msgid "" "`bpo-29613 `__: Added support for the " "``SameSite`` cookie flag to the ``http.cookies`` module." msgstr "" #: ../build/NEWS:10207 ../build/NEWS:11844 msgid "" "`bpo-33169 `__: Delete entries of " "``None`` in :data:`sys.path_importer_cache` when :meth:`importlib.machinery." "invalidate_caches` is called." msgstr "" #: ../build/NEWS:10210 ../build/NEWS:11850 ../build/NEWS:16146 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:10214 ../build/NEWS:11854 ../build/NEWS:16150 msgid "" "`bpo-33224 `__: Update difflib.mdiff() " "for :pep:`479`. Convert an uncaught StopIteration in a generator into a " "return-statement." msgstr "" #: ../build/NEWS:10217 ../build/NEWS:11857 ../build/NEWS:16153 msgid "" "`bpo-33209 `__: End framing at the end " "of C implementation of :func:`pickle.Pickler.dump`." msgstr "" #: ../build/NEWS:10220 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:10225 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:10230 ../build/NEWS:11860 msgid "" "`bpo-20104 `__: Improved error handling " "and fixed a reference leak in :func:`os.posix_spawn()`." msgstr "" #: ../build/NEWS:10233 msgid "" "`bpo-33106 `__: Deleting a key from a " "read-only dbm database raises module specific error instead of KeyError." msgstr "" #: ../build/NEWS:10236 ../build/NEWS:11863 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:10240 msgid "" "`bpo-32380 `__: Create functools." "singledispatchmethod to support generic single dispatch on descriptors and " "methods." msgstr "" #: ../build/NEWS:10243 ../build/NEWS:12003 msgid "" "`bpo-33141 `__: Have Field objects pass " "through __set_name__ to their default values, if they have their own " "__set_name__." msgstr "" #: ../build/NEWS:10246 ../build/NEWS:12006 ../build/NEWS:16160 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:10250 ../build/NEWS:12010 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:10254 ../build/NEWS:12014 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:10259 ../build/NEWS:12019 ../build/NEWS:16164 msgid "" "`bpo-33127 `__: The ssl module now " "compiles with LibreSSL 2.7.1." msgstr "" #: ../build/NEWS:10261 ../build/NEWS:12021 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:10264 ../build/NEWS:12024 msgid "" "`bpo-33078 `__: Fix the failure on OSX " "caused by the tests relying on sem_getvalue" msgstr "" #: ../build/NEWS:10267 ../build/NEWS:12027 msgid "" "`bpo-33116 `__: Add 'Field' to " "dataclasses.__all__." msgstr "" #: ../build/NEWS:10269 ../build/NEWS:12029 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:10272 ../build/NEWS:12032 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:10276 ../build/NEWS:12036 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:10281 ../build/NEWS:11867 msgid "" "`bpo-33097 `__: Raise RuntimeError when " "``executor.submit`` is called during interpreter shutdown." msgstr "" #: ../build/NEWS:10284 msgid "" "`bpo-32968 `__: Modulo and floor " "division involving Fraction and float should return float." msgstr "" #: ../build/NEWS:10287 ../build/NEWS:12041 msgid "" "`bpo-33061 `__: Add missing ``NoReturn`` " "to ``__all__`` in typing.py" msgstr "" #: ../build/NEWS:10289 ../build/NEWS:12043 msgid "" "`bpo-33078 `__: Fix the size handling in " "multiprocessing.Queue when a pickling error occurs." msgstr "" #: ../build/NEWS:10292 ../build/NEWS:12046 ../build/NEWS:16416 msgid "" "`bpo-33064 `__: lib2to3 now properly " "supports trailing commas after ``*args`` and ``**kwargs`` in function " "signatures." msgstr "" #: ../build/NEWS:10295 ../build/NEWS:12049 msgid "" "`bpo-33056 `__: FIX properly close " "leaking fds in concurrent.futures.ProcessPoolExecutor." msgstr "" #: ../build/NEWS:10298 ../build/NEWS:12052 ../build/NEWS:16166 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:10302 ../build/NEWS:12056 ../build/NEWS:16419 msgid "" "`bpo-31804 `__: Avoid failing in " "multiprocessing.Process if the standard streams are closed or None at exit." msgstr "" #: ../build/NEWS:10305 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:10309 msgid "" "`bpo-30249 `__: Improve struct." "unpack_from() exception messages for problems with the buffer size and " "offset." msgstr "" #: ../build/NEWS:10312 ../build/NEWS:12059 ../build/NEWS:16422 msgid "" "`bpo-33037 `__: Skip sending/receiving " "data after SSL transport closing." msgstr "" #: ../build/NEWS:10314 ../build/NEWS:12061 ../build/NEWS:16170 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:10318 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:10321 ../build/NEWS:12065 msgid "" "`bpo-32999 `__: Fix C implementation of " "``ABC.__subclasscheck__(cls, subclass)`` crashed when ``subclass`` is not a " "type object." msgstr "" #: ../build/NEWS:10324 ../build/NEWS:12068 ../build/NEWS:16426 msgid "" "`bpo-33009 `__: Fix inspect.signature() " "for single-parameter partialmethods." msgstr "" #: ../build/NEWS:10326 ../build/NEWS:12070 ../build/NEWS:16428 msgid "" "`bpo-32969 `__: Expose several missing " "constants in zlib and fix corresponding documentation." msgstr "" #: ../build/NEWS:10329 ../build/NEWS:12073 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:10333 msgid "" "`bpo-32970 `__: Improved disassembly of " "the MAKE_FUNCTION instruction." msgstr "" #: ../build/NEWS:10335 ../build/NEWS:12077 ../build/NEWS:16174 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:10338 ../build/NEWS:12208 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:10342 ../build/NEWS:12212 ../build/NEWS:16431 msgid "" "`bpo-32713 `__: Fixed tarfile.itn " "handling of out-of-bounds float values. Patch by Joffrey Fuhrer." msgstr "" #: ../build/NEWS:10345 ../build/NEWS:11719 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:10348 ../build/NEWS:12215 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:10353 ../build/NEWS:12220 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:10360 ../build/NEWS:12227 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:10363 msgid "" "`bpo-32146 `__: Document the interaction " "between frozen executables and the spawn and forkserver start methods in " "multiprocessing." msgstr "" #: ../build/NEWS:10366 ../build/NEWS:12230 ../build/NEWS:16434 msgid "" "`bpo-30622 `__: The ssl module now " "detects missing NPN support in LibreSSL." msgstr "" #: ../build/NEWS:10368 ../build/NEWS:12232 ../build/NEWS:16436 msgid "" "`bpo-32922 `__: dbm.open() now encodes " "filename with the filesystem encoding rather than default encoding." msgstr "" #: ../build/NEWS:10371 msgid "" "`bpo-32759 `__: Free unused arenas in " "multiprocessing.heap." msgstr "" #: ../build/NEWS:10373 ../build/NEWS:12235 ../build/NEWS:16439 msgid "" "`bpo-32859 `__: In ``os.dup2``, don't " "check every call whether the ``dup3`` syscall exists or not." msgstr "" #: ../build/NEWS:10376 ../build/NEWS:12238 msgid "" "`bpo-32556 `__: nt._getfinalpathname, nt." "_getvolumepathname and nt._getdiskusage now correctly convert from bytes." msgstr "" #: ../build/NEWS:10379 ../build/NEWS:12244 ../build/NEWS:16442 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:10383 ../build/NEWS:12080 ../build/NEWS:16446 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:10387 ../build/NEWS:12248 ../build/NEWS:16450 msgid "" "`bpo-32852 `__: Make sure sys.argv " "remains as a list when running trace." msgstr "" #: ../build/NEWS:10389 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:10395 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:10401 ../build/NEWS:12260 ../build/NEWS:16452 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:10405 ../build/NEWS:12264 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:10409 msgid "" "`bpo-19675 `__: ``multiprocessing.Pool`` " "no longer leaks processes if its initialization fails." msgstr "" #: ../build/NEWS:10412 ../build/NEWS:12268 msgid "" "`bpo-32394 `__: socket: Remove " "TCP_FASTOPEN,TCP_KEEPCNT,TCP_KEEPIDLE,TCP_KEEPINTVL flags on older version " "Windows during run-time." msgstr "" #: ../build/NEWS:10416 ../build/NEWS:12272 ../build/NEWS:16456 msgid "" "`bpo-31787 `__: Fixed refleaks of " "``__init__()`` methods in various modules. (Contributed by Oren Milman)" msgstr "" #: ../build/NEWS:10419 ../build/NEWS:12275 ../build/NEWS:16459 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:10422 msgid "" "`bpo-30688 `__: Added support of ``" "\\N{name}`` escapes in regular expressions. Based on patch by Jonathan " "Eunice." msgstr "" #: ../build/NEWS:10425 ../build/NEWS:12278 msgid "" "`bpo-32792 `__: collections.ChainMap() " "preserves the order of the underlying mappings." msgstr "" #: ../build/NEWS:10428 ../build/NEWS:12281 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:10434 ../build/NEWS:12287 msgid "" "`bpo-32622 `__: Implement native fast " "sendfile for Windows proactor event loop." msgstr "" #: ../build/NEWS:10436 ../build/NEWS:12289 ../build/NEWS:16465 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:10441 ../build/NEWS:12294 ../build/NEWS:16470 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:10445 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:10449 ../build/NEWS:12298 msgid "" "`bpo-32741 `__: Implement ``asyncio." "TimerHandle.when()`` method." msgstr "" #: ../build/NEWS:10451 ../build/NEWS:12300 msgid "" "`bpo-32691 `__: Use mod_spec.parent when " "running modules with pdb" msgstr "" #: ../build/NEWS:10453 ../build/NEWS:12302 ../build/NEWS:16474 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:10457 ../build/NEWS:12306 ../build/NEWS:16478 msgid "" "`bpo-32727 `__: Do not include name " "field in SMTP envelope from address. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:10460 ../build/NEWS:12309 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:10465 ../build/NEWS:12314 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:10470 ../build/NEWS:12319 ../build/NEWS:16491 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:10473 ../build/NEWS:12322 msgid "" "`bpo-32585 `__: Add Ttk spinbox widget " "to :mod:`tkinter.ttk`. Patch by Alan D Moore." msgstr "" #: ../build/NEWS:10476 msgid "" "`bpo-32512 `__: :mod:`profile` CLI " "accepts `-m module_name` as an alternative to script path." msgstr "" #: ../build/NEWS:10479 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:10483 msgid "Patch by Sanyam Khurana." msgstr "" #: ../build/NEWS:10485 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:10489 msgid "" "`bpo-29877 `__: compileall: import " "ProcessPoolExecutor only when needed, preventing hangs on low resource " "platforms" msgstr "" #: ../build/NEWS:10492 ../build/NEWS:12325 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:10498 msgid "" "`bpo-32147 `__: :func:`binascii." "unhexlify` is now up to 2 times faster. Patch by Sergey Fedoseev." msgstr "" #: ../build/NEWS:10501 ../build/NEWS:12331 msgid "" "`bpo-30693 `__: The TarFile class now " "recurses directories in a reproducible way." msgstr "" #: ../build/NEWS:10504 ../build/NEWS:12334 msgid "" "`bpo-30693 `__: The ZipFile class now " "recurses directories in a reproducible way." msgstr "" #: ../build/NEWS:10507 msgid "" "`bpo-31680 `__: Added :data:`curses." "ncurses_version`." msgstr "" #: ../build/NEWS:10509 ../build/NEWS:11870 ../build/NEWS:16177 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:10513 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:10517 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:10522 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:10527 ../build/NEWS:12088 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:10531 ../build/NEWS:11722 ../build/NEWS:16184 msgid "" "`bpo-16865 `__: Support arrays >=2GiB " "in :mod:`ctypes`. Patch by Segev Finer." msgstr "" #: ../build/NEWS:10533 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:10537 msgid "" "`bpo-29456 `__: Fix bugs in hangul " "normalization: u1176, u11a7 and u11c3" msgstr "" #: ../build/NEWS:10542 msgid "" "`bpo-21257 `__: Document :func:`http." "client.parse_headers`." msgstr "" #: ../build/NEWS:10544 msgid "" "`bpo-34764 `__: Improve example of " "iter() with 2nd sentinel argument." msgstr "" #: ../build/NEWS:10546 msgid "" "`bpo-35564 `__: Explicitly set " "master_doc variable in conf.py for compliance with Sphinx 2.0" msgstr "" #: ../build/NEWS:10549 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:10553 msgid "" "`bpo-10536 `__: Enhance the gettext " "docs. Patch by Éric Araujo" msgstr "" #: ../build/NEWS:10555 msgid "" "`bpo-35089 `__: Remove mention of " "``typing.io`` and ``typing.re``. Their types should be imported from " "``typing`` directly." msgstr "" #: ../build/NEWS:10558 msgid "" "`bpo-35038 `__: Fix the documentation " "about an unexisting `f_restricted` attribute in the frame object. Patch by " "Stéphane Wirtel" msgstr "" #: ../build/NEWS:10561 msgid "" "`bpo-35042 `__: Replace PEP XYZ by the " "pep role and allow to use the direct links to the PEPs." msgstr "" #: ../build/NEWS:10564 msgid "" "`bpo-35044 `__: Fix the documentation " "with the role ``exc`` for the appropriated exception. Patch by Stéphane " "Wirtel" msgstr "" #: ../build/NEWS:10567 msgid "" "`bpo-35035 `__: Rename documentation " "for :mod:`email.utils` to ``email.utils.rst``." msgstr "" #: ../build/NEWS:10570 msgid "" "`bpo-34967 `__: Use app." "add_object_type() instead of the deprecated Sphinx function app." "description_unit()" msgstr "" #: ../build/NEWS:10573 msgid "" "`bpo-34913 `__: Add documentation about " "the new command line interface of the gzip module." msgstr "" #: ../build/NEWS:10576 msgid "" "`bpo-32174 `__: chm document displays " "non-ASCII charaters properly on some MBCS Windows systems." msgstr "" #: ../build/NEWS:10579 msgid "" "`bpo-11233 `__: Create availability " "directive for documentation. Original patch by Georg Brandl." msgstr "" #: ../build/NEWS:10582 msgid "" "`bpo-34790 `__: Document how passing " "coroutines to asyncio.wait() can be confusing." msgstr "" #: ../build/NEWS:10585 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:10589 msgid "" "`bpo-28617 `__: Fixed info in the " "stdtypes docs concerning the types that support membership tests." msgstr "" #: ../build/NEWS:10592 msgid "" "`bpo-20177 `__: Migrate datetime.date." "fromtimestamp to Argument Clinic. Patch by Tim Hoffmann." msgstr "" #: ../build/NEWS:10595 msgid "" "`bpo-34065 `__: Fix wrongly written " "basicConfig documentation markup syntax" msgstr "" #: ../build/NEWS:10597 msgid "" "`bpo-33460 `__: replaced ellipsis with " "correct error codes in tutorial chapter 3." msgstr "" #: ../build/NEWS:10600 msgid "" "`bpo-33847 `__: Add '@' operator entry " "to index." msgstr "" #: ../build/NEWS:10602 ../build/NEWS:11517 msgid "" "`bpo-33409 `__: Clarified the " "relationship between :pep:`538`'s PYTHONCOERCECLOCALE and PEP 540's " "PYTHONUTF8 mode." msgstr "" #: ../build/NEWS:10605 msgid "" "`bpo-33197 `__: Add versionadded tag to " "the documentation of ParameterKind.description" msgstr "" #: ../build/NEWS:10608 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:10613 ../build/NEWS:11520 msgid "" "`bpo-33736 `__: Improve the " "documentation of :func:`asyncio.open_connection`, :func:`asyncio." "start_server` and their UNIX socket counterparts." msgstr "" #: ../build/NEWS:10616 ../build/NEWS:11727 msgid "" "`bpo-23859 `__: Document that `asyncio." "wait()` does not cancel its futures on timeout." msgstr "" #: ../build/NEWS:10619 ../build/NEWS:11730 msgid "" "`bpo-32436 `__: Document :pep:`567` " "changes to asyncio." msgstr "" #: ../build/NEWS:10621 ../build/NEWS:11732 msgid "" "`bpo-33604 `__: Update HMAC md5 default " "to a DeprecationWarning, bump removal to 3.8." msgstr "" #: ../build/NEWS:10624 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:10628 ../build/NEWS:11735 ../build/NEWS:16193 msgid "" "`bpo-33503 `__: Fix broken pypi link" msgstr "" #: ../build/NEWS:10630 ../build/NEWS:11737 ../build/NEWS:16195 msgid "" "`bpo-33421 `__: Add missing " "documentation for ``typing.AsyncContextManager``." msgstr "" #: ../build/NEWS:10632 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:10636 ../build/NEWS:11877 ../build/NEWS:16197 msgid "" "`bpo-33378 `__: Add Korean language " "switcher for https://docs.python.org/3/" msgstr "" #: ../build/NEWS:10638 ../build/NEWS:11879 ../build/NEWS:16199 msgid "" "`bpo-33276 `__: Clarify that the " "``__path__`` attribute on modules cannot be just any value." msgstr "" #: ../build/NEWS:10641 ../build/NEWS:11882 ../build/NEWS:16202 msgid "" "`bpo-33201 `__: Modernize documentation " "for writing C extension types." msgstr "" #: ../build/NEWS:10643 ../build/NEWS:11884 ../build/NEWS:16204 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:10647 ../build/NEWS:12095 ../build/NEWS:16208 msgid "" "`bpo-33126 `__: Document " "PyBuffer_ToContiguous()." msgstr "" #: ../build/NEWS:10649 ../build/NEWS:12097 ../build/NEWS:16210 msgid "" "`bpo-27212 `__: Modify documentation for " "the :func:`islice` recipe to consume initial values up to the start index." msgstr "" #: ../build/NEWS:10652 ../build/NEWS:12100 ../build/NEWS:16213 msgid "" "`bpo-28247 `__: Update :mod:`zipapp` " "documentation to describe how to make standalone applications." msgstr "" #: ../build/NEWS:10655 ../build/NEWS:12103 ../build/NEWS:16216 msgid "" "`bpo-18802 `__: Documentation changes " "for ipaddress. Patch by Jon Foster and Berker Peksag." msgstr "" #: ../build/NEWS:10658 ../build/NEWS:12106 ../build/NEWS:16219 msgid "" "`bpo-27428 `__: Update documentation to " "clarify that ``WindowsRegistryFinder`` implements ``MetaPathFinder``. (Patch " "by Himanshu Lakhara)" msgstr "" #: ../build/NEWS:10661 ../build/NEWS:12340 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:10665 ../build/NEWS:12344 ../build/NEWS:16549 msgid "" "`bpo-17232 `__: Clarify docs for -O and -" "OO. Patch by Terry Reedy." msgstr "" #: ../build/NEWS:10667 ../build/NEWS:12346 msgid "" "`bpo-32436 `__: Add documentation for " "the contextvars module (PEP 567)." msgstr "" #: ../build/NEWS:10669 ../build/NEWS:12348 ../build/NEWS:16551 msgid "" "`bpo-32800 `__: Update link to w3c doc " "for xml default namespaces." msgstr "" #: ../build/NEWS:10671 ../build/NEWS:12350 msgid "" "`bpo-11015 `__: Update :mod:`test." "support` documentation." msgstr "" #: ../build/NEWS:10673 msgid "" "`bpo-32613 `__: Update the faq/windows." "html to use the py command from PEP 397 instead of python." msgstr "" #: ../build/NEWS:10676 ../build/NEWS:12352 ../build/NEWS:16553 msgid "" "`bpo-8722 `__: Document :meth:" "`__getattr__` behavior when property :meth:`get` method raises :exc:" "`AttributeError`." msgstr "" #: ../build/NEWS:10679 ../build/NEWS:12355 ../build/NEWS:16556 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:10683 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:10686 msgid "" "`bpo-32722 `__: Remove the bad example " "in the tutorial of the Generator Expression. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:10689 ../build/NEWS:12359 ../build/NEWS:16560 msgid "" "`bpo-31972 `__: Improve docstrings for " "`pathlib.PurePath` subclasses." msgstr "" #: ../build/NEWS:10691 msgid "" "`bpo-30607 `__: Use the externalized " "``python-docs-theme`` package when building the documentation." msgstr "" #: ../build/NEWS:10694 ../build/NEWS:11888 ../build/NEWS:16222 msgid "" "`bpo-8243 `__: Add a note about curses." "addch and curses.addstr exception behavior when writing outside a window, or " "pad." msgstr "" #: ../build/NEWS:10697 ../build/NEWS:11891 msgid "" "`bpo-32337 `__: Update documentation " "related with ``dict`` order." msgstr "" #: ../build/NEWS:10699 msgid "" "`bpo-25041 `__: Document ``AF_PACKET`` " "in the :mod:`socket` module." msgstr "" #: ../build/NEWS:10701 ../build/NEWS:11523 ../build/NEWS:16225 msgid "" "`bpo-31432 `__: Clarify meaning of " "CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for ssl.SSLContext." "verify_mode." msgstr "" #: ../build/NEWS:10707 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:10715 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:10718 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:10722 msgid "" "`bpo-33717 `__: test.pythoninfo now logs " "information of all clocks, not only time.time() and time.perf_counter()." msgstr "" #: ../build/NEWS:10725 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:10728 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:10733 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:10737 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:10741 msgid "" "`bpo-35513 `__: Replace :func:`time." "time` with :func:`time.monotonic` in tests to measure time delta." msgstr "" #: ../build/NEWS:10744 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:10749 msgid "" "`bpo-35412 `__: Add testcase to " "``test_future4``: check unicode literal." msgstr "" #: ../build/NEWS:10751 msgid "" "`bpo-26704 `__: Added test demonstrating " "double-patching of an instance method. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:10754 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:10757 msgid "" "`bpo-35352 `__: Modify test_asyncio to " "use the certificate set from the test directory." msgstr "" #: ../build/NEWS:10760 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:10764 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:10769 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:10773 msgid "" "`bpo-34962 `__: make docstest in Doc now " "passes., and is enforced in CI" msgstr "" #: ../build/NEWS:10775 msgid "" "`bpo-23596 `__: Use argparse for the " "command line of the gzip module. Patch by Antony Lee" msgstr "" #: ../build/NEWS:10778 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:10781 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:10788 msgid "" "`bpo-34661 `__: Fix test_shutil if unzip " "doesn't support -t." msgstr "" #: ../build/NEWS:10790 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:10794 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:10798 msgid "" "`bpo-34594 `__: Fix usage of hardcoded " "``errno`` values in the tests." msgstr "" #: ../build/NEWS:10800 msgid "" "`bpo-34579 `__: Fix test_embed for AIX " "Patch by Michael Felt" msgstr "" #: ../build/NEWS:10802 msgid "" "`bpo-34542 `__: Use 3072 RSA keys and " "SHA-256 signature for test certs and keys." msgstr "" #: ../build/NEWS:10805 msgid "" "`bpo-11193 `__: Remove special condition " "for AIX in `test_subprocess.test_undecodable_env`" msgstr "" #: ../build/NEWS:10808 msgid "" "`bpo-34347 `__: Fix `test_utf8_mode." "test_cmd_line` for AIX" msgstr "" #: ../build/NEWS:10810 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:10813 msgid "" "`bpo-34391 `__: Fix ftplib test for TLS " "1.3 by reading from data socket." msgstr "" #: ../build/NEWS:10815 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:10820 msgid "" "`bpo-34399 `__: Update all RSA keys and " "DH params to use at least 2048 bits." msgstr "" #: ../build/NEWS:10822 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:10826 msgid "" "`bpo-11191 `__: Skip the distutils test " "'test_search_cpp' when using XLC as compiler patch by aixtools (Michael Felt)" msgstr "" #: ../build/NEWS:10829 msgid "Improved an error message when mock assert_has_calls fails." msgstr "" #: ../build/NEWS:10831 msgid "" "`bpo-33746 `__: Fix test_unittest when " "run in verbose mode." msgstr "" #: ../build/NEWS:10833 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:10836 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:10841 msgid "" "`bpo-33562 `__: Check that a global " "asyncio event loop policy is not left behind by any tests." msgstr "" #: ../build/NEWS:10844 ../build/NEWS:11742 ../build/NEWS:16231 msgid "" "`bpo-33655 `__: Ignore " "test_posix_fallocate failures on BSD platforms that might be due to running " "on ZFS." msgstr "" #: ../build/NEWS:10847 msgid "" "`bpo-32962 `__: Fixed test_gdb when " "Python is compiled with flags -mcet -fcf-protection -O0." msgstr "" #: ../build/NEWS:10850 ../build/NEWS:11896 msgid "" "`bpo-33358 `__: Fix ``test_embed." "test_pre_initialization_sys_options()`` when the interpreter is built with " "``--enable-shared``." msgstr "" #: ../build/NEWS:10853 ../build/NEWS:12112 ../build/NEWS:16344 msgid "" "`bpo-32872 `__: Avoid regrtest " "compatibility issue with namespace packages." msgstr "" #: ../build/NEWS:10855 ../build/NEWS:12114 ../build/NEWS:16569 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:10858 msgid "" "`bpo-32663 `__: Making sure the " "`SMTPUTF8SimTests` class of tests gets run in test_smtplib.py." msgstr "" #: ../build/NEWS:10861 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:10865 msgid "Applicable to Python2-2.7 and later" msgstr "" #: ../build/NEWS:10867 ../build/NEWS:12117 ../build/NEWS:16234 msgid "`bpo-19417 `__: Add test_bdb.py." msgstr "" #: ../build/NEWS:10869 ../build/NEWS:12364 msgid "" "`bpo-31809 `__: Add tests to verify " "connection with secp ECDH curves." msgstr "" #: ../build/NEWS:10874 msgid "" "`bpo-34691 `__: The _contextvars module " "is now built into the core Python library on Windows." msgstr "" #: ../build/NEWS:10877 msgid "" "`bpo-35683 `__: Improved Azure Pipelines " "build steps and now verifying layouts correctly" msgstr "" #: ../build/NEWS:10880 msgid "" "`bpo-35642 `__: Remove asynciomodule.c " "from pythoncore.vcxproj" msgstr "" #: ../build/NEWS:10882 msgid "" "`bpo-35550 `__: Fix incorrect Solaris " "#ifdef checks to look for __sun && __SVR4 instead of sun when compiling." msgstr "" #: ../build/NEWS:10885 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:10889 msgid "" "`bpo-35257 `__: Avoid leaking the linker " "flags from Link Time Optimizations (LTO) into distutils when compiling C " "extensions." msgstr "" #: ../build/NEWS:10892 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:10896 msgid "" "`bpo-35139 `__: Fix a compiler error " "when statically linking `pyexpat` in `Modules/Setup`." msgstr "" #: ../build/NEWS:10899 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:10904 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:10909 msgid "" "`bpo-28015 `__: Have --with-lto works " "correctly with clang." msgstr "" #: ../build/NEWS:10911 msgid "" "`bpo-34765 `__: Update the outdated " "install-sh file to the latest revision from automake v1.16.1" msgstr "" #: ../build/NEWS:10914 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:10918 msgid "" "`bpo-34710 `__: Fixed SSL module build " "with OpenSSL & pedantic CFLAGS." msgstr "" #: ../build/NEWS:10920 msgid "" "`bpo-34582 `__: Add JUnit XML output for " "regression tests and update Azure DevOps builds." msgstr "" #: ../build/NEWS:10923 msgid "" "`bpo-34081 `__: Make Sphinx warnings as " "errors in the Docs Makefile." msgstr "" #: ../build/NEWS:10925 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:10928 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:10932 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:10936 msgid "" "`bpo-34121 `__: Fix detection of C11 " "atomic support on clang." msgstr "" #: ../build/NEWS:10938 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:10942 msgid "" "`bpo-30345 `__: Add -g to LDFLAGS when " "compiling with LTO to get debug symbols." msgstr "" #: ../build/NEWS:10944 ../build/NEWS:11529 ../build/NEWS:16239 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:10948 ../build/NEWS:11751 ../build/NEWS:16243 msgid "" "`bpo-33614 `__: Ensures module " "definition files for the stable ABI on Windows are correctly regenerated." msgstr "" #: ../build/NEWS:10951 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:10954 ../build/NEWS:11754 ../build/NEWS:16246 msgid "" "`bpo-33522 `__: Enable CI builds on " "Visual Studio Team Services at https://python.visualstudio.com/cpython" msgstr "" #: ../build/NEWS:10957 msgid "" "`bpo-33512 `__: configure's check for " "\"long double\" has been simplified" msgstr "" #: ../build/NEWS:10959 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:10963 ../build/NEWS:11902 ../build/NEWS:16253 msgid "" "`bpo-33394 `__: Enable the verbose build " "for extension modules, when GNU make is passed macros on the command line." msgstr "" #: ../build/NEWS:10966 ../build/NEWS:11905 msgid "" "`bpo-33393 `__: Update config.guess and " "config.sub files." msgstr "" #: ../build/NEWS:10968 ../build/NEWS:11907 msgid "" "`bpo-33377 `__: Add new triplets for " "mips r6 and riscv variants (used in extension suffixes)." msgstr "" #: ../build/NEWS:10971 ../build/NEWS:11910 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:10975 ../build/NEWS:11914 msgid "" "`bpo-33182 `__: The embedding tests can " "once again be built with clang 6.0" msgstr "" #: ../build/NEWS:10977 ../build/NEWS:12122 ../build/NEWS:16349 msgid "" "`bpo-33163 `__: Upgrade pip to 9.0.3 and " "setuptools to v39.0.1." msgstr "" #: ../build/NEWS:10979 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:10985 ../build/NEWS:12369 msgid "" "`bpo-32898 `__: Fix the python debug " "build when using COUNT_ALLOCS." msgstr "" #: ../build/NEWS:10987 msgid "" "`bpo-29442 `__: Replace optparse with " "argparse in setup.py" msgstr "" #: ../build/NEWS:10992 msgid "" "`bpo-35890 `__: Fix API calling " "consistency of GetVersionEx and wcstok." msgstr "" #: ../build/NEWS:10994 msgid "" "`bpo-32560 `__: The ``py`` launcher now " "forwards its ``STARTUPINFO`` structure to child processes." msgstr "" #: ../build/NEWS:10997 msgid "" "`bpo-35854 `__: Fix EnvBuilder and --" "symlinks in venv on Windows" msgstr "" #: ../build/NEWS:10999 msgid "" "`bpo-35811 `__: Avoid propagating venv " "settings when launching via py.exe" msgstr "" #: ../build/NEWS:11001 msgid "" "`bpo-35797 `__: Fix default executable " "used by the multiprocessing module" msgstr "" #: ../build/NEWS:11003 msgid "" "`bpo-35758 `__: Allow building on ARM " "with MSVC." msgstr "" #: ../build/NEWS:11005 msgid "" "`bpo-29734 `__: Fix handle leaks in os." "stat on Windows." msgstr "" #: ../build/NEWS:11007 msgid "" "`bpo-35596 `__: Use unchecked PYCs for " "the embeddable distro to avoid zipimport restrictions." msgstr "" #: ../build/NEWS:11010 msgid "" "`bpo-35596 `__: Fix vcruntime140.dll " "being added to embeddable distro multiple times." msgstr "" #: ../build/NEWS:11013 msgid "" "`bpo-35402 `__: Update Windows build to " "use Tcl and Tk 8.6.9" msgstr "" #: ../build/NEWS:11015 msgid "" "`bpo-35401 `__: Updates Windows build to " "OpenSSL 1.1.0j" msgstr "" #: ../build/NEWS:11017 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:11020 msgid "" "`bpo-34977 `__: Adds support for " "building a Windows App Store package" msgstr "" #: ../build/NEWS:11022 msgid "" "`bpo-35067 `__: Remove _distutils_findvs " "module and use vswhere.exe instead." msgstr "" #: ../build/NEWS:11024 msgid "" "`bpo-32557 `__: Allow shutil.disk_usage " "to take a file path on Windows" msgstr "" #: ../build/NEWS:11026 msgid "" "`bpo-34770 `__: Fix a possible null " "pointer dereference in pyshellext.cpp." msgstr "" #: ../build/NEWS:11028 msgid "" "`bpo-34603 `__: Fix returning structs " "from functions produced by MSVC" msgstr "" #: ../build/NEWS:11030 msgid "" "`bpo-34581 `__: Guard MSVC-specific code " "in socketmodule.c with ``#ifdef _MSC_VER``." msgstr "" #: ../build/NEWS:11033 msgid "" "`bpo-34532 `__: Fixes exit code of list " "version arguments for py.exe." msgstr "" #: ../build/NEWS:11035 msgid "" "`bpo-34062 `__: Fixed the '--list' and " "'--list-paths' arguments for the py.exe launcher" msgstr "" #: ../build/NEWS:11038 msgid "" "`bpo-34225 `__: Ensure INCLUDE and LIB " "directories do not end with a backslash." msgstr "" #: ../build/NEWS:11040 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:11046 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:11050 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:11054 msgid "" "`bpo-30237 `__: Output error when " "ReadConsole is canceled by CancelSynchronousIo instead of crashing." msgstr "" #: ../build/NEWS:11057 msgid "" "`bpo-33895 `__: GIL is released while " "calling functions that acquire Windows loader lock." msgstr "" #: ../build/NEWS:11060 ../build/NEWS:11536 msgid "" "`bpo-33720 `__: Reduces maximum marshal " "recursion depth on release builds." msgstr "" #: ../build/NEWS:11062 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:11066 msgid "" "`bpo-33316 `__: PyThread_release_lock " "always fails" msgstr "" #: ../build/NEWS:11068 ../build/NEWS:11919 msgid "" "`bpo-33184 `__: Update Windows installer " "to use OpenSSL 1.1.0h." msgstr "" #: ../build/NEWS:11070 msgid "" "`bpo-32890 `__: Fix usage of " "GetLastError() instead of errno in os.execve() and os.truncate()." msgstr "" #: ../build/NEWS:11073 ../build/NEWS:12127 ../build/NEWS:16590 msgid "" "`bpo-33016 `__: Fix potential use of " "uninitialized memory in nt._getfinalpathname" msgstr "" #: ../build/NEWS:11076 ../build/NEWS:12130 ../build/NEWS:16593 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:11079 ../build/NEWS:12374 msgid "" "`bpo-32901 `__: Update Tcl and Tk " "versions to 8.6.8" msgstr "" #: ../build/NEWS:11081 ../build/NEWS:12376 ../build/NEWS:16596 msgid "" "`bpo-31966 `__: Fixed WindowsConsoleIO." "write() for writing empty data." msgstr "" #: ../build/NEWS:11083 ../build/NEWS:12378 ../build/NEWS:16598 msgid "" "`bpo-32409 `__: Ensures activate.bat can " "handle Unicode contents." msgstr "" #: ../build/NEWS:11085 ../build/NEWS:12380 ../build/NEWS:16600 msgid "" "`bpo-32457 `__: Improves handling of " "denormalized executable path when launching Python." msgstr "" #: ../build/NEWS:11088 ../build/NEWS:12383 ../build/NEWS:16603 msgid "" "`bpo-32370 `__: Use the correct encoding " "for ipconfig output in the uuid module. Patch by Segev Finer." msgstr "" #: ../build/NEWS:11091 ../build/NEWS:12386 ../build/NEWS:16606 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:11095 msgid "" "`bpo-1104 `__: Correctly handle string " "length in ``msilib.SummaryInfo.GetProperty()`` to prevent it from truncating " "the last character." msgstr "" #: ../build/NEWS:11102 msgid "" "`bpo-35401 `__: Update macOS installer " "to use OpenSSL 1.1.0j." msgstr "" #: ../build/NEWS:11104 msgid "" "`bpo-35025 `__: Properly guard the use " "of the ``CLOCK_GETTIME`` et al. macros in ``timemodule`` on macOS." msgstr "" #: ../build/NEWS:11107 msgid "" "`bpo-24658 `__: On macOS, fix reading " "from and writing into a file with a size larger than 2 GiB." msgstr "" #: ../build/NEWS:11110 msgid "" "`bpo-34405 `__: Update to OpenSSL 1.1.0i " "for macOS installer builds." msgstr "" #: ../build/NEWS:11112 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:11118 ../build/NEWS:11764 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:11122 ../build/NEWS:11924 msgid "" "`bpo-33184 `__: Update macOS installer " "build to use OpenSSL 1.1.0h." msgstr "" #: ../build/NEWS:11124 ../build/NEWS:12136 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:11130 ../build/NEWS:12393 msgid "" "`bpo-32901 `__: Update macOS 10.9+ " "installer to Tcl/Tk 8.6.8." msgstr "" #: ../build/NEWS:11132 msgid "" "`bpo-31903 `__: In :mod:`_scproxy`, drop " "the GIL when calling into ``SystemConfiguration`` to avoid deadlocks." msgstr "" #: ../build/NEWS:11138 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:11143 msgid "" "`bpo-35769 `__: Change IDLE's new file " "name from 'Untitled' to 'untitled'" msgstr "" #: ../build/NEWS:11145 msgid "" "`bpo-35660 `__: Fix imports in idlelib." "window." msgstr "" #: ../build/NEWS:11147 msgid "" "`bpo-35641 `__: Proper format `calltip` " "when the function has no docstring." msgstr "" #: ../build/NEWS:11149 msgid "" "`bpo-33987 `__: Use ttk Frame for ttk " "widgets." msgstr "" #: ../build/NEWS:11151 msgid "" "`bpo-34055 `__: Fix erroneous 'smart' " "indents and newlines in IDLE Shell." msgstr "" #: ../build/NEWS:11153 msgid "" "`bpo-35591 `__: Find Selection now works " "when selection not found." msgstr "" #: ../build/NEWS:11155 msgid "" "`bpo-35196 `__: Speed up squeezer line " "counting." msgstr "" #: ../build/NEWS:11157 msgid "" "`bpo-35598 `__: Update config_key: use " "PEP 8 names and ttk widgets, make some objects global, and add tests." msgstr "" #: ../build/NEWS:11160 msgid "" "`bpo-28097 `__: Add Previous/Next " "History entries to Shell menu." msgstr "" #: ../build/NEWS:11162 msgid "" "`bpo-35208 `__: Squeezer now properly " "counts wrapped lines before newlines." msgstr "" #: ../build/NEWS:11164 msgid "" "`bpo-35555 `__: Gray out Code Context " "menu entry when it's not applicable." msgstr "" #: ../build/NEWS:11166 msgid "" "`bpo-35521 `__: Document the IDLE editor " "code context feature. Add some internal references within the IDLE doc." msgstr "" #: ../build/NEWS:11169 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:11173 msgid "" "`bpo-35213 `__: Where appropriate, use " "'macOS' in idlelib." msgstr "" #: ../build/NEWS:11175 msgid "" "`bpo-34864 `__: On macOS, warn if the " "system preference \"Prefer tabs when opening documents\" is set to \"Always" "\"." msgstr "" #: ../build/NEWS:11178 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:11182 msgid "" "`bpo-35202 `__: Remove unused imports " "from lib/idlelib" msgstr "" #: ../build/NEWS:11184 msgid "" "`bpo-33000 `__: Document that IDLE's " "shell has no line limit. A program that runs indefinitely can overfill " "memory." msgstr "" #: ../build/NEWS:11187 msgid "" "`bpo-23220 `__: Explain how IDLE's Shell " "displays output." msgstr "" #: ../build/NEWS:11189 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:11193 msgid "" "`bpo-35097 `__: Add IDLE doc subsection " "explaining editor windows. Topics include opening, title and status bar, ." "py* extension, and running." msgstr "" #: ../build/NEWS:11196 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:11199 msgid "" "`bpo-35088 `__: Update idlelib.help." "copy_string docstring. We now use git and backporting instead of hg and " "forward merging." msgstr "" #: ../build/NEWS:11202 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:11205 msgid "" "`bpo-34548 `__: Use configured color " "theme for read-only text views." msgstr "" #: ../build/NEWS:11207 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:11212 msgid "" "`bpo-34047 `__: Fixed mousewheel " "scrolling direction on macOS." msgstr "" #: ../build/NEWS:11214 msgid "" "`bpo-34275 `__: Make IDLE calltips " "always visible on Mac. Some MacOS-tk combinations need .update_idletasks(). " "Patch by Kevin Walzer." msgstr "" #: ../build/NEWS:11217 msgid "" "`bpo-34120 `__: Fix unresponsiveness " "after closing certain windows and dialogs." msgstr "" #: ../build/NEWS:11219 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:11223 msgid "" "`bpo-33905 `__: Add test for idlelib." "stackview.StackBrowser." msgstr "" #: ../build/NEWS:11225 msgid "" "`bpo-33924 `__: Change mainmenu.menudefs " "key 'windows' to 'window'. Every other menudef key is lowercase version of " "main menu entry." msgstr "" #: ../build/NEWS:11228 msgid "" "`bpo-33906 `__: Rename idlelib.windows " "as window Match Window on the main menu and remove last plural module name." msgstr "" #: ../build/NEWS:11231 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:11235 msgid "" "`bpo-33904 `__: IDLE: In rstrip, rename " "class RstripExtension as Rstrip" msgstr "" #: ../build/NEWS:11237 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:11241 msgid "" "`bpo-33856 `__: Add \"help\" in the " "welcome message of IDLE" msgstr "" #: ../build/NEWS:11243 msgid "" "`bpo-33839 `__: IDLE: refactor ToolTip " "and CallTip and add documentation and tests" msgstr "" #: ../build/NEWS:11246 msgid "" "`bpo-33855 `__: Minimally test all IDLE " "modules. Add missing files, import module, instantiate classes, and check " "coverage. Check existing files." msgstr "" #: ../build/NEWS:11249 ../build/NEWS:11541 ../build/NEWS:16269 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:11254 ../build/NEWS:11546 ../build/NEWS:16274 msgid "" "`bpo-33768 `__: Clicking on a context " "line moves that line to the top of the editor window." msgstr "" #: ../build/NEWS:11257 ../build/NEWS:11549 ../build/NEWS:16277 msgid "" "`bpo-33763 `__: IDLE: Use read-only text " "widget for code context instead of label widget." msgstr "" #: ../build/NEWS:11260 ../build/NEWS:11552 ../build/NEWS:16280 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:11265 ../build/NEWS:11557 ../build/NEWS:16285 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:11269 ../build/NEWS:11561 ../build/NEWS:16289 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:11272 ../build/NEWS:11771 ../build/NEWS:16292 msgid "" "`bpo-33628 `__: IDLE: Cleanup " "codecontext.py and its test." msgstr "" #: ../build/NEWS:11274 ../build/NEWS:11773 ../build/NEWS:16294 msgid "" "`bpo-33564 `__: IDLE's code context now " "recognizes async as a block opener." msgstr "" #: ../build/NEWS:11276 ../build/NEWS:11929 ../build/NEWS:16299 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:11281 ../build/NEWS:11934 ../build/NEWS:16304 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:11286 ../build/NEWS:12145 ../build/NEWS:16623 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:11295 ../build/NEWS:12154 ../build/NEWS:16632 msgid "" "`bpo-32940 `__: Simplify and rename " "StringTranslatePseudoMapping in pyparse." msgstr "" #: ../build/NEWS:11297 ../build/NEWS:12398 ../build/NEWS:16634 msgid "" "`bpo-32916 `__: Change ``str`` to " "``code`` in pyparse." msgstr "" #: ../build/NEWS:11299 ../build/NEWS:12400 ../build/NEWS:16636 msgid "" "`bpo-32905 `__: Remove unused code in " "pyparse module." msgstr "" #: ../build/NEWS:11301 ../build/NEWS:12402 ../build/NEWS:16638 msgid "" "`bpo-32874 `__: Add tests for pyparse." msgstr "" #: ../build/NEWS:11303 ../build/NEWS:12404 ../build/NEWS:16640 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:11306 ../build/NEWS:12407 ../build/NEWS:16643 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:11312 ../build/NEWS:11775 ../build/NEWS:16309 msgid "" "`bpo-32831 `__: Add docstrings and tests " "for codecontext." msgstr "" #: ../build/NEWS:11314 ../build/NEWS:12413 ../build/NEWS:16649 msgid "" "`bpo-32765 `__: Update configdialog " "General tab docstring to add new widgets to the widget list." msgstr "" #: ../build/NEWS:11320 msgid "" "`bpo-35884 `__: Add a benchmark script " "for timing various ways to access variables: ``Tools/scripts/" "var_access_benchmark.py``." msgstr "" #: ../build/NEWS:11323 msgid "" "`bpo-34989 `__: python-gdb.py now " "handles errors on computing the line number of a Python frame." msgstr "" #: ../build/NEWS:11326 msgid "" "`bpo-20260 `__: Argument Clinic now has " "non-bitwise unsigned int converters." msgstr "" #: ../build/NEWS:11328 msgid "" "`bpo-32962 `__: python-gdb now catches " "``UnicodeDecodeError`` exceptions when calling ``string()``." msgstr "" #: ../build/NEWS:11331 msgid "" "`bpo-32962 `__: python-gdb now catches " "ValueError on read_var(): when Python has no debug symbols for example." msgstr "" #: ../build/NEWS:11334 ../build/NEWS:11942 ../build/NEWS:16314 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:11338 ../build/NEWS:11946 ../build/NEWS:16318 msgid "" "`bpo-31920 `__: Fixed handling " "directories as arguments in the ``pygettext`` script. Based on patch by Oleg " "Krasnikov." msgstr "" #: ../build/NEWS:11341 ../build/NEWS:11949 ../build/NEWS:16321 msgid "" "`bpo-29673 `__: Fix pystackv and pystack " "gdbinit macros." msgstr "" #: ../build/NEWS:11343 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:11347 ../build/NEWS:12159 ../build/NEWS:16323 msgid "" "`bpo-32885 `__: Add an ``-n`` flag for " "``Tools/scripts/pathfix.py`` to disable automatic backup creation (files " "with ``~`` suffix)." msgstr "" #: ../build/NEWS:11350 ../build/NEWS:12419 ../build/NEWS:16659 msgid "" "`bpo-32222 `__: Fix pygettext not " "extracting docstrings for functions with type annotated arguments. Patch by " "Toby Harradine." msgstr "" #: ../build/NEWS:11353 ../build/NEWS:11951 ../build/NEWS:16326 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:11359 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:11364 msgid "" "`bpo-33817 `__: Fixed :c:func:" "`_PyBytes_Resize` for empty bytes objects." msgstr "" #: ../build/NEWS:11366 msgid "" "`bpo-35322 `__: Fix memory leak in :c:" "func:`PyUnicode_EncodeLocale` and :c:func:`PyUnicode_EncodeFSDefault` on " "error handling." msgstr "" #: ../build/NEWS:11369 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:11374 msgid "" "`bpo-35296 `__: ``make install`` now " "also installs the internal API: ``Include/internal/*.h`` header files." msgstr "" #: ../build/NEWS:11377 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:11381 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:11384 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:11388 msgid "" "`bpo-35134 `__: Creation of a new " "``Include/cpython/`` subdirectory." msgstr "" #: ../build/NEWS:11390 msgid "" "`bpo-34725 `__: Adds " "_Py_SetProgramFullPath so embedders may override sys.executable" msgstr "" #: ../build/NEWS:11393 msgid "" "`bpo-34910 `__: Ensure that :c:func:" "`PyObject_Print` always returns ``-1`` on error. Patch by Zackery Spytz." msgstr "" #: ../build/NEWS:11396 msgid "" "`bpo-34523 `__: Py_DecodeLocale() and " "Py_EncodeLocale() now use the UTF-8 encoding on Windows if " "Py_LegacyWindowsFSEncodingFlag is zero." msgstr "" #: ../build/NEWS:11399 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:11403 msgid "" "`bpo-34127 `__: Return grammatically " "correct error message based on argument count. Patch by Karthikeyan " "Singaravelan." msgstr "" #: ../build/NEWS:11406 msgid "" "`bpo-23927 `__: Fixed :exc:`SystemError` " "in :c:func:`PyArg_ParseTupleAndKeywords` when the ``w*`` format unit is used " "for optional parameter." msgstr "" #: ../build/NEWS:11410 msgid "" "`bpo-32455 `__: Added :c:func:" "`PyCompile_OpcodeStackEffectWithJump`." msgstr "" #: ../build/NEWS:11412 msgid "" "`bpo-34008 `__: Py_Main() can again be " "called after Py_Initialize(), as in Python 3.6." msgstr "" #: ../build/NEWS:11415 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:11420 msgid "" "`bpo-33818 `__: :c:func:" "`PyExceptionClass_Name` will now return ``const char *`` instead of ``char " "*``." msgstr "" #: ../build/NEWS:11423 ../build/NEWS:12165 msgid "" "`bpo-33042 `__: Embedding applications " "may once again call PySys_ResetWarnOptions, PySys_AddWarnOption, and " "PySys_AddXOption prior to calling Py_Initialize." msgstr "" #: ../build/NEWS:11427 ../build/NEWS:12169 ../build/NEWS:16332 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:11430 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:11436 msgid "Python 3.7.0 final" msgstr "" #: ../build/NEWS:11438 ../build/NEWS:16019 msgid "*Release date: 2018-06-27*" msgstr "" #: ../build/NEWS:11443 msgid "" "`bpo-33851 `__: Fix :func:`ast." "get_docstring` for a node that lacks a docstring." msgstr "" #: ../build/NEWS:11449 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:11454 msgid "Python 3.7.0 release candidate 1" msgstr "" #: ../build/NEWS:11456 msgid "*Release date: 2018-06-12*" msgstr "" #: ../build/NEWS:11566 msgid "Python 3.7.0 beta 5" msgstr "" #: ../build/NEWS:11568 msgid "*Release date: 2018-05-30*" msgstr "" #: ../build/NEWS:11581 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:11715 ../build/NEWS:16156 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:11745 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:11757 ../build/NEWS:16249 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:11779 msgid "Python 3.7.0 beta 4" msgstr "" #: ../build/NEWS:11781 msgid "*Release date: 2018-05-02*" msgstr "" #: ../build/NEWS:11839 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:11847 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:11956 msgid "Python 3.7.0 beta 3" msgstr "" #: ../build/NEWS:11958 msgid "*Release date: 2018-03-29*" msgstr "" #: ../build/NEWS:11986 ../build/NEWS:16059 msgid "" "`bpo-33041 `__: Fixed jumping when the " "function contains an ``async for`` loop." msgstr "" #: ../build/NEWS:12084 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:12174 msgid "Python 3.7.0 beta 2" msgstr "" #: ../build/NEWS:12176 msgid "*Release date: 2018-02-27*" msgstr "" #: ../build/NEWS:12241 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:12250 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:12424 msgid "Python 3.7.0 beta 1" msgstr "" #: ../build/NEWS:12426 msgid "*Release date: 2018-01-30*" msgstr "" #: ../build/NEWS:12431 msgid "" "`bpo-32703 `__: Fix coroutine's " "ResourceWarning when there's an active error set when it's being finalized." msgstr "" #: ../build/NEWS:12434 ../build/NEWS:16377 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:12437 msgid "" "`bpo-28685 `__: Optimize list.sort() and " "sorted() by using type specialized comparisons when possible." msgstr "" #: ../build/NEWS:12440 ../build/NEWS:16380 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:12445 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:12450 msgid "" "`bpo-32690 `__: The locals() dictionary " "now displays in the lexical order that variables were defined. Previously, " "the order was reversed." msgstr "" #: ../build/NEWS:12453 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:12457 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:12462 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:12467 msgid "" "`bpo-31368 `__: Expose preadv and " "pwritev system calls in the os module. Patch by Pablo Galindo" msgstr "" #: ../build/NEWS:12470 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:12474 ../build/NEWS:16388 msgid "" "`bpo-26163 `__: Improved frozenset() " "hash to create more distinct hash values when faced with datasets containing " "many similar values." msgstr "" #: ../build/NEWS:12477 msgid "" "`bpo-32550 `__: Remove the " "STORE_ANNOTATION bytecode." msgstr "" #: ../build/NEWS:12479 msgid "" "`bpo-20104 `__: Expose posix_spawn as a " "low level API in the os module. (removed before 3.7.0rc1)" msgstr "" #: ../build/NEWS:12482 msgid "" "`bpo-24340 `__: Fixed estimation of the " "code stack size." msgstr "" #: ../build/NEWS:12484 msgid "" "`bpo-32436 `__: Implement :pep:`567` " "Context Variables." msgstr "" #: ../build/NEWS:12486 ../build/NEWS:16401 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:12491 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:12495 ../build/NEWS:16406 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:12499 msgid "" "`bpo-31179 `__: Make dict.copy() up to " "5.5 times faster." msgstr "" #: ../build/NEWS:12501 msgid "" "`bpo-31113 `__: Get rid of recursion in " "the compiler for normal control flow." msgstr "" #: ../build/NEWS:12506 msgid "" "`bpo-25988 `__: Deprecate exposing the " "contents of collections.abc in the regular collections module." msgstr "" #: ../build/NEWS:12509 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:12514 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:12520 msgid "" "`bpo-21417 `__: Added support for " "setting the compression level for zipfile.ZipFile." msgstr "" #: ../build/NEWS:12523 msgid "" "`bpo-32251 `__: Implement asyncio." "BufferedProtocol (provisional API)." msgstr "" #: ../build/NEWS:12525 msgid "" "`bpo-32513 `__: In dataclasses, allow " "easier overriding of dunder methods without specifying decorator parameters." msgstr "" #: ../build/NEWS:12528 msgid "" "`bpo-32660 `__: :mod:`termios` makes " "available ``FIONREAD``, ``FIONCLEX``, ``FIOCLEX``, ``FIOASYNC`` and " "``FIONBIO`` also under Solaris/derivatives." msgstr "" #: ../build/NEWS:12531 ../build/NEWS:16481 msgid "" "`bpo-27931 `__: Fix email address header " "parsing error when the username is an empty quoted string. Patch by Xiang " "Zhang." msgstr "" #: ../build/NEWS:12534 msgid "" "`bpo-32659 `__: Under Solaris and " "derivatives, :class:`os.stat_result` provides a st_fstype attribute." msgstr "" #: ../build/NEWS:12537 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:12541 msgid "" "`bpo-32391 `__: Implement :meth:`asyncio." "StreamWriter.wait_closed` and :meth:`asyncio.StreamWriter.is_closing` methods" msgstr "" #: ../build/NEWS:12544 msgid "" "`bpo-32643 `__: Make Task._step, Task." "_wakeup and Future._schedule_callbacks methods private." msgstr "" #: ../build/NEWS:12547 msgid "" "`bpo-32630 `__: Refactor decimal module " "to use contextvars to store decimal context." msgstr "" #: ../build/NEWS:12550 msgid "" "`bpo-32622 `__: Add :meth:`asyncio." "AbstractEventLoop.sendfile` method." msgstr "" #: ../build/NEWS:12552 ../build/NEWS:16484 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:12556 ../build/NEWS:16488 msgid "" "`bpo-32502 `__: uuid.uuid1 no longer " "raises an exception if a 64-bit hardware address is encountered." msgstr "" #: ../build/NEWS:12559 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:12564 msgid "" "`bpo-31801 `__: Add ``_ignore_`` to " "``Enum`` so temporary variables can be used during class construction " "without being turned into members." msgstr "" #: ../build/NEWS:12567 msgid "" "`bpo-32576 `__: Use queue.SimpleQueue() " "in places where it can be invoked from a weakref callback." msgstr "" #: ../build/NEWS:12570 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:12574 ../build/NEWS:16498 msgid "" "`bpo-32521 `__: The nis module is now " "compatible with new libnsl and headers location." msgstr "" #: ../build/NEWS:12577 msgid "" "`bpo-32467 `__: collections.abc." "ValuesView now inherits from collections.abc.Collection." msgstr "" #: ../build/NEWS:12580 ../build/NEWS:16501 msgid "" "`bpo-32473 `__: Improve ABCMeta." "_dump_registry() output readability" msgstr "" #: ../build/NEWS:12582 msgid "" "`bpo-32102 `__: New argument " "``capture_output`` for subprocess.run" msgstr "" #: ../build/NEWS:12584 ../build/NEWS:16503 msgid "" "`bpo-32521 `__: glibc has removed Sun " "RPC. Use replacement libtirpc headers and library in nis module." msgstr "" #: ../build/NEWS:12587 msgid "" "`bpo-32493 `__: UUID module fixes build " "for FreeBSD/OpenBSD" msgstr "" #: ../build/NEWS:12589 msgid "" "`bpo-32503 `__: Pickling with protocol 4 " "no longer creates too small frames." msgstr "" #: ../build/NEWS:12591 msgid "" "`bpo-29237 `__: Create enum for pstats " "sorting options" msgstr "" #: ../build/NEWS:12593 msgid "" "`bpo-32454 `__: Add close(fd) function " "to the socket module." msgstr "" #: ../build/NEWS:12595 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:12602 msgid "" "`bpo-32433 `__: The hmac module now has " "hmac.digest(), which provides an optimized HMAC digest." msgstr "" #: ../build/NEWS:12605 msgid "" "`bpo-28134 `__: Sockets now auto-detect " "family, type and protocol from file descriptor by default." msgstr "" #: ../build/NEWS:12608 msgid "" "`bpo-32404 `__: Fix bug where :meth:" "`datetime.datetime.fromtimestamp` did not call __new__ in :class:`datetime." "datetime` subclasses." msgstr "" #: ../build/NEWS:12611 msgid "" "`bpo-32403 `__: Improved speed of :class:" "`datetime.date` and :class:`datetime.datetime` alternate constructors." msgstr "" #: ../build/NEWS:12614 ../build/NEWS:16506 msgid "" "`bpo-32228 `__: Ensure that " "``truncate()`` preserves the file position (as reported by ``tell()``) after " "writes longer than the buffer size." msgstr "" #: ../build/NEWS:12617 msgid "" "`bpo-32410 `__: Implement ``loop." "sock_sendfile`` for asyncio event loop." msgstr "" #: ../build/NEWS:12619 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:12622 msgid "" "`bpo-32373 `__: Add socket.getblocking() " "method." msgstr "" #: ../build/NEWS:12624 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:12632 msgid "" "`bpo-32320 `__: collections.namedtuple() " "now supports default values." msgstr "" #: ../build/NEWS:12634 msgid "" "`bpo-29302 `__: Add contextlib." "AsyncExitStack. Patch by Alexander Mohr and Ilya Kulakov." msgstr "" #: ../build/NEWS:12637 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:12642 ../build/NEWS:16534 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:12651 msgid "" "`bpo-31853 `__: Use super().method " "instead of socket.method in SSLSocket. They were there most likely for " "legacy reasons." msgstr "" #: ../build/NEWS:12654 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:12659 msgid "" "`bpo-14976 `__: Add a queue.SimpleQueue " "class, an unbounded FIFO queue with a reentrant C implementation of put()." msgstr "" #: ../build/NEWS:12665 msgid "" "`bpo-32724 `__: Add references to some " "commands in the documentation of Pdb. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:12668 msgid "" "`bpo-32649 `__: Complete the C API " "documentation, profiling and tracing part with the newly added per-opcode " "events." msgstr "" #: ../build/NEWS:12671 ../build/NEWS:16562 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:12678 ../build/NEWS:16572 msgid "" "`bpo-32721 `__: Fix test_hashlib to not " "fail if the _md5 module is not built." msgstr "" #: ../build/NEWS:12680 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:12684 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:12690 msgid "" "`bpo-32602 `__: Add test certs and test " "for ECDSA cert and EC/RSA dual mode." msgstr "" #: ../build/NEWS:12692 msgid "" "`bpo-32549 `__: On Travis CI, Python now " "Compiles and uses a local copy of OpenSSL 1.1.0g for testing." msgstr "" #: ../build/NEWS:12698 ../build/NEWS:16584 msgid "" "`bpo-32635 `__: Fix segfault of the " "crypt module when libxcrypt is provided instead of libcrypt at the system." msgstr "" #: ../build/NEWS:12701 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:12705 msgid "" "`bpo-32593 `__: Drop support of FreeBSD " "9 and older." msgstr "" #: ../build/NEWS:12707 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:12713 msgid "" "`bpo-32588 `__: Create standalone " "_distutils_findvs module and add missing _queue module to installer." msgstr "" #: ../build/NEWS:12716 msgid "" "`bpo-29911 `__: Ensure separate Modify " "and Uninstall buttons are displayed." msgstr "" #: ../build/NEWS:12718 msgid "" "`bpo-32507 `__: Use app-local UCRT " "install rather than the proper update for old versions of Windows." msgstr "" #: ../build/NEWS:12724 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:12729 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:12735 msgid "" "`bpo-32681 `__: Fix uninitialized " "variable 'res' in the C implementation of os.dup2. Patch by Stéphane Wirtel" msgstr "" #: ../build/NEWS:12738 msgid "" "`bpo-10381 `__: Add C API access to the " "``datetime.timezone`` constructor and ``datetime.timzone.UTC`` singleton." msgstr "" #: ../build/NEWS:12743 msgid "Python 3.7.0 alpha 4" msgstr "" #: ../build/NEWS:12745 msgid "*Release date: 2018-01-08*" msgstr "" #: ../build/NEWS:12750 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:12755 msgid "" "`bpo-32226 `__: ``__class_getitem__`` is " "now an automatic class method." msgstr "" #: ../build/NEWS:12757 msgid "" "`bpo-32399 `__: Add AIX uuid library " "support for RFC4122 using uuid_create() in libc.a" msgstr "" #: ../build/NEWS:12760 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:12764 msgid "" "`bpo-32379 `__: Make MRO computation " "faster when a class inherits from a single base." msgstr "" #: ../build/NEWS:12767 msgid "" "`bpo-32259 `__: The error message of a " "TypeError raised when unpack non-iterable is now more specific." msgstr "" #: ../build/NEWS:12770 ../build/NEWS:16391 msgid "" "`bpo-27169 `__: The ``__debug__`` " "constant is now optimized out at compile time. This fixes also `bpo-22091 " "`__." msgstr "" #: ../build/NEWS:12773 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:12779 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:12784 ../build/NEWS:16061 msgid "" "`bpo-32282 `__: Fix an unnecessary ifdef " "in the include of VersionHelpers.h in socketmodule on Windows." msgstr "" #: ../build/NEWS:12787 msgid "" "`bpo-30579 `__: Implement TracebackType." "__new__ to allow Python-level creation of traceback objects, and make " "TracebackType.tb_next mutable." msgstr "" #: ../build/NEWS:12790 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:12794 msgid "" "`bpo-31506 `__: Improve the error " "message logic for object.__new__ and object.__init__. Patch by Sanyam " "Khurana." msgstr "" #: ../build/NEWS:12797 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:12802 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:12806 msgid "" "`bpo-29240 `__: Add a new UTF-8 mode: " "implementation of the :pep:`540`." msgstr "" #: ../build/NEWS:12808 msgid "" "`bpo-32226 `__: :pep:`560`: Add support " "for ``__mro_entries__`` and ``__class_getitem__``. Implemented by Ivan " "Levkivskyi." msgstr "" #: ../build/NEWS:12811 msgid "" "`bpo-32225 `__: :pep:`562`: Add support " "for module ``__getattr__`` and ``__dir__``. Implemented by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:12814 msgid "" "`bpo-31901 `__: The `atexit` module now " "has its callback stored per interpreter." msgstr "" #: ../build/NEWS:12817 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:12821 msgid "" "`bpo-29469 `__: Move constant folding " "from bytecode layer to AST layer. Original patch by Eugene Toder." msgstr "" #: ../build/NEWS:12827 msgid "" "`bpo-32506 `__: Now that dict is defined " "as keeping insertion order, drop OrderedDict and just use plain dict." msgstr "" #: ../build/NEWS:12830 msgid "" "`bpo-32279 `__: Add params to " "dataclasses.make_dataclasses(): init, repr, eq, order, hash, and frozen. " "Pass them through to dataclass()." msgstr "" #: ../build/NEWS:12833 msgid "" "`bpo-32278 `__: Make type information " "optional on dataclasses.make_dataclass(). If omitted, the string 'typing." "Any' is used." msgstr "" #: ../build/NEWS:12836 msgid "" "`bpo-32499 `__: Add dataclasses." "is_dataclass(obj), which returns True if obj is a dataclass or an instance " "of one." msgstr "" #: ../build/NEWS:12839 msgid "" "`bpo-32468 `__: Improve frame repr() to " "mention filename, code name and current line number." msgstr "" #: ../build/NEWS:12842 msgid "" "`bpo-23749 `__: asyncio: Implement loop." "start_tls()" msgstr "" #: ../build/NEWS:12844 msgid "" "`bpo-32441 `__: Return the new file " "descriptor (i.e., the second argument) from ``os.dup2``. Previously, " "``None`` was always returned." msgstr "" #: ../build/NEWS:12847 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:12850 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:12854 msgid "" "`bpo-32415 `__: asyncio: Add Task." "get_loop() and Future.get_loop()" msgstr "" #: ../build/NEWS:12856 ../build/NEWS:16509 msgid "" "`bpo-26133 `__: Don't unsubscribe " "signals in asyncio UNIX event loop on interpreter shutdown." msgstr "" #: ../build/NEWS:12859 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:12864 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:12869 msgid "" "`bpo-32356 `__: asyncio.transport." "resume_reading() and pause_reading() are now idempotent. New transport." "is_reading() method is added." msgstr "" #: ../build/NEWS:12872 msgid "" "`bpo-32355 `__: Optimize asyncio." "gather(); now up to 15% faster." msgstr "" #: ../build/NEWS:12874 msgid "" "`bpo-32351 `__: Use fastpath in asyncio." "sleep if delay<0 (2x boost)" msgstr "" #: ../build/NEWS:12876 msgid "" "`bpo-32348 `__: Optimize asyncio.Future " "schedule/add/remove callback. The optimization shows 3-6% performance " "improvements of async/await code." msgstr "" #: ../build/NEWS:12879 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:12884 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:12889 msgid "" "`bpo-32311 `__: Implement asyncio." "create_task(coro) shortcut" msgstr "" #: ../build/NEWS:12891 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:12895 ../build/NEWS:16515 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:12898 ../build/NEWS:16518 msgid "" "`bpo-32302 `__: Fix bdist_wininst of " "distutils for CRT v142: it binary compatible with CRT v140." msgstr "" #: ../build/NEWS:12901 msgid "" "`bpo-29711 `__: Fix ``stop_serving`` in " "asyncio proactor loop kill all listening servers" msgstr "" #: ../build/NEWS:12904 msgid "" "`bpo-32308 `__: :func:`re.sub()` now " "replaces empty matches adjacent to a previous non-empty match." msgstr "" #: ../build/NEWS:12907 msgid "" "`bpo-29970 `__: Abort asyncio " "SSLProtocol connection if handshake not complete within 10s" msgstr "" #: ../build/NEWS:12910 msgid "" "`bpo-32314 `__: Implement asyncio.run()." msgstr "" #: ../build/NEWS:12912 msgid "" "`bpo-17852 `__: Revert incorrect fix " "based on misunderstanding of _Py_PyAtExit() semantics." msgstr "" #: ../build/NEWS:12915 msgid "" "`bpo-32296 `__: Implement asyncio." "_get_running_loop() and get_event_loop() in C. This makes them 4x faster." msgstr "" #: ../build/NEWS:12918 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:12924 ../build/NEWS:16521 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:12928 ../build/NEWS:16525 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:12932 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:12936 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:12940 msgid "" "`bpo-32273 `__: Move asyncio.test_utils " "to test.test_asyncio." msgstr "" #: ../build/NEWS:12942 msgid "" "`bpo-32272 `__: Remove asyncio.async() " "function." msgstr "" #: ../build/NEWS:12944 msgid "" "`bpo-32269 `__: Add asyncio." "get_running_loop() function." msgstr "" #: ../build/NEWS:12946 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:12951 msgid "" "`bpo-32253 `__: Deprecate ``yield from " "lock``, ``await lock``, ``with (yield from lock)`` and ``with await lock`` " "for asyncio synchronization primitives." msgstr "" #: ../build/NEWS:12955 msgid "" "`bpo-22589 `__: Changed MIME type of ." "bmp from 'image/x-ms-bmp' to 'image/bmp'" msgstr "" #: ../build/NEWS:12957 msgid "" "`bpo-32193 `__: Convert asyncio to use " "*async/await* syntax. Old styled ``yield from`` is still supported too." msgstr "" #: ../build/NEWS:12960 msgid "" "`bpo-32206 `__: Add support to run " "modules with pdb" msgstr "" #: ../build/NEWS:12962 msgid "" "`bpo-32227 `__: ``functools." "singledispatch`` now supports registering implementations using type " "annotations." msgstr "" #: ../build/NEWS:12965 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:12971 ../build/NEWS:16529 msgid "" "`bpo-32199 `__: The getnode() ip getter " "now uses 'ip link' instead of 'ip link list'." msgstr "" #: ../build/NEWS:12974 msgid "" "`bpo-32143 `__: os.statvfs() includes " "the f_fsid field from statvfs(2)" msgstr "" #: ../build/NEWS:12976 msgid "" "`bpo-26439 `__: Fix ctypes.util." "find_library() for AIX by implementing ctypes._aix.find_library() Patch by: " "Michael Felt" msgstr "" #: ../build/NEWS:12979 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:12983 ../build/NEWS:16532 msgid "" "`bpo-27456 `__: Ensure TCP_NODELAY is " "set on Linux. Tests by Victor Stinner." msgstr "" #: ../build/NEWS:12985 msgid "" "`bpo-31778 `__: ast.literal_eval() is " "now more strict. Addition and subtraction of arbitrary numbers no longer " "allowed." msgstr "" #: ../build/NEWS:12988 ../build/NEWS:16543 msgid "" "`bpo-31802 `__: Importing native path " "module (``posixpath``, ``ntpath``) now works even if the ``os`` module still " "is not imported." msgstr "" #: ../build/NEWS:12991 msgid "" "`bpo-30241 `__: Add contextlib." "AbstractAsyncContextManager. Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:12994 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:12999 msgid "" "`bpo-15216 `__: ``TextIOWrapper." "reconfigure()`` supports changing *encoding*, *errors*, and *newline*." msgstr "" #: ../build/NEWS:13005 msgid "" "`bpo-32418 `__: Add get_loop() method to " "Server and AbstractServer classes." msgstr "" #: ../build/NEWS:13010 ../build/NEWS:16574 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:13013 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:13019 msgid "" "`bpo-19764 `__: Implement support for " "`subprocess.Popen(close_fds=True)` on Windows. Patch by Segev Finer." msgstr "" #: ../build/NEWS:13025 ../build/NEWS:16655 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:13032 msgid "" "`bpo-32030 `__: Py_Initialize() doesn't " "reset the memory allocators to default if the ``PYTHONMALLOC`` environment " "variable is not set." msgstr "" #: ../build/NEWS:13035 ../build/NEWS:16665 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:13039 msgid "" "`bpo-32264 `__: Moved the pygetopt.h " "header into internal/, since it has no public APIs." msgstr "" #: ../build/NEWS:13042 msgid "" "`bpo-32241 `__: :c:func:" "`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the ``const " "wchar *`` arguments instead of ``wchar *``." msgstr "" #: ../build/NEWS:13047 msgid "Python 3.7.0 alpha 3" msgstr "" #: ../build/NEWS:13049 ../build/NEWS:16682 msgid "*Release date: 2017-12-05*" msgstr "" #: ../build/NEWS:13054 ../build/NEWS:16687 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:13060 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:13064 ../build/NEWS:16410 msgid "" "`bpo-32137 `__: The repr of deeply " "nested dict now raises a RecursionError instead of crashing due to a stack " "overflow." msgstr "" #: ../build/NEWS:13067 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:13072 msgid "" "`bpo-32043 `__: Add a new \"developer " "mode\": new \"-X dev\" command line option to enable debug checks at runtime." msgstr "" #: ../build/NEWS:13075 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:13080 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:13085 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:13090 ../build/NEWS:16693 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:13098 ../build/NEWS:16701 msgid "" "`bpo-30696 `__: Fix the interactive " "interpreter looping endlessly when no memory." msgstr "" #: ../build/NEWS:13101 ../build/NEWS:16704 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:13106 ../build/NEWS:16712 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:13110 msgid "" "`bpo-31845 `__: Environment variables " "are once more read correctly at interpreter startup." msgstr "" #: ../build/NEWS:13113 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:13117 ../build/NEWS:16716 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:13120 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:13128 ../build/NEWS:16719 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:13132 ../build/NEWS:16723 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:13137 msgid "" "`bpo-31781 `__: Prevent crashes when " "calling methods of an uninitialized ``zipimport.zipimporter`` object. Patch " "by Oren Milman." msgstr "" #: ../build/NEWS:13140 msgid "" "`bpo-30399 `__: Standard repr() of " "BaseException with a single argument no longer contains redundant trailing " "comma." msgstr "" #: ../build/NEWS:13143 ../build/NEWS:16731 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:13146 ../build/NEWS:16776 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:13152 ../build/NEWS:16782 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:13156 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:13160 ../build/NEWS:16786 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:13164 ../build/NEWS:16790 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:13168 msgid "" "`bpo-321010 `__: Add :attr:`sys.flags." "dev_mode` flag" msgstr "" #: ../build/NEWS:13170 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:13176 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:13180 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:13186 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:13190 ../build/NEWS:16794 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:13194 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:13198 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:13205 ../build/NEWS:16798 msgid "" "`bpo-31325 `__: Fix wrong usage of :func:" "`collections.namedtuple` in the :meth:`RobotFileParser.parse() ` method. Initial patch by Robin Wellner." msgstr "" #: ../build/NEWS:13209 ../build/NEWS:16802 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:13213 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:13218 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:13221 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:13225 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:13231 ../build/NEWS:16806 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:13235 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:13240 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:13244 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:13248 msgid "" "`bpo-25054 `__: Added support of " "splitting on a pattern that could match an empty string." msgstr "" #: ../build/NEWS:13251 ../build/NEWS:16810 ../build/NEWS:21527 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:13256 msgid "" "`bpo-32069 `__: Drop legacy SSL " "transport from asyncio, ssl.MemoryBIO is always used anyway." msgstr "" #: ../build/NEWS:13259 msgid "" "`bpo-32066 `__: asyncio: Support pathlib." "Path in create_unix_connection; sock arg should be optional" msgstr "" #: ../build/NEWS:13262 msgid "" "`bpo-32046 `__: Updates 2to3 to convert " "from operator.isCallable(obj) to callable(obj). Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:13265 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:13268 msgid "" "`bpo-32025 `__: Add time.thread_time() " "and time.thread_time_ns()" msgstr "" #: ../build/NEWS:13270 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:13275 ../build/NEWS:16815 msgid "" "`bpo-32034 `__: Make asyncio." "IncompleteReadError and LimitOverrunError pickleable." msgstr "" #: ../build/NEWS:13278 ../build/NEWS:16818 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:13281 ../build/NEWS:16821 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:13284 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:13289 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:13292 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:13298 msgid "" "`bpo-21862 `__: cProfile command line " "now accepts `-m module_name` as an alternative to script path. Patch by " "Sanyam Khurana." msgstr "" #: ../build/NEWS:13301 ../build/NEWS:16824 msgid "" "`bpo-31970 `__: Reduce performance " "overhead of asyncio debug mode." msgstr "" #: ../build/NEWS:13303 msgid "" "`bpo-31843 `__: *database* argument of " "sqlite3.connect() now accepts a :term:`path-like object`, instead of just a " "string." msgstr "" #: ../build/NEWS:13306 msgid "" "`bpo-31945 `__: Add Configurable " "*blocksize* to ``HTTPConnection`` and ``HTTPSConnection`` for improved " "upload throughput. Patch by Nir Soffer." msgstr "" #: ../build/NEWS:13309 msgid "" "`bpo-31943 `__: Add a ``cancelled()`` " "method to :class:`asyncio.Handle`. Patch by Marat Sharafutdinov." msgstr "" #: ../build/NEWS:13312 ../build/NEWS:16826 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:13316 ../build/NEWS:16830 msgid "" "`bpo-30057 `__: Fix potential missed " "signal in signal.signal()." msgstr "" #: ../build/NEWS:13318 ../build/NEWS:16832 msgid "" "`bpo-31933 `__: Fix Blake2 params " "leaf_size and node_offset on big endian platforms. Patch by Jack O'Connor." msgstr "" #: ../build/NEWS:13321 msgid "" "`bpo-21423 `__: Add an initializer " "argument to {Process,Thread}PoolExecutor" msgstr "" #: ../build/NEWS:13323 ../build/NEWS:16835 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:13327 ../build/NEWS:16839 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:13332 msgid "" "`bpo-31917 `__: Add 3 new clock " "identifiers: :data:`time.CLOCK_BOOTTIME`, :data:`time.CLOCK_PROF` and :data:" "`time.CLOCK_UPTIME`." msgstr "" #: ../build/NEWS:13335 ../build/NEWS:16844 msgid "" "`bpo-31897 `__: plistlib now catches " "more errors when read binary plists and raises InvalidFileException instead " "of unexpected exceptions." msgstr "" #: ../build/NEWS:13338 ../build/NEWS:16847 msgid "" "`bpo-25720 `__: Fix the method for " "checking pad state of curses WINDOW. Patch by Masayuki Yamamoto." msgstr "" #: ../build/NEWS:13341 ../build/NEWS:16850 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:13344 ../build/NEWS:16853 msgid "" "`bpo-31891 `__: Fixed building the " "curses module on NetBSD." msgstr "" #: ../build/NEWS:13346 msgid "" "`bpo-31884 `__: added required constants " "to subprocess module for setting priority on windows" msgstr "" #: ../build/NEWS:13349 msgid "" "`bpo-28281 `__: Remove year (1-9999) " "limits on the Calendar.weekday() function. Patch by Mark Gollahon." msgstr "" #: ../build/NEWS:13352 msgid "" "`bpo-31702 `__: crypt.mksalt() now " "allows to specify the number of rounds for SHA-256 and SHA-512 hashing." msgstr "" #: ../build/NEWS:13355 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:13359 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:13364 msgid "" "`bpo-31854 `__: Add ``mmap." "ACCESS_DEFAULT`` constant." msgstr "" #: ../build/NEWS:13366 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:13369 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:13376 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:13379 ../build/NEWS:16855 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:13383 msgid "" "`bpo-31653 `__: Don't release the GIL if " "we can acquire a multiprocessing semaphore immediately." msgstr "" #: ../build/NEWS:13386 ../build/NEWS:16859 msgid "" "`bpo-28326 `__: Fix multiprocessing." "Process when stdout and/or stderr is closed or None." msgstr "" #: ../build/NEWS:13389 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:13393 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:13397 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:13401 msgid "" "`bpo-31819 `__: Add AbstractEventLoop." "sock_recv_into()." msgstr "" #: ../build/NEWS:13403 ../build/NEWS:16181 ../build/NEWS:16862 msgid "" "`bpo-31457 `__: If nested log adapters " "are used, the inner ``process()`` methods are no longer omitted." msgstr "" #: ../build/NEWS:13406 ../build/NEWS:16865 msgid "" "`bpo-31457 `__: The ``manager`` property " "on LoggerAdapter objects is now properly settable." msgstr "" #: ../build/NEWS:13409 ../build/NEWS:16868 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:13415 msgid "" "`bpo-31803 `__: time.clock() and time." "get_clock_info('clock') now emit a DeprecationWarning warning." msgstr "" #: ../build/NEWS:13418 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:13422 ../build/NEWS:16874 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:13426 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:13429 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:13435 msgid "" "`bpo-30143 `__: 2to3 now generates a " "code that uses abstract collection classes from collections.abc rather than " "collections." msgstr "" #: ../build/NEWS:13438 ../build/NEWS:16880 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:13441 ../build/NEWS:16887 msgid "" "`bpo-31764 `__: Prevent a crash in " "``sqlite3.Cursor.close()`` in case the ``Cursor`` object is uninitialized. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:13444 ../build/NEWS:16890 msgid "" "`bpo-31752 `__: Fix possible crash in " "timedelta constructor called with custom integers." msgstr "" #: ../build/NEWS:13447 ../build/NEWS:16899 msgid "" "`bpo-31620 `__: an empty asyncio.Queue " "now doesn't leak memory when queue.get pollers timeout" msgstr "" #: ../build/NEWS:13450 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:13453 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:13457 msgid "" "`bpo-31664 `__: Added support for the " "Blowfish hashing in the crypt module." msgstr "" #: ../build/NEWS:13459 ../build/NEWS:16902 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:13463 ../build/NEWS:16913 msgid "" "`bpo-15037 `__: Added a workaround for " "getkey() in curses for ncurses 5.7 and earlier." msgstr "" #: ../build/NEWS:13466 msgid "" "`bpo-31307 `__: Allow use of bytes " "objects for arguments to :meth:`configparser.ConfigParser.read`. Patch by " "Vincent Michel." msgstr "" #: ../build/NEWS:13469 ../build/NEWS:16933 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:13473 ../build/NEWS:16937 msgid "" "`bpo-31310 `__: multiprocessing's " "semaphore tracker should be launched again if crashed." msgstr "" #: ../build/NEWS:13476 ../build/NEWS:16940 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:13479 msgid "" "`bpo-31245 `__: Added support for " "AF_UNIX socket in asyncio `create_datagram_endpoint`." msgstr "" #: ../build/NEWS:13482 msgid "" "`bpo-30553 `__: Add HTTP/2 status code " "421 (Misdirected Request) to :class:`http.HTTPStatus`. Patch by Vitor " "Pereira." msgstr "" #: ../build/NEWS:13488 ../build/NEWS:16946 msgid "" "`bpo-32105 `__: Added asyncio." "BaseEventLoop.connect_accepted_socket versionadded marker." msgstr "" #: ../build/NEWS:13494 ../build/NEWS:16959 msgid "" "`bpo-31380 `__: Skip test_httpservers " "test_undecodable_file on macOS: fails on APFS." msgstr "" #: ../build/NEWS:13497 ../build/NEWS:16962 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:13501 msgid "" "`bpo-32138 `__: Skip on Android " "test_faulthandler tests that raise SIGSEGV and remove the test.support." "requires_android_level decorator." msgstr "" #: ../build/NEWS:13504 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:13507 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:13511 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:13514 ../build/NEWS:16966 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:13521 msgid "" "`bpo-28538 `__: Revert the previous " "changes, the if_nameindex structure is defined by Unified Headers." msgstr "" #: ../build/NEWS:13524 msgid "" "`bpo-28762 `__: Revert the last commit, " "the F_LOCK macro is defined by Android Unified Headers." msgstr "" #: ../build/NEWS:13527 msgid "" "`bpo-29040 `__: Support building Android " "with Unified Headers. The first NDK release to support Unified Headers is " "android-ndk-r14." msgstr "" #: ../build/NEWS:13530 ../build/NEWS:16976 msgid "" "`bpo-32059 `__: ``detect_modules()`` in " "``setup.py`` now also searches the sysroot paths when cross-compiling." msgstr "" #: ../build/NEWS:13533 ../build/NEWS:16979 msgid "" "`bpo-31957 `__: Fixes Windows SDK " "version detection when building for Windows." msgstr "" #: ../build/NEWS:13535 ../build/NEWS:16981 msgid "" "`bpo-31609 `__: Fixes quotes in PCbuild/" "clean.bat" msgstr "" #: ../build/NEWS:13537 ../build/NEWS:16983 msgid "" "`bpo-31934 `__: Abort the build when " "building out of a not clean source tree." msgstr "" #: ../build/NEWS:13539 ../build/NEWS:16985 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:13543 ../build/NEWS:16989 msgid "" "`bpo-28791 `__: Update Windows builds to " "use SQLite 3.21.0." msgstr "" #: ../build/NEWS:13545 ../build/NEWS:16991 msgid "" "`bpo-28791 `__: Update OS X installer to " "use SQLite 3.21.0." msgstr "" #: ../build/NEWS:13547 msgid "" "`bpo-28643 `__: Record profile-opt build " "progress with stamp files." msgstr "" #: ../build/NEWS:13549 msgid "" "`bpo-31866 `__: Finish removing support " "for AtheOS." msgstr "" #: ../build/NEWS:13554 ../build/NEWS:17001 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:13558 ../build/NEWS:17005 msgid "" "`bpo-31944 `__: Fixes Modify button in " "Apps and Features dialog." msgstr "" #: ../build/NEWS:13560 msgid "" "`bpo-20486 `__: Implement the ``Database." "Close()`` method to help closing MSI database objects." msgstr "" #: ../build/NEWS:13563 msgid "" "`bpo-31857 `__: Make the behavior of " "USE_STACKCHECK deterministic in a multi-threaded environment." msgstr "" #: ../build/NEWS:13569 ../build/NEWS:17010 msgid "" "`bpo-31392 `__: Update macOS installer " "to use OpenSSL 1.0.2m" msgstr "" #: ../build/NEWS:13574 ../build/NEWS:17015 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:13580 ../build/NEWS:17021 msgid "" "`bpo-32164 `__: Delete unused file " "idlelib/tabbedpages.py. Use of TabbedPageSet in configdialog was replaced by " "ttk.Notebook." msgstr "" #: ../build/NEWS:13583 ../build/NEWS:17024 msgid "" "`bpo-32100 `__: IDLE: Fix old and new " "bugs in pathbrowser; improve tests. Patch mostly by Cheryl Sabella." msgstr "" #: ../build/NEWS:13586 ../build/NEWS:17027 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:13591 ../build/NEWS:17032 msgid "" "`bpo-31860 `__: The font sample in the " "IDLE configuration dialog is now editable. Changes persist while IDLE " "remains open" msgstr "" #: ../build/NEWS:13594 ../build/NEWS:17035 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:13598 ../build/NEWS:17039 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:13602 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:13613 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:13618 ../build/NEWS:17078 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:13625 ../build/NEWS:17085 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:13629 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:13632 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:13637 msgid "" "`bpo-23699 `__: Add " "Py_RETURN_RICHCOMPARE macro to reduce boilerplate code in rich comparison " "functions." msgstr "" #: ../build/NEWS:13640 ../build/NEWS:17092 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:13647 msgid "Python 3.7.0 alpha 2" msgstr "" #: ../build/NEWS:13649 msgid "*Release date: 2017-10-16*" msgstr "" #: ../build/NEWS:13654 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:13660 ../build/NEWS:16728 msgid "" "`bpo-31642 `__: Restored blocking \"from " "package import module\" by setting sys.modules[\"package.module\"] to None." msgstr "" #: ../build/NEWS:13663 msgid "" "`bpo-31708 `__: Allow use of " "asynchronous generator expressions in synchronous functions." msgstr "" #: ../build/NEWS:13666 msgid "" "`bpo-31709 `__: Drop support of " "asynchronous __aiter__." msgstr "" #: ../build/NEWS:13668 msgid "" "`bpo-30404 `__: The -u option now makes " "the stdout and stderr streams unbuffered rather than line-buffered." msgstr "" #: ../build/NEWS:13671 ../build/NEWS:16734 msgid "" "`bpo-31619 `__: Fixed a ValueError when " "convert a string with large number of underscores to integer with binary " "base." msgstr "" #: ../build/NEWS:13674 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:13677 ../build/NEWS:16737 msgid "" "`bpo-31592 `__: Fixed an assertion " "failure in Python parser in case of a bad `unicodedata.normalize()`. Patch " "by Oren Milman." msgstr "" #: ../build/NEWS:13680 ../build/NEWS:16740 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:13684 msgid "" "`bpo-31574 `__: Importlib was " "instrumented with two dtrace probes to profile import timing." msgstr "" #: ../build/NEWS:13687 ../build/NEWS:16744 msgid "" "`bpo-31566 `__: Fix an assertion failure " "in `_warnings.warn()` in case of a bad ``__name__`` global. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:13690 msgid "" "`bpo-31506 `__: Improved the error " "message logic for object.__new__ and object.__init__." msgstr "" #: ../build/NEWS:13693 ../build/NEWS:16747 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:13697 ../build/NEWS:16751 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:13701 ../build/NEWS:16759 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:13704 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:13707 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:13711 msgid "" "`bpo-31410 `__: Optimized calling " "wrapper and classmethod descriptors." msgstr "" #: ../build/NEWS:13713 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:13719 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:13722 ../build/NEWS:16762 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:13725 ../build/NEWS:16765 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:13728 ../build/NEWS:16768 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:13732 ../build/NEWS:16772 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:13736 msgid "" "`bpo-30406 `__: Make ``async`` and " "``await`` proper keywords, as specified in :pep:`492`." msgstr "" #: ../build/NEWS:13742 ../build/NEWS:16878 msgid "" "`bpo-30058 `__: Fixed buffer overflow in " "select.kqueue.control()." msgstr "" #: ../build/NEWS:13744 ../build/NEWS:16883 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:13748 ../build/NEWS:16893 msgid "" "`bpo-31701 `__: On Windows, faulthandler." "enable() now ignores MSC and COM exceptions." msgstr "" #: ../build/NEWS:13751 ../build/NEWS:16896 msgid "" "`bpo-31728 `__: Prevent crashes in " "`_elementtree` due to unsafe cleanup of `Element.text` and `Element.tail`. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:13754 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:13758 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:13762 ../build/NEWS:16906 msgid "" "`bpo-31675 `__: Fixed memory leaks in " "Tkinter's methods splitlist() and split() when pass a string larger than 2 " "GiB." msgstr "" #: ../build/NEWS:13765 ../build/NEWS:16909 msgid "" "`bpo-31673 `__: Fixed typo in the name " "of Tkinter's method adderrorinfo()." msgstr "" #: ../build/NEWS:13767 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:13772 ../build/NEWS:16911 msgid "" "`bpo-30806 `__: Fix the string " "representation of a netrc object." msgstr "" #: ../build/NEWS:13774 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:13778 ../build/NEWS:16916 msgid "" "`bpo-25351 `__: Avoid venv activate " "failures with undefined variables" msgstr "" #: ../build/NEWS:13780 msgid "" "`bpo-20519 `__: Avoid ctypes use (if " "possible) and improve import time for uuid." msgstr "" #: ../build/NEWS:13783 msgid "" "`bpo-28293 `__: The regular expression " "cache is no longer completely dumped when it is full." msgstr "" #: ../build/NEWS:13786 msgid "" "`bpo-31596 `__: Added " "pthread_getcpuclockid() to the time module" msgstr "" #: ../build/NEWS:13788 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:13791 ../build/NEWS:16922 msgid "" "`bpo-30347 `__: Stop crashes when " "concurrently iterate over itertools.groupby() iterators." msgstr "" #: ../build/NEWS:13794 msgid "" "`bpo-30346 `__: An iterator produced by " "itertools.groupby() iterator now becomes exhausted after advancing the " "groupby iterator." msgstr "" #: ../build/NEWS:13797 msgid "" "`bpo-31556 `__: Cancel asyncio.wait_for " "future faster if timeout <= 0" msgstr "" #: ../build/NEWS:13799 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:13804 ../build/NEWS:16925 msgid "" "`bpo-31516 `__: ``threading." "current_thread()`` should not return a dummy thread at shutdown." msgstr "" #: ../build/NEWS:13807 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:13810 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:13816 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:13821 ../build/NEWS:16928 msgid "" "`bpo-31351 `__: python -m ensurepip now " "exits with non-zero exit code if pip bootstrapping has failed." msgstr "" #: ../build/NEWS:13824 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:13831 ../build/NEWS:16949 msgid "" "`bpo-31537 `__: Fix incorrect usage of " "``get_history_length`` in readline documentation example code. Patch by Brad " "Smith." msgstr "" #: ../build/NEWS:13834 ../build/NEWS:16952 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:13841 msgid "" "`bpo-31696 `__: Improve compiler version " "information in :data:`sys.version` when Python is built with Clang." msgstr "" #: ../build/NEWS:13844 msgid "" "`bpo-31625 `__: Stop using ranlib on " "static libraries. Instead, we assume ar supports the 's' flag." msgstr "" #: ../build/NEWS:13847 msgid "" "`bpo-31624 `__: Remove support for BSD/" "OS." msgstr "" #: ../build/NEWS:13849 ../build/NEWS:16993 msgid "" "`bpo-22140 `__: Prevent double " "substitution of prefix in python-config.sh." msgstr "" #: ../build/NEWS:13851 msgid "" "`bpo-31569 `__: Correct PCBuild/ case to " "PCbuild/ in build scripts and documentation." msgstr "" #: ../build/NEWS:13854 ../build/NEWS:16995 msgid "" "`bpo-31536 `__: Avoid wholesale rebuild " "after `make regen-all` if nothing changed." msgstr "" #: ../build/NEWS:13860 ../build/NEWS:17051 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:13866 ../build/NEWS:17057 msgid "" "`bpo-31649 `__: IDLE - Make _htest, " "_utest parameters keyword only." msgstr "" #: ../build/NEWS:13868 ../build/NEWS:17059 msgid "" "`bpo-31559 `__: Remove test order " "dependence in idle_test.test_browser." msgstr "" #: ../build/NEWS:13870 ../build/NEWS:17061 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:13878 ../build/NEWS:17069 msgid "" "`bpo-31500 `__: Default fonts now are " "scaled on HiDPI displays." msgstr "" #: ../build/NEWS:13880 ../build/NEWS:17071 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:13887 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:13891 ../build/NEWS:17089 msgid "" "`bpo-31532 `__: Fix memory corruption " "due to allocator mix in getpath.c between Py_GetPath() and Py_SetPath()" msgstr "" #: ../build/NEWS:13894 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:13902 msgid "Python 3.7.0 alpha 1" msgstr "" #: ../build/NEWS:13904 msgid "*Release date: 2017-09-19*" msgstr "" #: ../build/NEWS:13909 ../build/NEWS:17127 msgid "" "`bpo-29781 `__: SSLObject.version() now " "correctly returns None when handshake over BIO has not been performed yet." msgstr "" #: ../build/NEWS:13912 msgid "" "`bpo-29505 `__: Add fuzz tests for " "float(str), int(str), unicode(str); for oss-fuzz." msgstr "" #: ../build/NEWS:13915 ../build/NEWS:17130 ../build/NEWS:21515 msgid "" "`bpo-30947 `__: Upgrade libexpat " "embedded copy from version 2.2.1 to 2.2.3 to get security fixes." msgstr "" #: ../build/NEWS:13918 ../build/NEWS:17590 ../build/NEWS:21557 msgid "" "`bpo-30730 `__: Prevent environment " "variables injection in subprocess on Windows. Prevent passing other " "environment variables and command arguments." msgstr "" #: ../build/NEWS:13922 ../build/NEWS:17594 ../build/NEWS:21561 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:13931 ../build/NEWS:17603 ../build/NEWS:21570 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:13936 ../build/NEWS:17692 ../build/NEWS:21575 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:13943 ../build/NEWS:16755 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:13947 ../build/NEWS:17136 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:13950 ../build/NEWS:17139 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:13953 ../build/NEWS:17142 msgid "" "`bpo-31416 `__: Fix assertion failures " "in case of a bad warnings.filters or warnings.defaultaction. Patch by Oren " "Milman." msgstr "" #: ../build/NEWS:13956 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:13961 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:13966 ../build/NEWS:17145 msgid "" "`bpo-31411 `__: Raise a TypeError " "instead of SystemError in case warnings.onceregistry is not a dictionary. " "Patch by Oren Milman." msgstr "" #: ../build/NEWS:13969 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:13975 ../build/NEWS:17148 msgid "" "`bpo-31373 `__: Fix several possible " "instances of undefined behavior due to floating-point demotions." msgstr "" #: ../build/NEWS:13978 ../build/NEWS:17151 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:13982 msgid "" "`bpo-30860 `__: Consolidate CPython's " "global runtime state under a single struct. This improves discoverability " "of the runtime state." msgstr "" #: ../build/NEWS:13985 msgid "" "`bpo-31347 `__: Fix possible undefined " "behavior in _PyObject_FastCall_Prepend." msgstr "" #: ../build/NEWS:13987 ../build/NEWS:17155 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:13990 ../build/NEWS:17158 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:13994 ../build/NEWS:17162 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:13998 ../build/NEWS:17166 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:14001 ../build/NEWS:17169 msgid "" "`bpo-30721 `__: ``print`` now shows " "correct usage hint for using Python 2 redirection syntax. Patch by Sanyam " "Khurana." msgstr "" #: ../build/NEWS:14004 ../build/NEWS:17172 msgid "" "`bpo-31070 `__: Fix a race condition in " "importlib _get_module_lock()." msgstr "" #: ../build/NEWS:14006 msgid "" "`bpo-30747 `__: Add a non-dummy " "implementation of _Py_atomic_store and _Py_atomic_load on MSVC." msgstr "" #: ../build/NEWS:14009 ../build/NEWS:17174 ../build/NEWS:21521 msgid "" "`bpo-31095 `__: Fix potential crash " "during GC caused by ``tp_dealloc`` which doesn't call " "``PyObject_GC_UnTrack()``." msgstr "" #: ../build/NEWS:14012 ../build/NEWS:17177 msgid "" "`bpo-31071 `__: Avoid masking original " "TypeError in call with * unpacking when other arguments are passed." msgstr "" #: ../build/NEWS:14015 ../build/NEWS:17180 msgid "" "`bpo-30978 `__: str.format_map() now " "passes key lookup exceptions through. Previously any exception was replaced " "with a KeyError exception." msgstr "" #: ../build/NEWS:14018 ../build/NEWS:17183 msgid "" "`bpo-30808 `__: Use _Py_atomic API for " "concurrency-sensitive signal state." msgstr "" #: ../build/NEWS:14020 ../build/NEWS:17185 ../build/NEWS:21582 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:14024 ../build/NEWS:17189 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:14029 ../build/NEWS:17194 ../build/NEWS:21586 msgid "" "`bpo-30765 `__: Avoid blocking in " "pthread_mutex_lock() when PyThread_acquire_lock() is asked not to block." msgstr "" #: ../build/NEWS:14032 ../build/NEWS:17197 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:14035 ../build/NEWS:17200 msgid "" "`bpo-30814 `__: Fixed a race condition " "when import a submodule from a package." msgstr "" #: ../build/NEWS:14037 msgid "" "`bpo-30736 `__: The internal unicodedata " "database has been upgraded to Unicode 10.0." msgstr "" #: ../build/NEWS:14040 msgid "" "`bpo-30604 `__: Move co_extra_freefuncs " "from per-thread to per-interpreter to avoid crashes." msgstr "" #: ../build/NEWS:14043 ../build/NEWS:17202 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:14046 ../build/NEWS:17617 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:14049 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:14053 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:14058 msgid "" "`bpo-30486 `__: Allows setting cell " "values for __closure__. Patch by Lisa Roach." msgstr "" #: ../build/NEWS:14061 msgid "" "`bpo-30537 `__: itertools.islice now " "accepts integer-like objects (having an __index__ method) as start, stop, " "and slice arguments" msgstr "" #: ../build/NEWS:14064 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:14068 ../build/NEWS:17622 msgid "" "`bpo-29104 `__: Fixed parsing " "backslashes in f-strings." msgstr "" #: ../build/NEWS:14070 ../build/NEWS:17624 ../build/NEWS:21589 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:14074 ../build/NEWS:17628 ../build/NEWS:21593 msgid "" "`bpo-25794 `__: Fixed type.__setattr__() " "and type.__delattr__() for non-interned attribute names. Based on patch by " "Eryk Sun." msgstr "" #: ../build/NEWS:14077 ../build/NEWS:17631 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:14081 msgid "" "`bpo-28974 `__: ``object.__format__(x, " "'')`` is now equivalent to ``str(x)`` rather than ``format(str(self), '')``." msgstr "" #: ../build/NEWS:14084 msgid "" "`bpo-30024 `__: Circular imports " "involving absolute imports with binding a submodule to a name are now " "supported." msgstr "" #: ../build/NEWS:14087 ../build/NEWS:17635 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:14091 msgid "" "`bpo-29839 `__: len() now raises " "ValueError rather than OverflowError if __len__() returned a large negative " "integer." msgstr "" #: ../build/NEWS:14094 msgid "" "`bpo-11913 `__: README.rst is now " "included in the list of distutils standard READMEs and therefore included in " "source distributions." msgstr "" #: ../build/NEWS:14097 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:14101 ../build/NEWS:17639 msgid "" "`bpo-29949 `__: Fix memory usage " "regression of set and frozenset object." msgstr "" #: ../build/NEWS:14103 ../build/NEWS:17641 ../build/NEWS:21596 msgid "" "`bpo-29935 `__: Fixed error messages in " "the index() method of tuple, list and deque when pass indices of wrong type." msgstr "" #: ../build/NEWS:14106 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:14111 msgid "" "`bpo-24821 `__: Fixed the slowing down " "to 25 times in the searching of some unlucky Unicode characters." msgstr "" #: ../build/NEWS:14114 msgid "" "`bpo-29102 `__: Add a unique ID to " "PyInterpreterState. This makes it easier to identify each subinterpreter." msgstr "" #: ../build/NEWS:14117 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:14121 ../build/NEWS:17644 msgid "" "`bpo-29859 `__: Show correct error " "messages when any of the pthread_* calls in thread_pthread.h fails." msgstr "" #: ../build/NEWS:14124 msgid "" "`bpo-29849 `__: Fix a memory leak when " "an ImportError is raised during from import." msgstr "" #: ../build/NEWS:14127 ../build/NEWS:17652 msgid "" "`bpo-28856 `__: Fix an oversight that %b " "format for bytes should support objects follow the buffer protocol." msgstr "" #: ../build/NEWS:14130 ../build/NEWS:17969 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:14138 msgid "" "`bpo-29568 `__: Escaped percent \"%%\" " "in the format string for classic string formatting no longer allows any " "characters between two percents." msgstr "" #: ../build/NEWS:14141 ../build/NEWS:17655 msgid "" "`bpo-29714 `__: Fix a regression that " "bytes format may fail when containing zero bytes inside." msgstr "" #: ../build/NEWS:14144 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:14148 ../build/NEWS:17993 msgid "" "`bpo-28893 `__: Set correct __cause__ " "for errors about invalid awaitables returned from __aiter__ and __anext__." msgstr "" #: ../build/NEWS:14151 ../build/NEWS:17647 ../build/NEWS:21599 msgid "" "`bpo-28876 `__: ``bool(range)`` works " "even if ``len(range)`` raises :exc:`OverflowError`." msgstr "" #: ../build/NEWS:14154 ../build/NEWS:17996 msgid "" "`bpo-29683 `__: Fixes to memory " "allocation in _PyCode_SetExtra. Patch by Brian Coleman." msgstr "" #: ../build/NEWS:14157 ../build/NEWS:17999 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:14161 ../build/NEWS:18003 ../build/NEWS:21610 msgid "" "`bpo-28598 `__: Support __rmod__ for " "subclasses of str being called before str.__mod__. Patch by Martijn Pieters." msgstr "" #: ../build/NEWS:14164 ../build/NEWS:18006 msgid "" "`bpo-29607 `__: Fix stack_effect " "computation for CALL_FUNCTION_EX. Patch by Matthieu Dartiailh." msgstr "" #: ../build/NEWS:14167 ../build/NEWS:18009 ../build/NEWS:21613 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:14171 ../build/NEWS:18013 ../build/NEWS:21617 msgid "" "`bpo-29347 `__: Fixed possibly " "dereferencing undefined pointers when creating weakref objects." msgstr "" #: ../build/NEWS:14174 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:14179 ../build/NEWS:18016 ../build/NEWS:21620 msgid "" "`bpo-29438 `__: Fixed use-after-free " "problem in key sharing dict." msgstr "" #: ../build/NEWS:14181 msgid "" "`bpo-29546 `__: Set the 'path' and " "'name' attribute on ImportError for ``from ... import ...``." msgstr "" #: ../build/NEWS:14184 msgid "" "`bpo-29546 `__: Improve from-import " "error message with location" msgstr "" #: ../build/NEWS:14186 ../build/NEWS:17658 ../build/NEWS:21627 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:14189 ../build/NEWS:18018 ../build/NEWS:21622 msgid "" "`bpo-29319 `__: Prevent " "RunMainFromImporter overwriting sys.path[0]." msgstr "" #: ../build/NEWS:14191 ../build/NEWS:18020 ../build/NEWS:21624 msgid "" "`bpo-29337 `__: Fixed possible " "BytesWarning when compare the code objects. Warnings could be emitted at " "compile time." msgstr "" #: ../build/NEWS:14194 ../build/NEWS:18023 msgid "" "`bpo-29327 `__: Fixed a crash when pass " "the iterable keyword argument to sorted()." msgstr "" #: ../build/NEWS:14197 ../build/NEWS:18026 msgid "" "`bpo-29034 `__: Fix memory leak and use-" "after-free in os module (path_converter)." msgstr "" #: ../build/NEWS:14200 ../build/NEWS:18029 msgid "" "`bpo-29159 `__: Fix regression in " "bytes(x) when x.__index__() raises Exception." msgstr "" #: ../build/NEWS:14202 msgid "" "`bpo-29049 `__: Call " "_PyObject_GC_TRACK() lazily when calling Python function. Calling function " "is up to 5% faster." msgstr "" #: ../build/NEWS:14205 msgid "" "`bpo-28927 `__: bytes.fromhex() and " "bytearray.fromhex() now ignore all ASCII whitespace, not only spaces. Patch " "by Robert Xiao." msgstr "" #: ../build/NEWS:14208 ../build/NEWS:18031 ../build/NEWS:21976 msgid "" "`bpo-28932 `__: Do not include if it does not exist." msgstr "" #: ../build/NEWS:14210 ../build/NEWS:18033 ../build/NEWS:21981 msgid "" "`bpo-25677 `__: Correct the positioning " "of the syntax error caret for indented blocks. Based on patch by Michael " "Layzell." msgstr "" #: ../build/NEWS:14213 ../build/NEWS:18036 ../build/NEWS:21984 msgid "" "`bpo-29000 `__: Fixed bytes formatting " "of octals with zero padding in alternate form." msgstr "" #: ../build/NEWS:14216 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:14219 msgid "" "`bpo-28596 `__: The preferred encoding " "is UTF-8 on Android. Patch written by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:14222 msgid "" "`bpo-22257 `__: Clean up interpreter " "startup (see :pep:`432`)." msgstr "" #: ../build/NEWS:14224 ../build/NEWS:18039 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:14228 ../build/NEWS:18043 msgid "" "`bpo-28991 `__: functools.lru_cache() " "was susceptible to an obscure reentrancy bug triggerable by a monkey-patched " "len() function." msgstr "" #: ../build/NEWS:14231 ../build/NEWS:18317 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:14234 ../build/NEWS:18046 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:14237 ../build/NEWS:18049 ../build/NEWS:21987 msgid "" "`bpo-28512 `__: Fixed setting the offset " "attribute of SyntaxError by PyErr_SyntaxLocationEx() and " "PyErr_SyntaxLocationObject()." msgstr "" #: ../build/NEWS:14240 ../build/NEWS:18052 msgid "" "`bpo-28918 `__: Fix the cross " "compilation of xxlimited when Python has been built with Py_DEBUG defined." msgstr "" #: ../build/NEWS:14243 ../build/NEWS:18347 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:14249 ../build/NEWS:18353 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:14253 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:14258 msgid "" "`bpo-12844 `__: More than 255 arguments " "can now be passed to a function." msgstr "" #: ../build/NEWS:14260 ../build/NEWS:18357 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:14264 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:14269 ../build/NEWS:18055 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:14272 ../build/NEWS:18411 msgid "" "`bpo-28532 `__: Show sys.version when -V " "option is supplied twice." msgstr "" #: ../build/NEWS:14274 ../build/NEWS:18413 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:14278 ../build/NEWS:18417 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:14281 ../build/NEWS:18420 msgid "" "`bpo-26920 `__: Fix not getting the " "locale's charset upon initializing the interpreter, on platforms that do not " "have langinfo." msgstr "" #: ../build/NEWS:14284 ../build/NEWS:18423 ../build/NEWS:21993 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:14287 ../build/NEWS:18429 msgid "" "`bpo-28665 `__: Improve speed of the " "STORE_DEREF opcode by 40%." msgstr "" #: ../build/NEWS:14289 ../build/NEWS:18426 ../build/NEWS:21996 msgid "" "`bpo-19398 `__: Extra slash no longer " "added to sys.path components in case of empty compile-time PYTHONPATH " "components." msgstr "" #: ../build/NEWS:14292 msgid "" "`bpo-28621 `__: Sped up converting int " "to float by reusing faster bits counting implementation. Patch by Adrian " "Wielgosik." msgstr "" #: ../build/NEWS:14295 msgid "" "`bpo-28580 `__: Optimize iterating split " "table values. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:14297 ../build/NEWS:18431 msgid "" "`bpo-28583 `__: PyDict_SetDefault didn't " "combine split table when needed. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:14300 ../build/NEWS:18525 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:14304 ../build/NEWS:18529 msgid "" "`bpo-28509 `__: dict.update() no longer " "allocate unnecessary large memory." msgstr "" #: ../build/NEWS:14306 ../build/NEWS:18531 ../build/NEWS:21999 msgid "" "`bpo-28426 `__: Fixed potential crash in " "PyUnicode_AsDecodedObject() in debug build." msgstr "" #: ../build/NEWS:14309 ../build/NEWS:18534 msgid "" "`bpo-28517 `__: Fixed of-by-one error in " "the peephole optimizer that caused keeping unreachable code." msgstr "" #: ../build/NEWS:14312 ../build/NEWS:18537 msgid "" "`bpo-28214 `__: Improved exception " "reporting for problematic __set_name__ attributes." msgstr "" #: ../build/NEWS:14315 ../build/NEWS:18540 ../build/NEWS:22002 msgid "" "`bpo-23782 `__: Fixed possible memory " "leak in _PyTraceback_Add() and exception loss in PyTraceBack_Here()." msgstr "" #: ../build/NEWS:14318 ../build/NEWS:18649 msgid "" "`bpo-28183 `__: Optimize and cleanup " "dict iteration." msgstr "" #: ../build/NEWS:14320 ../build/NEWS:18651 msgid "" "`bpo-26081 `__: Added C implementation " "of asyncio.Future. Original patch by Yury Selivanov." msgstr "" #: ../build/NEWS:14323 ../build/NEWS:18654 ../build/NEWS:22005 msgid "" "`bpo-28379 `__: Added sanity checks and " "tests for PyUnicode_CopyCharacters(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:14326 ../build/NEWS:18657 ../build/NEWS:22008 msgid "" "`bpo-28376 `__: The type of long range " "iterator is now registered as Iterator. Patch by Oren Milman." msgstr "" #: ../build/NEWS:14329 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:14333 ../build/NEWS:18666 ../build/NEWS:22014 msgid "" "`bpo-26906 `__: Resolving special " "methods of uninitialized type now causes implicit initialization of the type " "instead of a fail." msgstr "" #: ../build/NEWS:14336 ../build/NEWS:18669 ../build/NEWS:22017 msgid "" "`bpo-18287 `__: PyType_Ready() now " "checks that tp_name is not NULL. Original patch by Niklas Koep." msgstr "" #: ../build/NEWS:14339 ../build/NEWS:18672 ../build/NEWS:22020 msgid "" "`bpo-24098 `__: Fixed possible crash " "when AST is changed in process of compiling it." msgstr "" #: ../build/NEWS:14342 ../build/NEWS:18675 msgid "" "`bpo-28201 `__: Dict reduces possibility " "of 2nd conflict in hash table when hashes have same lower bits." msgstr "" #: ../build/NEWS:14345 ../build/NEWS:18678 ../build/NEWS:22023 msgid "" "`bpo-28350 `__: String constants with " "null character no longer interned." msgstr "" #: ../build/NEWS:14347 ../build/NEWS:18680 ../build/NEWS:22025 msgid "" "`bpo-26617 `__: Fix crash when GC runs " "during weakref callbacks." msgstr "" #: ../build/NEWS:14349 ../build/NEWS:18682 ../build/NEWS:22027 msgid "" "`bpo-27942 `__: String constants now " "interned recursively in tuples and frozensets." msgstr "" #: ../build/NEWS:14352 msgid "" "`bpo-28289 `__: ImportError.__init__ now " "resets not specified attributes." msgstr "" #: ../build/NEWS:14354 ../build/NEWS:18685 ../build/NEWS:22030 msgid "" "`bpo-21578 `__: Fixed misleading error " "message when ImportError called with invalid keyword args." msgstr "" #: ../build/NEWS:14357 ../build/NEWS:18688 msgid "" "`bpo-28203 `__: Fix incorrect type in " "complex(1.0, {2:3}) error message. Patch by Soumya Sharma." msgstr "" #: ../build/NEWS:14360 ../build/NEWS:18691 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:14363 ../build/NEWS:18694 msgid "" "`bpo-28214 `__: Now __set_name__ is " "looked up on the class instead of the instance." msgstr "" #: ../build/NEWS:14366 ../build/NEWS:18697 ../build/NEWS:22036 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:14369 ../build/NEWS:18700 msgid "" "`bpo-28192 `__: Don't import readline in " "isolated mode." msgstr "" #: ../build/NEWS:14371 msgid "" "`bpo-27441 `__: Remove some redundant " "assignments to ob_size in longobject.c. Thanks Oren Milman." msgstr "" #: ../build/NEWS:14374 msgid "" "`bpo-27222 `__: Clean up redundant code " "in long_rshift function. Thanks Oren Milman." msgstr "" #: ../build/NEWS:14377 ../build/NEWS:18702 msgid "Upgrade internal unicode databases to Unicode version 9.0.0." msgstr "" #: ../build/NEWS:14379 ../build/NEWS:18704 ../build/NEWS:22039 msgid "" "`bpo-28131 `__: Fix a regression in " "zipimport's compile_source(). zipimport should use the same optimization " "level as the interpreter." msgstr "" #: ../build/NEWS:14382 ../build/NEWS:18707 msgid "" "`bpo-28126 `__: Replace Py_MEMCPY with " "memcpy(). Visual Studio can properly optimize memcpy()." msgstr "" #: ../build/NEWS:14385 ../build/NEWS:18710 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:14388 ../build/NEWS:18713 msgid "" "`bpo-26182 `__: Raise DeprecationWarning " "when async and await keywords are used as variable/attribute/class/function " "name." msgstr "" #: ../build/NEWS:14391 ../build/NEWS:18438 msgid "" "`bpo-26182 `__: Fix a refleak in code " "that raises DeprecationWarning." msgstr "" #: ../build/NEWS:14393 ../build/NEWS:18440 msgid "" "`bpo-28721 `__: Fix asynchronous " "generators aclose() and athrow() to handle StopAsyncIteration propagation " "properly." msgstr "" #: ../build/NEWS:14396 msgid "" "`bpo-26110 `__: Speed-up method calls: " "add LOAD_METHOD and CALL_METHOD opcodes." msgstr "" #: ../build/NEWS:14401 ../build/NEWS:17208 msgid "" "`bpo-31499 `__: xml.etree: Fix a crash " "when a parser is part of a reference cycle." msgstr "" #: ../build/NEWS:14404 ../build/NEWS:16931 msgid "" "`bpo-31482 `__: ``random.seed()`` now " "works with bytes in version=1" msgstr "" #: ../build/NEWS:14406 ../build/NEWS:17211 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:14409 ../build/NEWS:17214 msgid "" "`bpo-28556 `__: Speed improvements to " "the ``typing`` module. Original PRs by Ivan Levkivskyi and Mitar." msgstr "" #: ../build/NEWS:14412 ../build/NEWS:17217 msgid "" "`bpo-31544 `__: The C accelerator module " "of ElementTree ignored exceptions raised when looking up TreeBuilder target " "methods in XMLParser()." msgstr "" #: ../build/NEWS:14415 ../build/NEWS:17220 msgid "" "`bpo-31234 `__: socket." "create_connection() now fixes manually a reference cycle: clear the variable " "storing the last exception on success." msgstr "" #: ../build/NEWS:14418 ../build/NEWS:17223 msgid "" "`bpo-31457 `__: LoggerAdapter objects " "can now be nested." msgstr "" #: ../build/NEWS:14420 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:14424 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:14427 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:14438 ../build/NEWS:17225 msgid "" "`bpo-31400 `__: Improves SSL error " "handling to avoid losing error numbers." msgstr "" #: ../build/NEWS:14440 msgid "" "`bpo-27629 `__: Make return types of " "SSLContext.wrap_bio() and SSLContext.wrap_socket() customizable." msgstr "" #: ../build/NEWS:14443 ../build/NEWS:17227 msgid "" "`bpo-28958 `__: ssl.SSLContext() now " "uses OpenSSL error information when a context cannot be instantiated." msgstr "" #: ../build/NEWS:14446 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:14450 ../build/NEWS:17230 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:14454 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:14459 ../build/NEWS:17234 msgid "" "`bpo-31178 `__: Fix string concatenation " "bug in rare error path in the subprocess module" msgstr "" #: ../build/NEWS:14462 ../build/NEWS:17237 msgid "" "`bpo-31350 `__: Micro-optimize :func:" "`asyncio._get_running_loop` to become up to 10% faster." msgstr "" #: ../build/NEWS:14465 ../build/NEWS:17240 ../build/NEWS:21532 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:14469 ../build/NEWS:17244 msgid "" "`bpo-29136 `__: Add TLS 1.3 cipher " "suites and OP_NO_TLSv1_3." msgstr "" #: ../build/NEWS:14471 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:14476 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:14480 ../build/NEWS:17255 msgid "" "`bpo-27144 `__: The ``map()`` and " "``as_completed()`` iterators in ``concurrent.futures`` now avoid keeping a " "reference to yielded objects." msgstr "" #: ../build/NEWS:14483 msgid "" "`bpo-31281 `__: Fix ``fileinput." "FileInput(files, inplace=True)`` when ``files`` contain ``pathlib.Path`` " "objects." msgstr "" #: ../build/NEWS:14486 ../build/NEWS:17258 msgid "" "`bpo-10746 `__: Fix ctypes producing " "wrong :pep:`3118` type codes for integer types." msgstr "" #: ../build/NEWS:14489 msgid "" "`bpo-27584 `__: ``AF_VSOCK`` has been " "added to the socket interface which allows communication between virtual " "machines and their host." msgstr "" #: ../build/NEWS:14492 ../build/NEWS:17261 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:14496 msgid "" "`bpo-29741 `__: Update some methods in " "the _pyio module to also accept integer types. Patch by Oren Milman." msgstr "" #: ../build/NEWS:14499 ../build/NEWS:17265 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:14503 ../build/NEWS:17269 msgid "" "`bpo-31247 `__: xmlrpc.server now " "explicitly breaks reference cycles when using sys.exc_info() in code " "handling exceptions." msgstr "" #: ../build/NEWS:14506 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:14512 ../build/NEWS:16186 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:14516 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:14519 msgid "" "`bpo-31109 `__: Convert zipimport to use " "Argument Clinic." msgstr "" #: ../build/NEWS:14521 ../build/NEWS:17272 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:14526 msgid "" "`bpo-18966 `__: Non-daemonic threads " "created by a multiprocessing.Process are now joined on child exit." msgstr "" #: ../build/NEWS:14529 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:14532 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:14542 ../build/NEWS:17277 msgid "" "`bpo-31185 `__: Fixed miscellaneous " "errors in asyncio speedup module." msgstr "" #: ../build/NEWS:14544 msgid "" "`bpo-31151 `__: socketserver." "ForkingMixIn.server_close() now waits until all child processes completed to " "prevent leaking zombie processes." msgstr "" #: ../build/NEWS:14547 msgid "" "`bpo-31072 `__: Add an ``include_file`` " "parameter to ``zipapp.create_archive()``" msgstr "" #: ../build/NEWS:14550 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:14553 ../build/NEWS:17279 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:14559 ../build/NEWS:17285 msgid "" "`bpo-31107 `__: Fix `copyreg." "_slotnames()` mangled attribute calculation for classes whose name begins " "with an underscore. Patch by Shane Harvey." msgstr "" #: ../build/NEWS:14562 msgid "" "`bpo-31080 `__: Allow `logging.config." "fileConfig` to accept kwargs and/or args." msgstr "" #: ../build/NEWS:14564 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:14568 ../build/NEWS:17288 msgid "" "`bpo-31061 `__: Fixed a crash when using " "asyncio and threads." msgstr "" #: ../build/NEWS:14570 msgid "" "`bpo-30987 `__: Added support for CAN " "ISO-TP protocol in the socket module." msgstr "" #: ../build/NEWS:14572 msgid "" "`bpo-30522 `__: Added a ``setStream`` " "method to ``logging.StreamHandler`` to allow the stream to be set after " "creation." msgstr "" #: ../build/NEWS:14575 ../build/NEWS:17290 msgid "" "`bpo-30502 `__: Fix handling of long " "oids in ssl. Based on patch by Christian Heimes." msgstr "" #: ../build/NEWS:14578 msgid "" "`bpo-5288 `__: Support tzinfo objects " "with sub-minute offsets." msgstr "" #: ../build/NEWS:14580 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:14584 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:14588 ../build/NEWS:17300 ../build/NEWS:21633 msgid "" "`bpo-29403 `__: Fix ``unittest.mock``'s " "autospec to not fail on method-bound builtin functions. Patch by Aaron " "Gallagher." msgstr "" #: ../build/NEWS:14591 ../build/NEWS:17303 ../build/NEWS:21636 msgid "" "`bpo-30961 `__: Fix decrementing a " "borrowed reference in tracemalloc." msgstr "" #: ../build/NEWS:14593 msgid "" "`bpo-19896 `__: Fix multiprocessing." "sharedctypes to recognize typecodes ``'q'`` and ``'Q'``." msgstr "" #: ../build/NEWS:14596 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:14599 ../build/NEWS:17305 msgid "" "`bpo-25684 `__: Change ``ttk." "OptionMenu`` radiobuttons to be unique across instances of ``OptionMenu``." msgstr "" #: ../build/NEWS:14602 ../build/NEWS:17308 ../build/NEWS:21638 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:14606 ../build/NEWS:17312 ../build/NEWS:21642 msgid "" "`bpo-29854 `__: Fix segfault in readline " "when using readline's history-size option. Patch by Nir Soffer." msgstr "" #: ../build/NEWS:14609 msgid "" "`bpo-30794 `__: Added multiprocessing." "Process.kill method to terminate using the SIGKILL signal on Unix." msgstr "" #: ../build/NEWS:14612 ../build/NEWS:17315 msgid "" "`bpo-30319 `__: socket.close() now " "ignores ECONNRESET error." msgstr "" #: ../build/NEWS:14614 ../build/NEWS:17317 msgid "" "`bpo-30828 `__: Fix out of bounds write " "in `asyncio.CFuture.remove_done_callback()`." msgstr "" #: ../build/NEWS:14617 msgid "" "`bpo-30302 `__: Use keywords in the " "``repr`` of ``datetime.timedelta``." msgstr "" #: ../build/NEWS:14619 ../build/NEWS:17320 ../build/NEWS:21645 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:14626 ../build/NEWS:17327 ../build/NEWS:21652 msgid "" "`bpo-30441 `__: Fix bug when modifying " "os.environ while iterating over it" msgstr "" #: ../build/NEWS:14628 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:14631 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:14637 ../build/NEWS:17329 ../build/NEWS:21654 msgid "" "`bpo-30532 `__: Fix email header value " "parser dropping folding white space in certain cases." msgstr "" #: ../build/NEWS:14640 msgid "" "`bpo-30596 `__: Add a ``close()`` method " "to ``multiprocessing.Process``." msgstr "" #: ../build/NEWS:14642 ../build/NEWS:17251 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:14646 ../build/NEWS:18061 ../build/NEWS:21657 msgid "" "`bpo-29169 `__: Update zlib to 1.2.11." msgstr "" #: ../build/NEWS:14648 ../build/NEWS:17293 ../build/NEWS:21545 msgid "" "`bpo-30119 `__: ftplib.FTP.putline() now " "throws ValueError on commands that contains CR or LF. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:14651 ../build/NEWS:17332 ../build/NEWS:21659 msgid "" "`bpo-30879 `__: os.listdir() and os." "scandir() now emit bytes names when called with bytes-like argument." msgstr "" #: ../build/NEWS:14654 ../build/NEWS:17335 ../build/NEWS:21662 msgid "" "`bpo-30746 `__: Prohibited the '=' " "character in environment variable names in ``os.putenv()`` and ``os." "spawn*()``." msgstr "" #: ../build/NEWS:14657 msgid "" "`bpo-30664 `__: The description of a " "unittest subtest now preserves the order of keyword arguments of TestCase." "subTest()." msgstr "" #: ../build/NEWS:14660 msgid "" "`bpo-21071 `__: struct.Struct.format " "type is now :class:`str` instead of :class:`bytes`." msgstr "" #: ../build/NEWS:14663 ../build/NEWS:17246 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:14668 ../build/NEWS:17338 ../build/NEWS:21665 msgid "" "`bpo-29755 `__: Fixed the lgettext() " "family of functions in the gettext module. They now always return bytes." msgstr "" #: ../build/NEWS:14671 ../build/NEWS:17664 msgid "" "`bpo-30616 `__: Functional API of enum " "allows to create empty enums. Patched by Dong-hee Na" msgstr "" #: ../build/NEWS:14674 ../build/NEWS:17667 msgid "" "`bpo-30038 `__: Fix race condition " "between signal delivery and wakeup file descriptor. Patch by Nathaniel Smith." msgstr "" #: ../build/NEWS:14677 ../build/NEWS:17670 msgid "" "`bpo-23894 `__: lib2to3 now recognizes " "``rb'...'`` and ``f'...'`` strings." msgstr "" #: ../build/NEWS:14679 msgid "" "`bpo-24744 `__: pkgutil.walk_packages " "function now raises ValueError if *path* is a string. Patch by Sanyam " "Khurana." msgstr "" #: ../build/NEWS:14682 ../build/NEWS:21682 msgid "" "`bpo-24484 `__: Avoid race condition in " "multiprocessing cleanup." msgstr "" #: ../build/NEWS:14684 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:14688 ../build/NEWS:17701 ../build/NEWS:21684 msgid "" "`bpo-28994 `__: The traceback no longer " "displayed for SystemExit raised in a callback registered by atexit." msgstr "" #: ../build/NEWS:14691 ../build/NEWS:17704 ../build/NEWS:21687 msgid "" "`bpo-30508 `__: Don't log exceptions if " "Task/Future \"cancel()\" method was called." msgstr "" #: ../build/NEWS:14694 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:14698 msgid "" "`bpo-11822 `__: The dis.dis() function " "now is able to disassemble nested code objects." msgstr "" #: ../build/NEWS:14701 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:14705 ../build/NEWS:17296 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:14709 ../build/NEWS:17707 ../build/NEWS:21690 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:14713 ../build/NEWS:17686 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:14716 ../build/NEWS:17711 ../build/NEWS:21694 msgid "" "`bpo-29870 `__: Fix ssl sockets leaks " "when connection is aborted in asyncio/ssl implementation. Patch by Michaël " "Sghaïer." msgstr "" #: ../build/NEWS:14719 ../build/NEWS:17714 ../build/NEWS:21697 msgid "" "`bpo-29743 `__: Closing transport during " "handshake process leaks open socket. Patch by Nikolay Kim" msgstr "" #: ../build/NEWS:14722 ../build/NEWS:17717 ../build/NEWS:21700 msgid "" "`bpo-27585 `__: Fix waiter cancellation " "in asyncio.Lock. Patch by Mathieu Sornay." msgstr "" #: ../build/NEWS:14725 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:14728 ../build/NEWS:17720 ../build/NEWS:21703 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:14732 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:14735 msgid "" "`bpo-30520 `__: Loggers are now " "pickleable." msgstr "" #: ../build/NEWS:14737 ../build/NEWS:17731 msgid "" "`bpo-30557 `__: faulthandler now " "correctly filters and displays exception codes on Windows" msgstr "" #: ../build/NEWS:14740 msgid "" "`bpo-30526 `__: Add TextIOWrapper." "reconfigure() and a TextIOWrapper.write_through attribute." msgstr "" #: ../build/NEWS:14743 msgid "" "`bpo-30245 `__: Fix possible overflow " "when organize struct.pack_into error message. Patch by Yuan Liu." msgstr "" #: ../build/NEWS:14746 ../build/NEWS:17734 ../build/NEWS:21707 msgid "" "`bpo-30378 `__: Fix the problem that " "logging.handlers.SysLogHandler cannot handle IPv6 addresses." msgstr "" #: ../build/NEWS:14749 msgid "" "`bpo-16500 `__: Allow registering at-" "fork handlers." msgstr "" #: ../build/NEWS:14751 msgid "" "`bpo-30470 `__: Deprecate invalid ctypes " "call protection on Windows. Patch by Mariatta Wijaya." msgstr "" #: ../build/NEWS:14754 ../build/NEWS:17740 ../build/NEWS:21713 msgid "" "`bpo-30414 `__: multiprocessing.Queue." "_feed background running thread do not break from main loop on exception." msgstr "" #: ../build/NEWS:14757 ../build/NEWS:17743 ../build/NEWS:21716 msgid "" "`bpo-30003 `__: Fix handling escape " "characters in HZ codec. Based on patch by Ma Lin." msgstr "" #: ../build/NEWS:14760 ../build/NEWS:17675 ../build/NEWS:21675 msgid "" "`bpo-30149 `__: inspect.signature() now " "supports callables with variable-argument parameters wrapped with " "partialmethod. Patch by Dong-hee Na." msgstr "" #: ../build/NEWS:14764 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:14768 ../build/NEWS:17746 ../build/NEWS:21719 msgid "" "`bpo-30301 `__: Fix AttributeError when " "using SimpleQueue.empty() under *spawn* and *forkserver* start methods." msgstr "" #: ../build/NEWS:14771 ../build/NEWS:17753 ../build/NEWS:21726 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:14775 ../build/NEWS:17749 ../build/NEWS:21722 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:14779 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:14784 msgid "" "`bpo-9850 `__: The :mod:`macpath` is now " "deprecated and will be removed in Python 3.8." msgstr "" #: ../build/NEWS:14787 msgid "" "`bpo-30299 `__: Compiling regular " "expression in debug mode on CPython now displays the compiled bytecode in " "human readable form." msgstr "" #: ../build/NEWS:14790 ../build/NEWS:17757 ../build/NEWS:21730 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:14793 ../build/NEWS:17760 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:14797 msgid "" "`bpo-30340 `__: Enhanced regular " "expressions optimization. This increased the performance of matching some " "patterns up to 25 times." msgstr "" #: ../build/NEWS:14800 ../build/NEWS:17764 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:14806 msgid "" "`bpo-30285 `__: Optimized case-" "insensitive matching and searching of regular expressions." msgstr "" #: ../build/NEWS:14809 ../build/NEWS:17770 ../build/NEWS:21733 msgid "" "`bpo-29990 `__: Fix range checking in " "GB18030 decoder. Original patch by Ma Lin." msgstr "" #: ../build/NEWS:14812 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:14816 ../build/NEWS:17776 ../build/NEWS:21739 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:14820 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:14824 ../build/NEWS:17780 ../build/NEWS:21743 msgid "" "`bpo-30185 `__: Avoid KeyboardInterrupt " "tracebacks in forkserver helper process when Ctrl-C is received." msgstr "" #: ../build/NEWS:14827 msgid "" "`bpo-30103 `__: binascii.b2a_uu() and uu." "encode() now support using ``'`'`` as zero instead of space." msgstr "" #: ../build/NEWS:14830 ../build/NEWS:17783 ../build/NEWS:21746 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:14834 ../build/NEWS:17787 ../build/NEWS:21750 msgid "" "`bpo-30205 `__: Fix getsockname() for " "unbound AF_UNIX sockets on Linux." msgstr "" #: ../build/NEWS:14836 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:14840 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:14844 msgid "" "`bpo-30101 `__: Add support for curses." "A_ITALIC." msgstr "" #: ../build/NEWS:14846 ../build/NEWS:17724 msgid "" "`bpo-29822 `__: inspect.isabstract() now " "works during __init_subclass__. Patch by Nate Soares." msgstr "" #: ../build/NEWS:14849 ../build/NEWS:17737 ../build/NEWS:21710 msgid "" "`bpo-29960 `__: Preserve generator state " "when _random.Random.setstate() raises an exception. Patch by Bryan Olson." msgstr "" #: ../build/NEWS:14852 ../build/NEWS:17789 ../build/NEWS:21752 msgid "" "`bpo-30070 `__: Fixed leaks and crashes " "in errors handling in the parser module." msgstr "" #: ../build/NEWS:14855 msgid "" "`bpo-22352 `__: Column widths in the " "output of dis.dis() are now adjusted for large line numbers and instruction " "offsets." msgstr "" #: ../build/NEWS:14858 ../build/NEWS:17792 ../build/NEWS:21755 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:14863 msgid "" "`bpo-30218 `__: Fix PathLike support for " "shutil.unpack_archive. Patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:14866 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:14869 ../build/NEWS:17801 ../build/NEWS:21760 msgid "" "`bpo-30068 `__: _io._IOBase.readlines " "will check if it's closed first when hint is present." msgstr "" #: ../build/NEWS:14872 ../build/NEWS:17804 ../build/NEWS:21763 msgid "" "`bpo-29694 `__: Fixed race condition in " "pathlib mkdir with flags parents=True. Patch by Armin Rigo." msgstr "" #: ../build/NEWS:14875 ../build/NEWS:17807 ../build/NEWS:21766 msgid "" "`bpo-29692 `__: Fixed arbitrary " "unchaining of RuntimeError exceptions in contextlib.contextmanager. Patch " "by Siddharth Velankar." msgstr "" #: ../build/NEWS:14878 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:14882 ../build/NEWS:17797 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:14886 ../build/NEWS:17810 ../build/NEWS:21769 msgid "" "`bpo-29998 `__: Pickling and copying " "ImportError now preserves name and path attributes." msgstr "" #: ../build/NEWS:14889 msgid "" "`bpo-29995 `__: re.escape() now escapes " "only regex special characters." msgstr "" #: ../build/NEWS:14891 msgid "" "`bpo-29962 `__: Add math.remainder " "operation, implementing remainder as specified in IEEE 754." msgstr "" #: ../build/NEWS:14894 msgid "" "`bpo-29649 `__: Improve struct." "pack_into() exception messages for problems with the buffer size and " "offset. Patch by Andrew Nester." msgstr "" #: ../build/NEWS:14897 msgid "" "`bpo-29654 `__: Support If-Modified-" "Since HTTP header (browser cache). Patch by Pierre Quentel." msgstr "" #: ../build/NEWS:14900 ../build/NEWS:17683 ../build/NEWS:21679 msgid "" "`bpo-29931 `__: Fixed comparison check " "for ipaddress.ip_interface objects. Patch by Sanjay Sundaresan." msgstr "" #: ../build/NEWS:14903 ../build/NEWS:17813 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:14906 ../build/NEWS:17816 ../build/NEWS:21772 msgid "" "`bpo-29942 `__: Fix a crash in itertools." "chain.from_iterable when encountering long runs of empty iterables." msgstr "" #: ../build/NEWS:14909 msgid "" "`bpo-10030 `__: Sped up reading " "encrypted ZIP files by 2 times." msgstr "" #: ../build/NEWS:14911 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:14915 ../build/NEWS:17819 ../build/NEWS:21775 msgid "" "`bpo-27863 `__: Fixed multiple crashes " "in ElementTree caused by race conditions and wrong types." msgstr "" #: ../build/NEWS:14918 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:14921 ../build/NEWS:17822 ../build/NEWS:21778 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:14925 ../build/NEWS:17672 ../build/NEWS:21672 msgid "" "`bpo-23890 `__: unittest.TestCase." "assertRaises() now manually breaks a reference cycle to not keep objects " "alive longer than expected." msgstr "" #: ../build/NEWS:14928 msgid "" "`bpo-29901 `__: The zipapp module now " "supports general path-like objects, not just pathlib.Path." msgstr "" #: ../build/NEWS:14931 ../build/NEWS:17826 ../build/NEWS:21782 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:14934 ../build/NEWS:17829 ../build/NEWS:21785 msgid "" "`bpo-29861 `__: Release references to " "tasks, their arguments and their results as soon as they are finished in " "multiprocessing.Pool." msgstr "" #: ../build/NEWS:14937 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:14940 ../build/NEWS:17832 ../build/NEWS:21788 msgid "" "`bpo-29884 `__: faulthandler: Restore " "the old sigaltstack during teardown. Patch by Christophe Zeitouny." msgstr "" #: ../build/NEWS:14943 ../build/NEWS:17835 ../build/NEWS:21791 msgid "" "`bpo-25455 `__: Fixed crashes in repr of " "recursive buffered file-like objects." msgstr "" #: ../build/NEWS:14945 ../build/NEWS:17837 ../build/NEWS:21793 msgid "" "`bpo-29800 `__: Fix crashes in partial." "__repr__ if the keys of partial.keywords are not strings. Patch by Michael " "Seifert." msgstr "" #: ../build/NEWS:14948 ../build/NEWS:17843 ../build/NEWS:21799 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:14952 msgid "" "`bpo-28692 `__: Using non-integer value " "for selecting a plural form in gettext is now deprecated." msgstr "" #: ../build/NEWS:14955 msgid "" "`bpo-26121 `__: Use C library " "implementation for math functions erf() and erfc()." msgstr "" #: ../build/NEWS:14958 msgid "" "`bpo-29619 `__: os.stat() and os." "DirEntry.inode() now convert inode (st_ino) using unsigned integers." msgstr "" #: ../build/NEWS:14961 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:14964 msgid "" "`bpo-29645 `__: Speed up importing the " "webbrowser module. webbrowser.register() is now thread-safe." msgstr "" #: ../build/NEWS:14967 ../build/NEWS:17851 msgid "" "`bpo-28231 `__: The zipfile module now " "accepts path-like objects for external paths." msgstr "" #: ../build/NEWS:14970 ../build/NEWS:17854 msgid "" "`bpo-26915 `__: index() and count() " "methods of collections.abc.Sequence now check identity before checking " "equality when do comparisons." msgstr "" #: ../build/NEWS:14973 msgid "" "`bpo-28682 `__: Added support for bytes " "paths in os.fwalk()." msgstr "" #: ../build/NEWS:14975 msgid "" "`bpo-29728 `__: Add new :data:`socket." "TCP_NOTSENT_LOWAT` (Linux 3.12) constant. Patch by Nathaniel J. Smith." msgstr "" #: ../build/NEWS:14978 ../build/NEWS:18063 msgid "" "`bpo-29623 `__: Allow use of path-like " "object as a single argument in ConfigParser.read(). Patch by David Ellis." msgstr "" #: ../build/NEWS:14981 msgid "" "`bpo-9303 `__: Migrate sqlite3 module to " "_v2 API. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:14983 ../build/NEWS:18066 msgid "" "`bpo-28963 `__: Fix out of bound " "iteration in asyncio.Future.remove_done_callback implemented in C." msgstr "" #: ../build/NEWS:14986 ../build/NEWS:18069 ../build/NEWS:21811 msgid "" "`bpo-29704 `__: asyncio.subprocess." "SubprocessStreamProtocol no longer closes before all pipes are closed." msgstr "" #: ../build/NEWS:14989 ../build/NEWS:18072 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:14992 ../build/NEWS:18075 ../build/NEWS:21814 msgid "" "`bpo-29703 `__: Fix asyncio to support " "instantiation of new event loops in child processes." msgstr "" #: ../build/NEWS:14995 ../build/NEWS:17857 ../build/NEWS:21807 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:14999 msgid "" "`bpo-7769 `__: Method register_function() " "of xmlrpc.server.SimpleXMLRPCDispatcher and its subclasses can now be used " "as a decorator." msgstr "" #: ../build/NEWS:15003 ../build/NEWS:18078 ../build/NEWS:21817 msgid "" "`bpo-29376 `__: Fix assertion error in " "threading._DummyThread.is_alive()." msgstr "" #: ../build/NEWS:15005 ../build/NEWS:18080 msgid "" "`bpo-28624 `__: Add a test that checks " "that cwd parameter of Popen() accepts PathLike objects. Patch by Sayan " "Chowdhury." msgstr "" #: ../build/NEWS:15008 ../build/NEWS:18083 msgid "" "`bpo-28518 `__: Start a transaction " "implicitly before a DML statement. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:15011 ../build/NEWS:17840 ../build/NEWS:21796 msgid "" "`bpo-29742 `__: get_extra_info() raises " "exception if get called on closed ssl transport. Patch by Nikolay Kim." msgstr "" #: ../build/NEWS:15014 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:15018 ../build/NEWS:18086 ../build/NEWS:21825 msgid "" "`bpo-29532 `__: Altering a kwarg " "dictionary passed to functools.partial() no longer affects a partial object " "after creation." msgstr "" #: ../build/NEWS:15021 ../build/NEWS:18089 ../build/NEWS:21819 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:15024 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:15028 msgid "" "`bpo-29576 `__: Improve some " "deprecations in importlib. Some deprecated methods now emit " "DeprecationWarnings and have better descriptive messages." msgstr "" #: ../build/NEWS:15031 msgid "" "`bpo-29534 `__: Fixed different " "behaviour of Decimal.from_float() for _decimal and _pydecimal. Thanks Andrew " "Nester." msgstr "" #: ../build/NEWS:15034 msgid "" "`bpo-10379 `__: locale.format_string now " "supports the 'monetary' keyword argument, and locale.format is deprecated." msgstr "" #: ../build/NEWS:15037 msgid "" "`bpo-29851 `__: importlib.reload() now " "raises ModuleNotFoundError if the module lacks a spec." msgstr "" #: ../build/NEWS:15040 ../build/NEWS:18092 ../build/NEWS:21828 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:15044 ../build/NEWS:18096 ../build/NEWS:21832 msgid "" "`bpo-29100 `__: Fix datetime." "fromtimestamp() regression introduced in Python 3.6.0: check minimum and " "maximum years." msgstr "" #: ../build/NEWS:15047 ../build/NEWS:18102 ../build/NEWS:21838 msgid "" "`bpo-29416 `__: Prevent infinite loop in " "pathlib.Path.mkdir" msgstr "" #: ../build/NEWS:15049 ../build/NEWS:18104 ../build/NEWS:21840 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:15052 msgid "" "`bpo-29377 `__: Add " "WrapperDescriptorType, MethodWrapperType, and MethodDescriptorType built-in " "types to types module. Original patch by Manuel Krebber." msgstr "" #: ../build/NEWS:15056 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:15059 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:15063 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:15066 ../build/NEWS:18107 ../build/NEWS:21843 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:15069 ../build/NEWS:18110 ../build/NEWS:21846 msgid "" "`bpo-29290 `__: Fix a regression in " "argparse that help messages would wrap at non-breaking spaces." msgstr "" #: ../build/NEWS:15072 ../build/NEWS:18113 ../build/NEWS:21849 msgid "" "`bpo-28735 `__: Fixed the comparison of " "mock.MagickMock with mock.ANY." msgstr "" #: ../build/NEWS:15074 msgid "" "`bpo-29197 `__: Removed deprecated " "function ntpath.splitunc()." msgstr "" #: ../build/NEWS:15076 msgid "" "`bpo-29210 `__: Removed support of " "deprecated argument \"exclude\" in tarfile.TarFile.add()." msgstr "" #: ../build/NEWS:15079 ../build/NEWS:18118 ../build/NEWS:21853 msgid "" "`bpo-29219 `__: Fixed infinite recursion " "in the repr of uninitialized ctypes.CDLL instances." msgstr "" #: ../build/NEWS:15082 msgid "" "`bpo-29192 `__: Removed deprecated " "features in the http.cookies module." msgstr "" #: ../build/NEWS:15084 msgid "" "`bpo-29193 `__: A format string argument " "for string.Formatter.format() is now positional-only." msgstr "" #: ../build/NEWS:15087 msgid "" "`bpo-29195 `__: Removed support of " "deprecated undocumented keyword arguments in methods of regular expression " "objects." msgstr "" #: ../build/NEWS:15090 ../build/NEWS:18123 ../build/NEWS:21856 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:15095 msgid "" "`bpo-20804 `__: The unittest.mock." "sentinel attributes now preserve their identity when they are copied or " "pickled." msgstr "" #: ../build/NEWS:15098 ../build/NEWS:18128 ../build/NEWS:21861 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:15102 ../build/NEWS:18132 ../build/NEWS:21822 msgid "" "`bpo-28961 `__: Fix unittest.mock._Call " "helper: don't ignore the name parameter anymore. Patch written by Jiajun " "Huang." msgstr "" #: ../build/NEWS:15105 ../build/NEWS:18139 ../build/NEWS:22105 msgid "" "`bpo-15812 `__: inspect.getframeinfo() " "now correctly shows the first line of a context. Patch by Sam Breese." msgstr "" #: ../build/NEWS:15108 msgid "" "`bpo-28985 `__: Update authorizer " "constants in sqlite3 module. Patch by Dingyuan Wang." msgstr "" #: ../build/NEWS:15111 ../build/NEWS:18151 msgid "" "`bpo-29079 `__: Prevent infinite loop in " "pathlib.resolve() on Windows" msgstr "" #: ../build/NEWS:15113 ../build/NEWS:18153 ../build/NEWS:22111 msgid "" "`bpo-13051 `__: Fixed recursion errors " "in large or resized curses.textpad.Textbox. Based on patch by Tycho " "Andersen." msgstr "" #: ../build/NEWS:15116 ../build/NEWS:18160 ../build/NEWS:22118 msgid "" "`bpo-9770 `__: curses.ascii predicates " "now work correctly with negative integers." msgstr "" #: ../build/NEWS:15119 ../build/NEWS:18163 ../build/NEWS:22121 msgid "" "`bpo-28427 `__: old keys should not " "remove new values from WeakValueDictionary when collecting from another " "thread." msgstr "" #: ../build/NEWS:15122 ../build/NEWS:18166 ../build/NEWS:22124 msgid "" "`bpo-28923 `__: Remove editor artifacts " "from Tix.py." msgstr "" #: ../build/NEWS:15124 ../build/NEWS:18171 ../build/NEWS:22126 msgid "" "`bpo-28871 `__: Fixed a crash when " "deallocate deep ElementTree." msgstr "" #: ../build/NEWS:15126 ../build/NEWS:18173 ../build/NEWS:22128 msgid "" "`bpo-19542 `__: Fix bugs in " "WeakValueDictionary.setdefault() and WeakValueDictionary.pop() when a GC " "collection happens in another thread." msgstr "" #: ../build/NEWS:15129 ../build/NEWS:18176 msgid "" "`bpo-20191 `__: Fixed a crash in " "resource.prlimit() when passing a sequence that doesn't own its elements as " "limits." msgstr "" #: ../build/NEWS:15132 msgid "" "`bpo-16255 `__: subprocess.Popen uses /" "system/bin/sh on Android as the shell, instead of /bin/sh." msgstr "" #: ../build/NEWS:15135 ../build/NEWS:18179 ../build/NEWS:22134 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:15139 ../build/NEWS:18186 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:15143 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:15148 msgid "" "`bpo-27030 `__: Unknown escapes " "consisting of ``'\\'`` and an ASCII letter in re.sub() replacement templates " "regular expressions now are errors." msgstr "" #: ../build/NEWS:15151 ../build/NEWS:18367 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:15154 ../build/NEWS:18370 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:15159 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:15162 ../build/NEWS:18375 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:15166 ../build/NEWS:18446 msgid "" "`bpo-28752 `__: Restored the " "__reduce__() methods of datetime objects." msgstr "" #: ../build/NEWS:15168 ../build/NEWS:18448 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:15173 msgid "" "`bpo-20572 `__: Remove the subprocess." "Popen.wait endtime parameter. It was deprecated in 3.4 and undocumented " "prior to that." msgstr "" #: ../build/NEWS:15176 ../build/NEWS:18456 ../build/NEWS:22141 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:15179 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:15182 ../build/NEWS:18459 msgid "" "`bpo-19717 `__: Makes Path.resolve() " "succeed on paths that do not exist. Patch by Vajrasky Kok" msgstr "" #: ../build/NEWS:15185 ../build/NEWS:18462 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:15189 ../build/NEWS:18466 ../build/NEWS:22150 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:15193 ../build/NEWS:18549 ../build/NEWS:22154 msgid "" "`bpo-27517 `__: LZMA compressor and " "decompressor no longer raise exceptions if given empty data twice. Patch by " "Benjamin Fogle." msgstr "" #: ../build/NEWS:15196 ../build/NEWS:18552 ../build/NEWS:22157 msgid "" "`bpo-28549 `__: Fixed segfault in " "curses's addch() with ncurses6." msgstr "" #: ../build/NEWS:15198 ../build/NEWS:18554 ../build/NEWS:22159 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:15202 ../build/NEWS:18558 ../build/NEWS:22163 msgid "" "`bpo-23262 `__: The webbrowser module " "now supports Firefox 36+ and derived browsers. Based on patch by Oleg " "Broytman." msgstr "" #: ../build/NEWS:15205 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:15210 ../build/NEWS:18561 ../build/NEWS:22166 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:15214 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:15218 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:15222 ../build/NEWS:18572 ../build/NEWS:22174 msgid "" "`bpo-20491 `__: The textwrap.TextWrapper " "class now honors non-breaking spaces. Based on patch by Kaarle Ritvanen." msgstr "" #: ../build/NEWS:15225 ../build/NEWS:18575 ../build/NEWS:22177 msgid "" "`bpo-28353 `__: os.fwalk() no longer " "fails on broken links." msgstr "" #: ../build/NEWS:15227 ../build/NEWS:18577 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:15230 ../build/NEWS:18580 msgid "" "`bpo-27025 `__: Generated names for " "Tkinter widgets now start by the \"!\" prefix for readability." msgstr "" #: ../build/NEWS:15233 ../build/NEWS:18583 ../build/NEWS:22179 msgid "" "`bpo-25464 `__: Fixed HList." "header_exists() in tkinter.tix module by addin a workaround to Tix library " "bug." msgstr "" #: ../build/NEWS:15236 ../build/NEWS:18586 msgid "" "`bpo-28488 `__: shutil.make_archive() no " "longer adds entry \"./\" to ZIP archive." msgstr "" #: ../build/NEWS:15238 ../build/NEWS:18588 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:15243 msgid "" "`bpo-28469 `__: timeit now uses the " "sequence 1, 2, 5, 10, 20, 50,... instead of 1, 10, 100,... for autoranging." msgstr "" #: ../build/NEWS:15246 msgid "" "`bpo-28115 `__: Command-line interface " "of the zipfile module now uses argparse. Added support of long options." msgstr "" #: ../build/NEWS:15249 ../build/NEWS:18593 msgid "" "`bpo-18219 `__: Optimize csv.DictWriter " "for large number of columns. Patch by Mariatta Wijaya." msgstr "" #: ../build/NEWS:15252 ../build/NEWS:18596 msgid "" "`bpo-28448 `__: Fix C implemented " "asyncio.Future didn't work on Windows." msgstr "" #: ../build/NEWS:15254 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:15258 ../build/NEWS:18598 msgid "" "`bpo-28480 `__: Fix error building " "socket module when multithreading is disabled." msgstr "" #: ../build/NEWS:15261 msgid "" "`bpo-28240 `__: timeit: remove ``-c/--" "clock`` and ``-t/--time`` command line options which were deprecated since " "Python 3.3." msgstr "" #: ../build/NEWS:15264 msgid "" "`bpo-28240 `__: timeit now repeats the " "benchmarks 5 times instead of only 3 to make benchmarks more reliable." msgstr "" #: ../build/NEWS:15267 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:15272 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:15277 msgid "" "`bpo-24452 `__: Make webbrowser support " "Chrome on Mac OS X. Patch by Ned Batchelder." msgstr "" #: ../build/NEWS:15280 ../build/NEWS:18603 ../build/NEWS:22186 msgid "" "`bpo-20766 `__: Fix references leaked by " "pdb in the handling of SIGINT handlers." msgstr "" #: ../build/NEWS:15283 ../build/NEWS:18719 msgid "" "`bpo-27998 `__: Fixed bytes path support " "in os.scandir() on Windows. Patch by Eryk Sun." msgstr "" #: ../build/NEWS:15286 ../build/NEWS:18722 msgid "" "`bpo-28317 `__: The disassembler now " "decodes FORMAT_VALUE argument." msgstr "" #: ../build/NEWS:15288 ../build/NEWS:18728 msgid "" "`bpo-28380 `__: unittest.mock Mock " "autospec functions now properly support assert_called, assert_not_called, " "and assert_called_once." msgstr "" #: ../build/NEWS:15291 ../build/NEWS:18733 msgid "" "`bpo-28229 `__: lzma module now supports " "pathlib." msgstr "" #: ../build/NEWS:15293 ../build/NEWS:18735 ../build/NEWS:22193 msgid "" "`bpo-28321 `__: Fixed writing non-BMP " "characters with binary format in plistlib." msgstr "" #: ../build/NEWS:15296 ../build/NEWS:18738 msgid "" "`bpo-28225 `__: bz2 module now supports " "pathlib. Initial patch by Ethan Furman." msgstr "" #: ../build/NEWS:15299 ../build/NEWS:18741 msgid "" "`bpo-28227 `__: gzip now supports " "pathlib. Patch by Ethan Furman." msgstr "" #: ../build/NEWS:15301 msgid "" "`bpo-28332 `__: Deprecated silent " "truncations in socket.htons and socket.ntohs. Original patch by Oren Milman." msgstr "" #: ../build/NEWS:15304 ../build/NEWS:18743 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:15307 ../build/NEWS:18746 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:15310 ../build/NEWS:18749 ../build/NEWS:22196 msgid "" "`bpo-28322 `__: Fixed possible crashes " "when unpickle itertools objects from incorrect pickle data. Based on patch " "by John Leitch." msgstr "" #: ../build/NEWS:15313 ../build/NEWS:18752 msgid "" "`bpo-28228 `__: imghdr now supports " "pathlib." msgstr "" #: ../build/NEWS:15315 ../build/NEWS:18754 msgid "" "`bpo-28226 `__: compileall now supports " "pathlib." msgstr "" #: ../build/NEWS:15317 ../build/NEWS:18756 msgid "" "`bpo-28314 `__: Fix function declaration " "(C flags) for the getiterator() method of xml.etree.ElementTree.Element." msgstr "" #: ../build/NEWS:15320 ../build/NEWS:18759 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:15324 ../build/NEWS:18763 ../build/NEWS:22205 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:15329 ../build/NEWS:18768 ../build/NEWS:22210 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:15333 ../build/NEWS:18772 ../build/NEWS:22214 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:15336 ../build/NEWS:18775 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:15340 ../build/NEWS:18779 ../build/NEWS:22217 msgid "" "`bpo-18893 `__: Fix invalid exception " "handling in Lib/ctypes/macholib/dyld.py. Patch by Madison May." msgstr "" #: ../build/NEWS:15343 ../build/NEWS:18782 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:15346 ../build/NEWS:18785 ../build/NEWS:22222 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:15350 ../build/NEWS:18789 ../build/NEWS:22226 msgid "" "`bpo-25651 `__: Allow falsy values to be " "used for msg parameter of subTest()." msgstr "" #: ../build/NEWS:15352 ../build/NEWS:18791 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:15355 ../build/NEWS:18794 msgid "" "`bpo-28200 `__: Fix memory leak on " "Windows in the os module (fix path_converter() function)." msgstr "" #: ../build/NEWS:15358 ../build/NEWS:18797 msgid "" "`bpo-25400 `__: RobotFileParser now " "correctly returns default values for crawl_delay and request_rate. Initial " "patch by Peter Wirtz." msgstr "" #: ../build/NEWS:15361 ../build/NEWS:18800 ../build/NEWS:22228 msgid "" "`bpo-27932 `__: Prevent memory leak in " "win32_ver()." msgstr "" #: ../build/NEWS:15363 ../build/NEWS:18802 ../build/NEWS:22230 msgid "Fix UnboundLocalError in socket._sendfile_use_sendfile." msgstr "" #: ../build/NEWS:15365 ../build/NEWS:18804 ../build/NEWS:22232 msgid "" "`bpo-28075 `__: Check for " "ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch by Eryk " "Sun." msgstr "" #: ../build/NEWS:15368 ../build/NEWS:18807 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:15372 ../build/NEWS:18811 ../build/NEWS:22235 msgid "" "`bpo-25270 `__: Prevent codecs." "escape_encode() from raising SystemError when an empty bytestring is passed." msgstr "" #: ../build/NEWS:15375 ../build/NEWS:18814 ../build/NEWS:22238 msgid "" "`bpo-28181 `__: Get antigravity over " "HTTPS. Patch by Kaartic Sivaraam." msgstr "" #: ../build/NEWS:15377 ../build/NEWS:18816 ../build/NEWS:22240 msgid "" "`bpo-25895 `__: Enable WebSocket URL " "schemes in urllib.parse.urljoin. Patch by Gergely Imreh and Markus " "Holtermann." msgstr "" #: ../build/NEWS:15380 ../build/NEWS:18819 msgid "" "`bpo-28114 `__: Fix a crash in " "parse_envlist() when env contains byte strings. Patch by Eryk Sun." msgstr "" #: ../build/NEWS:15383 ../build/NEWS:18822 ../build/NEWS:22243 msgid "" "`bpo-27599 `__: Fixed buffer overrun in " "binascii.b2a_qp() and binascii.a2b_qp()." msgstr "" #: ../build/NEWS:15386 ../build/NEWS:18825 ../build/NEWS:22444 msgid "" "`bpo-27906 `__: Fix socket accept " "exhaustion during high TCP traffic. Patch by Kevin Conway." msgstr "" #: ../build/NEWS:15389 ../build/NEWS:18828 ../build/NEWS:22447 msgid "" "`bpo-28174 `__: Handle when SO_REUSEPORT " "isn't properly supported. Patch by Seth Michael Larson." msgstr "" #: ../build/NEWS:15392 ../build/NEWS:18831 ../build/NEWS:22450 msgid "" "`bpo-26654 `__: Inspect functools." "partial in asyncio.Handle.__repr__. Patch by iceboy." msgstr "" #: ../build/NEWS:15395 ../build/NEWS:18834 ../build/NEWS:22453 msgid "" "`bpo-26909 `__: Fix slow pipes IO in " "asyncio. Patch by INADA Naoki." msgstr "" #: ../build/NEWS:15397 ../build/NEWS:18836 ../build/NEWS:22455 msgid "" "`bpo-28176 `__: Fix callbacks race in " "asyncio.SelectorLoop.sock_connect." msgstr "" #: ../build/NEWS:15399 ../build/NEWS:18838 ../build/NEWS:22457 msgid "" "`bpo-27759 `__: Fix selectors " "incorrectly retain invalid file descriptors. Patch by Mark Williams." msgstr "" #: ../build/NEWS:15402 msgid "" "`bpo-28325 `__: Remove vestigial MacOS 9 " "macurl2path module and its tests." msgstr "" #: ../build/NEWS:15404 ../build/NEWS:18841 ../build/NEWS:22460 msgid "" "`bpo-28368 `__: Refuse monitoring " "processes if the child watcher has no loop attached. Patch by Vincent Michel." msgstr "" #: ../build/NEWS:15407 ../build/NEWS:18844 ../build/NEWS:22463 msgid "" "`bpo-28369 `__: Raise RuntimeError when " "transport's FD is used with add_reader, add_writer, etc." msgstr "" #: ../build/NEWS:15410 ../build/NEWS:18847 ../build/NEWS:22466 msgid "" "`bpo-28370 `__: Speedup asyncio." "StreamReader.readexactly. Patch by Коренберг Марк." msgstr "" #: ../build/NEWS:15413 ../build/NEWS:18850 ../build/NEWS:22469 msgid "" "`bpo-28371 `__: Deprecate passing " "asyncio.Handles to run_in_executor." msgstr "" #: ../build/NEWS:15415 ../build/NEWS:18852 ../build/NEWS:22471 msgid "" "`bpo-28372 `__: Fix asyncio to support " "formatting of non-python coroutines." msgstr "" #: ../build/NEWS:15417 ../build/NEWS:18854 ../build/NEWS:22473 msgid "" "`bpo-28399 `__: Remove UNIX socket from " "FS before binding. Patch by Коренберг Марк." msgstr "" #: ../build/NEWS:15420 ../build/NEWS:18857 ../build/NEWS:22476 msgid "" "`bpo-27972 `__: Prohibit Tasks to await " "on themselves." msgstr "" #: ../build/NEWS:15422 ../build/NEWS:18379 msgid "" "`bpo-24142 `__: Reading a corrupt config " "file left configparser in an invalid state. Original patch by Florian Höch." msgstr "" #: ../build/NEWS:15425 ../build/NEWS:17727 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:15429 ../build/NEWS:16918 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:15433 ../build/NEWS:17861 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:15439 ../build/NEWS:17344 msgid "" "`bpo-31294 `__: Fix incomplete code " "snippet in the ZeroMQSocketListener and ZeroMQSocketHandler examples and " "adapt them to Python 3." msgstr "" #: ../build/NEWS:15442 ../build/NEWS:17347 msgid "" "`bpo-21649 `__: Add RFC 7525 and Mozilla " "server side TLS links to SSL documentation." msgstr "" #: ../build/NEWS:15445 msgid "" "`bpo-31128 `__: Allow the pydoc server " "to bind to arbitrary hostnames." msgstr "" #: ../build/NEWS:15447 ../build/NEWS:17350 msgid "" "`bpo-30803 `__: Clarify doc on truth " "value testing. Original patch by Peter Thomassen." msgstr "" #: ../build/NEWS:15450 ../build/NEWS:17916 ../build/NEWS:21868 msgid "" "`bpo-30176 `__: Add missing attribute " "related constants in curses documentation." msgstr "" #: ../build/NEWS:15453 ../build/NEWS:17919 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:15461 ../build/NEWS:17927 ../build/NEWS:21871 msgid "" "`bpo-26985 `__: Add missing info of code " "object in inspect documentation." msgstr "" #: ../build/NEWS:15463 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:15467 ../build/NEWS:18236 ../build/NEWS:21873 msgid "" "`bpo-28929 `__: Link the documentation " "to its source file on GitHub." msgstr "" #: ../build/NEWS:15469 ../build/NEWS:18238 ../build/NEWS:21875 msgid "" "`bpo-25008 `__: Document smtpd.py as " "effectively deprecated and add a pointer to aiosmtpd, a third-party asyncio-" "based replacement." msgstr "" #: ../build/NEWS:15472 ../build/NEWS:18241 ../build/NEWS:21878 msgid "" "`bpo-26355 `__: Add canonical header " "link on each page to corresponding major version of the documentation. Patch " "by Matthias Bussonnier." msgstr "" #: ../build/NEWS:15475 ../build/NEWS:18244 ../build/NEWS:21881 msgid "" "`bpo-29349 `__: Fix Python 2 syntax in " "code for building the documentation." msgstr "" #: ../build/NEWS:15477 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:15482 ../build/NEWS:18495 ../build/NEWS:22544 msgid "" "`bpo-28513 `__: Documented command-line " "interface of zipfile." msgstr "" #: ../build/NEWS:15487 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:15491 ../build/NEWS:17356 msgid "" "`bpo-31320 `__: Silence traceback in " "test_ssl" msgstr "" #: ../build/NEWS:15493 msgid "" "`bpo-31346 `__: Prefer " "PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols for SSLContext." msgstr "" #: ../build/NEWS:15496 ../build/NEWS:17358 msgid "" "`bpo-25674 `__: Remove sha256.tbs-" "internet.com ssl test" msgstr "" #: ../build/NEWS:15498 ../build/NEWS:17360 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:15501 ../build/NEWS:17363 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:15507 ../build/NEWS:16970 msgid "" "`bpo-30695 `__: Add the " "`set_nomemory(start, stop)` and `remove_mem_hooks()` functions to the " "_testcapi module." msgstr "" #: ../build/NEWS:15510 ../build/NEWS:17938 ../build/NEWS:21900 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:15515 ../build/NEWS:17943 ../build/NEWS:21909 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:15521 msgid "" "`bpo-24932 `__: Use proper command line " "parsing in _testembed" msgstr "" #: ../build/NEWS:15523 ../build/NEWS:18259 msgid "" "`bpo-28950 `__: Disallow -j0 to be " "combined with -T/-l in regrtest command line arguments." msgstr "" #: ../build/NEWS:15526 ../build/NEWS:18262 msgid "" "`bpo-28683 `__: Fix the tests that " "bind() a unix socket and raise PermissionError on Android for a non-root " "user." msgstr "" #: ../build/NEWS:15529 msgid "" "`bpo-26936 `__: Fix the test_socket " "failures on Android - getservbyname(), getservbyport() and getaddrinfo() are " "broken on some Android API levels." msgstr "" #: ../build/NEWS:15532 ../build/NEWS:18500 ../build/NEWS:22552 msgid "" "`bpo-28666 `__: Now test.support.rmtree " "is able to remove unwritable or unreadable directories." msgstr "" #: ../build/NEWS:15535 ../build/NEWS:18503 ../build/NEWS:22555 msgid "" "`bpo-23839 `__: Various caches now are " "cleared before running every test file." msgstr "" #: ../build/NEWS:15537 ../build/NEWS:18635 msgid "" "`bpo-26944 `__: Fix test_posix for " "Android where 'id -G' is entirely wrong or missing the effective gid." msgstr "" #: ../build/NEWS:15540 ../build/NEWS:18638 ../build/NEWS:22557 msgid "" "`bpo-28409 `__: regrtest: fix the parser " "of command line arguments." msgstr "" #: ../build/NEWS:15542 ../build/NEWS:18906 msgid "" "`bpo-28217 `__: Adds _testconsole module " "to test console input." msgstr "" #: ../build/NEWS:15544 ../build/NEWS:18265 msgid "" "`bpo-26939 `__: Add the support." "setswitchinterval() function to fix test_functools hanging on the Android " "armv7 qemu emulator." msgstr "" #: ../build/NEWS:15550 msgid "" "`bpo-31354 `__: Allow --with-lto to be " "used on all builds, not just `make profile-opt`." msgstr "" #: ../build/NEWS:15553 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:15558 msgid "" "`bpo-31341 `__: Per :pep:`11`, support " "for the IRIX operating system was removed." msgstr "" #: ../build/NEWS:15561 ../build/NEWS:17372 msgid "" "`bpo-30854 `__: Fix compile error when " "compiling --without-threads. Patch by Masayuki Yamamoto." msgstr "" #: ../build/NEWS:15564 ../build/NEWS:17952 ../build/NEWS:21937 msgid "" "`bpo-30687 `__: Locate msbuild.exe on " "Windows when building rather than vcvarsall.bat" msgstr "" #: ../build/NEWS:15567 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:15571 ../build/NEWS:17896 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:15575 ../build/NEWS:17900 msgid "" "`bpo-28787 `__: Fix out-of-tree builds " "of Python when configured with ``--with--dtrace``." msgstr "" #: ../build/NEWS:15578 ../build/NEWS:17903 ../build/NEWS:21924 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:15582 ../build/NEWS:17907 ../build/NEWS:21928 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:15586 ../build/NEWS:17911 ../build/NEWS:21932 msgid "" "`bpo-29643 `__: Fix ``--enable-" "optimization`` didn't work." msgstr "" #: ../build/NEWS:15588 ../build/NEWS:18271 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:15592 ../build/NEWS:18275 msgid "" "`bpo-29572 `__: Update Windows build and " "OS X installers to use OpenSSL 1.0.2k." msgstr "" #: ../build/NEWS:15594 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:15598 msgid "" "`bpo-29384 `__: Remove old Be OS helper " "scripts." msgstr "" #: ../build/NEWS:15600 ../build/NEWS:18277 msgid "" "`bpo-26851 `__: Set Android compilation " "and link flags." msgstr "" #: ../build/NEWS:15602 ../build/NEWS:18279 msgid "" "`bpo-28768 `__: Fix implicit declaration " "of function _setmode. Patch by Masayuki Yamamoto" msgstr "" #: ../build/NEWS:15605 ../build/NEWS:18282 ../build/NEWS:22595 msgid "" "`bpo-29080 `__: Removes hard dependency " "on hg.exe from PCBuild/build.bat" msgstr "" #: ../build/NEWS:15607 ../build/NEWS:18284 ../build/NEWS:22597 msgid "" "`bpo-23903 `__: Added missed names to PC/" "python3.def." msgstr "" #: ../build/NEWS:15609 ../build/NEWS:18286 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:15612 ../build/NEWS:18289 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:15616 ../build/NEWS:18293 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:15620 ../build/NEWS:18297 msgid "" "`bpo-28849 `__: Do not define sys." "implementation._multiarch on Android." msgstr "" #: ../build/NEWS:15622 ../build/NEWS:18508 ../build/NEWS:22599 msgid "" "`bpo-10656 `__: Fix out-of-tree building " "on AIX. Patch by Tristan Carel and Michael Haubenwallner." msgstr "" #: ../build/NEWS:15625 ../build/NEWS:18511 ../build/NEWS:22602 msgid "" "`bpo-26359 `__: Rename --with-" "optimiations to --enable-optimizations." msgstr "" #: ../build/NEWS:15627 ../build/NEWS:18626 ../build/NEWS:22604 msgid "" "`bpo-28444 `__: Fix missing extensions " "modules when cross compiling." msgstr "" #: ../build/NEWS:15629 ../build/NEWS:18628 msgid "" "`bpo-28208 `__: Update Windows build and " "OS X installers to use SQLite 3.14.2." msgstr "" #: ../build/NEWS:15631 ../build/NEWS:18630 ../build/NEWS:22606 msgid "" "`bpo-28248 `__: Update Windows build and " "OS X installers to use OpenSSL 1.0.2j." msgstr "" #: ../build/NEWS:15633 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:15637 msgid "" "`bpo-13756 `__: Fix building extensions " "modules on Cygwin. Patch by Roumen Petrov, based on original patch by Jason " "Tishler." msgstr "" #: ../build/NEWS:15640 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:15644 ../build/NEWS:18895 ../build/NEWS:22608 msgid "" "`bpo-28258 `__: Fixed build with " "Estonian locale (python-config and distclean targets in Makefile). Patch by " "Arfrever Frehtes Taifersar Arahesis." msgstr "" #: ../build/NEWS:15647 ../build/NEWS:18898 ../build/NEWS:22611 msgid "" "`bpo-26661 `__: setup.py now detects " "system libffi with multiarch wrapper." msgstr "" #: ../build/NEWS:15649 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:15653 ../build/NEWS:18900 ../build/NEWS:22616 msgid "" "`bpo-15819 `__: Remove redundant include " "search directory option for building outside the source tree." msgstr "" #: ../build/NEWS:15656 ../build/NEWS:18513 ../build/NEWS:22653 msgid "" "`bpo-28676 `__: Prevent missing " "'getentropy' declaration warning on macOS. Patch by Gareth Rees." msgstr "" #: ../build/NEWS:15662 msgid "" "`bpo-31392 `__: Update Windows build to " "use OpenSSL 1.1.0f" msgstr "" #: ../build/NEWS:15664 ../build/NEWS:17378 msgid "" "`bpo-30389 `__: Adds detection of Visual " "Studio 2017 to distutils on Windows." msgstr "" #: ../build/NEWS:15666 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:15669 ../build/NEWS:17380 msgid "" "`bpo-31340 `__: Change to building with " "MSVC v141 (included with Visual Studio 2017)" msgstr "" #: ../build/NEWS:15672 ../build/NEWS:17383 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:15675 msgid "" "`bpo-30916 `__: Pre-build OpenSSL, Tcl " "and Tk and include the binaries in the build." msgstr "" #: ../build/NEWS:15678 ../build/NEWS:17386 msgid "" "`bpo-30731 `__: Add a missing xmlns to " "python.manifest so that it matches the schema." msgstr "" #: ../build/NEWS:15681 msgid "" "`bpo-30291 `__: Allow requiring 64-bit " "interpreters from py.exe using -64 suffix. Contributed by Steve (Gadget) " "Barnes." msgstr "" #: ../build/NEWS:15684 msgid "" "`bpo-30362 `__: Adds list options (-0, " "-0p) to py.exe launcher. Contributed by Steve Barnes." msgstr "" #: ../build/NEWS:15687 msgid "" "`bpo-23451 `__: Fix socket deprecation " "warnings in socketmodule.c. Patch by Segev Finer." msgstr "" #: ../build/NEWS:15690 ../build/NEWS:17955 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:15695 msgid "" "`bpo-29579 `__: Removes readme.txt from " "the installer." msgstr "" #: ../build/NEWS:15697 ../build/NEWS:18212 msgid "" "`bpo-25778 `__: winreg does not truncate " "string correctly (Patch by Eryk Sun)" msgstr "" #: ../build/NEWS:15699 msgid "" "`bpo-28896 `__: Deprecate " "WindowsRegistryFinder and disable it by default" msgstr "" #: ../build/NEWS:15701 ../build/NEWS:18621 msgid "" "`bpo-28522 `__: Fixes mishandled buffer " "reallocation in getpathp.c" msgstr "" #: ../build/NEWS:15703 ../build/NEWS:18862 msgid "" "`bpo-28402 `__: Adds signed catalog " "files for stdlib on Windows." msgstr "" #: ../build/NEWS:15705 ../build/NEWS:18864 msgid "" "`bpo-28333 `__: Enables Unicode for ps1/" "ps2 and input() prompts. (Patch by Eryk Sun)" msgstr "" #: ../build/NEWS:15708 ../build/NEWS:18867 ../build/NEWS:22580 msgid "" "`bpo-28251 `__: Improvements to help " "manuals on Windows." msgstr "" #: ../build/NEWS:15710 ../build/NEWS:18869 ../build/NEWS:22582 msgid "" "`bpo-28110 `__: launcher.msi has " "different product codes between 32-bit and 64-bit" msgstr "" #: ../build/NEWS:15713 ../build/NEWS:18872 msgid "" "`bpo-28161 `__: Opening CON for write " "access fails" msgstr "" #: ../build/NEWS:15715 ../build/NEWS:18874 msgid "" "`bpo-28162 `__: WindowsConsoleIO " "readall() fails if first line starts with Ctrl+Z" msgstr "" #: ../build/NEWS:15718 ../build/NEWS:18877 msgid "" "`bpo-28163 `__: WindowsConsoleIO " "fileno() passes wrong flags to _open_osfhandle" msgstr "" #: ../build/NEWS:15720 ../build/NEWS:18879 msgid "" "`bpo-28164 `__: _PyIO_get_console_type " "fails for various paths" msgstr "" #: ../build/NEWS:15722 ../build/NEWS:18881 msgid "" "`bpo-28137 `__: Renames Windows path " "file to ._pth" msgstr "" #: ../build/NEWS:15724 ../build/NEWS:18883 msgid "" "`bpo-28138 `__: Windows ._pth file " "should allow import site" msgstr "" #: ../build/NEWS:15729 ../build/NEWS:17392 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:15732 ../build/NEWS:17395 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:15737 ../build/NEWS:17400 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:15740 ../build/NEWS:17403 msgid "" "`bpo-31480 `__: IDLE - make tests pass " "with zzdummy extension disabled by default." msgstr "" #: ../build/NEWS:15743 ../build/NEWS:17406 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:15747 ../build/NEWS:17410 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:15751 ../build/NEWS:17414 msgid "" "`bpo-31051 `__: Rearrange IDLE " "configdialog GenPage into Window, Editor, and Help sections." msgstr "" #: ../build/NEWS:15754 ../build/NEWS:17417 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:15758 ../build/NEWS:17421 msgid "" "`bpo-31287 `__: IDLE - Do not modify " "tkinter.message in test_configdialog." msgstr "" #: ../build/NEWS:15760 ../build/NEWS:17423 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:15776 ../build/NEWS:17439 msgid "" "`bpo-31206 `__: IDLE: Factor " "HighPage(Frame) class from ConfigDialog. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:15779 ../build/NEWS:17442 msgid "" "`bpo-31001 `__: Add tests for " "configdialog highlight tab. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:15782 ../build/NEWS:17445 msgid "" "`bpo-31205 `__: IDLE: Factor " "KeysPage(Frame) class from ConfigDialog. The slightly modified tests " "continue to pass. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:15785 ../build/NEWS:17448 msgid "" "`bpo-31130 `__: IDLE -- stop leaks in " "test_configdialog. Initial patch by Victor Stinner." msgstr "" #: ../build/NEWS:15788 ../build/NEWS:17451 msgid "" "`bpo-31002 `__: Add tests for " "configdialog keys tab. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:15790 ../build/NEWS:17453 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:15794 ../build/NEWS:17457 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:15797 ../build/NEWS:17460 msgid "" "`bpo-31050 `__: Factor GenPage(Frame) " "class from ConfigDialog. The slightly modified tests continue to pass. Patch " "by Cheryl Sabella." msgstr "" #: ../build/NEWS:15800 ../build/NEWS:17463 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:15804 ../build/NEWS:17467 msgid "" "`bpo-30781 `__: IDLE - Use ttk widgets " "in ConfigDialog. Patches by Terry Jan Reedy and Cheryl Sabella." msgstr "" #: ../build/NEWS:15807 ../build/NEWS:17470 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:15811 ../build/NEWS:17474 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:15816 ../build/NEWS:17479 msgid "" "`bpo-31003 `__: IDLE: Add more tests for " "General tab." msgstr "" #: ../build/NEWS:15818 ../build/NEWS:17481 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:15829 ../build/NEWS:17492 msgid "" "`bpo-30981 `__: IDLE -- Add more " "configdialog font page tests." msgstr "" #: ../build/NEWS:15831 ../build/NEWS:17494 msgid "" "`bpo-28523 `__: IDLE: replace 'colour' " "with 'color' in configdialog." msgstr "" #: ../build/NEWS:15833 ../build/NEWS:17496 msgid "" "`bpo-30917 `__: Add tests for idlelib." "config.IdleConf. Increase coverage from 46% to 96%. Patch by Louie Lu." msgstr "" #: ../build/NEWS:15836 ../build/NEWS:17499 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:15840 ../build/NEWS:17503 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:15844 ../build/NEWS:17507 msgid "" "`bpo-30899 `__: IDLE: Add tests for " "ConfigParser subclasses in config. Patch by Louie Lu." msgstr "" #: ../build/NEWS:15847 ../build/NEWS:17510 msgid "" "`bpo-30881 `__: IDLE: Add docstrings to " "browser.py. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:15849 ../build/NEWS:17512 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:15853 ../build/NEWS:17516 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:15856 ../build/NEWS:17519 msgid "" "`bpo-8231 `__: IDLE: call config.IdleConf." "GetUserCfgDir only once." msgstr "" #: ../build/NEWS:15858 ../build/NEWS:17521 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:15868 ../build/NEWS:17531 msgid "" "`bpo-30777 `__: IDLE: configdialog - Add " "docstrings and fix comments. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:15871 ../build/NEWS:17534 msgid "" "`bpo-30495 `__: IDLE: Improve textview " "with docstrings, PEP8 names, and more tests. Patch by Cheryl Sabella." msgstr "" #: ../build/NEWS:15874 ../build/NEWS:17537 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:15880 ../build/NEWS:17543 msgid "" "`bpo-30674 `__: IDLE: add docstrings to " "grep module. Patch by Cheryl Sabella" msgstr "" #: ../build/NEWS:15882 ../build/NEWS:17545 msgid "" "`bpo-21519 `__: IDLE's basic custom key " "entry dialog now detects duplicates properly. Original patch by Saimadhav " "Heblikar." msgstr "" #: ../build/NEWS:15885 ../build/NEWS:17548 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:15889 ../build/NEWS:17552 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:15894 ../build/NEWS:17557 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:15898 ../build/NEWS:17867 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:15903 ../build/NEWS:17872 msgid "" "`bpo-25514 `__: Add doc subsubsection " "about IDLE failure to start. Popup no-connection message directs users to " "this section." msgstr "" #: ../build/NEWS:15906 ../build/NEWS:17875 msgid "" "`bpo-30642 `__: Fix reference leaks in " "IDLE tests. Patches by Louie Lu and Terry Jan Reedy." msgstr "" #: ../build/NEWS:15909 ../build/NEWS:17878 msgid "" "`bpo-30495 `__: Add docstrings for " "textview.py and use PEP8 names. Patches by Cheryl Sabella and Terry Jan " "Reedy." msgstr "" #: ../build/NEWS:15912 ../build/NEWS:17881 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:15915 ../build/NEWS:17884 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:15918 ../build/NEWS:18193 msgid "" "`bpo-29071 `__: IDLE colors f-string " "prefixes (but not invalid ur prefixes)." msgstr "" #: ../build/NEWS:15920 ../build/NEWS:18195 msgid "" "`bpo-28572 `__: Add 10% to coverage of " "IDLE's test_configdialog. Update and augment description of the " "configuration system." msgstr "" #: ../build/NEWS:15926 ../build/NEWS:17564 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:15934 msgid "" "`bpo-29748 `__: Added the slice index " "converter in Argument Clinic." msgstr "" #: ../build/NEWS:15936 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:15941 ../build/NEWS:17932 msgid "" "`bpo-29367 `__: python-gdb.py now " "supports also ``method-wrapper`` (``wrapperobject``) objects." msgstr "" #: ../build/NEWS:15944 ../build/NEWS:18400 msgid "" "`bpo-28023 `__: Fix python-gdb.py didn't " "support new dict implementation." msgstr "" #: ../build/NEWS:15946 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:15951 msgid "" "`bpo-28102 `__: The zipfile module CLI " "now prints usage to stderr. Patch by Stephen J. Turnbull." msgstr "" #: ../build/NEWS:15957 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:15961 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:15968 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:15971 msgid "" "`bpo-16500 `__: Deprecate " "PyOS_AfterFork() and add PyOS_BeforeFork(), PyOS_AfterFork_Parent() and " "PyOS_AfterFork_Child()." msgstr "" #: ../build/NEWS:15974 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:15978 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:15983 ../build/NEWS:18223 ../build/NEWS:21950 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:15989 msgid "" "`bpo-28769 `__: The result of " "PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of type ``const char " "*`` rather of ``char *``." msgstr "" #: ../build/NEWS:15992 ../build/NEWS:18229 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:15996 msgid "" "`bpo-28822 `__: The index parameters " "*start* and *end* of PyUnicode_FindChar() are now adjusted to behave like " "``str[start:end]``." msgstr "" #: ../build/NEWS:15999 ../build/NEWS:18387 ../build/NEWS:22535 msgid "" "`bpo-28808 `__: " "PyUnicode_CompareWithASCIIString() now never raises exceptions." msgstr "" #: ../build/NEWS:16001 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:16005 msgid "" "`bpo-28748 `__: Private variable " "_Py_PackageContext is now of type ``const char *`` rather of ``char *``." msgstr "" #: ../build/NEWS:16008 msgid "" "`bpo-19569 `__: Compiler warnings are " "now emitted if use most of deprecated functions." msgstr "" #: ../build/NEWS:16011 ../build/NEWS:18888 msgid "" "`bpo-28426 `__: Deprecated undocumented " "functions PyUnicode_AsEncodedObject(), PyUnicode_AsDecodedObject(), " "PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode()." msgstr "" #: ../build/NEWS:16017 msgid "Python 3.6.6 final" msgstr "" #: ../build/NEWS:16021 msgid "There were no new changes in version 3.6.6." msgstr "" #: ../build/NEWS:16026 msgid "Python 3.6.6 release candidate 1" msgstr "" #: ../build/NEWS:16028 msgid "*Release date: 2018-06-11*" msgstr "" #: ../build/NEWS:16259 msgid "" "`bpo-33184 `__: Update Windows installer " "to OpenSSL 1.0.2o." msgstr "" #: ../build/NEWS:16264 msgid "" "`bpo-33184 `__: Update macOS installer " "build to use OpenSSL 1.0.2o." msgstr "" #: ../build/NEWS:16296 msgid "" "`bpo-29706 `__: IDLE now colors async " "and await as keywords in 3.6. They become full keywords in 3.7." msgstr "" #: ../build/NEWS:16337 msgid "Python 3.6.5 final" msgstr "" #: ../build/NEWS:16339 msgid "*Release date: 2018-03-28*" msgstr "" #: ../build/NEWS:16353 msgid "Python 3.6.5 release candidate 1" msgstr "" #: ../build/NEWS:16355 msgid "*Release date: 2018-03-13*" msgstr "" #: ../build/NEWS:16394 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:16397 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:16424 msgid "" "`bpo-30353 `__: Fix ctypes pass-by-value " "for structs on 64-bit Cygwin/MinGW." msgstr "" #: ../build/NEWS:16462 msgid "" "`bpo-32394 `__: socket: Remove " "TCP_FASTOPEN, TCP_KEEPCNT flags on older version Windows during run-time." msgstr "" #: ../build/NEWS:16494 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:16512 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:16577 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:16610 msgid "" "`bpo-32588 `__: Create standalone " "_distutils_findvs module." msgstr "" #: ../build/NEWS:16615 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:16671 msgid "Python 3.6.4 final" msgstr "" #: ../build/NEWS:16673 msgid "*Release date: 2017-12-18*" msgstr "" #: ../build/NEWS:16675 msgid "There were no new code changes in version 3.6.4 since v3.6.4rc1." msgstr "" #: ../build/NEWS:16680 msgid "Python 3.6.4 release candidate 1" msgstr "" #: ../build/NEWS:16709 msgid "" "`bpo-31852 `__: Fix a segmentation fault " "caused by a combination of the async soft keyword and continuation lines." msgstr "" #: ../build/NEWS:17043 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:17099 msgid "Python 3.6.3 final" msgstr "" #: ../build/NEWS:17101 msgid "*Release date: 2017-10-03*" msgstr "" #: ../build/NEWS:17106 msgid "" "`bpo-31641 `__: Re-allow arbitrary " "iterables in `concurrent.futures.as_completed()`. Fixes regression in " "3.6.3rc1." msgstr "" #: ../build/NEWS:17112 msgid "" "`bpo-31662 `__: Fix typos in Windows " "``uploadrelease.bat`` script. Fix Windows Doc build issues in ``Doc/make." "bat``." msgstr "" #: ../build/NEWS:17115 msgid "" "`bpo-31423 `__: Fix building the PDF " "documentation with newer versions of Sphinx." msgstr "" #: ../build/NEWS:17120 msgid "Python 3.6.3 release candidate 1" msgstr "" #: ../build/NEWS:17122 msgid "*Release date: 2017-09-18*" msgstr "" #: ../build/NEWS:17574 msgid "Python 3.6.2 final" msgstr "" #: ../build/NEWS:17576 msgid "*Release date: 2017-07-17*" msgstr "" #: ../build/NEWS:17578 ../build/NEWS:18305 msgid "No changes since release candidate 2" msgstr "" #: ../build/NEWS:17583 msgid "Python 3.6.2 release candidate 2" msgstr "" #: ../build/NEWS:17585 msgid "*Release date: 2017-07-07*" msgstr "" #: ../build/NEWS:17610 msgid "Python 3.6.2 release candidate 1" msgstr "" #: ../build/NEWS:17612 msgid "*Release date: 2017-06-17*" msgstr "" #: ../build/NEWS:17620 msgid "" "`bpo-30604 `__: Move co_extra_freefuncs " "to not be per-thread to avoid crashes" msgstr "" #: ../build/NEWS:17650 ../build/NEWS:21602 msgid "" "`bpo-29600 `__: Fix wrapping coroutine " "return values in StopIteration." msgstr "" #: ../build/NEWS:17679 ../build/NEWS:21668 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:17699 msgid "" "`bpo-24484 `__: Avoid race condition in " "multiprocessing cleanup (#2159)" msgstr "" #: ../build/NEWS:17773 ../build/NEWS:21736 msgid "" "`bpo-26293 `__: Change resulted because " "of zipfile breakage. (See also: `bpo-29094 `__)" msgstr "" #: ../build/NEWS:17847 ../build/NEWS:21803 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:17890 msgid "" "`bpo-27867 `__: Function " "PySlice_GetIndicesEx() no longer replaced with a macro if Py_LIMITED_API is " "not set." msgstr "" #: ../build/NEWS:17962 msgid "Python 3.6.1 final" msgstr "" #: ../build/NEWS:17964 msgid "*Release date: 2017-03-21*" msgstr "" #: ../build/NEWS:17980 msgid "" "`bpo-27593 `__: fix format of git " "information used in sys.version" msgstr "" #: ../build/NEWS:17982 msgid "Fix incompatible comment in python.h" msgstr "" #: ../build/NEWS:17986 msgid "Python 3.6.1 release candidate 1" msgstr "" #: ../build/NEWS:17988 msgid "*Release date: 2017-03-04*" msgstr "" #: ../build/NEWS:18099 ../build/NEWS:21835 msgid "" "`bpo-29519 `__: Fix weakref spewing " "exceptions during interpreter shutdown when used with a rare combination of " "multiprocessing and custom codecs." msgstr "" #: ../build/NEWS:18115 msgid "" "`bpo-29316 `__: Restore the provisional " "status of typing module, add corresponding note to documentation. Patch by " "Ivan L." msgstr "" #: ../build/NEWS:18121 ../build/NEWS:21851 msgid "" "`bpo-29011 `__: Fix an important " "omission by adding Deque to the typing module." msgstr "" #: ../build/NEWS:18135 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:18142 ../build/NEWS:22108 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:18145 msgid "" "`bpo-29085 `__: Allow random.Random." "seed() to use high quality OS randomness rather than the pid and time." msgstr "" #: ../build/NEWS:18148 msgid "" "`bpo-29061 `__: Fixed bug in secrets." "randbelow() which would hang when given a negative input. Patch by Brendan " "Donegan." msgstr "" #: ../build/NEWS:18156 ../build/NEWS:22114 msgid "" "`bpo-29119 `__: Fix weakrefs in the pure " "python version of collections.OrderedDict move_to_end() method. Contributed " "by Andra Bogildea." msgstr "" #: ../build/NEWS:18168 msgid "" "`bpo-29055 `__: Neaten-up empty " "population error on random.choice() by suppressing the upstream exception." msgstr "" #: ../build/NEWS:18183 ../build/NEWS:22138 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:18201 msgid "" "`bpo-29579 `__: Removes readme.txt from " "the installer" msgstr "" #: ../build/NEWS:18203 msgid "" "`bpo-29326 `__: Ignores blank lines in ." "_pth files (Patch by Alexey Izbyshev)" msgstr "" #: ../build/NEWS:18205 msgid "" "`bpo-28164 `__: Correctly handle special " "console filenames (patch by Eryk Sun)" msgstr "" #: ../build/NEWS:18207 msgid "" "`bpo-29409 `__: Implement :pep:`529` for " "io.FileIO (Patch by Eryk Sun)" msgstr "" #: ../build/NEWS:18209 ../build/NEWS:21940 msgid "" "`bpo-29392 `__: Prevent crash when " "passing invalid arguments into msvcrt module." msgstr "" #: ../build/NEWS:18214 msgid "" "`bpo-28896 `__: Deprecate " "WindowsRegistryFinder and disable it by default." msgstr "" #: ../build/NEWS:18219 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:18249 ../build/NEWS:21905 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:18253 ../build/NEWS:21915 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:18301 msgid "Python 3.6.0 final" msgstr "" #: ../build/NEWS:18303 msgid "*Release date: 2016-12-23*" msgstr "" #: ../build/NEWS:18310 msgid "Python 3.6.0 release candidate 2" msgstr "" #: ../build/NEWS:18312 msgid "*Release date: 2016-12-16*" msgstr "" #: ../build/NEWS:18320 msgid "" "`bpo-28990 `__: Fix asyncio SSL hanging " "if connection is closed before handshake is completed. (Patch by HoHo-Ho)" msgstr "" #: ../build/NEWS:18326 msgid "" "`bpo-28770 `__: Fix python-gdb.py for " "fastcalls." msgstr "" #: ../build/NEWS:18331 msgid "" "`bpo-28896 `__: Deprecate " "WindowsRegistryFinder." msgstr "" #: ../build/NEWS:18336 msgid "" "`bpo-28898 `__: Prevent gdb build errors " "due to HAVE_LONG_LONG redefinition." msgstr "" #: ../build/NEWS:18340 msgid "Python 3.6.0 release candidate 1" msgstr "" #: ../build/NEWS:18342 msgid "*Release date: 2016-12-06*" msgstr "" #: ../build/NEWS:18364 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:18382 msgid "" "`bpo-28843 `__: Fix asyncio C Task to " "handle exceptions __traceback__." msgstr "" #: ../build/NEWS:18392 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:18404 msgid "Python 3.6.0 beta 4" msgstr "" #: ../build/NEWS:18406 msgid "*Release date: 2016-11-21*" msgstr "" #: ../build/NEWS:18434 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:18453 msgid "" "`bpo-20572 `__: The subprocess.Popen." "wait method's undocumented endtime parameter now raises a DeprecationWarning." msgstr "" #: ../build/NEWS:18470 msgid "" "`bpo-28600 `__: Optimize loop.call_soon." msgstr "" #: ../build/NEWS:18472 ../build/NEWS:22486 msgid "" "`bpo-28613 `__: Fix get_event_loop() " "return the current loop if called from coroutines/callbacks." msgstr "" #: ../build/NEWS:18475 msgid "" "`bpo-28634 `__: Fix asyncio.isfuture() " "to support unittest.Mock." msgstr "" #: ../build/NEWS:18477 msgid "" "`bpo-26081 `__: Fix refleak in _asyncio." "Future.__iter__().throw." msgstr "" #: ../build/NEWS:18479 ../build/NEWS:22489 msgid "" "`bpo-28639 `__: Fix inspect.isawaitable " "to always return bool Patch by Justin Mayfield." msgstr "" #: ../build/NEWS:18482 ../build/NEWS:22492 msgid "" "`bpo-28652 `__: Make loop methods reject " "socket kinds they do not support." msgstr "" #: ../build/NEWS:18484 ../build/NEWS:22494 msgid "" "`bpo-28653 `__: Fix a refleak in " "functools.lru_cache." msgstr "" #: ../build/NEWS:18486 ../build/NEWS:22496 msgid "" "`bpo-28703 `__: Fix asyncio." "iscoroutinefunction to handle Mock objects." msgstr "" #: ../build/NEWS:18488 msgid "" "`bpo-28704 `__: Fix create_unix_server " "to support Path-like objects (PEP 519)." msgstr "" #: ../build/NEWS:18490 msgid "" "`bpo-28720 `__: Add collections.abc." "AsyncGenerator." msgstr "" #: ../build/NEWS:18518 msgid "Python 3.6.0 beta 3" msgstr "" #: ../build/NEWS:18520 msgid "*Release date: 2016-10-31*" msgstr "" #: ../build/NEWS:18543 msgid "" "`bpo-28471 `__: Fix \"Python memory " "allocator called without holding the GIL\" crash in socket.setblocking." msgstr "" #: ../build/NEWS:18565 msgid "" "`bpo-18844 `__: The various ways of " "specifying weights for random.choices() now produce the same result " "sequences." msgstr "" #: ../build/NEWS:18568 ../build/NEWS:22170 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:18601 ../build/NEWS:22184 msgid "" "`bpo-24452 `__: Make webbrowser support " "Chrome on Mac OS X." msgstr "" #: ../build/NEWS:18606 msgid "" "`bpo-28492 `__: Fix how StopIteration " "exception is raised in _asyncio.Future." msgstr "" #: ../build/NEWS:18608 msgid "" "`bpo-28500 `__: Fix asyncio to handle " "async gens GC from another thread." msgstr "" #: ../build/NEWS:18610 ../build/NEWS:22478 msgid "" "`bpo-26923 `__: Fix asyncio.Gather to " "refuse being cancelled once all children are done. Patch by Johannes Ebke." msgstr "" #: ../build/NEWS:18613 ../build/NEWS:22481 msgid "" "`bpo-26796 `__: Don't configure the " "number of workers for default threadpool executor. Initial patch by Hans " "Lawrenz." msgstr "" #: ../build/NEWS:18616 msgid "" "`bpo-28544 `__: Implement asyncio.Task " "in C." msgstr "" #: ../build/NEWS:18642 msgid "Python 3.6.0 beta 2" msgstr "" #: ../build/NEWS:18644 msgid "*Release date: 2016-10-10*" msgstr "" #: ../build/NEWS:18660 msgid "" "`bpo-28376 `__: Creating instances of " "range_iterator by calling range_iterator type now is deprecated. Patch by " "Oren Milman." msgstr "" #: ../build/NEWS:18663 ../build/NEWS:22011 msgid "" "`bpo-28376 `__: The constructor of " "range_iterator now checks that step is not 0. Patch by Oren Milman." msgstr "" #: ../build/NEWS:18724 ../build/NEWS:22189 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:18731 msgid "" "`bpo-27181 `__: remove statistics." "geometric_mean and defer until 3.7." msgstr "" #: ../build/NEWS:18910 msgid "Python 3.6.0 beta 1" msgstr "" #: ../build/NEWS:18912 msgid "*Release date: 2016-09-12*" msgstr "" #: ../build/NEWS:18917 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:18922 ../build/NEWS:22042 msgid "" "`bpo-25221 `__: Fix corrupted result " "from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0." msgstr "" #: ../build/NEWS:18925 msgid "" "`bpo-27080 `__: Implement formatting " "support for :pep:`515`. Initial patch by Chris Angelico." msgstr "" #: ../build/NEWS:18928 msgid "" "`bpo-27199 `__: In tarfile, expose " "copyfileobj bufsize to improve throughput. Patch by Jason Fried." msgstr "" #: ../build/NEWS:18931 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:18937 msgid "" "`bpo-28046 `__: Remove platform-specific " "directories from sys.path." msgstr "" #: ../build/NEWS:18939 msgid "" "`bpo-28071 `__: Add early-out for " "differencing from an empty set." msgstr "" #: ../build/NEWS:18941 ../build/NEWS:22045 msgid "" "`bpo-25758 `__: Prevents zipimport from " "unnecessarily encoding a filename (patch by Eryk Sun)" msgstr "" #: ../build/NEWS:18944 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:18947 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:18951 msgid "" "`bpo-26331 `__: Implement tokenizing " "support for :pep:`515`. Patch by Georg Brandl." msgstr "" #: ../build/NEWS:18954 msgid "" "`bpo-27999 `__: Make \"global after use" "\" a SyntaxError, and ditto for nonlocal. Patch by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:18957 msgid "" "`bpo-28003 `__: Implement :pep:`525` -- " "Asynchronous Generators." msgstr "" #: ../build/NEWS:18959 msgid "" "`bpo-27985 `__: Implement :pep:`526` -- " "Syntax for Variable Annotations. Patch by Ivan Levkivskyi." msgstr "" #: ../build/NEWS:18962 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:18966 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:18969 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:18973 msgid "" "`bpo-27911 `__: Remove unnecessary error " "checks in ``exec_builtin_or_dynamic()``." msgstr "" #: ../build/NEWS:18976 msgid "" "`bpo-27078 `__: Added BUILD_STRING " "opcode. Optimized f-strings evaluation." msgstr "" #: ../build/NEWS:18978 msgid "" "`bpo-17884 `__: Python now requires " "systems with inttypes.h and stdint.h" msgstr "" #: ../build/NEWS:18980 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:18984 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:18987 msgid "Implement :pep:`523`." msgstr "" #: ../build/NEWS:18989 msgid "" "`bpo-27870 `__: A left shift of zero by " "a large integer no longer attempts to allocate large amounts of memory." msgstr "" #: ../build/NEWS:18992 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:18996 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:19000 msgid "" "`bpo-27506 `__: Support passing the " "bytes/bytearray.translate() \"delete\" argument by keyword." msgstr "" #: ../build/NEWS:19003 ../build/NEWS:22051 msgid "" "`bpo-27812 `__: Properly clear out a " "generator's frame's backreference to the generator to prevent crashes in " "frame.clear()." msgstr "" #: ../build/NEWS:19006 ../build/NEWS:22054 msgid "" "`bpo-27811 `__: Fix a crash when a " "coroutine that has not been awaited is finalized with warnings-as-errors " "enabled." msgstr "" #: ../build/NEWS:19009 ../build/NEWS:22057 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:19012 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:19016 msgid "" "`bpo-26984 `__: int() now always returns " "an instance of exact int." msgstr "" #: ../build/NEWS:19018 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:19022 msgid "" "`bpo-24254 `__: Make class definition " "namespace ordered by default." msgstr "" #: ../build/NEWS:19024 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:19028 ../build/NEWS:22063 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:19032 ../build/NEWS:22067 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:19036 ../build/NEWS:22071 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:19040 msgid "" "`bpo-27157 `__: Make only type() itself " "accept the one-argument form. Patch by Eryk Sun and Emanuel Barry." msgstr "" #: ../build/NEWS:19043 ../build/NEWS:22075 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:19047 msgid "" "`bpo-28008 `__: Implement :pep:`530` -- " "asynchronous comprehensions." msgstr "" #: ../build/NEWS:19049 ../build/NEWS:22100 msgid "" "`bpo-27942 `__: Fix memory leak in " "codeobject.c" msgstr "" #: ../build/NEWS:19054 ../build/NEWS:22144 msgid "" "`bpo-28732 `__: Fix crash in os.spawnv() " "with no elements in args" msgstr "" #: ../build/NEWS:19056 ../build/NEWS:22146 msgid "" "`bpo-28485 `__: Always raise ValueError " "for negative compileall.compile_dir(workers=...) parameter, even when " "multithreading is unavailable." msgstr "" #: ../build/NEWS:19060 msgid "" "`bpo-28037 `__: Use " "sqlite3_get_autocommit() instead of setting Connection->inTransaction " "manually." msgstr "" #: ../build/NEWS:19063 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:19066 msgid "" "`bpo-24454 `__: Regular expression match " "object groups are now accessible using __getitem__. \"mo[x]\" is equivalent " "to \"mo.group(x)\"." msgstr "" #: ../build/NEWS:19069 msgid "" "`bpo-10740 `__: sqlite3 no longer " "implicitly commit an open transaction before DDL statements." msgstr "" #: ../build/NEWS:19072 msgid "" "`bpo-17941 `__: Add a *module* parameter " "to collections.namedtuple()." msgstr "" #: ../build/NEWS:19074 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:19078 msgid "" "`bpo-26885 `__: xmlrpc now supports " "unmarshalling additional data types used by Apache XML-RPC implementation " "for numerics and None." msgstr "" #: ../build/NEWS:19081 msgid "" "`bpo-28070 `__: Fixed parsing inline " "verbose flag in regular expressions." msgstr "" #: ../build/NEWS:19083 msgid "" "`bpo-19500 `__: Add client-side SSL " "session resumption to the ssl module." msgstr "" #: ../build/NEWS:19085 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:19089 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:19093 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:19096 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:19099 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:19104 ../build/NEWS:22199 msgid "" "Fix possible integer overflows and crashes in the mmap module with unusual " "usage patterns." msgstr "" #: ../build/NEWS:19107 ../build/NEWS:22202 msgid "" "`bpo-1703178 `__: Fix the ability to " "pass the --link-objects option to the distutils build_ext command." msgstr "" #: ../build/NEWS:19110 ../build/NEWS:22249 msgid "" "`bpo-28019 `__: itertools.count() no " "longer rounds non-integer step in range between 1.0 and 2.0 to 1." msgstr "" #: ../build/NEWS:19113 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:19117 ../build/NEWS:22252 msgid "" "`bpo-25969 `__: Update the lib2to3 " "grammar to handle the unpacking generalizations added in 3.5." msgstr "" #: ../build/NEWS:19120 ../build/NEWS:22255 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:19123 msgid "" "`bpo-28082 `__: Convert re flag " "constants to IntFlag." msgstr "" #: ../build/NEWS:19125 msgid "" "`bpo-28025 `__: Convert all ssl module " "constants to IntEnum and IntFlags. SSLContext properties now return flags " "and enums." msgstr "" #: ../build/NEWS:19128 msgid "" "`bpo-23591 `__: Add Flag, IntFlag, and " "auto() to enum module." msgstr "" #: ../build/NEWS:19130 msgid "" "`bpo-433028 `__: Added support of " "modifier spans in regular expressions." msgstr "" #: ../build/NEWS:19132 ../build/NEWS:22258 msgid "" "`bpo-24594 `__: Validates persist " "parameter when opening MSI database" msgstr "" #: ../build/NEWS:19134 ../build/NEWS:22260 msgid "" "`bpo-17582 `__: xml.etree.ElementTree " "nows preserves whitespaces in attributes (Patch by Duane Griffin. Reviewed " "and approved by Stefan Behnel.)" msgstr "" #: ../build/NEWS:19137 ../build/NEWS:22263 msgid "" "`bpo-28047 `__: Fixed calculation of " "line length used for the base64 CTE in the new email policies." msgstr "" #: ../build/NEWS:19140 msgid "" "`bpo-27576 `__: Fix call order in " "OrderedDict.__init__()." msgstr "" #: ../build/NEWS:19142 msgid "email.generator.DecodedGenerator now supports the policy keyword." msgstr "" #: ../build/NEWS:19144 msgid "" "`bpo-28027 `__: Remove undocumented " "modules from ``Lib/plat-*``: IN, CDROM, DLFCN, TYPES, CDIO, and STROPTS." msgstr "" #: ../build/NEWS:19147 ../build/NEWS:22266 msgid "" "`bpo-27445 `__: Don't pass str(_charset) " "to MIMEText.set_payload(). Patch by Claude Paroz." msgstr "" #: ../build/NEWS:19150 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:19153 ../build/NEWS:22269 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:19157 ../build/NEWS:22273 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:19161 msgid "" "`bpo-28005 `__: Allow ImportErrors in " "encoding implementation to propagate." msgstr "" #: ../build/NEWS:19163 msgid "" "`bpo-26667 `__: Support path-like " "objects in importlib.util." msgstr "" #: ../build/NEWS:19165 ../build/NEWS:22277 msgid "" "`bpo-27570 `__: Avoid zero-length " "memcpy() etc calls with null source pointers in the \"ctypes\" and \"array\" " "modules." msgstr "" #: ../build/NEWS:19168 ../build/NEWS:22280 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:19172 msgid "" "`bpo-27331 `__: The email.mime classes " "now all accept an optional policy keyword." msgstr "" #: ../build/NEWS:19175 ../build/NEWS:22284 msgid "" "`bpo-27988 `__: Fix email " "iter_attachments incorrect mutation of payload list." msgstr "" #: ../build/NEWS:19177 msgid "" "`bpo-16113 `__: Add SHA-3 and SHAKE " "support to hashlib module." msgstr "" #: ../build/NEWS:19179 msgid "Eliminate a tautological-pointer-compare warning in _scproxy.c." msgstr "" #: ../build/NEWS:19181 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:19185 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:19188 ../build/NEWS:22286 msgid "" "`bpo-27691 `__: Fix ssl module's parsing " "of GEN_RID subject alternative name fields in X.509 certs." msgstr "" #: ../build/NEWS:19191 msgid "" "`bpo-18844 `__: Add random.choices()." msgstr "" #: ../build/NEWS:19193 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:19197 msgid "" "`bpo-26798 `__: Add BLAKE2 (blake2b and " "blake2s) to hashlib." msgstr "" #: ../build/NEWS:19199 msgid "" "`bpo-26032 `__: Optimized globbing in " "pathlib by using os.scandir(); it is now about 1.5--4 times faster." msgstr "" #: ../build/NEWS:19202 msgid "" "`bpo-25596 `__: Optimized glob() and " "iglob() functions in the glob module; they are now about 3--6 times faster." msgstr "" #: ../build/NEWS:19205 msgid "" "`bpo-27928 `__: Add scrypt (password-" "based key derivation function) to hashlib module (requires OpenSSL 1.1.0)." msgstr "" #: ../build/NEWS:19208 ../build/NEWS:22289 msgid "" "`bpo-27850 `__: Remove 3DES from ssl " "module's default cipher list to counter measure sweet32 attack " "(CVE-2016-2183)." msgstr "" #: ../build/NEWS:19211 ../build/NEWS:22292 msgid "" "`bpo-27766 `__: Add ChaCha20 Poly1305 to " "ssl module's default cipher list. (Required OpenSSL 1.1.0 or LibreSSL)." msgstr "" #: ../build/NEWS:19214 msgid "" "`bpo-25387 `__: Check return value of " "winsound.MessageBeep." msgstr "" #: ../build/NEWS:19216 msgid "" "`bpo-27866 `__: Add SSLContext." "get_ciphers() method to get a list of all enabled ciphers." msgstr "" #: ../build/NEWS:19219 msgid "" "`bpo-27744 `__: Add AF_ALG (Linux Kernel " "crypto) to socket module." msgstr "" #: ../build/NEWS:19221 ../build/NEWS:22295 msgid "" "`bpo-26470 `__: Port ssl and hashlib " "module to OpenSSL 1.1.0." msgstr "" #: ../build/NEWS:19223 msgid "" "`bpo-11620 `__: Fix support for " "SND_MEMORY in winsound.PlaySound. Based on a patch by Tim Lesher." msgstr "" #: ../build/NEWS:19226 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:19229 msgid "" "`bpo-27919 `__: Deprecated " "``extra_path`` distribution option in distutils packaging." msgstr "" #: ../build/NEWS:19232 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:19236 msgid "" "`bpo-27842 `__: The csv.DictReader now " "returns rows of type OrderedDict. (Contributed by Steve Holden.)" msgstr "" #: ../build/NEWS:19239 ../build/NEWS:22297 msgid "" "Remove support for passing a file descriptor to os.access. It never worked " "but previously didn't raise." msgstr "" #: ../build/NEWS:19242 ../build/NEWS:22300 msgid "" "`bpo-12885 `__: Fix error when distutils " "encounters symlink." msgstr "" #: ../build/NEWS:19244 ../build/NEWS:22302 msgid "" "`bpo-27881 `__: Fixed possible bugs when " "setting sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang." msgstr "" #: ../build/NEWS:19247 ../build/NEWS:22305 msgid "" "`bpo-27861 `__: Fixed a crash in sqlite3." "Connection.cursor() when a factory creates not a cursor. Patch by Xiang " "Zhang." msgstr "" #: ../build/NEWS:19250 ../build/NEWS:22308 msgid "" "`bpo-19884 `__: Avoid spurious output on " "OS X with Gnu Readline." msgstr "" #: ../build/NEWS:19252 ../build/NEWS:22310 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:19257 ../build/NEWS:22315 msgid "" "`bpo-10513 `__: Fix a regression in " "Connection.commit(). Statements should not be reset after a commit." msgstr "" #: ../build/NEWS:19260 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:19267 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:19272 msgid "" "`bpo-27832 `__: Make ``_normalize`` " "parameter to ``Fraction`` constructor keyword-only, so that ``Fraction(2, 3, " "4)`` now raises ``TypeError``." msgstr "" #: ../build/NEWS:19275 ../build/NEWS:22323 msgid "" "`bpo-27539 `__: Fix unnormalised " "``Fraction.__pow__`` result in the case of negative exponent and negative " "base." msgstr "" #: ../build/NEWS:19278 ../build/NEWS:22326 msgid "" "`bpo-21718 `__: cursor.description is " "now available for queries using CTEs." msgstr "" #: ../build/NEWS:19280 msgid "" "`bpo-27819 `__: In distutils sdists, " "simply produce the \"gztar\" (gzipped tar format) distributions on all " "platforms unless \"formats\" is supplied." msgstr "" #: ../build/NEWS:19283 ../build/NEWS:22328 msgid "" "`bpo-2466 `__: posixpath.ismount now " "correctly recognizes mount points which the user does not have permission to " "access." msgstr "" #: ../build/NEWS:19286 msgid "" "`bpo-9998 `__: On Linux, ctypes.util." "find_library now looks in LD_LIBRARY_PATH for shared libraries." msgstr "" #: ../build/NEWS:19289 msgid "" "`bpo-27573 `__: exit message for code." "interact is now configurable." msgstr "" #: ../build/NEWS:19291 ../build/NEWS:22436 msgid "" "`bpo-27930 `__: Improved behaviour of " "logging.handlers.QueueListener. Thanks to Paulo Andrade and Petr Viktorin " "for the analysis and patch." msgstr "" #: ../build/NEWS:19294 msgid "" "`bpo-6766 `__: Distributed reference " "counting added to multiprocessing to support nesting of shared values / " "proxy objects." msgstr "" #: ../build/NEWS:19297 ../build/NEWS:22439 msgid "" "`bpo-21201 `__: Improves readability of " "multiprocessing error message. Thanks to Wojciech Walczak for patch." msgstr "" #: ../build/NEWS:19300 msgid "asyncio: Add set_protocol / get_protocol to Transports." msgstr "" #: ../build/NEWS:19302 ../build/NEWS:22442 msgid "" "`bpo-27456 `__: asyncio: Set TCP_NODELAY " "by default." msgstr "" #: ../build/NEWS:19307 ../build/NEWS:22507 msgid "" "`bpo-15308 `__: Add 'interrupt " "execution' (^C) to Shell menu. Patch by Roger Serwy, updated by Bayard " "Randel." msgstr "" #: ../build/NEWS:19310 ../build/NEWS:22510 msgid "" "`bpo-27922 `__: Stop IDLE tests from " "'flashing' gui widgets on the screen." msgstr "" #: ../build/NEWS:19312 msgid "" "`bpo-27891 `__: Consistently group and " "sort imports within idlelib modules." msgstr "" #: ../build/NEWS:19314 msgid "" "`bpo-17642 `__: add larger font sizes " "for classroom projection." msgstr "" #: ../build/NEWS:19316 ../build/NEWS:22512 msgid "Add version to title of IDLE help window." msgstr "" #: ../build/NEWS:19318 ../build/NEWS:22514 msgid "" "`bpo-25564 `__: In section on IDLE -- " "console differences, mention that using exec means that __builtins__ is " "defined for each statement." msgstr "" #: ../build/NEWS:19321 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:19327 msgid "" "`bpo-26900 `__: Excluded underscored " "names and other private API from limited API." msgstr "" #: ../build/NEWS:19330 msgid "" "`bpo-26027 `__: Add support for path-" "like objects in PyUnicode_FSConverter() & PyUnicode_FSDecoder()." msgstr "" #: ../build/NEWS:19336 msgid "" "`bpo-27427 `__: Additional tests for the " "math module. Patch by Francisco Couzo." msgstr "" #: ../build/NEWS:19338 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:19341 msgid "" "`bpo-26040 `__: Improve test_math and " "test_cmath coverage and rigour. Patch by Jeff Allen." msgstr "" #: ../build/NEWS:19344 ../build/NEWS:22559 msgid "" "`bpo-27787 `__: Call gc.collect() before " "checking each test for \"dangling threads\", since the dangling threads are " "weak references." msgstr "" #: ../build/NEWS:19350 ../build/NEWS:22619 msgid "" "`bpo-27566 `__: Fix clean target in " "freeze makefile (patch by Lisa Roach)" msgstr "" #: ../build/NEWS:19352 ../build/NEWS:22621 msgid "" "`bpo-27705 `__: Update message in " "validate_ucrtbase.py" msgstr "" #: ../build/NEWS:19354 msgid "" "`bpo-27976 `__: Deprecate building " "_ctypes with the bundled copy of libffi on non-OSX UNIX platforms." msgstr "" #: ../build/NEWS:19357 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:19362 msgid "" "`bpo-21590 `__: Support for DTrace and " "SystemTap probes." msgstr "" #: ../build/NEWS:19364 ../build/NEWS:22628 msgid "" "`bpo-26307 `__: The profile-opt build " "now applies PGO to the built-in modules." msgstr "" #: ../build/NEWS:19366 msgid "" "`bpo-26359 `__: Add the --with-" "optimizations flag to turn on LTO and PGO build support when available." msgstr "" #: ../build/NEWS:19369 msgid "" "`bpo-27917 `__: Set platform triplets " "for Android builds." msgstr "" #: ../build/NEWS:19371 msgid "" "`bpo-25825 `__: Update references to the " "$(LIBPL) installation path on AIX. This path was changed in 3.2a4." msgstr "" #: ../build/NEWS:19374 msgid "Update OS X installer to use SQLite 3.14.1 and XZ 5.2.2." msgstr "" #: ../build/NEWS:19376 msgid "" "`bpo-21122 `__: Fix LTO builds on OS X." msgstr "" #: ../build/NEWS:19378 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:19385 ../build/NEWS:22568 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:19392 msgid "" "`bpo-28065 `__: Update xz dependency to " "5.2.2 and build it from source." msgstr "" #: ../build/NEWS:19394 ../build/NEWS:22585 msgid "" "`bpo-25144 `__: Ensures TargetDir is set " "before continuing with custom install." msgstr "" #: ../build/NEWS:19396 msgid "" "`bpo-1602 `__: Windows console doesn't " "input or print Unicode (PEP 528)" msgstr "" #: ../build/NEWS:19398 msgid "" "`bpo-27781 `__: Change file system " "encoding on Windows to UTF-8 (PEP 529)" msgstr "" #: ../build/NEWS:19400 msgid "" "`bpo-27731 `__: Opt-out of MAX_PATH on " "Windows 10" msgstr "" #: ../build/NEWS:19402 msgid "" "`bpo-6135 `__: Adds encoding and errors " "parameters to subprocess." msgstr "" #: ../build/NEWS:19404 msgid "" "`bpo-27959 `__: Adds oem encoding, alias " "ansi to mbcs, move aliasmbcs to codec lookup." msgstr "" #: ../build/NEWS:19407 msgid "" "`bpo-27982 `__: The functions of the " "winsound module now accept keyword arguments." msgstr "" #: ../build/NEWS:19410 msgid "" "`bpo-20366 `__: Build full text search " "support into SQLite on Windows." msgstr "" #: ../build/NEWS:19412 msgid "" "`bpo-27756 `__: Adds new icons for " "Python files and processes on Windows. Designs by Cherry Wang." msgstr "" #: ../build/NEWS:19415 msgid "" "`bpo-27883 `__: Update sqlite to " "3.14.1.0 on Windows." msgstr "" #: ../build/NEWS:19419 msgid "Python 3.6.0 alpha 4" msgstr "" #: ../build/NEWS:19421 msgid "*Release date: 2016-08-15*" msgstr "" #: ../build/NEWS:19426 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:19430 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:19434 msgid "" "`bpo-27574 `__: Decreased an overhead of " "parsing keyword arguments in functions implemented with using Argument " "Clinic." msgstr "" #: ../build/NEWS:19437 msgid "" "`bpo-22557 `__: Now importing already " "imported modules is up to 2.5 times faster." msgstr "" #: ../build/NEWS:19440 msgid "" "`bpo-17596 `__: Include to " "help with Min GW building." msgstr "" #: ../build/NEWS:19442 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:19445 ../build/NEWS:22091 msgid "" "`bpo-27507 `__: Add integer overflow " "check in bytearray.extend(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:19448 ../build/NEWS:22094 msgid "" "`bpo-27581 `__: Don't rely on wrapping " "for overflow check in PySequence_Tuple(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:19451 msgid "" "`bpo-1621 `__: Avoid signed integer " "overflow in list and tuple operations. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:19454 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:19459 ../build/NEWS:22083 msgid "" "`bpo-27083 `__: Respect the PYTHONCASEOK " "environment variable under Windows." msgstr "" #: ../build/NEWS:19461 ../build/NEWS:22085 msgid "" "`bpo-27514 `__: Make having too many " "statically nested blocks a SyntaxError instead of SystemError." msgstr "" #: ../build/NEWS:19464 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:19472 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:19475 msgid "" "`bpo-27598 `__: Add Collections to " "collections.abc. Patch by Ivan Levkivskyi, docs by Neil Girdhar." msgstr "" #: ../build/NEWS:19478 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:19485 msgid "" "`bpo-16764 `__: Support keyword " "arguments to zlib.decompress(). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:19488 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:19492 msgid "" "`bpo-25628 `__: The *verbose* and " "*rename* parameters for collections.namedtuple are now keyword-only." msgstr "" #: ../build/NEWS:19495 msgid "" "`bpo-12345 `__: Add mathematical " "constant tau to math and cmath. See also :pep:`628`." msgstr "" #: ../build/NEWS:19498 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:19503 msgid "" "`bpo-27664 `__: Add to concurrent." "futures.thread.ThreadPoolExecutor() the ability to specify a thread name " "prefix." msgstr "" #: ../build/NEWS:19506 msgid "" "`bpo-27181 `__: Add geometric_mean and " "harmonic_mean to statistics module." msgstr "" #: ../build/NEWS:19508 msgid "" "`bpo-27573 `__: code.interact now prints " "an message when exiting." msgstr "" #: ../build/NEWS:19510 msgid "" "`bpo-6422 `__: Add autorange method to " "timeit.Timer objects." msgstr "" #: ../build/NEWS:19512 ../build/NEWS:22331 msgid "" "`bpo-27773 `__: Correct some memory " "management errors server_hostname in _ssl.wrap_socket()." msgstr "" #: ../build/NEWS:19515 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:19519 msgid "" "`bpo-26754 `__: Undocumented support of " "general bytes-like objects as path in compile() and similar functions is now " "deprecated." msgstr "" #: ../build/NEWS:19522 msgid "" "`bpo-26800 `__: Undocumented support of " "general bytes-like objects as paths in os functions is now deprecated." msgstr "" #: ../build/NEWS:19525 msgid "" "`bpo-26981 `__: Add _order_ " "compatibility shim to enum.Enum for Python 2/3 code bases." msgstr "" #: ../build/NEWS:19528 msgid "" "`bpo-27661 `__: Added tzinfo keyword " "argument to datetime.combine." msgstr "" #: ../build/NEWS:19530 ../build/NEWS:22337 msgid "" "In the curses module, raise an error if window.getstr() or window.instr() is " "passed a negative value." msgstr "" #: ../build/NEWS:19533 ../build/NEWS:22340 msgid "" "`bpo-27783 `__: Fix possible usage of " "uninitialized memory in operator.methodcaller." msgstr "" #: ../build/NEWS:19536 ../build/NEWS:22343 msgid "" "`bpo-27774 `__: Fix possible Py_DECREF " "on unowned object in _sre." msgstr "" #: ../build/NEWS:19538 ../build/NEWS:22345 msgid "" "`bpo-27760 `__: Fix possible integer " "overflow in binascii.b2a_qp." msgstr "" #: ../build/NEWS:19540 ../build/NEWS:22347 msgid "" "`bpo-27758 `__: Fix possible integer " "overflow in the _csv module for large record lengths." msgstr "" #: ../build/NEWS:19543 ../build/NEWS:22350 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:19547 msgid "" "`bpo-7063 `__: Remove dead code from the " "\"array\" module's slice handling. Patch by Chuck." msgstr "" #: ../build/NEWS:19550 ../build/NEWS:22354 msgid "" "`bpo-27656 `__: Do not assume sched.h " "defines any SCHED_* constants." msgstr "" #: ../build/NEWS:19552 ../build/NEWS:22356 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:19557 msgid "" "`bpo-24773 `__: Implemented :pep:`495` " "(Local Time Disambiguation)." msgstr "" #: ../build/NEWS:19559 msgid "" "Expose the EPOLLEXCLUSIVE constant (when it is defined) in the select module." msgstr "" #: ../build/NEWS:19562 msgid "" "`bpo-27567 `__: Expose the EPOLLRDHUP " "and POLLRDHUP constants in the select module." msgstr "" #: ../build/NEWS:19565 msgid "" "`bpo-1621 `__: Avoid signed int negation " "overflow in the \"audioop\" module." msgstr "" #: ../build/NEWS:19567 ../build/NEWS:22361 msgid "" "`bpo-27533 `__: Release GIL in nt._isdir" msgstr "" #: ../build/NEWS:19569 ../build/NEWS:22363 msgid "" "`bpo-17711 `__: Fixed unpickling by the " "persistent ID with protocol 0. Original patch by Alexandre Vassalotti." msgstr "" #: ../build/NEWS:19572 ../build/NEWS:22366 msgid "" "`bpo-27522 `__: Avoid an unintentional " "reference cycle in email.feedparser." msgstr "" #: ../build/NEWS:19574 msgid "" "`bpo-27512 `__: Fix a segfault when os." "fspath() called an __fspath__() method that raised an exception. Patch by " "Xiang Zhang." msgstr "" #: ../build/NEWS:19580 ../build/NEWS:22517 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:19584 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:19588 msgid "" "`bpo-27620 `__: Escape key now closes " "Query box as cancelled." msgstr "" #: ../build/NEWS:19590 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:19594 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:19597 ../build/NEWS:22521 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:19600 ../build/NEWS:19793 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:19604 ../build/NEWS:19800 ../build/NEWS:22524 msgid "" "`bpo-27452 `__: add line counter and crc " "to IDLE configHandler test dump." msgstr "" #: ../build/NEWS:19609 msgid "" "`bpo-25805 `__: Skip a test in " "test_pkgutil as needed that doesn't work when ``__name__ == __main__``. " "Patch by SilentGhost." msgstr "" #: ../build/NEWS:19612 msgid "" "`bpo-27472 `__: Add test.support." "unix_shell as the path to the default shell." msgstr "" #: ../build/NEWS:19614 ../build/NEWS:22562 msgid "" "`bpo-27369 `__: In test_pyexpat, avoid " "testing an error message detail that changed in Expat 2.2.0." msgstr "" #: ../build/NEWS:19617 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:19624 msgid "" "`bpo-27647 `__: Update bundled Tcl/Tk to " "8.6.6." msgstr "" #: ../build/NEWS:19626 msgid "" "`bpo-27610 `__: Adds :pep:`514` metadata " "to Windows installer" msgstr "" #: ../build/NEWS:19628 ../build/NEWS:22587 msgid "" "`bpo-27469 `__: Adds a shell extension " "to the launcher so that drag and drop works correctly." msgstr "" #: ../build/NEWS:19631 msgid "" "`bpo-27309 `__: Enables proper Windows " "styles in python[w].exe manifest." msgstr "" #: ../build/NEWS:19636 ../build/NEWS:22632 msgid "" "`bpo-27713 `__: Suppress spurious build " "warnings when updating importlib's bootstrap files. Patch by Xiang Zhang" msgstr "" #: ../build/NEWS:19639 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:19642 ../build/NEWS:22640 msgid "" "`bpo-27453 `__: CPP invocation in " "configure must use CPPFLAGS. Patch by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:19645 ../build/NEWS:22643 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:19649 ../build/NEWS:22647 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:19652 ../build/NEWS:22650 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:19657 msgid "Python 3.6.0 alpha 3" msgstr "" #: ../build/NEWS:19659 msgid "*Release date: 2016-07-11*" msgstr "" #: ../build/NEWS:19664 ../build/NEWS:22088 msgid "" "`bpo-27473 `__: Fixed possible integer " "overflow in bytes and bytearray concatenations. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:19667 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:19672 ../build/NEWS:22097 msgid "" "`bpo-27443 `__: __length_hint__() of " "bytearray iterators no longer return a negative integer for a resized " "bytearray." msgstr "" #: ../build/NEWS:19675 msgid "" "`bpo-27007 `__: The fromhex() class " "methods of bytes and bytearray subclasses now return an instance of " "corresponding subclass." msgstr "" #: ../build/NEWS:19681 ../build/NEWS:22368 msgid "" "`bpo-26844 `__: Fix error message for " "imp.find_module() to refer to 'path' instead of 'name'. Patch by Lev Maximov." msgstr "" #: ../build/NEWS:19684 ../build/NEWS:22371 msgid "" "`bpo-23804 `__: Fix SSL zero-length " "recv() calls to not block and not raise an error about unclean EOF." msgstr "" #: ../build/NEWS:19687 ../build/NEWS:22374 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:19691 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:19695 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:19699 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:19707 msgid "" "`bpo-26243 `__: Only the level argument " "to zlib.compress() is keyword argument now. The first argument is " "positional-only." msgstr "" #: ../build/NEWS:19710 msgid "" "`bpo-27038 `__: Expose the DirEntry type " "as os.DirEntry. Code patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:19713 msgid "" "`bpo-27186 `__: Update os.fspath()/" "PyOS_FSPath() to check the return value of __fspath__() to be either str or " "bytes." msgstr "" #: ../build/NEWS:19716 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:19720 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:19725 ../build/NEWS:22388 msgid "" "`bpo-27079 `__: Fixed curses.ascii " "functions isblank(), iscntrl() and ispunct()." msgstr "" #: ../build/NEWS:19728 msgid "" "`bpo-27294 `__: Numerical state in the " "repr for Tkinter event objects is now represented as a combination of known " "flags." msgstr "" #: ../build/NEWS:19731 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:19734 ../build/NEWS:22391 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:19738 msgid "" "`bpo-26536 `__: socket.ioctl now " "supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes." msgstr "" #: ../build/NEWS:19741 ../build/NEWS:22395 msgid "" "`bpo-27048 `__: Prevents distutils " "failing on Windows when environment variables contain non-ASCII characters" msgstr "" #: ../build/NEWS:19744 ../build/NEWS:22398 msgid "" "`bpo-27330 `__: Fixed possible leaks in " "the ctypes module." msgstr "" #: ../build/NEWS:19746 ../build/NEWS:22400 msgid "" "`bpo-27238 `__: Got rid of bare excepts " "in the turtle module. Original patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:19749 ../build/NEWS:22403 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:19758 ../build/NEWS:22412 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:19765 msgid "" "`bpo-16864 `__: sqlite3.Cursor.lastrowid " "now supports REPLACE statement. Initial patch by Alex LordThorsen." msgstr "" #: ../build/NEWS:19768 ../build/NEWS:22419 msgid "" "`bpo-26386 `__: Fixed ttk.TreeView " "selection operations with item id's containing spaces." msgstr "" #: ../build/NEWS:19771 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:19777 ../build/NEWS:22425 msgid "" "`bpo-22636 `__: Avoid shell injection " "problems with ctypes.util.find_library()." msgstr "" #: ../build/NEWS:19782 ../build/NEWS:22430 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:19786 ../build/NEWS:22434 msgid "" "`bpo-27392 `__: Add loop." "connect_accepted_socket(). Patch by Jim Fulton." msgstr "" #: ../build/NEWS:19791 msgid "" "`bpo-27477 `__: IDLE search dialogs now " "use ttk widgets." msgstr "" #: ../build/NEWS:19797 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:19802 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:19809 msgid "" "`bpo-27372 `__: Test_idle no longer " "changes the locale." msgstr "" #: ../build/NEWS:19811 ../build/NEWS:22526 msgid "" "`bpo-27365 `__: Allow non-ascii chars in " "IDLE NEWS.txt, for contributor names." msgstr "" #: ../build/NEWS:19813 ../build/NEWS:22528 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:19817 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:19821 msgid "" "`bpo-27310 `__: Fix IDLE.app failure to " "launch on OS X due to vestigial import." msgstr "" #: ../build/NEWS:19826 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:19833 ../build/NEWS:22613 msgid "" "`bpo-28066 `__: Fix the logic that " "searches build directories for generated include files when building outside " "the source tree." msgstr "" #: ../build/NEWS:19836 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:19839 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:19842 ../build/NEWS:22665 msgid "" "`bpo-26930 `__: Update Windows builds to " "use OpenSSL 1.0.2h." msgstr "" #: ../build/NEWS:19844 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:19850 msgid "Don't use largefile support for GNU/Hurd." msgstr "" #: ../build/NEWS:19855 ../build/NEWS:22572 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:19858 ../build/NEWS:22575 msgid "" "`bpo-27418 `__: Fixed Tools/importbench/" "importbench.py." msgstr "" #: ../build/NEWS:19863 ../build/NEWS:23294 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:19866 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:19872 msgid "" "`bpo-27027 `__: Added test.support." "is_android that is True when this is an Android build." msgstr "" #: ../build/NEWS:19877 msgid "Python 3.6.0 alpha 2" msgstr "" #: ../build/NEWS:19879 msgid "*Release date: 2016-06-13*" msgstr "" #: ../build/NEWS:19884 msgid "" "`bpo-27095 `__: Simplified MAKE_FUNCTION " "and removed MAKE_CLOSURE opcodes. Patch by Demur Rumed." msgstr "" #: ../build/NEWS:19887 msgid "" "`bpo-27190 `__: Raise NotSupportedError " "if sqlite3 is older than 3.3.1. Patch by Dave Sawyer." msgstr "" #: ../build/NEWS:19890 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:19894 msgid "" "`bpo-27140 `__: Added " "BUILD_CONST_KEY_MAP opcode." msgstr "" #: ../build/NEWS:19896 msgid "" "`bpo-27186 `__: Add support for os." "PathLike objects to open() (part of :pep:`519`)." msgstr "" #: ../build/NEWS:19899 ../build/NEWS:22686 msgid "" "`bpo-27066 `__: Fixed SystemError if a " "custom opener (for open()) returns a negative number without setting an " "exception." msgstr "" #: ../build/NEWS:19902 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:19907 msgid "" "`bpo-27097 `__: Python interpreter is " "now about 7% faster due to optimized instruction decoding. Based on patch " "by Demur Rumed." msgstr "" #: ../build/NEWS:19910 msgid "" "`bpo-26647 `__: Python interpreter now " "uses 16-bit wordcode instead of bytecode. Patch by Demur Rumed." msgstr "" #: ../build/NEWS:19913 msgid "" "`bpo-23275 `__: Allow assigning to an " "empty target list in round brackets: () = iterable." msgstr "" #: ../build/NEWS:19916 ../build/NEWS:22808 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:19924 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:19928 msgid "" "`bpo-27025 `__: Generated names for " "Tkinter widgets are now more meaningful and recognizable." msgstr "" #: ../build/NEWS:19931 msgid "" "`bpo-25455 `__: Fixed crashes in repr of " "recursive ElementTree.Element and functools.partial objects." msgstr "" #: ../build/NEWS:19934 msgid "" "`bpo-27294 `__: Improved repr for " "Tkinter event objects." msgstr "" #: ../build/NEWS:19936 msgid "" "`bpo-20508 `__: Improve exception " "message of IPv{4,6}Network.__getitem__. Patch by Gareth Rees." msgstr "" #: ../build/NEWS:19942 ../build/NEWS:22816 msgid "" "`bpo-26556 `__: Update expat to 2.1.1, " "fixes CVE-2015-1283." msgstr "" #: ../build/NEWS:19944 msgid "" "Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " "Oststrom." msgstr "" #: ../build/NEWS:19950 ../build/NEWS:22824 msgid "" "`bpo-21386 `__: Implement missing " "IPv4Address.is_global property. It was documented since 07a5610bae9d. " "Initial patch by Roger Luethi." msgstr "" #: ../build/NEWS:19953 msgid "" "`bpo-27029 `__: Removed deprecated " "support of universal newlines mode from ZipFile.open()." msgstr "" #: ../build/NEWS:19956 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:19960 msgid "" "`bpo-27186 `__: Add os.PathLike support " "to DirEntry (part of :pep:`519`). Initial patch by Jelle Zijlstra." msgstr "" #: ../build/NEWS:19963 ../build/NEWS:22827 msgid "" "`bpo-20900 `__: distutils register " "command now decodes HTTP responses correctly. Initial patch by ingrid." msgstr "" #: ../build/NEWS:19966 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:19969 msgid "" "`bpo-27186 `__: Add support for os." "PathLike objects to os.fsencode() and os.fsdecode() (part of :pep:`519`)." msgstr "" #: ../build/NEWS:19972 msgid "" "`bpo-27186 `__: Introduce os.PathLike " "and os.fspath() (part of :pep:`519`)." msgstr "" #: ../build/NEWS:19974 ../build/NEWS:22830 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:19982 ../build/NEWS:22838 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:19987 ../build/NEWS:22843 msgid "" "`bpo-21313 `__: Fix the \"platform\" " "module to tolerate when sys.version contains truncated build information." msgstr "" #: ../build/NEWS:19993 ../build/NEWS:22849 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:20000 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:20004 ../build/NEWS:22856 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:20007 ../build/NEWS:22859 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:20012 msgid "" "`bpo-21272 `__: Use _sysconfigdata.py to " "initialize distutils.sysconfig." msgstr "" #: ../build/NEWS:20014 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:20019 ../build/NEWS:22864 msgid "" "`bpo-26809 `__: Add ``__all__`` to :mod:" "`string`. Patch by Emanuel Barry." msgstr "" #: ../build/NEWS:20021 ../build/NEWS:22866 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:20025 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:20030 msgid "" "`bpo-27167 `__: Clarify the subprocess." "CalledProcessError error message text when the child process died due to a " "signal." msgstr "" #: ../build/NEWS:20033 msgid "" "`bpo-25931 `__: Don't define " "socketserver.Forking* names on platforms such as Windows that do not support " "os.fork()." msgstr "" #: ../build/NEWS:20036 ../build/NEWS:22870 msgid "" "`bpo-21776 `__: distutils.upload now " "correctly handles HTTPError. Initial patch by Claudiu Popa." msgstr "" #: ../build/NEWS:20039 msgid "" "`bpo-26526 `__: Replace custom parse " "tree validation in the parser module with a simple DFA validator." msgstr "" #: ../build/NEWS:20042 ../build/NEWS:22873 msgid "" "`bpo-27114 `__: Fix SSLContext." "_load_windows_store_certs fails with PermissionError" msgstr "" #: ../build/NEWS:20045 ../build/NEWS:22876 msgid "" "`bpo-18383 `__: Avoid creating duplicate " "filters when using filterwarnings and simplefilter. Based on patch by Alex " "Shkop." msgstr "" #: ../build/NEWS:20048 msgid "" "`bpo-23026 `__: winreg.QueryValueEx() " "now return an integer for REG_QWORD type." msgstr "" #: ../build/NEWS:20050 msgid "" "`bpo-26741 `__: subprocess.Popen " "destructor now emits a ResourceWarning warning if the child process is still " "running." msgstr "" #: ../build/NEWS:20053 msgid "" "`bpo-27056 `__: Optimize pickle.load() " "and pickle.loads(), up to 10% faster to deserialize a lot of small objects." msgstr "" #: ../build/NEWS:20056 msgid "" "`bpo-21271 `__: New keyword only " "parameters in reset_mock call." msgstr "" #: ../build/NEWS:20061 ../build/NEWS:23241 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:20065 msgid "" "`bpo-24750 `__: Switch all scrollbars in " "IDLE to ttk versions. Where needed, minimal tests are added to cover changes." msgstr "" #: ../build/NEWS:20068 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:20072 msgid "" "`bpo-27239 `__: idlelib.macosx.isXyzTk " "functions initialize as needed." msgstr "" #: ../build/NEWS:20074 msgid "" "`bpo-27262 `__: move Aqua unbinding " "code, which enable context menus, to macosx." msgstr "" #: ../build/NEWS:20077 ../build/NEWS:23245 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:20080 ../build/NEWS:23248 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:20085 ../build/NEWS:23253 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:20088 msgid "" "`bpo-24225 `__: Update idlelib/README." "txt with new file names and event handlers." msgstr "" #: ../build/NEWS:20091 msgid "" "`bpo-27156 `__: Remove obsolete code not " "used by IDLE." msgstr "" #: ../build/NEWS:20093 ../build/NEWS:23256 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:20096 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:20101 ../build/NEWS:23259 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:20104 ../build/NEWS:23262 msgid "" "`bpo-21939 `__: Add test for IDLE's " "percolator. Original patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:20107 ../build/NEWS:23265 msgid "" "`bpo-21676 `__: Add test for IDLE's " "replace dialog. Original patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:20110 ../build/NEWS:23268 msgid "" "`bpo-18410 `__: Add test for IDLE's " "search dialog. Original patch by Westley Martínez." msgstr "" #: ../build/NEWS:20113 msgid "" "`bpo-21703 `__: Add test for undo " "delegator. Patch mostly by Saimadhav Heblikar ." msgstr "" #: ../build/NEWS:20116 ../build/NEWS:23274 msgid "" "`bpo-27044 `__: Add ConfigDialog." "remove_var_callbacks to stop memory leaks." msgstr "" #: ../build/NEWS:20118 ../build/NEWS:23276 msgid "" "`bpo-23977 `__: Add more asserts to " "test_delegator." msgstr "" #: ../build/NEWS:20123 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:20127 ../build/NEWS:23297 msgid "" "`bpo-24136 `__: Document the new :pep:" "`448` unpacking syntax of 3.5." msgstr "" #: ../build/NEWS:20129 ../build/NEWS:23858 msgid "" "`bpo-22558 `__: Add remaining doc links " "to source code for Python-coded modules. Patch by Yoni Lavi." msgstr "" #: ../build/NEWS:20135 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:20139 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:20145 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:20152 ../build/NEWS:23348 msgid "" "`bpo-27229 `__: Fix the cross-compiling " "pgen rule for in-tree builds. Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:20155 ../build/NEWS:23385 msgid "" "`bpo-26930 `__: Update OS X 10.5+ 32-bit-" "only installer to build and link with OpenSSL 1.0.2h." msgstr "" #: ../build/NEWS:20161 ../build/NEWS:23431 msgid "" "`bpo-17500 `__: Remove unused and " "outdated icons. (See also: https://github.com/python/pythondotorg/issues/945)" msgstr "" #: ../build/NEWS:20167 msgid "" "`bpo-27186 `__: Add the PyOS_FSPath() " "function (part of :pep:`519`)." msgstr "" #: ../build/NEWS:20169 msgid "" "`bpo-26282 `__: " "PyArg_ParseTupleAndKeywords() now supports positional-only parameters." msgstr "" #: ../build/NEWS:20175 msgid "" "`bpo-26282 `__: Argument Clinic now " "supports positional-only and keyword parameters in the same function." msgstr "" #: ../build/NEWS:20180 msgid "Python 3.6.0 alpha 1" msgstr "" #: ../build/NEWS:20182 msgid "*Release date: 2016-05-16*" msgstr "" #: ../build/NEWS:20187 ../build/NEWS:22689 msgid "" "`bpo-20041 `__: Fixed TypeError when " "frame.f_trace is set to None. Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:20190 ../build/NEWS:22692 msgid "" "`bpo-26168 `__: Fixed possible refleaks " "in failing Py_BuildValue() with the \"N\" format unit." msgstr "" #: ../build/NEWS:20193 ../build/NEWS:22695 msgid "" "`bpo-26991 `__: Fix possible refleak " "when creating a function with annotations." msgstr "" #: ../build/NEWS:20195 msgid "" "`bpo-27039 `__: Fixed bytearray.remove() " "for values greater than 127. Based on patch by Joe Jevnik." msgstr "" #: ../build/NEWS:20198 ../build/NEWS:22700 msgid "" "`bpo-23640 `__: int.from_bytes() no " "longer bypasses constructors for subclasses." msgstr "" #: ../build/NEWS:20201 msgid "" "`bpo-27005 `__: Optimized the float." "fromhex() class method for exact float. It is now 2 times faster." msgstr "" #: ../build/NEWS:20204 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:20207 ../build/NEWS:22703 msgid "" "`bpo-26811 `__: gc.get_objects() no " "longer contains a broken tuple with NULL pointer." msgstr "" #: ../build/NEWS:20210 ../build/NEWS:22706 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:20215 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:20222 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:20226 ../build/NEWS:22711 msgid "" "`bpo-26659 `__: Make the builtin slice " "type support cycle collection." msgstr "" #: ../build/NEWS:20228 ../build/NEWS:22713 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:20231 ../build/NEWS:22743 msgid "" "`bpo-27138 `__: Fix the doc comment for " "FileFinder.find_spec()." msgstr "" #: ../build/NEWS:20233 ../build/NEWS:22787 msgid "" "`bpo-27147 `__: Mention :pep:`420` in " "the importlib docs." msgstr "" #: ../build/NEWS:20235 ../build/NEWS:22716 msgid "" "`bpo-25339 `__: PYTHONIOENCODING now has " "priority over locale in setting the error handler for stdin and stdout." msgstr "" #: ../build/NEWS:20238 ../build/NEWS:22719 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:20243 msgid "" "`bpo-26574 `__: Optimize ``bytes." "replace(b'', b'.')`` and ``bytearray.replace(b'', b'.')``. Patch written by " "Josh Snider." msgstr "" #: ../build/NEWS:20246 ../build/NEWS:22724 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:20249 msgid "" "`bpo-19711 `__: Add tests for reloading " "namespace packages." msgstr "" #: ../build/NEWS:20251 msgid "" "`bpo-21099 `__: Switch applicable " "importlib tests to use :pep:`451` API." msgstr "" #: ../build/NEWS:20253 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:20257 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:20261 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:20265 msgid "" "`bpo-26516 `__: Add :envvar:" "`PYTHONMALLOC` environment variable to set the Python memory allocators and/" "or install debug hooks." msgstr "" #: ../build/NEWS:20268 msgid "" "`bpo-26516 `__: The :c:func:" "`PyMem_SetupDebugHooks` function can now also be used on Python compiled in " "release mode." msgstr "" #: ../build/NEWS:20271 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:20275 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:20278 ../build/NEWS:22727 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:20282 ../build/NEWS:22731 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:20287 ../build/NEWS:22736 msgid "" "`bpo-26302 `__: Correct behavior to " "reject comma as a legal character for cookie names." msgstr "" #: ../build/NEWS:20290 msgid "" "`bpo-26136 `__: Upgrade the warning when " "a generator raises StopIteration from PendingDeprecationWarning to " "DeprecationWarning. Patch by Anish Shah." msgstr "" #: ../build/NEWS:20293 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:20298 ../build/NEWS:22739 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:20302 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:20306 msgid "" "`bpo-23601 `__: Sped-up allocation of " "dict key objects by using Python's small object allocator. (Contributed by " "Julian Taylor.)" msgstr "" #: ../build/NEWS:20309 msgid "" "`bpo-18018 `__: Import raises " "ImportError instead of SystemError if a relative import is attempted without " "a known parent package." msgstr "" #: ../build/NEWS:20312 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:20318 msgid "" "`bpo-26107 `__: The format of the " "``co_lnotab`` attribute of code objects changes to support negative line " "number delta." msgstr "" #: ../build/NEWS:20321 ../build/NEWS:22745 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:20328 msgid "" "`bpo-25791 `__: If __package__ != " "__spec__.parent or if neither __package__ or __spec__ are defined then " "ImportWarning is raised." msgstr "" #: ../build/NEWS:20331 ../build/NEWS:22762 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:20334 ../build/NEWS:22765 msgid "" "`bpo-25961 `__: Disallowed null " "characters in the type name." msgstr "" #: ../build/NEWS:20336 ../build/NEWS:22767 msgid "" "`bpo-25973 `__: Fix segfault when an " "invalid nonlocal statement binds a name starting with two underscores." msgstr "" #: ../build/NEWS:20339 ../build/NEWS:22770 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:20344 ../build/NEWS:22775 msgid "" "`bpo-20440 `__: Massive replacing unsafe " "attribute setting code with special macro Py_SETREF." msgstr "" #: ../build/NEWS:20347 ../build/NEWS:22778 msgid "" "`bpo-25766 `__: Special method " "__bytes__() now works in str subclasses." msgstr "" #: ../build/NEWS:20349 ../build/NEWS:22780 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:20353 ../build/NEWS:22784 ../build/NEWS:23443 msgid "" "`bpo-25709 `__: Fixed problem with in-" "place string concatenation and utf-8 cache." msgstr "" #: ../build/NEWS:20356 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:20359 msgid "" "`bpo-25485 `__: telnetlib.Telnet is now " "a context manager." msgstr "" #: ../build/NEWS:20361 ../build/NEWS:22789 msgid "" "`bpo-24097 `__: Fixed crash in object." "__reduce__() if slot name is freed inside __getattr__." msgstr "" #: ../build/NEWS:20364 ../build/NEWS:22792 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:20369 ../build/NEWS:23461 msgid "" "`bpo-25630 `__: Fix a possible segfault " "during argument parsing in functions that accept filesystem paths." msgstr "" #: ../build/NEWS:20372 ../build/NEWS:23464 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:20376 ../build/NEWS:23468 msgid "" "`bpo-25388 `__: Fixed tokenizer crash " "when processing undecodable source code with a null byte." msgstr "" #: ../build/NEWS:20379 ../build/NEWS:23471 msgid "" "`bpo-25462 `__: The hash of the key now " "is calculated only once in most operations in C implementation of " "OrderedDict." msgstr "" #: ../build/NEWS:20382 ../build/NEWS:23474 msgid "" "`bpo-22995 `__: Default implementation " "of __reduce__ and __reduce_ex__ now rejects builtin types with not defined " "__new__." msgstr "" #: ../build/NEWS:20385 ../build/NEWS:23480 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:20390 ../build/NEWS:23477 msgid "" "`bpo-25555 `__: Fix parser and AST: fill " "lineno and col_offset of \"arg\" node when compiling AST from Python objects." msgstr "" #: ../build/NEWS:20393 ../build/NEWS:23485 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:20396 ../build/NEWS:23488 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:20399 ../build/NEWS:23491 msgid "" "`bpo-25395 `__: Fixed crash when highly " "nested OrderedDict structures were garbage collected." msgstr "" #: ../build/NEWS:20402 msgid "" "`bpo-25401 `__: Optimize bytes.fromhex() " "and bytearray.fromhex(): they are now between 2x and 3.5x faster." msgstr "" #: ../build/NEWS:20405 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:20408 ../build/NEWS:23494 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:20413 ../build/NEWS:23499 msgid "" "`bpo-24402 `__: Fix input() to prompt to " "the redirected stdout when sys.stdout.fileno() fails." msgstr "" #: ../build/NEWS:20416 msgid "" "`bpo-25349 `__: Optimize bytes % args " "using the new private _PyBytesWriter API. Formatting is now up to 2 times " "faster." msgstr "" #: ../build/NEWS:20419 ../build/NEWS:23502 msgid "" "`bpo-24806 `__: Prevent builtin types " "that are not allowed to be subclassed from being subclassed through multiple " "inheritance." msgstr "" #: ../build/NEWS:20422 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:20425 ../build/NEWS:23505 msgid "" "`bpo-24848 `__: Fixed a number of bugs " "in UTF-7 decoding of misformed data." msgstr "" #: ../build/NEWS:20427 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:20431 ../build/NEWS:23507 msgid "" "`bpo-25280 `__: Import trace messages " "emitted in verbose (-v) mode are no longer formatted twice." msgstr "" #: ../build/NEWS:20434 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:20438 ../build/NEWS:23510 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:20443 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:20447 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:20452 ../build/NEWS:22797 msgid "" "`bpo-26478 `__: Fix semantic bugs when " "using binary operators with dictionary views and tuples." msgstr "" #: ../build/NEWS:20455 ../build/NEWS:22800 msgid "" "`bpo-26171 `__: Fix possible integer " "overflow and heap corruption in zipimporter.get_data()." msgstr "" #: ../build/NEWS:20458 ../build/NEWS:22803 msgid "" "`bpo-25660 `__: Fix TAB key behaviour in " "REPL with readline." msgstr "" #: ../build/NEWS:20460 msgid "" "`bpo-26288 `__: Optimize PyLong_AsDouble." msgstr "" #: ../build/NEWS:20462 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:20466 ../build/NEWS:22805 msgid "" "`bpo-25887 `__: Raise a RuntimeError " "when a coroutine object is awaited more than once." msgstr "" #: ../build/NEWS:20472 ../build/NEWS:22879 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:20476 ../build/NEWS:22883 msgid "" "`bpo-27014 `__: Fix infinite recursion " "using typing.py. Thanks to Kalle Tuure!" msgstr "" #: ../build/NEWS:20478 msgid "" "`bpo-27031 `__: Removed dummy methods in " "Tkinter widget classes: tk_menuBar() and tk_bindForTraversal()." msgstr "" #: ../build/NEWS:20481 ../build/NEWS:22885 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:20484 ../build/NEWS:22888 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:20490 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:20493 msgid "" "`bpo-27034 `__: Removed deprecated class " "asynchat.fifo." msgstr "" #: ../build/NEWS:20495 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:20499 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:20502 ../build/NEWS:22894 msgid "" "`bpo-26892 `__: Honor debuglevel flag in " "urllib.request.HTTPHandler. Patch contributed by Chi Hsuan Yen." msgstr "" #: ../build/NEWS:20505 ../build/NEWS:22897 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:20508 ../build/NEWS:22900 msgid "" "`bpo-26807 `__: mock_open 'files' no " "longer error on readline at end of file. Patch from Yolanda Robla." msgstr "" #: ../build/NEWS:20511 ../build/NEWS:22903 msgid "" "`bpo-25745 `__: Fixed leaking a userptr " "in curses panel destructor." msgstr "" #: ../build/NEWS:20513 ../build/NEWS:22905 msgid "" "`bpo-26977 `__: Removed unnecessary, and " "ignored, call to sum of squares helper in statistics.pvariance." msgstr "" #: ../build/NEWS:20516 msgid "" "`bpo-26002 `__: Use bisect in statistics." "median instead of a linear search. Patch by Upendra Kuma." msgstr "" #: ../build/NEWS:20519 msgid "" "`bpo-25974 `__: Make use of new Decimal." "as_integer_ratio() method in statistics module. Patch by Stefan Krah." msgstr "" #: ../build/NEWS:20522 msgid "" "`bpo-26996 `__: Add secrets module as " "described in :pep:`506`." msgstr "" #: ../build/NEWS:20524 ../build/NEWS:22908 msgid "" "`bpo-26881 `__: The modulefinder module " "now supports extended opcode arguments." msgstr "" #: ../build/NEWS:20526 ../build/NEWS:22910 msgid "" "`bpo-23815 `__: Fixed crashes related to " "directly created instances of types in _tkinter and curses.panel modules." msgstr "" #: ../build/NEWS:20529 ../build/NEWS:22913 msgid "" "`bpo-17765 `__: weakref.ref() no longer " "silently ignores keyword arguments. Patch by Georg Brandl." msgstr "" #: ../build/NEWS:20532 ../build/NEWS:22916 msgid "" "`bpo-26873 `__: xmlrpc now raises " "ResponseError on unsupported type tags instead of silently return incorrect " "result." msgstr "" #: ../build/NEWS:20535 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:20540 ../build/NEWS:22919 msgid "" "`bpo-26711 `__: Fixed the comparison of " "plistlib.Data with other types." msgstr "" #: ../build/NEWS:20542 ../build/NEWS:22921 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:20546 ../build/NEWS:22925 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:20551 msgid "" "`bpo-24902 `__: Print server URL on http." "server startup. Initial patch by Felix Kaiser." msgstr "" #: ../build/NEWS:20554 msgid "" "`bpo-25788 `__: fileinput.hook_encoded() " "now supports an \"errors\" argument for passing to open. Original patch by " "Joseph Hackman." msgstr "" #: ../build/NEWS:20557 ../build/NEWS:22930 msgid "" "`bpo-26634 `__: recursive_repr() now " "sets __qualname__ of wrapper. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:20560 ../build/NEWS:22933 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:20564 ../build/NEWS:22937 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:20568 ../build/NEWS:22941 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:20572 ../build/NEWS:22945 msgid "" "`bpo-26822 `__: itemgetter, attrgetter " "and methodcaller objects no longer silently ignore keyword arguments." msgstr "" #: ../build/NEWS:20575 ../build/NEWS:22948 msgid "" "`bpo-26733 `__: Disassembling a class " "now disassembles class and static methods. Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:20578 ../build/NEWS:22951 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:20582 ../build/NEWS:22955 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:20588 ../build/NEWS:22961 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:20595 ../build/NEWS:22968 msgid "" "`bpo-26717 `__: Stop encoding Latin-1-" "ized WSGI paths with UTF-8. Patch by Anthony Sottile." msgstr "" #: ../build/NEWS:20598 msgid "" "`bpo-26782 `__: Add STARTUPINFO to " "subprocess.__all__ on Windows." msgstr "" #: ../build/NEWS:20600 msgid "" "`bpo-26404 `__: Add context manager to " "socketserver. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:20602 ../build/NEWS:22971 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:20606 msgid "" "`bpo-26585 `__: Eliminate http.server." "_quote_html() and use html.escape(quote=False). Patch by Xiang Zhang." msgstr "" #: ../build/NEWS:20609 msgid "" "`bpo-26685 `__: Raise OSError if closing " "a socket fails." msgstr "" #: ../build/NEWS:20611 ../build/NEWS:22975 msgid "" "`bpo-16329 `__: Add .webm to mimetypes." "types_map. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:20613 ../build/NEWS:22977 msgid "" "`bpo-13952 `__: Add .csv to mimetypes." "types_map. Patch by Geoff Wilson." msgstr "" #: ../build/NEWS:20615 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:20618 msgid "" "`bpo-25609 `__: Introduce contextlib." "AbstractContextManager and typing.ContextManager." msgstr "" #: ../build/NEWS:20621 ../build/NEWS:22979 msgid "" "`bpo-26709 `__: Fixed Y2038 problem in " "loading binary PLists." msgstr "" #: ../build/NEWS:20623 ../build/NEWS:22981 msgid "" "`bpo-23735 `__: Handle terminal resizing " "with Readline 6.3+ by installing our own SIGWINCH handler. Patch by Eric " "Price." msgstr "" #: ../build/NEWS:20626 msgid "" "`bpo-25951 `__: Change SSLSocket." "sendall() to return None, as explicitly documented for plain socket " "objects. Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:20629 ../build/NEWS:22984 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:20633 msgid "" "`bpo-26676 `__: Added missing " "XMLPullParser to ElementTree.__all__." msgstr "" #: ../build/NEWS:20635 ../build/NEWS:22988 msgid "" "`bpo-22854 `__: Change BufferedReader." "writable() and BufferedWriter.readable() to always return False." msgstr "" #: ../build/NEWS:20638 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:20642 msgid "" "`bpo-26641 `__: doctest.DocFileTest and " "doctest.testfile() now support packages (module splitted into multiple " "directories) for the package parameter." msgstr "" #: ../build/NEWS:20645 ../build/NEWS:22991 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:20649 ../build/NEWS:22995 msgid "" "`bpo-26644 `__: Raise ValueError rather " "than SystemError when a negative length is passed to SSLSocket.recv() or " "read()." msgstr "" #: ../build/NEWS:20652 ../build/NEWS:22998 msgid "" "`bpo-23804 `__: Fix SSL recv(0) and " "read(0) methods to return zero bytes instead of up to 1024." msgstr "" #: ../build/NEWS:20655 ../build/NEWS:23001 msgid "" "`bpo-26616 `__: Fixed a bug in datetime." "astimezone() method." msgstr "" #: ../build/NEWS:20657 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:20662 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:20667 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:20671 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:20676 msgid "" "`bpo-26588 `__: The _tracemalloc now " "supports tracing memory allocations of multiple address spaces (domains)." msgstr "" #: ../build/NEWS:20679 ../build/NEWS:23007 msgid "" "`bpo-24266 `__: Ctrl+C during Readline " "history search now cancels the search mode when compiled with Readline 7." msgstr "" #: ../build/NEWS:20682 msgid "" "`bpo-26590 `__: Implement a safe " "finalizer for the _socket.socket type. It now releases the GIL to close the " "socket." msgstr "" #: ../build/NEWS:20685 msgid "" "`bpo-18787 `__: spwd.getspnam() now " "raises a PermissionError if the user doesn't have privileges." msgstr "" #: ../build/NEWS:20688 ../build/NEWS:23010 msgid "" "`bpo-26560 `__: Avoid potential " "ValueError in BaseHandler.start_response. Initial patch by Peter Inglesby." msgstr "" #: ../build/NEWS:20691 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:20699 ../build/NEWS:23016 msgid "" "`bpo-26313 `__: ssl.py " "_load_windows_store_certs fails if windows cert store is empty. Patch by " "Baji." msgstr "" #: ../build/NEWS:20705 ../build/NEWS:23022 msgid "" "`bpo-26569 `__: Fix :func:`pyclbr." "readmodule` and :func:`pyclbr.readmodule_ex` to support importing packages." msgstr "" #: ../build/NEWS:20708 ../build/NEWS:23025 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:20712 ../build/NEWS:23029 msgid "" "`bpo-25320 `__: Handle sockets in " "directories unittest discovery is scanning. Patch from Victor van den Elzen." msgstr "" #: ../build/NEWS:20715 ../build/NEWS:23032 msgid "" "`bpo-16181 `__: cookiejar.http2time() " "now returns None if year is higher than datetime.MAXYEAR." msgstr "" #: ../build/NEWS:20718 ../build/NEWS:23035 msgid "" "`bpo-26513 `__: Fixes platform module " "detection of Windows Server" msgstr "" #: ../build/NEWS:20720 ../build/NEWS:23037 msgid "" "`bpo-23718 `__: Fixed parsing time in " "week 0 before Jan 1. Original patch by Tamás Bence Gedai." msgstr "" #: ../build/NEWS:20723 msgid "" "`bpo-26323 `__: Add Mock.assert_called() " "and Mock.assert_called_once() methods to unittest.mock. Patch written by " "Amit Saha." msgstr "" #: ../build/NEWS:20726 ../build/NEWS:23040 msgid "" "`bpo-20589 `__: Invoking Path.owner() " "and Path.group() on Windows now raise NotImplementedError instead of " "ImportError." msgstr "" #: ../build/NEWS:20729 ../build/NEWS:23043 msgid "" "`bpo-26177 `__: Fixed the keys() method " "for Canvas and Scrollbar widgets." msgstr "" #: ../build/NEWS:20731 msgid "" "`bpo-15068 `__: Got rid of excessive " "buffering in fileinput. The bufsize parameter is now deprecated and ignored." msgstr "" #: ../build/NEWS:20734 msgid "" "`bpo-19475 `__: Added an optional " "argument timespec to the datetime isoformat() method to choose the precision " "of the time component." msgstr "" #: ../build/NEWS:20737 ../build/NEWS:23048 msgid "" "`bpo-2202 `__: Fix UnboundLocalError in " "AbstractDigestAuthHandler.get_algorithm_impls. Initial patch by Mathieu " "Dupuy." msgstr "" #: ../build/NEWS:20741 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:20745 ../build/NEWS:23052 msgid "" "`bpo-25718 `__: Fixed pickling and " "copying the accumulate() iterator with total is None." msgstr "" #: ../build/NEWS:20748 ../build/NEWS:23055 msgid "" "`bpo-26475 `__: Fixed debugging output " "for regular expressions with the (?x) flag." msgstr "" #: ../build/NEWS:20751 msgid "" "`bpo-26482 `__: Allowed pickling " "recursive dequeues." msgstr "" #: ../build/NEWS:20753 msgid "" "`bpo-26335 `__: Make mmap.write() return " "the number of bytes written like other write methods. Patch by Jakub " "Stasiak." msgstr "" #: ../build/NEWS:20756 ../build/NEWS:23058 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:20760 ../build/NEWS:23062 msgid "" "`bpo-26385 `__: Remove the file if the " "internal open() call in NamedTemporaryFile() fails. Patch by Silent Ghost." msgstr "" #: ../build/NEWS:20763 ../build/NEWS:23065 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:20767 ../build/NEWS:23069 msgid "" "`bpo-25913 `__: Leading ``<~`` is " "optional now in base64.a85decode() with adobe=True. Patch by Swati Jaiswal." msgstr "" #: ../build/NEWS:20770 ../build/NEWS:23072 msgid "" "`bpo-26186 `__: Remove an invalid type " "check in importlib.util.LazyLoader." msgstr "" #: ../build/NEWS:20772 msgid "" "`bpo-26367 `__: importlib.__import__() " "raises ImportError like builtins.__import__() when ``level`` is specified " "but without an accompanying package specified." msgstr "" #: ../build/NEWS:20776 ../build/NEWS:23078 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:20780 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:20789 ../build/NEWS:23085 msgid "" "`bpo-25939 `__: On Windows open the cert " "store readonly in ssl.enum_certificates." msgstr "" #: ../build/NEWS:20795 ../build/NEWS:23091 msgid "" "`bpo-25995 `__: os.walk() no longer uses " "FDs proportional to the tree depth." msgstr "" #: ../build/NEWS:20797 msgid "" "`bpo-25994 `__: Added the close() method " "and the support of the context manager protocol for the os.scandir() " "iterator." msgstr "" #: ../build/NEWS:20800 msgid "" "`bpo-23992 `__: multiprocessing: make " "MapResult not fail-fast upon exception." msgstr "" #: ../build/NEWS:20802 msgid "" "`bpo-26243 `__: Support keyword " "arguments to zlib.compress(). Patch by Aviv Palivoda." msgstr "" #: ../build/NEWS:20805 ../build/NEWS:23093 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:20808 msgid "" "`bpo-25949 `__: __dict__ for an " "OrderedDict instance is now created only when needed." msgstr "" #: ../build/NEWS:20811 ../build/NEWS:23096 msgid "" "`bpo-25911 `__: Restored support of " "bytes paths in os.walk() on Windows." msgstr "" #: ../build/NEWS:20813 ../build/NEWS:23098 msgid "" "`bpo-26045 `__: Add UTF-8 suggestion to " "error message when posting a non-Latin-1 string with http.client." msgstr "" #: ../build/NEWS:20816 msgid "" "`bpo-26039 `__: Added zipfile.ZipInfo." "from_file() and zipinfo.ZipInfo.is_dir(). Patch by Thomas Kluyver." msgstr "" #: ../build/NEWS:20819 ../build/NEWS:23101 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:20822 ../build/NEWS:23104 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:20827 ../build/NEWS:23109 msgid "" "`bpo-26202 `__: copy.deepcopy() now " "correctly copies range() objects with non-atomic attributes." msgstr "" #: ../build/NEWS:20830 ../build/NEWS:23112 msgid "" "`bpo-23076 `__: Path.glob() now raises a " "ValueError if it's called with an invalid pattern. Patch by Thomas Nyberg." msgstr "" #: ../build/NEWS:20833 ../build/NEWS:23115 msgid "" "`bpo-19883 `__: Fixed possible integer " "overflows in zipimport." msgstr "" #: ../build/NEWS:20835 ../build/NEWS:23117 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:20839 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:20843 ../build/NEWS:23121 msgid "" "`bpo-26147 `__: xmlrpc now works with " "strings not encodable with used non-UTF-8 encoding." msgstr "" #: ../build/NEWS:20846 ../build/NEWS:23124 msgid "" "`bpo-25935 `__: Garbage collector now " "breaks reference loops with OrderedDict." msgstr "" #: ../build/NEWS:20848 ../build/NEWS:23126 msgid "" "`bpo-16620 `__: Fixed AttributeError in " "msilib.Directory.glob()." msgstr "" #: ../build/NEWS:20850 ../build/NEWS:23128 msgid "" "`bpo-26013 `__: Added compatibility with " "broken protocol 2 pickles created in old Python 3 versions (3.4.3 and lower)." msgstr "" #: ../build/NEWS:20853 msgid "" "`bpo-26129 `__: Deprecated accepting non-" "integers in grp.getgrgid()." msgstr "" #: ../build/NEWS:20855 ../build/NEWS:23131 msgid "" "`bpo-25850 `__: Use cross-compilation by " "default for 64-bit Windows." msgstr "" #: ../build/NEWS:20857 msgid "" "`bpo-25822 `__: Add docstrings to the " "fields of urllib.parse results. Patch contributed by Swati Jaiswal." msgstr "" #: ../build/NEWS:20860 msgid "" "`bpo-22642 `__: Convert trace module " "option parsing mechanism to argparse. Patch contributed by SilentGhost." msgstr "" #: ../build/NEWS:20863 ../build/NEWS:23135 msgid "" "`bpo-24705 `__: Fix sysconfig." "_parse_makefile not expanding ${} vars appearing before $() vars." msgstr "" #: ../build/NEWS:20866 msgid "" "`bpo-26069 `__: Remove the deprecated " "apis in the trace module." msgstr "" #: ../build/NEWS:20868 ../build/NEWS:23138 msgid "" "`bpo-22138 `__: Fix mock.patch behavior " "when patching descriptors. Restore original values after patching. Patch " "contributed by Sean McCully." msgstr "" #: ../build/NEWS:20871 ../build/NEWS:23141 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:20874 ../build/NEWS:23144 msgid "" "`bpo-26012 `__: Don't traverse into " "symlinks for ``**`` pattern in pathlib.Path.[r]glob()." msgstr "" #: ../build/NEWS:20877 ../build/NEWS:23147 msgid "" "`bpo-24120 `__: Ignore PermissionError " "when traversing a tree with pathlib.Path.[r]glob(). Patch by Ulrich Petri." msgstr "" #: ../build/NEWS:20880 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:20884 ../build/NEWS:23150 msgid "" "`bpo-25447 `__: fileinput now uses sys." "stdin as-is if it does not have a buffer attribute (restores backward " "compatibility)." msgstr "" #: ../build/NEWS:20887 msgid "" "`bpo-25971 `__: Optimized creating " "Fractions from floats by 2 times and from Decimals by 3 times." msgstr "" #: ../build/NEWS:20890 msgid "" "`bpo-25802 `__: Document as deprecated " "the remaining implementations of importlib.abc.Loader.load_module()." msgstr "" #: ../build/NEWS:20893 msgid "" "`bpo-25928 `__: Add Decimal." "as_integer_ratio()." msgstr "" #: ../build/NEWS:20895 ../build/NEWS:23153 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:20899 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:20902 ../build/NEWS:23157 msgid "" "`bpo-24103 `__: Fixed possible use after " "free in ElementTree.XMLPullParser." msgstr "" #: ../build/NEWS:20904 ../build/NEWS:23159 msgid "" "`bpo-25860 `__: os.fwalk() no longer " "skips remaining directories when error occurs. Original patch by Samson Lee." msgstr "" #: ../build/NEWS:20907 ../build/NEWS:23162 msgid "" "`bpo-25914 `__: Fixed and simplified " "OrderedDict.__sizeof__." msgstr "" #: ../build/NEWS:20909 msgid "" "`bpo-25869 `__: Optimized deepcopying " "ElementTree; it is now 20 times faster." msgstr "" #: ../build/NEWS:20911 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:20915 ../build/NEWS:23164 msgid "" "`bpo-25902 `__: Fixed various refcount " "issues in ElementTree iteration." msgstr "" #: ../build/NEWS:20917 msgid "" "`bpo-22227 `__: The TarFile iterator is " "reimplemented using generator. This implementation is simpler that using " "class." msgstr "" #: ../build/NEWS:20920 msgid "" "`bpo-25638 `__: Optimized ElementTree." "iterparse(); it is now 2x faster. Optimized ElementTree parsing; it is now " "10% faster." msgstr "" #: ../build/NEWS:20923 msgid "" "`bpo-25761 `__: Improved detecting " "errors in broken pickle data." msgstr "" #: ../build/NEWS:20925 ../build/NEWS:23166 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:20929 ../build/NEWS:23170 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:20933 ../build/NEWS:23174 msgid "" "`bpo-25764 `__: In the subprocess " "module, preserve any exception caused by fork() failure when preexec_fn is " "used." msgstr "" #: ../build/NEWS:20936 msgid "" "`bpo-25771 `__: Tweak the exception " "message for importlib.util.resolve_name() when 'package' isn't specified but " "necessary." msgstr "" #: ../build/NEWS:20939 ../build/NEWS:23177 msgid "" "`bpo-6478 `__: _strptime's regexp cache " "now is reset after changing timezone with time.tzset()." msgstr "" #: ../build/NEWS:20942 ../build/NEWS:23180 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:20947 ../build/NEWS:23185 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:20951 ../build/NEWS:23189 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:20955 ../build/NEWS:23193 msgid "" "`bpo-25718 `__: Fixed copying object " "with state with boolean value is false." msgstr "" #: ../build/NEWS:20957 ../build/NEWS:23195 msgid "" "`bpo-10131 `__: Fixed deep copying of " "minidom documents. Based on patch by Marian Ganisin." msgstr "" #: ../build/NEWS:20960 msgid "" "`bpo-7990 `__: dir() on ElementTree." "Element now lists properties: \"tag\", \"text\", \"tail\" and \"attrib\". " "Original patch by Santoso Wijaya." msgstr "" #: ../build/NEWS:20963 ../build/NEWS:23198 msgid "" "`bpo-25725 `__: Fixed a reference leak " "in pickle.loads() when unpickling invalid data including tuple instructions." msgstr "" #: ../build/NEWS:20966 ../build/NEWS:23201 msgid "" "`bpo-25663 `__: In the Readline " "completer, avoid listing duplicate global names, and search the global " "namespace before searching builtins." msgstr "" #: ../build/NEWS:20969 ../build/NEWS:23204 msgid "" "`bpo-25688 `__: Fixed file leak in " "ElementTree.iterparse() raising an error." msgstr "" #: ../build/NEWS:20971 ../build/NEWS:23206 msgid "" "`bpo-23914 `__: Fixed SystemError raised " "by unpickler on broken pickle data." msgstr "" #: ../build/NEWS:20973 ../build/NEWS:23208 msgid "" "`bpo-25691 `__: Fixed crash on deleting " "ElementTree.Element attributes." msgstr "" #: ../build/NEWS:20975 ../build/NEWS:23210 msgid "" "`bpo-25624 `__: ZipFile now always " "writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang." msgstr "" #: ../build/NEWS:20978 ../build/NEWS:23529 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:20985 ../build/NEWS:23536 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:20988 ../build/NEWS:23539 msgid "" "`bpo-25593 `__: Change semantics of " "EventLoop.stop() in asyncio." msgstr "" #: ../build/NEWS:20990 ../build/NEWS:23541 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:20994 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:21000 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:21004 ../build/NEWS:23548 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:21008 ../build/NEWS:23552 msgid "" "`bpo-25584 `__: Added \"escape\" to the " "__all__ list in the glob module." msgstr "" #: ../build/NEWS:21010 ../build/NEWS:23554 msgid "" "`bpo-25584 `__: Fixed recursive glob() " "with patterns starting with ``**``." msgstr "" #: ../build/NEWS:21012 ../build/NEWS:23556 msgid "" "`bpo-25446 `__: Fix regression in " "smtplib's AUTH LOGIN support." msgstr "" #: ../build/NEWS:21014 ../build/NEWS:23558 msgid "" "`bpo-18010 `__: Fix the pydoc web " "server's module search function to handle exceptions from importing packages." msgstr "" #: ../build/NEWS:21017 ../build/NEWS:23561 msgid "" "`bpo-25554 `__: Got rid of circular " "references in regular expression parsing." msgstr "" #: ../build/NEWS:21019 msgid "" "`bpo-18973 `__: Command-line interface " "of the calendar module now uses argparse instead of optparse." msgstr "" #: ../build/NEWS:21022 ../build/NEWS:23563 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:21026 ../build/NEWS:23567 msgid "" "`bpo-25503 `__: Fixed inspect.getdoc() " "for inherited docstrings of properties. Original patch by John Mark " "Vandenberg." msgstr "" #: ../build/NEWS:21029 ../build/NEWS:23570 msgid "" "`bpo-25515 `__: Always use os.urandom as " "a source of randomness in uuid.uuid4." msgstr "" #: ../build/NEWS:21031 ../build/NEWS:23572 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:21035 ../build/NEWS:23576 msgid "" "`bpo-25447 `__: The lru_cache() wrapper " "objects now can be copied and pickled (by returning the original object " "unchanged)." msgstr "" #: ../build/NEWS:21038 ../build/NEWS:23579 msgid "" "`bpo-25390 `__: typing: Don't crash on " "Union[str, Pattern]." msgstr "" #: ../build/NEWS:21040 ../build/NEWS:23581 msgid "" "`bpo-25441 `__: asyncio: Raise error " "from drain() when socket is closed." msgstr "" #: ../build/NEWS:21042 ../build/NEWS:23583 msgid "" "`bpo-25410 `__: Cleaned up and fixed " "minor bugs in C implementation of OrderedDict." msgstr "" #: ../build/NEWS:21045 ../build/NEWS:23586 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:21048 msgid "" "Move the imp module from a PendingDeprecationWarning to DeprecationWarning." msgstr "" #: ../build/NEWS:21051 ../build/NEWS:23589 msgid "" "`bpo-25407 `__: Remove mentions of the " "formatter module being removed in Python 3.6." msgstr "" #: ../build/NEWS:21054 ../build/NEWS:23592 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:21058 msgid "" "`bpo-25382 `__: pickletools.dis() now " "outputs implicit memo index for the MEMOIZE opcode." msgstr "" #: ../build/NEWS:21061 msgid "" "`bpo-25357 `__: Add an optional newline " "parameter to binascii.b2a_base64(). base64.b64encode() uses it to avoid a " "memory copy." msgstr "" #: ../build/NEWS:21064 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:21067 ../build/NEWS:23596 msgid "" "`bpo-25364 `__: zipfile now works in " "threads disabled builds." msgstr "" #: ../build/NEWS:21069 ../build/NEWS:23598 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:21072 msgid "" "`bpo-16099 `__: RobotFileParser now " "supports Crawl-delay and Request-rate extensions. Patch by Nikolay " "Bogoychev." msgstr "" #: ../build/NEWS:21075 ../build/NEWS:23601 msgid "" "`bpo-25316 `__: distutils raises OSError " "instead of DistutilsPlatformError when MSVC is not installed." msgstr "" #: ../build/NEWS:21078 ../build/NEWS:23604 msgid "" "`bpo-25380 `__: Fixed protocol for the " "STACK_GLOBAL opcode in pickletools.opcodes." msgstr "" #: ../build/NEWS:21081 ../build/NEWS:23607 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:21087 ../build/NEWS:23613 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:21091 ../build/NEWS:23617 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:21094 ../build/NEWS:23620 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:21097 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:21101 ../build/NEWS:23648 msgid "" "`bpo-23600 `__: Default implementation " "of tzinfo.fromutc() was returning wrong results in some cases." msgstr "" #: ../build/NEWS:21104 ../build/NEWS:23645 msgid "" "`bpo-25203 `__: Failed readline." "set_completer_delims() no longer left the module in inconsistent state." msgstr "" #: ../build/NEWS:21107 msgid "" "`bpo-25011 `__: rlcompleter now omits " "private and special attribute names unless the prefix starts with " "underscores." msgstr "" #: ../build/NEWS:21110 msgid "" "`bpo-25209 `__: rlcompleter now can add " "a space or a colon after completed keyword." msgstr "" #: ../build/NEWS:21113 msgid "" "`bpo-22241 `__: timezone.utc name is now " "plain 'UTC', not 'UTC-00:00'." msgstr "" #: ../build/NEWS:21115 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:21120 msgid "" "`bpo-23552 `__: Timeit now warns when " "there is substantial (4x) variance between best and worst times. Patch from " "Serhiy Storchaka." msgstr "" #: ../build/NEWS:21123 msgid "" "`bpo-24633 `__: site-packages/README -> " "README.txt." msgstr "" #: ../build/NEWS:21125 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:21129 msgid "" "`bpo-24874 `__: Improve speed of " "itertools.cycle() and make its pickle more compact." msgstr "" #: ../build/NEWS:21132 msgid "" "Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a " "list." msgstr "" #: ../build/NEWS:21135 msgid "" "`bpo-20059 `__: urllib.parse raises " "ValueError on all invalid ports. Patch by Martin Panter." msgstr "" #: ../build/NEWS:21138 msgid "" "`bpo-24360 `__: Improve __repr__ of " "argparse.Namespace() for invalid identifiers. Patch by Matthias Bussonnier." msgstr "" #: ../build/NEWS:21141 msgid "" "`bpo-23426 `__: run_setup was broken in " "distutils. Patch from Alexander Belopolsky." msgstr "" #: ../build/NEWS:21144 msgid "" "`bpo-13938 `__: 2to3 converts " "StringTypes to a tuple. Patch from Mark Hammond." msgstr "" #: ../build/NEWS:21146 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:21149 msgid "" "`bpo-8585 `__: improved tests for " "zipimporter2. Patch from Mark Lawrence." msgstr "" #: ../build/NEWS:21151 ../build/NEWS:24190 msgid "" "`bpo-18622 `__: unittest.mock." "mock_open().reset_mock would recurse infinitely. Patch from Nicola Palumbo " "and Laurent De Buyst." msgstr "" #: ../build/NEWS:21154 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:21158 ../build/NEWS:24193 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:21161 msgid "" "`bpo-13248 `__: Remove deprecated " "inspect.getmoduleinfo function." msgstr "" #: ../build/NEWS:21163 ../build/NEWS:23722 msgid "" "`bpo-25578 `__: Fix (another) memory " "leak in SSLSocket.getpeercer()." msgstr "" #: ../build/NEWS:21165 ../build/NEWS:23724 msgid "" "`bpo-25530 `__: Disable the vulnerable " "SSLv3 protocol by default when creating ssl.SSLContext." msgstr "" #: ../build/NEWS:21168 ../build/NEWS:23727 msgid "" "`bpo-25569 `__: Fix memory leak in " "SSLSocket.getpeercert()." msgstr "" #: ../build/NEWS:21170 ../build/NEWS:23729 msgid "" "`bpo-25471 `__: Sockets returned from " "accept() shouldn't appear to be nonblocking." msgstr "" #: ../build/NEWS:21173 ../build/NEWS:23732 msgid "" "`bpo-25319 `__: When threading.Event is " "reinitialized, the underlying condition should use a regular lock rather " "than a recursive lock." msgstr "" #: ../build/NEWS:21176 ../build/NEWS:23213 msgid "" "Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis." msgstr "" #: ../build/NEWS:21179 ../build/NEWS:23216 msgid "" "`bpo-26050 `__: Add asyncio.StreamReader." "readuntil() method. Patch by Марк Коренберг." msgstr "" #: ../build/NEWS:21182 ../build/NEWS:23219 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:21185 ../build/NEWS:23222 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:21188 ../build/NEWS:23225 msgid "" "`bpo-26848 `__: Fix asyncio/subprocess." "communicate() to handle empty input. Patch by Jack O'Connor." msgstr "" #: ../build/NEWS:21191 ../build/NEWS:23228 msgid "" "`bpo-27040 `__: Add loop." "get_exception_handler method" msgstr "" #: ../build/NEWS:21193 ../build/NEWS:23230 msgid "" "`bpo-27041 `__: asyncio: Add loop." "create_future method" msgstr "" #: ../build/NEWS:21198 ../build/NEWS:23278 msgid "" "`bpo-20640 `__: Add tests for idlelib." "configHelpSourceEdit. Patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:21201 ../build/NEWS:23281 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:21204 ../build/NEWS:23284 msgid "" "`bpo-25507 `__: fix incorrect change in " "IOBinding that prevented printing. Augment IOBinding htest to include all " "major IOBinding functions." msgstr "" #: ../build/NEWS:21207 ../build/NEWS:23287 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:21211 ../build/NEWS:23761 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:21215 ../build/NEWS:23765 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:21223 ../build/NEWS:23773 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:21227 ../build/NEWS:23777 msgid "" "`bpo-24750 `__: Improve the appearance " "of the IDLE editor window status bar. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:21230 ../build/NEWS:23780 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:21234 ../build/NEWS:23784 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:21238 ../build/NEWS:23788 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:21241 ../build/NEWS:23791 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:21248 ../build/NEWS:23798 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:21252 ../build/NEWS:23802 msgid "" "`bpo-24820 `__: Users can now set " "breakpoint colors in Settings -> Custom Highlighting. Original patch by Mark " "Roseman." msgstr "" #: ../build/NEWS:21255 ../build/NEWS:23805 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:21259 ../build/NEWS:23809 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:21262 ../build/NEWS:23812 msgid "" "`bpo-24988 `__: Idle ScrolledList " "context menus (used in debugger) now work on Mac Aqua. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:21265 ../build/NEWS:23815 msgid "" "`bpo-24801 `__: Make right-click for " "context menu work on Mac Aqua. Patch by Mark Roseman." msgstr "" #: ../build/NEWS:21268 ../build/NEWS:23818 msgid "" "`bpo-25173 `__: Associate tkinter " "messageboxes with a specific widget. For Mac OSX, make them a 'sheet'. " "Patch by Mark Roseman." msgstr "" #: ../build/NEWS:21271 ../build/NEWS:23821 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:21278 ../build/NEWS:23828 msgid "" "`bpo-25225 `__: Condense and rewrite " "Idle doc section on text colors." msgstr "" #: ../build/NEWS:21280 ../build/NEWS:23830 msgid "" "`bpo-21995 `__: Explain some differences " "between IDLE and console Python." msgstr "" #: ../build/NEWS:21282 ../build/NEWS:23832 msgid "" "`bpo-22820 `__: Explain need for *print* " "when running file from Idle editor." msgstr "" #: ../build/NEWS:21284 ../build/NEWS:23834 msgid "" "`bpo-25224 `__: Doc: augment Idle " "feature list and no-subprocess section." msgstr "" #: ../build/NEWS:21286 ../build/NEWS:23836 msgid "" "`bpo-25219 `__: Update doc for Idle " "command line options. Some were missing and notes were not correct." msgstr "" #: ../build/NEWS:21289 ../build/NEWS:23839 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:21292 ../build/NEWS:23842 msgid "" "`bpo-25199 `__: Idle: add " "synchronization comments for future maintainers." msgstr "" #: ../build/NEWS:21294 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:21301 ../build/NEWS:23851 msgid "" "`bpo-24199 `__: Deprecate unused idlelib." "idlever with possible removal in 3.6." msgstr "" #: ../build/NEWS:21303 ../build/NEWS:23853 msgid "" "`bpo-24790 `__: Remove extraneous code " "(which also create 2 & 3 conflicts)." msgstr "" #: ../build/NEWS:21308 ../build/NEWS:23299 msgid "" "`bpo-26736 `__: Used HTTPS for external " "links in the documentation if possible." msgstr "" #: ../build/NEWS:21310 ../build/NEWS:23301 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:21314 ../build/NEWS:23305 msgid "" "`bpo-23606 `__: Adds note to ctypes " "documentation regarding cdll.msvcrt." msgstr "" #: ../build/NEWS:21316 ../build/NEWS:23868 msgid "" "`bpo-24952 `__: Clarify the default size " "argument of stack_size() in the \"threading\" and \"_thread\" modules. Patch " "from Mattip." msgstr "" #: ../build/NEWS:21319 ../build/NEWS:23310 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:21326 ../build/NEWS:23317 msgid "" "`bpo-21916 `__: Added tests for the " "turtle module. Patch by ingrid, Gregory Loyse and Jelle Zijlstra." msgstr "" #: ../build/NEWS:21329 msgid "" "`bpo-26295 `__: When using \"python3 -m " "test --testdir=TESTDIR\", regrtest doesn't add \"test.\" prefix to test " "module names." msgstr "" #: ../build/NEWS:21332 ../build/NEWS:23320 msgid "" "`bpo-26523 `__: The multiprocessing " "thread pool (multiprocessing.dummy.Pool) was untested." msgstr "" #: ../build/NEWS:21335 ../build/NEWS:23323 msgid "" "`bpo-26015 `__: Added new tests for " "pickling iterators of mutable sequences." msgstr "" #: ../build/NEWS:21337 ../build/NEWS:23325 msgid "" "`bpo-26325 `__: Added test.support." "check_no_resource_warning() to check that no ResourceWarning is emitted." msgstr "" #: ../build/NEWS:21340 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:21343 ../build/NEWS:23331 msgid "" "`bpo-25616 `__: Tests for OrderedDict " "are extracted from test_collections into separate file test_ordered_dict." msgstr "" #: ../build/NEWS:21346 ../build/NEWS:23882 msgid "" "`bpo-25449 `__: Added tests for " "OrderedDict subclasses." msgstr "" #: ../build/NEWS:21348 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:21352 msgid "" "`bpo-22806 `__: Add ``python -m test --" "list-tests`` command to list tests." msgstr "" #: ../build/NEWS:21354 msgid "" "`bpo-18174 `__: ``python -m test --" "huntrleaks ...`` now also checks for leak of file descriptors. Patch written " "by Richard Oudkerk." msgstr "" #: ../build/NEWS:21357 msgid "" "`bpo-25260 `__: Fix ``python -m test --" "coverage`` on Windows. Remove the list of ignored directories." msgstr "" #: ../build/NEWS:21360 ../build/NEWS:23889 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:21363 ../build/NEWS:23334 msgid "" "`bpo-26583 `__: Skip " "test_timestamp_overflow in test_import if bytecode files cannot be written." msgstr "" #: ../build/NEWS:21369 msgid "" "`bpo-21277 `__: Don't try to link " "_ctypes with a ffi_convenience library." msgstr "" #: ../build/NEWS:21371 ../build/NEWS:23340 msgid "" "`bpo-26884 `__: Fix linking extension " "modules for cross builds. Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:21374 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:21377 ../build/NEWS:23343 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:21382 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:21385 ../build/NEWS:23354 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:21391 ../build/NEWS:23360 msgid "" "`bpo-26624 `__: Adds validation of " "ucrtbase[d].dll version with warning for old versions." msgstr "" #: ../build/NEWS:21394 ../build/NEWS:23363 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:21397 ../build/NEWS:23366 msgid "" "`bpo-26079 `__: Fixing the build output " "folder for tix-8.4.3.6. Patch by Bjoern Thiel." msgstr "" #: ../build/NEWS:21400 ../build/NEWS:23369 msgid "" "`bpo-26465 `__: Update Windows builds to " "use OpenSSL 1.0.2g." msgstr "" #: ../build/NEWS:21402 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:21406 ../build/NEWS:23380 msgid "" "`bpo-25827 `__: Add support for building " "with ICC to ``configure``, including a new ``--with-icc`` flag." msgstr "" #: ../build/NEWS:21409 ../build/NEWS:23383 msgid "" "`bpo-25696 `__: Fix installation of " "Python on UNIX with make -j9." msgstr "" #: ../build/NEWS:21411 ../build/NEWS:23900 msgid "" "`bpo-24986 `__: It is now possible to " "build Python on Windows without errors when external libraries are not " "available." msgstr "" #: ../build/NEWS:21414 ../build/NEWS:23371 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:21418 msgid "" "`bpo-26465 `__: Update OS X 10.5+ 32-bit-" "only installer to build and link with OpenSSL 1.0.2g." msgstr "" #: ../build/NEWS:21421 ../build/NEWS:23388 msgid "" "`bpo-26268 `__: Update Windows builds to " "use OpenSSL 1.0.2f." msgstr "" #: ../build/NEWS:21423 ../build/NEWS:23390 msgid "" "`bpo-25136 `__: Support Apple Xcode 7's " "new textual SDK stub libraries." msgstr "" #: ../build/NEWS:21425 ../build/NEWS:23392 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:21432 ../build/NEWS:23399 msgid "" "`bpo-27053 `__: Updates make_zip.py to " "correctly generate library ZIP file." msgstr "" #: ../build/NEWS:21434 ../build/NEWS:23401 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:21438 ../build/NEWS:23405 msgid "" "`bpo-26071 `__: bdist_wininst created " "binaries fail to start and find 32bit Python" msgstr "" #: ../build/NEWS:21441 ../build/NEWS:23408 msgid "" "`bpo-26073 `__: Update the list of magic " "numbers in launcher" msgstr "" #: ../build/NEWS:21443 ../build/NEWS:23410 msgid "" "`bpo-26065 `__: Excludes venv from " "library when generating embeddable distro." msgstr "" #: ../build/NEWS:21445 ../build/NEWS:23939 msgid "" "`bpo-25022 `__: Removed very outdated PC/" "example_nt/ directory." msgstr "" #: ../build/NEWS:21450 ../build/NEWS:23415 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:21455 ../build/NEWS:23420 msgid "" "`bpo-26271 `__: Fix the Freeze tool to " "properly use flags passed through configure. Patch by Daniel Shaulov." msgstr "" #: ../build/NEWS:21458 ../build/NEWS:23423 msgid "" "`bpo-26489 `__: Add dictionary unpacking " "support to Tools/parser/unparse.py. Patch by Guo Ci Teo." msgstr "" #: ../build/NEWS:21461 ../build/NEWS:23426 msgid "" "`bpo-26316 `__: Fix variable name typo " "in Argument Clinic." msgstr "" #: ../build/NEWS:21463 ../build/NEWS:23944 msgid "" "`bpo-25440 `__: Fix output of python-" "config --extension-suffix." msgstr "" #: ../build/NEWS:21465 msgid "" "`bpo-25154 `__: The pyvenv script has " "been deprecated in favour of `python3 -m venv`." msgstr "" #: ../build/NEWS:21471 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:21475 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:21482 msgid "Python 3.5.5 final" msgstr "" #: ../build/NEWS:21484 msgid "*Release date: 2018-02-04*" msgstr "" #: ../build/NEWS:21486 msgid "There were no new changes in version 3.5.5." msgstr "" #: ../build/NEWS:21491 msgid "Python 3.5.5 release candidate 1" msgstr "" #: ../build/NEWS:21493 msgid "*Release date: 2018-01-23*" msgstr "" #: ../build/NEWS:21498 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:21511 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:21538 msgid "Python 3.5.4 final" msgstr "" #: ../build/NEWS:21540 msgid "*Release date: 2017-08-07*" msgstr "" #: ../build/NEWS:21550 msgid "Python 3.5.4 release candidate 1" msgstr "" #: ../build/NEWS:21552 msgid "*Release date: 2017-07-23*" msgstr "" #: ../build/NEWS:21604 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:21886 msgid "" "`bpo-30822 `__: Fix regrtest command " "line parser to allow passing -u extralargefile to run test_zipfile64." msgstr "" #: ../build/NEWS:21889 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:21946 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:21958 msgid "Python 3.5.3 final" msgstr "" #: ../build/NEWS:21960 msgid "*Release date: 2017-01-17*" msgstr "" #: ../build/NEWS:21962 msgid "There were no code changes between 3.5.3rc1 and 3.5.3 final." msgstr "" #: ../build/NEWS:21967 msgid "Python 3.5.3 release candidate 1" msgstr "" #: ../build/NEWS:21969 msgid "*Release date: 2017-01-02*" msgstr "" #: ../build/NEWS:21974 msgid "" "`bpo-29073 `__: bytearray formatting no " "longer truncates on first null byte." msgstr "" #: ../build/NEWS:21978 msgid "" "`bpo-28147 `__: Fix a memory leak in " "split-table dictionaries: setattr() must not convert combined table into " "split table." msgstr "" #: ../build/NEWS:21990 msgid "" "`bpo-28991 `__: functools.lru_cache() " "was susceptible to an obscure reentrancy bug caused by a monkey-patched " "len() function." msgstr "" #: ../build/NEWS:22033 msgid "" "`bpo-28203 `__: Fix incorrect type in " "error message from ``complex(1.0, {2:3})``. Patch by Soumya Sharma." msgstr "" #: ../build/NEWS:22048 msgid "" "`bpo-28189 `__: dictitems_contains no " "longer swallows compare errors. (Patch by Xiang Zhang)" msgstr "" #: ../build/NEWS:22060 msgid "" "`bpo-26020 `__: set literal evaluation " "order did not match documented behaviour." msgstr "" #: ../build/NEWS:22079 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:22131 msgid "" "`bpo-20191 `__: Fixed a crash in " "resource.prlimit() when pass a sequence that doesn't own its elements as " "limits." msgstr "" #: ../build/NEWS:22182 msgid "" "`bpo-28488 `__: shutil.make_archive() no " "longer add entry \"./\" to ZIP archive." msgstr "" #: ../build/NEWS:22220 msgid "" "`bpo-27611 `__: Fixed support of default " "root window in the tkinter.tix module." msgstr "" #: ../build/NEWS:22246 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:22318 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:22334 msgid "" "`bpo-26750 `__: unittest.mock." "create_autospec() now works properly for subclasses of property() and other " "data descriptors." msgstr "" #: ../build/NEWS:22378 msgid "" "`bpo-26664 `__: Fix activate.fish by " "removing mis-use of ``$``." msgstr "" #: ../build/NEWS:22380 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:22384 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:22484 msgid "" "`bpo-28600 `__: Optimize loop." "call_soon()." msgstr "" #: ../build/NEWS:22498 msgid "" "`bpo-24142 `__: Reading a corrupt config " "file left the parser in an invalid state. Original patch by Florian Höch." msgstr "" #: ../build/NEWS:22501 msgid "" "`bpo-28990 `__: Fix SSL hanging if " "connection is closed before handshake completed. (Patch by HoHo-Ho)" msgstr "" #: ../build/NEWS:22537 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:22549 msgid "" "`bpo-28950 `__: Disallow -j0 to be " "combined with -T/-l/-M in regrtest command line arguments." msgstr "" #: ../build/NEWS:22590 msgid "" "`bpo-27309 `__: Enabled proper Windows " "styles in python[w].exe manifest." msgstr "" #: ../build/NEWS:22623 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:22630 msgid "" "`bpo-26359 `__: Add the --with-" "optimizations configure flag." msgstr "" #: ../build/NEWS:22635 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:22658 msgid "Python 3.5.2 final" msgstr "" #: ../build/NEWS:22660 msgid "*Release date: 2016-06-26*" msgstr "" #: ../build/NEWS:22670 msgid "" "`bpo-26867 `__: Ubuntu's openssl " "OP_NO_SSLv3 is forced on by default; fix test." msgstr "" #: ../build/NEWS:22675 msgid "" "`bpo-27365 `__: Allow non-ascii in " "idlelib/NEWS.txt - minimal part for 3.5.2." msgstr "" #: ../build/NEWS:22679 msgid "Python 3.5.2 release candidate 1" msgstr "" #: ../build/NEWS:22681 msgid "*Release date: 2016-06-12*" msgstr "" #: ../build/NEWS:22697 msgid "" "`bpo-27039 `__: Fixed bytearray.remove() " "for values greater than 127. Patch by Joe Jevnik." msgstr "" #: ../build/NEWS:22752 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:22756 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:22818 msgid "" "Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " "Oststrom" msgstr "" #: ../build/NEWS:23003 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:23045 msgid "" "`bpo-15068 `__: Got rid of excessive " "buffering in the fileinput module. The bufsize parameter is no longer used." msgstr "" #: ../build/NEWS:23074 msgid "" "`bpo-26367 `__: importlib.__import__() " "raises SystemError like builtins.__import__() when ``level`` is specified " "but without an accompanying package specified." msgstr "" #: ../build/NEWS:23133 msgid "" "`bpo-17633 `__: Improve zipimport's " "support for namespace packages." msgstr "" #: ../build/NEWS:23232 msgid "" "`bpo-27223 `__: asyncio: Fix _read_ready " "and _write_ready to respect _conn_lost. Patch by Łukasz Langa." msgstr "" #: ../build/NEWS:23235 msgid "" "`bpo-22970 `__: asyncio: Fix " "inconsistency cancelling Condition.wait. Patch by David Coles." msgstr "" #: ../build/NEWS:23271 msgid "" "`bpo-21703 `__: Add test for IDLE's undo " "delegator. Original patch by Saimadhav Heblikar ." msgstr "" #: ../build/NEWS:23307 msgid "" "`bpo-25500 `__: Fix documentation to not " "claim that __import__ is searched for in the global scope." msgstr "" #: ../build/NEWS:23328 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:23351 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:23375 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:23436 msgid "Python 3.5.1 final" msgstr "" #: ../build/NEWS:23438 msgid "*Release date: 2015-12-06*" msgstr "" #: ../build/NEWS:23449 msgid "" "`bpo-25715 `__: Python 3.5.1 installer " "shows wrong upgrade path and incorrect logic for launcher detection." msgstr "" #: ../build/NEWS:23454 msgid "Python 3.5.1 release candidate 1" msgstr "" #: ../build/NEWS:23456 msgid "*Release date: 2015-11-22*" msgstr "" #: ../build/NEWS:23515 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:23518 msgid "" "`bpo-25131 `__: Make the line number and " "column offset of set/dict literals and comprehensions correspond to the " "opening brace." msgstr "" #: ../build/NEWS:23521 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:23545 msgid "" "`bpo-25590 `__: In the Readline " "completer, only call getattr() once per attribute." msgstr "" #: ../build/NEWS:23623 msgid "" "`bpo-24483 `__: C implementation of " "functools.lru_cache() now calculates key's hash only once." msgstr "" #: ../build/NEWS:23626 msgid "" "`bpo-22958 `__: Constructor and update " "method of weakref.WeakValueDictionary now accept the self and the dict " "keyword arguments." msgstr "" #: ../build/NEWS:23629 msgid "" "`bpo-22609 `__: Constructor of " "collections.UserDict now accepts the self keyword argument." msgstr "" #: ../build/NEWS:23632 msgid "" "`bpo-25111 `__: Fixed comparison of " "traceback.FrameSummary." msgstr "" #: ../build/NEWS:23634 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:23639 msgid "" "`bpo-25034 `__: Fix string.Formatter " "problem with auto-numbering and nested format_specs. Patch by Anthon van der " "Neut." msgstr "" #: ../build/NEWS:23642 msgid "" "`bpo-25233 `__: Rewrite the guts of " "asyncio.Queue and asyncio.Semaphore to be more understandable and correct." msgstr "" #: ../build/NEWS:23651 msgid "" "`bpo-23329 `__: Allow the ssl module to " "be built with older versions of LibreSSL." msgstr "" #: ../build/NEWS:23654 msgid "Prevent overflow in _Unpickler_Read." msgstr "" #: ../build/NEWS:23656 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:23660 msgid "" "`bpo-25135 `__: Make deque_clear() safer " "by emptying the deque before clearing. This helps avoid possible reentrancy " "issues." msgstr "" #: ../build/NEWS:23663 msgid "" "`bpo-19143 `__: platform module now " "reads Windows version from kernel32.dll to avoid compatibility shims." msgstr "" #: ../build/NEWS:23666 msgid "" "`bpo-25092 `__: Fix datetime.strftime() " "failure when errno was already set to EINVAL." msgstr "" #: ../build/NEWS:23669 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:23678 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:23682 msgid "" "`bpo-25108 `__: Omitted internal frames " "in traceback functions print_stack(), format_stack(), and extract_stack() " "called without arguments." msgstr "" #: ../build/NEWS:23685 msgid "" "`bpo-25118 `__: Fix a regression of " "Python 3.5.0 in os.waitpid() on Windows." msgstr "" #: ../build/NEWS:23687 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:23693 msgid "" "`bpo-25060 `__: Correctly compute stack " "usage of the BUILD_MAP opcode." msgstr "" #: ../build/NEWS:23695 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:23698 msgid "" "`bpo-23144 `__: Make sure that " "HTMLParser.feed() returns all the data, even when convert_charrefs is True." msgstr "" #: ../build/NEWS:23701 msgid "" "`bpo-24982 `__: shutil.make_archive() " "with the \"zip\" format now adds entries for directories (including empty " "directories) in ZIP file." msgstr "" #: ../build/NEWS:23704 msgid "" "`bpo-25019 `__: Fixed a crash caused by " "setting non-string key of expat parser. Based on patch by John Leitch." msgstr "" #: ../build/NEWS:23707 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:23710 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:23716 msgid "" "`bpo-24992 `__: Fix error handling and a " "race condition (related to garbage collection) in collections.OrderedDict " "constructor." msgstr "" #: ../build/NEWS:23719 msgid "" "`bpo-24881 `__: Fixed setting binary " "mode in Python implementation of FileIO on Windows and Cygwin. Patch from " "Akira Li." msgstr "" #: ../build/NEWS:23735 msgid "" "`bpo-21112 `__: Fix regression in " "unittest.expectedFailure on subclasses. Patch from Berker Peksag." msgstr "" #: ../build/NEWS:23738 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:23742 ../build/NEWS:24007 msgid "" "`bpo-24913 `__: Fix overrun error in " "deque.index(). Found by John Leitch and Bryce Darling." msgstr "" #: ../build/NEWS:23745 msgid "" "`bpo-24774 `__: Fix docstring in http." "server.test. Patch from Chiu-Hsiang Hsu." msgstr "" #: ../build/NEWS:23747 msgid "" "`bpo-21159 `__: Improve message in " "configparser.InterpolationMissingOptionError. Patch from Łukasz Langa." msgstr "" #: ../build/NEWS:23750 msgid "" "`bpo-20362 `__: Honour TestCase." "longMessage correctly in assertRegex. Patch from Ilia Kurenkov." msgstr "" #: ../build/NEWS:23753 msgid "" "`bpo-23572 `__: Fixed functools." "singledispatch on classes with falsy metaclasses. Patch by Ethan Furman." msgstr "" #: ../build/NEWS:23756 msgid "asyncio: ensure_future() now accepts awaitable objects." msgstr "" #: ../build/NEWS:23844 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:23861 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:23871 msgid "" "`bpo-23725 `__: Overhaul tempfile docs. " "Note deprecated status of mktemp. Patch from Zbigniew Jędrzejewski-Szmek." msgstr "" #: ../build/NEWS:23874 msgid "" "`bpo-24808 `__: Update the types of some " "PyTypeObject fields. Patch by Joseph Weston." msgstr "" #: ../build/NEWS:23877 msgid "" "`bpo-22812 `__: Fix unittest discovery " "examples. Patch from Pam McA'Nulty." msgstr "" #: ../build/NEWS:23884 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:23887 msgid "" "`bpo-23919 `__: Prevents assert dialogs " "appearing in the test suite." msgstr "" #: ../build/NEWS:23895 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:23898 msgid "" "`bpo-24910 `__: Windows MSIs now have " "unique display names." msgstr "" #: ../build/NEWS:23906 msgid "" "`bpo-25450 `__: Updates shortcuts to " "start Python in installation directory." msgstr "" #: ../build/NEWS:23908 msgid "" "`bpo-25164 `__: Changes default all-" "users install directory to match per-user directory." msgstr "" #: ../build/NEWS:23911 msgid "" "`bpo-25143 `__: Improves installer error " "messages for unsupported platforms." msgstr "" #: ../build/NEWS:23913 msgid "" "`bpo-25163 `__: Display correct " "directory in installer when using non-default settings." msgstr "" #: ../build/NEWS:23916 msgid "" "`bpo-25361 `__: Disables use of SSE2 " "instructions in Windows 32-bit build" msgstr "" #: ../build/NEWS:23918 msgid "" "`bpo-25089 `__: Adds logging to " "installer for case where launcher is not selected on upgrade." msgstr "" #: ../build/NEWS:23921 msgid "" "`bpo-25165 `__: Windows uninstallation " "should not remove launcher if other versions remain" msgstr "" #: ../build/NEWS:23924 msgid "" "`bpo-25112 `__: py.exe launcher is " "missing icons" msgstr "" #: ../build/NEWS:23926 msgid "" "`bpo-25102 `__: Windows installer does " "not precompile for -O or -OO." msgstr "" #: ../build/NEWS:23928 msgid "" "`bpo-25081 `__: Makes Back button in " "installer go back to upgrade page when upgrading." msgstr "" #: ../build/NEWS:23931 msgid "" "`bpo-25091 `__: Increases font size of " "the installer." msgstr "" #: ../build/NEWS:23933 msgid "" "`bpo-25126 `__: Clarifies that the non-" "web installer will download some components." msgstr "" #: ../build/NEWS:23936 msgid "" "`bpo-25213 `__: Restores " "requestedExecutionLevel to manifest to disable UAC virtualization." msgstr "" #: ../build/NEWS:23948 msgid "Python 3.5.0 final" msgstr "" #: ../build/NEWS:23950 msgid "*Release date: 2015-09-13*" msgstr "" #: ../build/NEWS:23955 msgid "" "`bpo-25071 `__: Windows installer should " "not require TargetDir parameter when installing quietly." msgstr "" #: ../build/NEWS:23960 msgid "Python 3.5.0 release candidate 4" msgstr "" #: ../build/NEWS:23962 msgid "*Release date: 2015-09-09*" msgstr "" #: ../build/NEWS:23967 msgid "" "`bpo-25029 `__: Fixes MemoryError in " "test_strptime." msgstr "" #: ../build/NEWS:23972 msgid "" "`bpo-25027 `__: Reverts partial-static " "build options and adds vcruntime140.dll to Windows installation." msgstr "" #: ../build/NEWS:23977 msgid "Python 3.5.0 release candidate 3" msgstr "" #: ../build/NEWS:23979 msgid "*Release date: 2015-09-07*" msgstr "" #: ../build/NEWS:23984 msgid "" "`bpo-24305 `__: Prevent import subsystem " "stack frames from being counted by the warnings.warn(stacklevel=) parameter." msgstr "" #: ../build/NEWS:23987 msgid "" "`bpo-24912 `__: Prevent __class__ " "assignment to immutable built-in objects." msgstr "" #: ../build/NEWS:23989 msgid "" "`bpo-24975 `__: Fix AST compilation for :" "pep:`448` syntax." msgstr "" #: ../build/NEWS:23994 msgid "" "`bpo-24917 `__: time_strftime() buffer " "over-read." msgstr "" #: ../build/NEWS:23996 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:24001 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:24004 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:24012 msgid "Python 3.5.0 release candidate 2" msgstr "" #: ../build/NEWS:24014 msgid "*Release date: 2015-08-25*" msgstr "" #: ../build/NEWS:24019 msgid "" "`bpo-24769 `__: Interpreter now starts " "properly when dynamic loading is disabled. Patch by Petr Viktorin." msgstr "" #: ../build/NEWS:24022 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:24025 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:24032 msgid "" "`bpo-24847 `__: Removes vcruntime140.dll " "dependency from Tcl/Tk." msgstr "" #: ../build/NEWS:24034 msgid "" "`bpo-24839 `__: platform._syscmd_ver " "raises DeprecationWarning" msgstr "" #: ../build/NEWS:24036 msgid "" "`bpo-24867 `__: Fix Task.get_stack() for " "'async def' coroutines" msgstr "" #: ../build/NEWS:24040 msgid "Python 3.5.0 release candidate 1" msgstr "" #: ../build/NEWS:24042 msgid "*Release date: 2015-08-09*" msgstr "" #: ../build/NEWS:24047 msgid "" "`bpo-24667 `__: Resize odict in all " "cases that the underlying dict resizes." msgstr "" #: ../build/NEWS:24052 msgid "" "`bpo-24824 `__: Signatures of codecs." "encode() and codecs.decode() now are compatible with pydoc." msgstr "" #: ../build/NEWS:24055 msgid "" "`bpo-24634 `__: Importing uuid should " "not try to load libc on Windows" msgstr "" #: ../build/NEWS:24057 msgid "" "`bpo-24798 `__: _msvccompiler.py doesn't " "properly support manifests" msgstr "" #: ../build/NEWS:24059 msgid "" "`bpo-4395 `__: Better testing and " "documentation of binary operators. Patch by Martin Panter." msgstr "" #: ../build/NEWS:24062 msgid "" "`bpo-23973 `__: Update typing.py from " "GitHub repo." msgstr "" #: ../build/NEWS:24064 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:24067 msgid "" "`bpo-23888 `__: Handle fractional time " "in cookie expiry. Patch by ssh." msgstr "" #: ../build/NEWS:24069 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:24073 msgid "" "`bpo-22932 `__: Fix timezones in email." "utils.formatdate. Patch from Dmitry Shachnev." msgstr "" #: ../build/NEWS:24076 msgid "" "`bpo-23779 `__: imaplib raises TypeError " "if authenticator tries to abort. Patch from Craig Holmquist." msgstr "" #: ../build/NEWS:24079 msgid "" "`bpo-23319 `__: Fix ctypes." "BigEndianStructure, swap correctly bytes. Patch written by Matthieu Gautier." msgstr "" #: ../build/NEWS:24082 msgid "" "`bpo-23254 `__: Document how to close " "the TCPServer listening socket. Patch from Martin Panter." msgstr "" #: ../build/NEWS:24085 msgid "" "`bpo-19450 `__: Update Windows and OS X " "installer builds to use SQLite 3.8.11." msgstr "" #: ../build/NEWS:24087 msgid "" "`bpo-17527 `__: Add PATCH to wsgiref." "validator. Patch from Luca Sbardella." msgstr "" #: ../build/NEWS:24089 msgid "" "`bpo-24791 `__: Fix grammar regression " "for call syntax: 'g(\\*a or b)'." msgstr "" #: ../build/NEWS:24094 msgid "" "`bpo-23672 `__: Allow Idle to edit and " "run files with astral chars in name. Patch by Mohd Sanad Zaki Rizvi." msgstr "" #: ../build/NEWS:24097 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:24103 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:24106 msgid "" "`bpo-13884 `__: Idle menus. Remove " "tearoff lines. Patch by Roger Serwy." msgstr "" #: ../build/NEWS:24111 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:24116 msgid "" "`bpo-20769 `__: Improve reload() docs. " "Patch by Dorian Pula." msgstr "" #: ../build/NEWS:24118 msgid "" "`bpo-23589 `__: Remove duplicate " "sentence from the FAQ. Patch by Yongzhi Pan." msgstr "" #: ../build/NEWS:24120 msgid "" "`bpo-24729 `__: Correct IO tutorial to " "match implementation regarding encoding parameter to open function." msgstr "" #: ../build/NEWS:24126 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:24132 msgid "Python 3.5.0 beta 4" msgstr "" #: ../build/NEWS:24134 msgid "*Release date: 2015-07-26*" msgstr "" #: ../build/NEWS:24139 msgid "" "`bpo-23573 `__: Restored optimization of " "bytes.rfind() and bytearray.rfind() for single-byte argument on Linux." msgstr "" #: ../build/NEWS:24142 msgid "" "`bpo-24569 `__: Make :pep:`448` " "dictionary evaluation more consistent." msgstr "" #: ../build/NEWS:24144 msgid "" "`bpo-24583 `__: Fix crash when set is " "mutated while being updated." msgstr "" #: ../build/NEWS:24146 msgid "" "`bpo-24407 `__: Fix crash when dict is " "mutated while being updated." msgstr "" #: ../build/NEWS:24148 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:24151 msgid "" "`bpo-24687 `__: Plug refleak on " "SyntaxError in function parameters annotations." msgstr "" #: ../build/NEWS:24153 msgid "" "`bpo-15944 `__: memoryview: Allow " "arbitrary formats when casting to bytes. Patch by Martin Panter." msgstr "" #: ../build/NEWS:24159 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:24162 msgid "" "`bpo-24683 `__: Fixed crashes in _json " "functions called with arguments of inappropriate type." msgstr "" #: ../build/NEWS:24165 msgid "" "`bpo-21697 `__: shutil.copytree() now " "correctly handles symbolic links that point to directories. Patch by " "Eduardo Seabra and Thomas Kluyver." msgstr "" #: ../build/NEWS:24168 msgid "" "`bpo-14373 `__: Fixed segmentation fault " "when gc.collect() is called during constructing lru_cache (C implementation)." msgstr "" #: ../build/NEWS:24171 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:24175 msgid "" "`bpo-24620 `__: Random.setstate() now " "validates the value of state last element." msgstr "" #: ../build/NEWS:24178 msgid "" "`bpo-22485 `__: Fixed an issue that " "caused `inspect.getsource` to return incorrect results on nested functions." msgstr "" #: ../build/NEWS:24181 msgid "" "`bpo-22153 `__: Improve unittest docs. " "Patch from Martin Panter and evilzero." msgstr "" #: ../build/NEWS:24183 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:24186 msgid "" "`bpo-24206 `__: Fixed __eq__ and __ne__ " "methods of inspect classes." msgstr "" #: ../build/NEWS:24188 msgid "" "`bpo-24631 `__: Fixed regression in the " "timeit module with multiline setup." msgstr "" #: ../build/NEWS:24196 msgid "" "`bpo-24608 `__: chunk.Chunk.read() now " "always returns bytes, not str." msgstr "" #: ../build/NEWS:24198 msgid "" "`bpo-18684 `__: Fixed reading out of the " "buffer in the re module." msgstr "" #: ../build/NEWS:24200 msgid "" "`bpo-24259 `__: tarfile now raises a " "ReadError if an archive is truncated inside a data segment." msgstr "" #: ../build/NEWS:24203 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:24206 msgid "" "`bpo-24669 `__: Fix inspect.getsource() " "for 'async def' functions. Patch by Kai Groner." msgstr "" #: ../build/NEWS:24209 msgid "" "`bpo-24688 `__: ast.get_docstring() for " "'async def' functions." msgstr "" #: ../build/NEWS:24214 msgid "" "`bpo-24603 `__: Update Windows builds " "and OS X 10.5 installer to use OpenSSL 1.0.2d." msgstr "" #: ../build/NEWS:24219 msgid "Python 3.5.0 beta 3" msgstr "" #: ../build/NEWS:24221 msgid "*Release date: 2015-07-05*" msgstr "" #: ../build/NEWS:24226 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:24230 msgid "Upgrade to Unicode 8.0.0." msgstr "" #: ../build/NEWS:24232 msgid "" "`bpo-24345 `__: Add Py_tp_finalize slot " "for the stable ABI." msgstr "" #: ../build/NEWS:24234 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:24245 msgid "" "`bpo-24450 `__: Add gi_yieldfrom to " "generators and cr_await to coroutines. Contributed by Benno Leslie and Yury " "Selivanov." msgstr "" #: ../build/NEWS:24248 msgid "" "`bpo-19235 `__: Add new RecursionError " "exception. Patch by Georg Brandl." msgstr "" #: ../build/NEWS:24253 msgid "" "`bpo-21750 `__: mock_open.read_data can " "now be read from each instance, as it could in Python 3.3." msgstr "" #: ../build/NEWS:24256 msgid "" "`bpo-24552 `__: Fix use after free in an " "error case of the _pickle module." msgstr "" #: ../build/NEWS:24258 msgid "" "`bpo-24514 `__: tarfile now tolerates " "number fields consisting of only whitespace." msgstr "" #: ../build/NEWS:24261 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:24267 msgid "" "`bpo-20387 `__: Restore semantic round-" "trip correctness in tokenize/untokenize for tab-indented blocks." msgstr "" #: ../build/NEWS:24270 msgid "" "`bpo-24456 `__: Fixed possible buffer " "over-read in adpcm2lin() and lin2adpcm() functions of the audioop module." msgstr "" #: ../build/NEWS:24273 msgid "" "`bpo-24336 `__: The contextmanager " "decorator now works with functions with keyword arguments called \"func\" " "and \"self\". Patch by Martin Panter." msgstr "" #: ../build/NEWS:24276 msgid "" "`bpo-24522 `__: Fix possible integer " "overflow in json accelerator module." msgstr "" #: ../build/NEWS:24278 msgid "" "`bpo-24489 `__: ensure a previously set " "C errno doesn't disturb cmath.polar()." msgstr "" #: ../build/NEWS:24280 msgid "" "`bpo-24408 `__: Fixed AttributeError in " "measure() and metrics() methods of tkinter.Font." msgstr "" #: ../build/NEWS:24283 msgid "" "`bpo-14373 `__: C implementation of " "functools.lru_cache() now can be used with methods." msgstr "" #: ../build/NEWS:24286 msgid "" "`bpo-24347 `__: Set KeyError if " "PyDict_GetItemWithError returns NULL." msgstr "" #: ../build/NEWS:24288 msgid "" "`bpo-24348 `__: Drop superfluous incref/" "decref." msgstr "" #: ../build/NEWS:24290 msgid "" "`bpo-24359 `__: Check for changed " "OrderedDict size during iteration." msgstr "" #: ../build/NEWS:24292 msgid "" "`bpo-24368 `__: Support keyword " "arguments in OrderedDict methods." msgstr "" #: ../build/NEWS:24294 msgid "" "`bpo-24362 `__: Simplify the C " "OrderedDict fast nodes resize logic." msgstr "" #: ../build/NEWS:24296 msgid "" "`bpo-24377 `__: Fix a ref leak in " "OrderedDict.__repr__." msgstr "" #: ../build/NEWS:24298 msgid "" "`bpo-24369 `__: Defend against key-" "changes during iteration." msgstr "" #: ../build/NEWS:24303 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:24310 msgid "" "`bpo-24458 `__: Update documentation to " "cover multi-phase initialization for extension modules (PEP 489). Patch by " "Petr Viktorin." msgstr "" #: ../build/NEWS:24313 msgid "" "`bpo-24351 `__: Clarify what is meant by " "\"identifier\" in the context of string.Template instances." msgstr "" #: ../build/NEWS:24319 msgid "" "`bpo-24432 `__: Update Windows builds " "and OS X 10.5 installer to use OpenSSL 1.0.2c." msgstr "" #: ../build/NEWS:24324 msgid "Python 3.5.0 beta 2" msgstr "" #: ../build/NEWS:24326 msgid "*Release date: 2015-05-31*" msgstr "" #: ../build/NEWS:24331 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:24335 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:24339 msgid "" "`bpo-24328 `__: Fix importing one " "character extension modules." msgstr "" #: ../build/NEWS:24341 msgid "" "`bpo-11205 `__: In dictionary displays, " "evaluate the key before the value." msgstr "" #: ../build/NEWS:24343 msgid "" "`bpo-24285 `__: Fixed regression that " "prevented importing extension modules from inside packages. Patch by Petr " "Viktorin." msgstr "" #: ../build/NEWS:24349 msgid "" "`bpo-23247 `__: Fix a crash in the " "StreamWriter.reset() of CJK codecs." msgstr "" #: ../build/NEWS:24351 msgid "" "`bpo-24270 `__: Add math.isclose() and " "cmath.isclose() functions as per :pep:`485`. Contributed by Chris Barker and " "Tal Einat." msgstr "" #: ../build/NEWS:24354 msgid "" "`bpo-5633 `__: Fixed timeit when the " "statement is a string and the setup is not." msgstr "" #: ../build/NEWS:24357 msgid "" "`bpo-24326 `__: Fixed audioop.ratecv() " "with non-default weightB argument. Original patch by David Moore." msgstr "" #: ../build/NEWS:24360 msgid "" "`bpo-16991 `__: Add a C implementation " "of OrderedDict." msgstr "" #: ../build/NEWS:24362 msgid "" "`bpo-23934 `__: Fix inspect.signature to " "fail correctly for builtin types lacking signature information. Initial " "patch by James Powell." msgstr "" #: ../build/NEWS:24367 msgid "Python 3.5.0 beta 1" msgstr "" #: ../build/NEWS:24369 msgid "*Release date: 2015-05-24*" msgstr "" #: ../build/NEWS:24374 msgid "" "`bpo-24276 `__: Fixed optimization of " "property descriptor getter." msgstr "" #: ../build/NEWS:24376 msgid "" "`bpo-24268 `__: PEP 489: Multi-phase " "extension module initialization. Patch by Petr Viktorin." msgstr "" #: ../build/NEWS:24379 msgid "" "`bpo-23955 `__: Add pyvenv.cfg option to " "suppress registry/environment lookup for generating sys.path on Windows." msgstr "" #: ../build/NEWS:24382 msgid "" "`bpo-24257 `__: Fixed system error in " "the comparison of faked types.SimpleNamespace." msgstr "" #: ../build/NEWS:24385 msgid "" "`bpo-22939 `__: Fixed integer overflow " "in iterator object. Patch by Clement Rouault." msgstr "" #: ../build/NEWS:24388 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:24391 msgid "" "`bpo-24102 `__: Fixed exception type " "checking in standard error handlers." msgstr "" #: ../build/NEWS:24393 msgid "" "`bpo-15027 `__: The UTF-32 encoder is " "now 3x to 7x faster." msgstr "" #: ../build/NEWS:24395 msgid "" "`bpo-23290 `__: Optimize set_merge() for " "cases where the target is empty. (Contributed by Serhiy Storchaka.)" msgstr "" #: ../build/NEWS:24398 msgid "" "`bpo-2292 `__: PEP 448: Additional " "Unpacking Generalizations." msgstr "" #: ../build/NEWS:24400 msgid "" "`bpo-24096 `__: Make warnings." "warn_explicit more robust against mutation of the warnings.filters list." msgstr "" #: ../build/NEWS:24403 msgid "" "`bpo-23996 `__: Avoid a crash when a " "delegated generator raises an unnormalized StopIteration exception. Patch " "by Stefan Behnel." msgstr "" #: ../build/NEWS:24406 msgid "" "`bpo-23910 `__: Optimize property() " "getter calls. Patch by Joe Jevnik." msgstr "" #: ../build/NEWS:24408 msgid "" "`bpo-23911 `__: Move path-based " "importlib bootstrap code to a separate frozen module." msgstr "" #: ../build/NEWS:24411 msgid "" "`bpo-24192 `__: Fix namespace package " "imports." msgstr "" #: ../build/NEWS:24413 msgid "" "`bpo-24022 `__: Fix tokenizer crash when " "processing undecodable source code." msgstr "" #: ../build/NEWS:24415 msgid "" "`bpo-9951 `__: Added a hex() method to " "bytes, bytearray, and memoryview." msgstr "" #: ../build/NEWS:24417 msgid "" "`bpo-22906 `__: PEP 479: Change " "StopIteration handling inside generators." msgstr "" #: ../build/NEWS:24419 msgid "" "`bpo-24017 `__: PEP 492: Coroutines with " "async and await syntax." msgstr "" #: ../build/NEWS:24424 msgid "" "`bpo-14373 `__: Added C implementation " "of functools.lru_cache(). Based on patches by Matt Joiner and Alexey " "Kachayev." msgstr "" #: ../build/NEWS:24427 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:24431 msgid "" "`bpo-22189 `__: collections.UserString " "now supports __getnewargs__(), __rmod__(), casefold(), format_map(), " "isprintable(), and maketrans(). Patch by Joe Jevnik." msgstr "" #: ../build/NEWS:24435 msgid "" "`bpo-24244 `__: Prevents termination " "when an invalid format string is encountered on Windows in strftime." msgstr "" #: ../build/NEWS:24438 msgid "" "`bpo-23973 `__: PEP 484: Add the typing " "module." msgstr "" #: ../build/NEWS:24440 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:24444 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:24448 msgid "" "`bpo-24257 `__: Fixed segmentation fault " "in sqlite3.Row constructor with faked cursor type." msgstr "" #: ../build/NEWS:24451 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:24455 msgid "" "`bpo-9858 `__: Add missing method stubs " "to _io.RawIOBase. Patch by Laura Rupprecht." msgstr "" #: ../build/NEWS:24458 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:24462 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:24467 msgid "" "`bpo-23780 `__: Improved error message " "in os.path.join() with single argument." msgstr "" #: ../build/NEWS:24469 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:24472 msgid "" "`bpo-24091 `__: Fixed various crashes in " "corner cases in C implementation of ElementTree." msgstr "" #: ../build/NEWS:24475 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:24479 msgid "" "`bpo-13866 `__: *quote_via* argument " "added to urllib.parse.urlencode." msgstr "" #: ../build/NEWS:24481 msgid "" "`bpo-20098 `__: New mangle_from policy " "option for email, default True for compat32, but False for all other " "policies." msgstr "" #: ../build/NEWS:24484 msgid "" "`bpo-24211 `__: The email library now " "supports RFC 6532: it can generate headers using utf-8 instead of encoded " "words." msgstr "" #: ../build/NEWS:24487 msgid "" "`bpo-16314 `__: Added support for the " "LZMA compression in distutils." msgstr "" #: ../build/NEWS:24489 msgid "" "`bpo-21804 `__: poplib now supports RFC " "6856 (UTF8)." msgstr "" #: ../build/NEWS:24491 msgid "" "`bpo-18682 `__: Optimized pprint " "functions for builtin scalar types." msgstr "" #: ../build/NEWS:24493 msgid "" "`bpo-22027 `__: smtplib now supports RFC " "6531 (SMTPUTF8)." msgstr "" #: ../build/NEWS:24495 msgid "" "`bpo-23488 `__: Random generator objects " "now consume 2x less memory on 64-bit." msgstr "" #: ../build/NEWS:24497 msgid "" "`bpo-1322 `__: platform.dist() and " "platform.linux_distribution() functions are now deprecated. Initial patch " "by Vajrasky Kok." msgstr "" #: ../build/NEWS:24500 msgid "" "`bpo-22486 `__: Added the math.gcd() " "function. The fractions.gcd() function now is deprecated. Based on patch " "by Mark Dickinson." msgstr "" #: ../build/NEWS:24503 msgid "" "`bpo-24064 `__: Property() docstrings " "are now writeable. (Patch by Berker Peksag.)" msgstr "" #: ../build/NEWS:24506 msgid "" "`bpo-22681 `__: Added support for the " "koi8_t encoding." msgstr "" #: ../build/NEWS:24508 msgid "" "`bpo-22682 `__: Added support for the " "kz1048 encoding." msgstr "" #: ../build/NEWS:24510 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:24513 msgid "" "`bpo-21795 `__: smtpd now supports the " "8BITMIME extension whenever the new *decode_data* constructor argument is " "set to False." msgstr "" #: ../build/NEWS:24516 msgid "" "`bpo-24155 `__: optimize heapq.heapify() " "for better cache performance when heapifying large lists." msgstr "" #: ../build/NEWS:24519 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:24523 msgid "" "`bpo-20274 `__: When calling a _sqlite." "Connection, it now complains if passed any keyword arguments. Previously it " "silently ignored them." msgstr "" #: ../build/NEWS:24526 msgid "" "`bpo-20274 `__: Remove ignored and " "erroneous \"kwargs\" parameters from three METH_VARARGS methods on _sqlite." "Connection." msgstr "" #: ../build/NEWS:24529 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:24534 msgid "" "`bpo-24018 `__: Add a collections.abc." "Generator abstract base class. Contributed by Stefan Behnel." msgstr "" #: ../build/NEWS:24537 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:24540 msgid "" "`bpo-22619 `__: Added negative limit " "support in the traceback module. Based on patch by Dmitry Kazakov." msgstr "" #: ../build/NEWS:24543 msgid "" "`bpo-24094 `__: Fix possible crash in " "json.encode with poorly behaved dict subclasses." msgstr "" #: ../build/NEWS:24546 msgid "" "`bpo-9246 `__: On POSIX, os.getcwd() now " "supports paths longer than 1025 bytes. Patch written by William Orr." msgstr "" #: ../build/NEWS:24549 msgid "" "`bpo-17445 `__: add difflib.diff_bytes() " "to support comparison of byte strings (fixes a regression from Python 2)." msgstr "" #: ../build/NEWS:24552 msgid "" "`bpo-23917 `__: Fall back to sequential " "compilation when ProcessPoolExecutor doesn't exist. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:24555 msgid "" "`bpo-23008 `__: Fixed resolving " "attributes with boolean value is False in pydoc." msgstr "" #: ../build/NEWS:24558 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:24562 msgid "" "`bpo-23908 `__: os functions now reject " "paths with embedded null character on Windows instead of silently truncating " "them." msgstr "" #: ../build/NEWS:24565 msgid "" "`bpo-23728 `__: binascii.crc_hqx() could " "return an integer outside of the range 0-0xffff for empty data." msgstr "" #: ../build/NEWS:24568 msgid "" "`bpo-23887 `__: urllib.error.HTTPError " "now has a proper repr() representation. Patch by Berker Peksag." msgstr "" #: ../build/NEWS:24571 msgid "" "asyncio: New event loop APIs: set_task_factory() and get_task_factory()." msgstr "" #: ../build/NEWS:24573 msgid "asyncio: async() function is deprecated in favour of ensure_future()." msgstr "" #: ../build/NEWS:24575 msgid "" "`bpo-24178 `__: asyncio.Lock, Condition, " "Semaphore, and BoundedSemaphore support new 'async with' syntax. " "Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:24578 msgid "" "`bpo-24179 `__: Support 'async for' for " "asyncio.StreamReader. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:24581 msgid "" "`bpo-24184 `__: Add AsyncIterator and " "AsyncIterable ABCs to collections.abc. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:24584 msgid "" "`bpo-22547 `__: Implement informative " "__repr__ for inspect.BoundArguments. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:24587 msgid "" "`bpo-24190 `__: Implement inspect." "BoundArgument.apply_defaults() method. Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:24590 msgid "" "`bpo-20691 `__: Add 'follow_wrapped' " "argument to inspect.Signature.from_callable() and inspect.signature(). " "Contributed by Yury Selivanov." msgstr "" #: ../build/NEWS:24594 msgid "" "`bpo-24248 `__: Deprecate inspect." "Signature.from_function() and inspect.Signature.from_builtin()." msgstr "" #: ../build/NEWS:24597 msgid "" "`bpo-23898 `__: Fix inspect." "classify_class_attrs() to support attributes with overloaded __eq__ and " "__bool__. Patch by Mike Bayer." msgstr "" #: ../build/NEWS:24600 msgid "" "`bpo-24298 `__: Fix inspect.signature() " "to correctly unwrap wrappers around bound methods." msgstr "" #: ../build/NEWS:24606 msgid "" "`bpo-23184 `__: remove unused names and " "imports in idlelib. Initial patch by Al Sweigart." msgstr "" #: ../build/NEWS:24612 msgid "" "`bpo-21520 `__: test_zipfile no longer " "fails if the word 'bad' appears anywhere in the name of the current " "directory." msgstr "" #: ../build/NEWS:24615 msgid "" "`bpo-9517 `__: Move script_helper into " "the support package. Patch by Christie Wilson." msgstr "" #: ../build/NEWS:24621 msgid "" "`bpo-22155 `__: Add File Handlers " "subsection with createfilehandler to tkinter doc. Remove obsolete example " "from FAQ. Patch by Martin Panter." msgstr "" #: ../build/NEWS:24624 msgid "" "`bpo-24029 `__: Document the name " "binding behavior for submodule imports." msgstr "" #: ../build/NEWS:24626 msgid "" "`bpo-24077 `__: Fix typo in man page for " "-I command option: -s, not -S" msgstr "" #: ../build/NEWS:24631 msgid "" "`bpo-24000 `__: Improved Argument " "Clinic's mapping of converters to legacy \"format units\". Updated the " "documentation to match." msgstr "" #: ../build/NEWS:24634 msgid "" "`bpo-24001 `__: Argument Clinic " "converters now use accept={type} instead of types={'type'} to specify the " "types the converter accepts." msgstr "" #: ../build/NEWS:24637 msgid "" "`bpo-23330 `__: h2py now supports " "arbitrary filenames in #include." msgstr "" #: ../build/NEWS:24639 msgid "" "`bpo-24031 `__: make patchcheck now " "supports git checkouts, too." msgstr "" #: ../build/NEWS:24643 msgid "Python 3.5.0 alpha 4" msgstr "" #: ../build/NEWS:24645 msgid "*Release date: 2015-04-19*" msgstr "" #: ../build/NEWS:24650 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:24655 msgid "" "`bpo-22631 `__: Added Linux-specific " "socket constant CAN_RAW_FD_FRAMES. Patch courtesy of Joe Jevnik." msgstr "" #: ../build/NEWS:24658 msgid "" "`bpo-23731 `__: Implement :pep:`488`: " "removal of .pyo files." msgstr "" #: ../build/NEWS:24660 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:24663 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:24668 msgid "" "`bpo-22977 `__: Fixed formatting Windows " "error messages on Wine. Patch by Martin Panter." msgstr "" #: ../build/NEWS:24671 msgid "" "`bpo-23466 `__: %c, %o, %x, and %X in " "bytes formatting now raise TypeError on non-integer input." msgstr "" #: ../build/NEWS:24674 msgid "" "`bpo-24044 `__: Fix possible null " "pointer dereference in list.sort in out of memory conditions." msgstr "" #: ../build/NEWS:24677 msgid "" "`bpo-21354 `__: PyCFunction_New function " "is exposed by python DLL again." msgstr "" #: ../build/NEWS:24682 msgid "" "`bpo-23840 `__: tokenize.open() now " "closes the temporary binary file on error to fix a resource warning." msgstr "" #: ../build/NEWS:24685 msgid "" "`bpo-16914 `__: new debuglevel 2 in " "smtplib adds timestamps to debug output." msgstr "" #: ../build/NEWS:24687 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:24691 msgid "" "`bpo-23703 `__: Fix a regression in " "urljoin() introduced in 901e4e52b20a. Patch by Demian Brecht." msgstr "" #: ../build/NEWS:24694 msgid "" "`bpo-4254 `__: Adds _curses." "update_lines_cols(). Patch by Arnon Yaari" msgstr "" #: ../build/NEWS:24696 msgid "" "`bpo-19933 `__: Provide default argument " "for ndigits in round. Patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:24699 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:24702 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:24705 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:24709 msgid "" "`bpo-24521 `__: Fix possible integer " "overflows in the pickle module." msgstr "" #: ../build/NEWS:24711 msgid "" "`bpo-22931 `__: Allow '[' and ']' in " "cookie values." msgstr "" #: ../build/NEWS:24713 msgid "The keywords attribute of functools.partial is now always a dictionary." msgstr "" #: ../build/NEWS:24715 msgid "" "`bpo-23811 `__: Add missing newline to " "the PyCompileError error message. Patch by Alex Shkop." msgstr "" #: ../build/NEWS:24718 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:24722 msgid "" "`bpo-22982 `__: Improve BOM handling " "when seeking to multiple positions of a writable text file." msgstr "" #: ../build/NEWS:24725 msgid "" "`bpo-23464 `__: Removed deprecated " "asyncio JoinableQueue." msgstr "" #: ../build/NEWS:24727 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:24732 msgid "" "`bpo-21859 `__: Added Python " "implementation of io.FileIO." msgstr "" #: ../build/NEWS:24734 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:24738 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:24741 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:24745 msgid "" "`bpo-23411 `__: Added DefragResult, " "ParseResult, SplitResult, DefragResultBytes, ParseResultBytes, and " "SplitResultBytes to urllib.parse.__all__. Patch by Martin Panter." msgstr "" #: ../build/NEWS:24749 msgid "" "`bpo-23881 `__: urllib.request." "ftpwrapper constructor now closes the socket if the FTP connection failed to " "fix a ResourceWarning." msgstr "" #: ../build/NEWS:24752 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:24756 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:24760 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:24765 msgid "" "`bpo-10590 `__: xml.sax.parseString() " "now supports string argument." msgstr "" #: ../build/NEWS:24767 msgid "" "`bpo-23338 `__: Fixed formatting ctypes " "error messages on Cygwin. Patch by Makoto Kato." msgstr "" #: ../build/NEWS:24770 msgid "" "`bpo-15582 `__: inspect.getdoc() now " "follows inheritance chains." msgstr "" #: ../build/NEWS:24772 msgid "" "`bpo-2175 `__: SAX parsers now support a " "character stream of InputSource object." msgstr "" #: ../build/NEWS:24775 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:24778 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:24781 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:24787 msgid "" "`bpo-21526 `__: Tkinter now supports new " "boolean type in Tcl 8.5." msgstr "" #: ../build/NEWS:24789 msgid "" "`bpo-23836 `__: Fix the faulthandler " "module to handle reentrant calls to its signal handlers." msgstr "" #: ../build/NEWS:24792 msgid "" "`bpo-23838 `__: linecache now clears the " "cache and returns an empty result on MemoryError." msgstr "" #: ../build/NEWS:24795 msgid "" "`bpo-10395 `__: Added os.path." "commonpath(). Implemented in posixpath and ntpath. Based on patch by Rafik " "Draoui." msgstr "" #: ../build/NEWS:24798 msgid "" "`bpo-23611 `__: Serializing more " "\"lookupable\" objects (such as unbound methods or nested classes) now are " "supported with pickle protocols < 4." msgstr "" #: ../build/NEWS:24801 msgid "" "`bpo-13583 `__: sqlite3.Row now supports " "slice indexing." msgstr "" #: ../build/NEWS:24803 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:24807 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:24811 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:24815 msgid "" "`bpo-23704 `__: collections.deque() " "objects now support __add__, __mul__, and __imul__()." msgstr "" #: ../build/NEWS:24818 msgid "" "`bpo-23171 `__: csv.Writer.writerow() " "now supports arbitrary iterables." msgstr "" #: ../build/NEWS:24820 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:24823 msgid "" "`bpo-22117 `__: Fix os.utime(), it now " "rounds the timestamp towards minus infinity (-inf) instead of rounding " "towards zero." msgstr "" #: ../build/NEWS:24826 msgid "" "`bpo-23310 `__: Fix MagicMock's " "initializer to work with __methods__, just like configure_mock(). Patch by " "Kasia Jachim." msgstr "" #: ../build/NEWS:24832 msgid "" "`bpo-23817 `__: FreeBSD now uses \"1.0\" " "in the SOVERSION as other operating systems, instead of just \"1\"." msgstr "" #: ../build/NEWS:24835 msgid "" "`bpo-23501 `__: Argument Clinic now " "generates code into separate files by default." msgstr "" #: ../build/NEWS:24841 msgid "" "`bpo-23799 `__: Added test.support." "start_threads() for running and cleaning up multiple threads." msgstr "" #: ../build/NEWS:24844 msgid "" "`bpo-22390 `__: test.regrtest now emits " "a warning if temporary files or directories are left after running a test." msgstr "" #: ../build/NEWS:24850 msgid "" "`bpo-18128 `__: pygettext now uses " "standard +NNNN format in the POT-Creation-Date header." msgstr "" #: ../build/NEWS:24853 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:24857 msgid "" "`bpo-23944 `__: Argument Clinic now " "wraps long impl prototypes at column 78." msgstr "" #: ../build/NEWS:24859 msgid "" "`bpo-20586 `__: Argument Clinic now " "ensures that functions without docstrings have signatures." msgstr "" #: ../build/NEWS:24862 msgid "" "`bpo-23492 `__: Argument Clinic now " "generates argument parsing code with PyArg_Parse instead of PyArg_ParseTuple " "if possible." msgstr "" #: ../build/NEWS:24865 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:24874 msgid "" "`bpo-23998 `__: PyImport_ReInitLock() " "now checks for lock allocation error" msgstr "" #: ../build/NEWS:24878 msgid "Python 3.5.0 alpha 3" msgstr "" #: ../build/NEWS:24880 msgid "*Release date: 2015-03-28*" msgstr "" #: ../build/NEWS:24885 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:24889 msgid "" "`bpo-23753 `__: Python doesn't support " "anymore platforms without stat() or fstat(), these functions are always " "required." msgstr "" #: ../build/NEWS:24892 msgid "" "`bpo-23681 `__: The -b option now " "affects comparisons of bytes with int." msgstr "" #: ../build/NEWS:24894 msgid "" "`bpo-23632 `__: Memoryviews now allow " "tuple indexing (including for multi-dimensional memoryviews)." msgstr "" #: ../build/NEWS:24897 msgid "" "`bpo-23192 `__: Fixed generator " "lambdas. Patch by Bruno Cauet." msgstr "" #: ../build/NEWS:24899 msgid "" "`bpo-23629 `__: Fix the default " "__sizeof__ implementation for variable-sized objects." msgstr "" #: ../build/NEWS:24905 msgid "" "`bpo-14260 `__: The groupindex attribute " "of regular expression pattern object now is non-modifiable mapping." msgstr "" #: ../build/NEWS:24908 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:24912 msgid "" "`bpo-23775 `__: pprint() of OrderedDict " "now outputs the same representation as repr()." msgstr "" #: ../build/NEWS:24915 msgid "" "`bpo-23765 `__: Removed IsBadStringPtr " "calls in ctypes" msgstr "" #: ../build/NEWS:24917 msgid "" "`bpo-22364 `__: Improved some re error " "messages using regex for hints." msgstr "" #: ../build/NEWS:24919 msgid "" "`bpo-23742 `__: ntpath.expandvars() no " "longer loses unbalanced single quotes." msgstr "" #: ../build/NEWS:24921 msgid "" "`bpo-21717 `__: The zipfile.ZipFile.open " "function now supports 'x' (exclusive creation) mode." msgstr "" #: ../build/NEWS:24924 msgid "" "`bpo-21802 `__: The reader in " "BufferedRWPair now is closed even when closing writer failed in " "BufferedRWPair.close()." msgstr "" #: ../build/NEWS:24927 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:24931 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:24935 msgid "" "`bpo-23502 `__: The pprint module now " "supports mapping proxies." msgstr "" #: ../build/NEWS:24937 msgid "" "`bpo-17530 `__: pprint now wraps long " "bytes objects and bytearrays." msgstr "" #: ../build/NEWS:24939 msgid "" "`bpo-22687 `__: Fixed some corner cases " "in breaking words in tetxtwrap. Got rid of quadratic complexity in breaking " "long words." msgstr "" #: ../build/NEWS:24942 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:24946 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:24950 msgid "" "`bpo-23657 `__: Avoid explicit checks " "for str in zipapp, adding support for pathlib.Path objects as arguments." msgstr "" #: ../build/NEWS:24953 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:24957 msgid "" "`bpo-23252 `__: Added support for " "writing ZIP files to unseekable streams." msgstr "" #: ../build/NEWS:24959 msgid "" "`bpo-23647 `__: Increase imaplib's " "MAXLINE to accommodate modern mailbox sizes." msgstr "" #: ../build/NEWS:24961 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:24965 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:24969 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:24973 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:24978 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:24982 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:24986 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:24989 msgid "" "`bpo-23700 `__: Iterator of " "NamedTemporaryFile now keeps a reference to NamedTemporaryFile instance. " "Patch by Bohuslav Kabrda." msgstr "" #: ../build/NEWS:24992 msgid "" "`bpo-22903 `__: The fake test case " "created by unittest.loader when it fails importing a test module is now " "picklable." msgstr "" #: ../build/NEWS:24995 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:25000 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:25008 msgid "" "`bpo-18983 `__: Allow selection of " "output units in timeit. Patch by Julian Gindi." msgstr "" #: ../build/NEWS:25011 msgid "" "`bpo-23631 `__: Fix traceback." "format_list when a traceback has been mutated." msgstr "" #: ../build/NEWS:25013 msgid "" "`bpo-23568 `__: Add rdivmod support to " "MagicMock() objects. Patch by Håkan Lövdahl." msgstr "" #: ../build/NEWS:25016 msgid "" "`bpo-2052 `__: Add charset parameter to " "HtmlDiff.make_file()." msgstr "" #: ../build/NEWS:25018 msgid "" "`bpo-23668 `__: Support os.truncate and " "os.ftruncate on Windows." msgstr "" #: ../build/NEWS:25020 msgid "" "`bpo-23138 `__: Fixed parsing cookies " "with absent keys or values in cookiejar. Patch by Demian Brecht." msgstr "" #: ../build/NEWS:25023 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:25027 msgid "" "`bpo-23581 `__: Add matmul support to " "MagicMock. Patch by Håkan Lövdahl." msgstr "" #: ../build/NEWS:25029 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:25033 msgid "" "`bpo-22928 `__: Disabled HTTP header " "injections in http.client. Original patch by Demian Brecht." msgstr "" #: ../build/NEWS:25036 msgid "" "`bpo-23615 `__: Modules bz2, tarfile and " "tokenize now can be reloaded with imp.reload(). Patch by Thomas Kluyver." msgstr "" #: ../build/NEWS:25039 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:25046 msgid "" "`bpo-23585 `__: make patchcheck will " "ensure the interpreter is built." msgstr "" #: ../build/NEWS:25051 msgid "" "`bpo-23583 `__: Added tests for standard " "IO streams in IDLE." msgstr "" #: ../build/NEWS:25053 msgid "" "`bpo-22289 `__: Prevent test_urllib2net " "failures due to ftp connection timeout." msgstr "" #: ../build/NEWS:25058 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:25064 msgid "Python 3.5.0 alpha 2" msgstr "" #: ../build/NEWS:25066 msgid "*Release date: 2015-03-09*" msgstr "" #: ../build/NEWS:25071 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:25078 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:25082 msgid "" "`bpo-23103 `__: Reduced the memory " "consumption of IPv4Address and IPv6Address." msgstr "" #: ../build/NEWS:25084 msgid "" "`bpo-21793 `__: BaseHTTPRequestHandler " "again logs response code as numeric, not as stringified enum. Patch by " "Demian Brecht." msgstr "" #: ../build/NEWS:25087 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:25090 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:25093 msgid "" "`bpo-23504 `__: Added an __all__ to the " "types module." msgstr "" #: ../build/NEWS:25095 msgid "" "`bpo-23563 `__: Optimized utility " "functions in urllib.parse." msgstr "" #: ../build/NEWS:25097 msgid "" "`bpo-7830 `__: Flatten nested functools." "partial." msgstr "" #: ../build/NEWS:25099 msgid "" "`bpo-20204 `__: Added the __module__ " "attribute to _tkinter classes." msgstr "" #: ../build/NEWS:25101 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:25105 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:25109 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:25112 msgid "" "`bpo-22936 `__: Make it possible to show " "local variables in tracebacks for both the traceback module and unittest." msgstr "" #: ../build/NEWS:25115 msgid "" "`bpo-15955 `__: Add an option to limit " "the output size in bz2.decompress(). Patch by Nikolaus Rath." msgstr "" #: ../build/NEWS:25118 msgid "" "`bpo-6639 `__: Module-level turtle " "functions no longer raise TclError after closing the window." msgstr "" #: ../build/NEWS:25121 msgid "" "`bpo-814253 `__: Group references and " "conditional group references now work in lookbehind assertions in regular " "expressions. (See also: `bpo-9179 `__)" msgstr "" #: ../build/NEWS:25124 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:25128 msgid "" "`bpo-5700 `__: io.FileIO() called flush() " "after closing the file. flush() was not called in close() if closefd=False." msgstr "" #: ../build/NEWS:25131 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:25134 msgid "" "`bpo-23481 `__: Remove RC4 from the SSL " "module's default cipher list." msgstr "" #: ../build/NEWS:25136 msgid "" "`bpo-21548 `__: Fix pydoc.synopsis() and " "pydoc.apropos() on modules with empty docstrings." msgstr "" #: ../build/NEWS:25139 msgid "" "`bpo-22885 `__: Fixed arbitrary code " "execution vulnerability in the dbm.dumb module. Original patch by Claudiu " "Popa." msgstr "" #: ../build/NEWS:25142 msgid "" "`bpo-23239 `__: ssl.match_hostname() now " "supports matching of IP addresses." msgstr "" #: ../build/NEWS:25144 msgid "" "`bpo-23146 `__: Fix mishandling of " "absolute Windows paths with forward slashes in pathlib." msgstr "" #: ../build/NEWS:25147 msgid "" "`bpo-23096 `__: Pickle representation of " "floats with protocol 0 now is the same for both Python and C implementations." msgstr "" #: ../build/NEWS:25150 msgid "" "`bpo-19105 `__: pprint now more " "efficiently uses free space at the right." msgstr "" #: ../build/NEWS:25152 msgid "" "`bpo-14910 `__: Add allow_abbrev " "parameter to argparse.ArgumentParser. Patch by Jonathan Paugh, Steven " "Bethard, paul j3 and Daniel Eriksson." msgstr "" #: ../build/NEWS:25155 msgid "" "`bpo-21717 `__: tarfile.open() now " "supports 'x' (exclusive creation) mode." msgstr "" #: ../build/NEWS:25157 msgid "" "`bpo-23344 `__: marshal.dumps() is now " "20-25% faster on average." msgstr "" #: ../build/NEWS:25159 msgid "" "`bpo-20416 `__: marshal.dumps() with " "protocols 3 and 4 is now 40-50% faster on average." msgstr "" #: ../build/NEWS:25162 msgid "" "`bpo-23421 `__: Fixed compression in " "tarfile CLI. Patch by wdv4758h." msgstr "" #: ../build/NEWS:25164 msgid "" "`bpo-23367 `__: Fix possible overflows " "in the unicodedata module." msgstr "" #: ../build/NEWS:25166 msgid "" "`bpo-23361 `__: Fix possible overflow in " "Windows subprocess creation code." msgstr "" #: ../build/NEWS:25168 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:25172 msgid "" "`bpo-19705 `__: turtledemo now has a " "visual sorting algorithm demo. Original patch from Jason Yeo." msgstr "" #: ../build/NEWS:25175 msgid "" "`bpo-23801 `__: Fix issue where cgi." "FieldStorage did not always ignore the entire preamble to a multipart body." msgstr "" #: ../build/NEWS:25181 msgid "" "`bpo-23445 `__: pydebug builds now use " "\"gcc -Og\" where possible, to make the resulting executable faster." msgstr "" #: ../build/NEWS:25184 msgid "" "`bpo-23686 `__: Update OS X 10.5 " "installer build to use OpenSSL 1.0.2a." msgstr "" #: ../build/NEWS:25189 msgid "" "`bpo-20204 `__: Deprecation warning is " "now raised for builtin types without the __module__ attribute." msgstr "" #: ../build/NEWS:25195 msgid "" "`bpo-23465 `__: Implement :pep:`486` - " "Make the Python Launcher aware of virtual environments. Patch by Paul Moore." msgstr "" #: ../build/NEWS:25198 msgid "" "`bpo-23437 `__: Make user scripts " "directory versioned on Windows. Patch by Paul Moore." msgstr "" #: ../build/NEWS:25203 msgid "Python 3.5.0 alpha 1" msgstr "" #: ../build/NEWS:25205 msgid "*Release date: 2015-02-08*" msgstr "" #: ../build/NEWS:25210 msgid "" "`bpo-23285 `__: PEP 475 - EINTR handling." msgstr "" #: ../build/NEWS:25212 msgid "" "`bpo-22735 `__: Fix many edge cases " "(including crashes) involving custom mro() implementations." msgstr "" #: ../build/NEWS:25215 msgid "" "`bpo-22896 `__: Avoid using " "PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and " "PyObject_AsWriteBuffer()." msgstr "" #: ../build/NEWS:25218 msgid "" "`bpo-21295 `__: Revert some changes " "(`bpo-16795 `__) to AST line numbers and " "column offsets that constituted a regression." msgstr "" #: ../build/NEWS:25221 msgid "" "`bpo-22986 `__: Allow changing an " "object's __class__ between a dynamic type and static type in some cases." msgstr "" #: ../build/NEWS:25224 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:25229 msgid "" "`bpo-21408 `__: The default __ne__() now " "returns NotImplemented if __eq__() returned NotImplemented. Original patch " "by Martin Panter." msgstr "" #: ../build/NEWS:25232 msgid "" "`bpo-23321 `__: Fixed a crash in str." "decode() when error handler returned replacement string longer than " "malformed input data." msgstr "" #: ../build/NEWS:25235 msgid "" "`bpo-22286 `__: The \"backslashreplace\" " "error handlers now works with decoding and translating." msgstr "" #: ../build/NEWS:25238 msgid "" "`bpo-23253 `__: Delay-load " "ShellExecute[AW] in os.startfile for reduced startup overhead on Windows." msgstr "" #: ../build/NEWS:25241 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:25245 msgid "" "`bpo-20284 `__: %-interpolation (aka " "printf) formatting added for bytes and bytearray." msgstr "" #: ../build/NEWS:25248 msgid "" "`bpo-23048 `__: Fix jumping out of an " "infinite while loop in the pdb." msgstr "" #: ../build/NEWS:25250 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:25253 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:25256 msgid "" "`bpo-22869 `__: Move the interpreter " "startup & shutdown code to a new dedicated pylifecycle.c module" msgstr "" #: ../build/NEWS:25259 msgid "" "`bpo-22847 `__: Improve method cache " "efficiency." msgstr "" #: ../build/NEWS:25261 msgid "" "`bpo-22335 `__: Fix crash when trying to " "enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform." msgstr "" #: ../build/NEWS:25264 msgid "" "`bpo-22653 `__: Fix an assertion failure " "in debug mode when doing a reentrant dict insertion in debug mode." msgstr "" #: ../build/NEWS:25267 msgid "" "`bpo-22643 `__: Fix integer overflow in " "Unicode case operations (upper, lower, title, swapcase, casefold)." msgstr "" #: ../build/NEWS:25270 msgid "" "`bpo-17636 `__: Circular imports " "involving relative imports are now supported." msgstr "" #: ../build/NEWS:25272 msgid "" "`bpo-22604 `__: Fix assertion error in " "debug mode when dividing a complex number by (nan+0j)." msgstr "" #: ../build/NEWS:25275 msgid "" "`bpo-21052 `__: Do not raise " "ImportWarning when sys.path_hooks or sys.meta_path are set to None." msgstr "" #: ../build/NEWS:25278 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:25282 msgid "" "`bpo-22470 `__: Fixed integer overflow " "issues in \"backslashreplace\", \"xmlcharrefreplace\", and \"surrogatepass\" " "error handlers." msgstr "" #: ../build/NEWS:25285 msgid "" "`bpo-22540 `__: speed up " "`PyObject_IsInstance` and `PyObject_IsSubclass` in the common case that the " "second argument has metaclass `type`." msgstr "" #: ../build/NEWS:25288 msgid "" "`bpo-18711 `__: Add a new " "`PyErr_FormatV` function, similar to `PyErr_Format` but accepting a " "`va_list` argument." msgstr "" #: ../build/NEWS:25291 msgid "" "`bpo-22520 `__: Fix overflow checking " "when generating the repr of a unicode object." msgstr "" #: ../build/NEWS:25294 msgid "" "`bpo-22519 `__: Fix overflow checking in " "PyBytes_Repr." msgstr "" #: ../build/NEWS:25296 msgid "" "`bpo-22518 `__: Fix integer overflow " "issues in latin-1 encoding." msgstr "" #: ../build/NEWS:25298 msgid "" "`bpo-16324 `__: _charset parameter of " "MIMEText now also accepts email.charset.Charset instances. Initial patch by " "Claude Paroz." msgstr "" #: ../build/NEWS:25301 msgid "" "`bpo-1764286 `__: Fix inspect." "getsource() to support decorated functions. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:25304 msgid "" "`bpo-18554 `__: os.__all__ includes " "posix functions." msgstr "" #: ../build/NEWS:25306 msgid "" "`bpo-21391 `__: Use os.path.abspath in " "the shutil module." msgstr "" #: ../build/NEWS:25308 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:25311 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:25314 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:25320 msgid "" "`bpo-21389 `__: Displaying the " "__qualname__ of the underlying function in the repr of a bound method." msgstr "" #: ../build/NEWS:25323 msgid "" "`bpo-22206 `__: Using pthread, " "PyThread_create_key() now sets errno to ENOMEM and returns -1 (error) on " "integer overflow." msgstr "" #: ../build/NEWS:25326 msgid "" "`bpo-20184 `__: Argument Clinic based " "signature introspection added for 30 of the builtin functions." msgstr "" #: ../build/NEWS:25329 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:25332 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:25336 msgid "" "`bpo-20179 `__: Apply Argument Clinic to " "bytes and bytearray. Patch by Tal Einat." msgstr "" #: ../build/NEWS:25339 msgid "" "`bpo-22082 `__: Clear interned strings " "in slotdefs." msgstr "" #: ../build/NEWS:25341 msgid "Upgrade Unicode database to Unicode 7.0.0." msgstr "" #: ../build/NEWS:25343 msgid "" "`bpo-21897 `__: Fix a crash with the " "f_locals attribute with closure variables when frame.clear() has been called." msgstr "" #: ../build/NEWS:25346 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:25352 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:25356 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:25360 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:25365 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:25368 msgid "" "`bpo-21425 `__: Fix flushing of standard " "streams in the interactive interpreter." msgstr "" #: ../build/NEWS:25371 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:25375 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:25378 msgid "" "`bpo-20355 `__: -W command line options " "now have higher priority than the PYTHONWARNINGS environment variable. " "Patch by Arfrever." msgstr "" #: ../build/NEWS:25381 msgid "" "`bpo-21274 `__: Define PATH_MAX for GNU/" "Hurd in Python/pythonrun.c." msgstr "" #: ../build/NEWS:25383 msgid "" "`bpo-20904 `__: Support setting FPU " "precision on m68k." msgstr "" #: ../build/NEWS:25385 msgid "" "`bpo-21209 `__: Fix sending tuples to " "custom generator objects with the yield from syntax." msgstr "" #: ../build/NEWS:25388 msgid "" "`bpo-21193 `__: pow(a, b, c) now raises " "ValueError rather than TypeError when b is negative. Patch by Josh Rosenberg." msgstr "" #: ../build/NEWS:25391 msgid "" "`bpo-21176 `__: PEP 465: Add the '@' " "operator for matrix multiplication." msgstr "" #: ../build/NEWS:25393 msgid "" "`bpo-21134 `__: Fix segfault when str is " "called on an uninitialized UnicodeEncodeError, UnicodeDecodeError, or " "UnicodeTranslateError object." msgstr "" #: ../build/NEWS:25396 msgid "" "`bpo-19537 `__: Fix PyUnicode_DATA() " "alignment under m68k. Patch by Andreas Schwab." msgstr "" #: ../build/NEWS:25399 msgid "" "`bpo-20929 `__: Add a type cast to avoid " "shifting a negative number." msgstr "" #: ../build/NEWS:25401 msgid "" "`bpo-20731 `__: Properly position in " "source code files even if they are opened in text mode. Patch by Serhiy " "Storchaka." msgstr "" #: ../build/NEWS:25404 msgid "" "`bpo-20637 `__: Key-sharing now also " "works for instance dictionaries of subclasses. Patch by Peter Ingebretson." msgstr "" #: ../build/NEWS:25407 msgid "" "`bpo-8297 `__: Attributes missing from " "modules now include the module name in the error text. Original patch by " "ysj.ray." msgstr "" #: ../build/NEWS:25410 msgid "" "`bpo-19995 `__: %c, %o, %x, and %X now " "raise TypeError on non-integer input." msgstr "" #: ../build/NEWS:25412 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:25417 msgid "" "`bpo-12546 `__: Allow ``\\x00`` to be " "used as a fill character when using str, int, float, and complex __format__ " "methods." msgstr "" #: ../build/NEWS:25420 msgid "" "`bpo-20480 `__: Add ipaddress." "reverse_pointer. Patch by Leon Weber." msgstr "" #: ../build/NEWS:25422 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:25426 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:25430 msgid "" "`bpo-23165 `__: Perform overflow checks " "before allocating memory in the _Py_char2wchar function." msgstr "" #: ../build/NEWS:25436 msgid "" "`bpo-23399 `__: pyvenv creates relative " "symlinks where possible." msgstr "" #: ../build/NEWS:25438 msgid "" "`bpo-20289 `__: cgi.FieldStorage() now " "supports the context management protocol." msgstr "" #: ../build/NEWS:25441 msgid "" "`bpo-13128 `__: Print response headers " "for CONNECT requests when debuglevel > 0. Patch by Demian Brecht." msgstr "" #: ../build/NEWS:25444 msgid "" "`bpo-15381 `__: Optimized io.BytesIO to " "make less allocations and copyings." msgstr "" #: ../build/NEWS:25446 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:25450 msgid "" "`bpo-23099 `__: Closing io.BytesIO with " "exported buffer is rejected now to prevent corrupting exported buffer." msgstr "" #: ../build/NEWS:25453 msgid "" "`bpo-23326 `__: Removed __ne__ " "implementations. Since fixing default __ne__ implementation in `bpo-21408 " "`__ they are redundant." msgstr "" #: ../build/NEWS:25456 msgid "" "`bpo-23363 `__: Fix possible overflow in " "itertools.permutations." msgstr "" #: ../build/NEWS:25458 msgid "" "`bpo-23364 `__: Fix possible overflow in " "itertools.product." msgstr "" #: ../build/NEWS:25460 msgid "" "`bpo-23366 `__: Fixed possible integer " "overflow in itertools.combinations." msgstr "" #: ../build/NEWS:25462 msgid "" "`bpo-23369 `__: Fixed possible integer " "overflow in _json.encode_basestring_ascii." msgstr "" #: ../build/NEWS:25465 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:25471 msgid "" "`bpo-14099 `__: Restored support of " "writing ZIP files to tellable but non-seekable streams." msgstr "" #: ../build/NEWS:25474 msgid "" "`bpo-14099 `__: Writing to ZipFile and " "reading multiple ZipExtFiles is threadsafe now." msgstr "" #: ../build/NEWS:25477 msgid "" "`bpo-19361 `__: JSON decoder now raises " "JSONDecodeError instead of ValueError." msgstr "" #: ../build/NEWS:25479 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:25482 msgid "" "`bpo-23094 `__: Fixed readline with " "frames in Python implementation of pickle." msgstr "" #: ../build/NEWS:25484 msgid "" "`bpo-23268 `__: Fixed bugs in the " "comparison of ipaddress classes." msgstr "" #: ../build/NEWS:25486 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:25490 msgid "" "`bpo-19996 `__: :class:`email.feedparser." "FeedParser` now handles (malformed) headers with no key rather than assuming " "the body has started." msgstr "" #: ../build/NEWS:25493 msgid "" "`bpo-20188 `__: Support Application-" "Layer Protocol Negotiation (ALPN) in the ssl module." msgstr "" #: ../build/NEWS:25496 msgid "" "`bpo-23133 `__: Pickling of ipaddress " "objects now produces more compact and portable representation." msgstr "" #: ../build/NEWS:25499 msgid "" "`bpo-23248 `__: Update ssl error codes " "from latest OpenSSL git master." msgstr "" #: ../build/NEWS:25501 msgid "" "`bpo-23266 `__: Much faster " "implementation of ipaddress.collapse_addresses() when there are many non-" "consecutive addresses." msgstr "" #: ../build/NEWS:25504 msgid "" "`bpo-23098 `__: 64-bit dev_t is now " "supported in the os module." msgstr "" #: ../build/NEWS:25506 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:25510 msgid "" "`bpo-15955 `__: Add an option to limit " "output size when decompressing LZMA data. Patch by Nikolaus Rath and Martin " "Panter." msgstr "" #: ../build/NEWS:25513 msgid "" "`bpo-23250 `__: In the http.cookies " "module, capitalize \"HttpOnly\" and \"Secure\" as they are written in the " "standard." msgstr "" #: ../build/NEWS:25516 msgid "" "`bpo-23063 `__: In the distutils' check " "command, fix parsing of reST with code or code-block directives." msgstr "" #: ../build/NEWS:25519 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:25524 msgid "" "`bpo-17911 `__: Provide a way to seed " "the linecache for a PEP-302 module without actually loading the code." msgstr "" #: ../build/NEWS:25527 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:25531 msgid "" "`bpo-19777 `__: Provide a home() " "classmethod on Path objects. Contributed by Victor Salgado and Mayank " "Tripathi." msgstr "" #: ../build/NEWS:25534 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:25537 msgid "" "`bpo-23185 `__: Add math.inf and math." "nan constants." msgstr "" #: ../build/NEWS:25539 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:25543 msgid "" "`bpo-23143 `__: Remove compatibility " "with OpenSSLs older than 0.9.8." msgstr "" #: ../build/NEWS:25545 msgid "" "`bpo-23132 `__: Improve performance and " "introspection support of comparison methods created by functool." "total_ordering." msgstr "" #: ../build/NEWS:25548 msgid "" "`bpo-19776 `__: Add an expanduser() " "method on Path objects." msgstr "" #: ../build/NEWS:25550 msgid "" "`bpo-23112 `__: Fix SimpleHTTPServer to " "correctly carry the query string and fragment when it redirects to add a " "trailing slash." msgstr "" #: ../build/NEWS:25553 msgid "" "`bpo-21793 `__: Added http.HTTPStatus " "enums (i.e. HTTPStatus.OK, HTTPStatus.NOT_FOUND). Patch by Demian Brecht." msgstr "" #: ../build/NEWS:25556 msgid "" "`bpo-23093 `__: In the io, module allow " "more operations to work on detached streams." msgstr "" #: ../build/NEWS:25559 msgid "" "`bpo-23111 `__: In the ftplib, make ssl." "PROTOCOL_SSLv23 the default protocol version." msgstr "" #: ../build/NEWS:25562 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:25565 msgid "" "`bpo-19104 `__: pprint now produces " "evaluable output for wrapped strings." msgstr "" #: ../build/NEWS:25567 msgid "" "`bpo-23071 `__: Added missing names to " "codecs.__all__. Patch by Martin Panter." msgstr "" #: ../build/NEWS:25569 msgid "" "`bpo-22783 `__: Pickling now uses the " "NEWOBJ opcode instead of the NEWOBJ_EX opcode if possible." msgstr "" #: ../build/NEWS:25572 msgid "" "`bpo-15513 `__: Added a __sizeof__ " "implementation for pickle classes." msgstr "" #: ../build/NEWS:25574 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:25578 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:25581 msgid "" "`bpo-23016 `__: A warning no longer " "produces an AttributeError when the program is run with pythonw.exe." msgstr "" #: ../build/NEWS:25584 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:25590 msgid "" "`bpo-1218234 `__: Fix inspect." "getsource() to load updated source of reloaded module. Initial patch by " "Berker Peksag." msgstr "" #: ../build/NEWS:25593 msgid "" "`bpo-21740 `__: Support wrapped " "callables in doctest. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:25595 msgid "" "`bpo-23009 `__: Make sure selectors." "EpollSelector.select() works when no FD is registered." msgstr "" #: ../build/NEWS:25598 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:25601 msgid "" "`bpo-22696 `__: Add function :func:`sys." "is_finalizing` to know about interpreter shutdown." msgstr "" #: ../build/NEWS:25604 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:25607 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:25612 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:25615 msgid "" "`bpo-21971 `__: Update turtledemo doc " "and add module to the index." msgstr "" #: ../build/NEWS:25617 msgid "" "`bpo-21032 `__: Fixed socket leak if " "HTTPConnection.getresponse() fails. Original patch by Martin Panter." msgstr "" #: ../build/NEWS:25620 msgid "" "`bpo-22407 `__: Deprecated the use of re." "LOCALE flag with str patterns or re.ASCII. It was newer worked." msgstr "" #: ../build/NEWS:25623 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:25626 msgid "" "`bpo-22960 `__: Add a context argument " "to xmlrpclib.ServerProxy constructor." msgstr "" #: ../build/NEWS:25628 msgid "" "`bpo-22389 `__: Add contextlib." "redirect_stderr()." msgstr "" #: ../build/NEWS:25630 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:25634 msgid "" "`bpo-22915 `__: SAX parser now supports " "files opened with file descriptor or bytes path." msgstr "" #: ../build/NEWS:25637 msgid "" "`bpo-22609 `__: Constructors and update " "methods of mapping classes in the collections module now accept the self " "keyword argument." msgstr "" #: ../build/NEWS:25640 msgid "" "`bpo-22940 `__: Add readline." "append_history_file." msgstr "" #: ../build/NEWS:25642 msgid "" "`bpo-19676 `__: Added the \"namereplace" "\" error handler." msgstr "" #: ../build/NEWS:25644 msgid "" "`bpo-22788 `__: Add *context* parameter " "to logging.handlers.HTTPHandler." msgstr "" #: ../build/NEWS:25646 msgid "" "`bpo-22921 `__: Allow SSLContext to take " "the *hostname* parameter even if OpenSSL doesn't support SNI." msgstr "" #: ../build/NEWS:25649 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:25652 msgid "" "`bpo-22796 `__: HTTP cookie parsing is " "now stricter, in order to protect against potential injection attacks." msgstr "" #: ../build/NEWS:25655 msgid "" "`bpo-22370 `__: Windows detection in " "pathlib is now more robust." msgstr "" #: ../build/NEWS:25657 msgid "" "`bpo-22841 `__: Reject coroutines in " "asyncio add_signal_handler(). Patch by Ludovic.Gasc." msgstr "" #: ../build/NEWS:25660 msgid "" "`bpo-19494 `__: Added urllib.request." "HTTPBasicPriorAuthHandler. Patch by Matej Cepl." msgstr "" #: ../build/NEWS:25663 msgid "" "`bpo-22578 `__: Added attributes to the " "re.error class." msgstr "" #: ../build/NEWS:25665 msgid "" "`bpo-22849 `__: Fix possible double free " "in the io.TextIOWrapper constructor." msgstr "" #: ../build/NEWS:25667 msgid "" "`bpo-12728 `__: Different Unicode " "characters having the same uppercase but different lowercase are now matched " "in case-insensitive regular expressions." msgstr "" #: ../build/NEWS:25671 msgid "" "`bpo-22821 `__: Fixed fcntl() with " "integer argument on 64-bit big-endian platforms." msgstr "" #: ../build/NEWS:25674 msgid "" "`bpo-21650 `__: Add an `--sort-keys` " "option to json.tool CLI." msgstr "" #: ../build/NEWS:25676 msgid "" "`bpo-22824 `__: Updated reprlib output " "format for sets to use set literals. Patch contributed by Berker Peksag." msgstr "" #: ../build/NEWS:25679 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:25682 msgid "" "`bpo-22406 `__: Fixed the uu_codec codec " "incorrectly ported to 3.x. Based on patch by Martin Panter." msgstr "" #: ../build/NEWS:25685 msgid "" "`bpo-17293 `__: uuid.getnode() now " "determines MAC address on AIX using netstat. Based on patch by Aivars " "Kalvāns." msgstr "" #: ../build/NEWS:25688 msgid "" "`bpo-22769 `__: Fixed ttk.Treeview." "tag_has() when called without arguments." msgstr "" #: ../build/NEWS:25690 msgid "" "`bpo-22417 `__: Verify certificates by " "default in httplib (PEP 476)." msgstr "" #: ../build/NEWS:25692 msgid "" "`bpo-22775 `__: Fixed unpickling of http." "cookies.SimpleCookie with protocol 2 and above. Patch by Tim Graham." msgstr "" #: ../build/NEWS:25695 msgid "" "`bpo-22776 `__: Brought excluded code " "into the scope of a try block in SysLogHandler.emit()." msgstr "" #: ../build/NEWS:25698 msgid "" "`bpo-22665 `__: Add missing " "get_terminal_size and SameFileError to shutil.__all__." msgstr "" #: ../build/NEWS:25701 msgid "" "`bpo-6623 `__: Remove deprecated Netrc " "class in the ftplib module. Patch by Matt Chaput." msgstr "" #: ../build/NEWS:25704 msgid "" "`bpo-17381 `__: Fixed handling of case-" "insensitive ranges in regular expressions." msgstr "" #: ../build/NEWS:25707 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:25710 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:25713 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:25717 msgid "" "`bpo-22217 `__: Implemented reprs of " "classes in the zipfile module." msgstr "" #: ../build/NEWS:25719 msgid "" "`bpo-22457 `__: Honour load_tests in the " "start_dir of discovery." msgstr "" #: ../build/NEWS:25721 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:25724 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:25728 msgid "" "`bpo-22676 `__: Make the pickling of " "global objects which don't have a __module__ attribute less slow." msgstr "" #: ../build/NEWS:25731 msgid "" "`bpo-18853 `__: Fixed ResourceWarning in " "shlex.__nain__." msgstr "" #: ../build/NEWS:25733 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:25736 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:25740 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:25744 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:25748 msgid "" "`bpo-22638 `__: SSLv3 is now disabled " "throughout the standard library. It can still be enabled by instantiating a " "SSLContext manually." msgstr "" #: ../build/NEWS:25751 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:25754 msgid "" "`bpo-17401 `__: Include closefd in io." "FileIO repr." msgstr "" #: ../build/NEWS:25756 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:25760 msgid "" "`bpo-20152 `__: Convert the array and " "cmath modules to Argument Clinic." msgstr "" #: ../build/NEWS:25762 msgid "" "`bpo-18643 `__: Add socket.socketpair() " "on Windows." msgstr "" #: ../build/NEWS:25764 msgid "" "`bpo-22435 `__: Fix a file descriptor " "leak when socketserver bind fails." msgstr "" #: ../build/NEWS:25766 msgid "" "`bpo-13096 `__: Fixed segfault in CTypes " "POINTER handling of large values." msgstr "" #: ../build/NEWS:25768 msgid "" "`bpo-11694 `__: Raise ConversionError in " "xdrlib as documented. Patch by Filip Gruszczyński and Claudiu Popa." msgstr "" #: ../build/NEWS:25771 msgid "" "`bpo-19380 `__: Optimized parsing of " "regular expressions." msgstr "" #: ../build/NEWS:25773 msgid "" "`bpo-1519638 `__: Now unmatched groups " "are replaced with empty strings in re.sub() and re.subn()." msgstr "" #: ../build/NEWS:25776 msgid "" "`bpo-18615 `__: sndhdr.what/whathdr now " "return a namedtuple." msgstr "" #: ../build/NEWS:25778 msgid "" "`bpo-22462 `__: Fix pyexpat's creation " "of a dummy frame to make it appear in exception tracebacks." msgstr "" #: ../build/NEWS:25781 msgid "" "`bpo-21965 `__: Add support for in-" "memory SSL to the ssl module. Patch by Geert Jansen." msgstr "" #: ../build/NEWS:25784 msgid "" "`bpo-21173 `__: Fix len() on a " "WeakKeyDictionary when .clear() was called with an iterator alive." msgstr "" #: ../build/NEWS:25787 msgid "" "`bpo-11866 `__: Eliminated race " "condition in the computation of names for new threads." msgstr "" #: ../build/NEWS:25790 msgid "" "`bpo-21905 `__: Avoid RuntimeError in " "pickle.whichmodule() when sys.modules is mutated while iterating. Patch by " "Olivier Grisel." msgstr "" #: ../build/NEWS:25793 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:25797 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:25801 msgid "" "`bpo-22219 `__: The zipfile module CLI " "now adds entries for directories (including empty directories) in ZIP file." msgstr "" #: ../build/NEWS:25804 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:25807 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:25811 msgid "" "`bpo-20076 `__: Added non derived UTF-8 " "aliases to locale aliases table." msgstr "" #: ../build/NEWS:25813 msgid "" "`bpo-20079 `__: Added locales supported " "in glibc 2.18 to locale alias table." msgstr "" #: ../build/NEWS:25815 msgid "" "`bpo-20218 `__: Added convenience " "methods read_text/write_text and read_bytes/ write_bytes to pathlib.Path " "objects." msgstr "" #: ../build/NEWS:25818 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:25821 msgid "" "`bpo-22517 `__: When an io." "BufferedRWPair object is deallocated, clear its weakrefs." msgstr "" #: ../build/NEWS:25824 msgid "" "`bpo-22437 `__: Number of capturing " "groups in regular expression is no longer limited by 100." msgstr "" #: ../build/NEWS:25827 msgid "" "`bpo-17442 `__: InteractiveInterpreter " "now displays the full chained traceback in its showtraceback method, to " "match the built in interactive interpreter." msgstr "" #: ../build/NEWS:25831 msgid "" "`bpo-23392 `__: Added tests for marshal " "C API that works with FILE*." msgstr "" #: ../build/NEWS:25833 msgid "" "`bpo-10510 `__: distutils register and " "upload methods now use HTML standards compliant CRLF line endings." msgstr "" #: ../build/NEWS:25836 msgid "" "`bpo-9850 `__: Fixed macpath.join() for " "empty first component. Patch by Oleg Oshmyan." msgstr "" #: ../build/NEWS:25839 msgid "" "`bpo-5309 `__: distutils' build and " "build_ext commands now accept a ``-j`` option to enable parallel building of " "extension modules." msgstr "" #: ../build/NEWS:25842 msgid "" "`bpo-22448 `__: Improve canceled timer " "handles cleanup to prevent unbound memory usage. Patch by Joshua Moore-Oliva." msgstr "" #: ../build/NEWS:25845 msgid "" "`bpo-22427 `__: TemporaryDirectory no " "longer attempts to clean up twice when used in the with statement in " "generator." msgstr "" #: ../build/NEWS:25848 msgid "" "`bpo-22362 `__: Forbidden ambiguous " "octal escapes out of range 0-0o377 in regular expressions." msgstr "" #: ../build/NEWS:25851 msgid "" "`bpo-20912 `__: Now directories added to " "ZIP file have correct Unix and MS-DOS directory attributes." msgstr "" #: ../build/NEWS:25854 msgid "" "`bpo-21866 `__: ZipFile.close() no " "longer writes ZIP64 central directory records if allowZip64 is false." msgstr "" #: ../build/NEWS:25857 msgid "" "`bpo-22278 `__: Fix urljoin problem with " "relative urls, a regression observed after changes to issue22118 were " "submitted." msgstr "" #: ../build/NEWS:25860 msgid "" "`bpo-22415 `__: Fixed debugging output " "of the GROUPREF_EXISTS opcode in the re module. Removed trailing spaces in " "debugging output." msgstr "" #: ../build/NEWS:25863 msgid "" "`bpo-22423 `__: Unhandled exception in " "thread no longer causes unhandled AttributeError when sys.stderr is None." msgstr "" #: ../build/NEWS:25866 msgid "" "`bpo-21332 `__: Ensure that " "``bufsize=1`` in subprocess.Popen() selects line buffering, rather than " "block buffering. Patch by Akira Li." msgstr "" #: ../build/NEWS:25869 msgid "" "`bpo-21091 `__: Fix API bug: email." "message.EmailMessage.is_attachment is now a method." msgstr "" #: ../build/NEWS:25872 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:25875 msgid "" "`bpo-22247 `__: Add NNTPError to nntplib." "__all__." msgstr "" #: ../build/NEWS:25877 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:25881 msgid "" "`bpo-4180 `__: The warnings registries " "are now reset when the filters are modified." msgstr "" #: ../build/NEWS:25884 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:25888 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:25892 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:25895 msgid "" "`bpo-22384 `__: An exception in Tkinter " "callback no longer crashes the program when it is run with pythonw.exe." msgstr "" #: ../build/NEWS:25898 msgid "" "`bpo-22168 `__: Prevent turtle " "AttributeError with non-default Canvas on OS X." msgstr "" #: ../build/NEWS:25900 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:25903 msgid "" "`bpo-13968 `__: The glob module now " "supports recursive search in subdirectories using the ``**`` pattern." msgstr "" #: ../build/NEWS:25906 msgid "" "`bpo-21951 `__: Fixed a crash in Tkinter " "on AIX when called Tcl command with empty string or tuple argument." msgstr "" #: ../build/NEWS:25909 msgid "" "`bpo-21951 `__: Tkinter now most likely " "raises MemoryError instead of crash if the memory allocation fails." msgstr "" #: ../build/NEWS:25912 msgid "" "`bpo-22338 `__: Fix a crash in the json " "module on memory allocation failure." msgstr "" #: ../build/NEWS:25914 msgid "" "`bpo-12410 `__: imaplib.IMAP4 now " "supports the context management protocol. Original patch by Tarek Ziadé." msgstr "" #: ../build/NEWS:25917 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:25920 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:25926 msgid "" "`bpo-22226 `__: First letter no longer " "is stripped from the \"status\" key in the result of Treeview.heading()." msgstr "" #: ../build/NEWS:25929 msgid "" "`bpo-19524 `__: Fixed resource leak in " "the HTTP connection when an invalid response is received. Patch by Martin " "Panter." msgstr "" #: ../build/NEWS:25932 msgid "" "`bpo-20421 `__: Add a .version() method " "to SSL sockets exposing the actual protocol version in use." msgstr "" #: ../build/NEWS:25935 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:25939 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:25943 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:25947 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:25953 msgid "" "`bpo-18132 `__: Turtledemo buttons no " "longer disappear when the window is shrunk. Original patches by Jan Kanis " "and Lita Cho." msgstr "" #: ../build/NEWS:25956 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:25961 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:25964 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:25968 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:25972 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:25976 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:25981 msgid "" "`bpo-22182 `__: Use e.args to unpack " "exceptions correctly in distutils.file_util.move_file. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:25984 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:25987 msgid "" "`bpo-22042 `__: signal.set_wakeup_fd(fd) " "now raises an exception if the file descriptor is in blocking mode." msgstr "" #: ../build/NEWS:25990 msgid "" "`bpo-16808 `__: inspect.stack() now " "returns a named tuple instead of a tuple. Patch by Daniel Shahaf." msgstr "" #: ../build/NEWS:25993 msgid "" "`bpo-22236 `__: Fixed Tkinter images " "copying operations in NoDefaultRoot mode." msgstr "" #: ../build/NEWS:25995 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:25999 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:26003 msgid "" "`bpo-21549 `__: Added the \"members\" " "parameter to TarFile.list()." msgstr "" #: ../build/NEWS:26005 msgid "" "`bpo-19628 `__: Allow compileall " "recursion depth to be specified with a -r option." msgstr "" #: ../build/NEWS:26008 msgid "" "`bpo-15696 `__: Add a __sizeof__ " "implementation for mmap objects on Windows." msgstr "" #: ../build/NEWS:26010 msgid "" "`bpo-22068 `__: Avoided reference loops " "with Variables and Fonts in Tkinter." msgstr "" #: ../build/NEWS:26012 msgid "" "`bpo-22165 `__: SimpleHTTPRequestHandler " "now supports undecodable file names." msgstr "" #: ../build/NEWS:26014 msgid "" "`bpo-15381 `__: Optimized line reading " "in io.BytesIO." msgstr "" #: ../build/NEWS:26016 msgid "" "`bpo-8797 `__: Raise HTTPError on failed " "Basic Authentication immediately. Initial patch by Sam Bull." msgstr "" #: ../build/NEWS:26019 msgid "" "`bpo-20729 `__: Restored the use of lazy " "iterkeys()/itervalues()/iteritems() in the mailbox module." msgstr "" #: ../build/NEWS:26022 msgid "" "`bpo-21448 `__: Changed FeedParser " "feed() to avoid O(N**2) behavior when parsing long line. Original patch by " "Raymond Hettinger." msgstr "" #: ../build/NEWS:26025 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:26028 msgid "" "`bpo-17923 `__: glob() patterns ending " "with a slash no longer match non-dirs on AIX. Based on patch by Delhallt." msgstr "" #: ../build/NEWS:26031 msgid "" "`bpo-21725 `__: Added support for RFC " "6531 (SMTPUTF8) in smtpd." msgstr "" #: ../build/NEWS:26033 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:26037 msgid "" "`bpo-5411 `__: Added support for the " "\"xztar\" format in the shutil module." msgstr "" #: ../build/NEWS:26039 msgid "" "`bpo-21121 `__: Don't force 3rd party C " "extensions to be built with -Werror=declaration-after-statement." msgstr "" #: ../build/NEWS:26042 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:26046 msgid "" "`bpo-20170 `__: Convert posixmodule to " "use Argument Clinic." msgstr "" #: ../build/NEWS:26048 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:26052 msgid "" "`bpo-22127 `__: Bypass IDNA for pure-" "ASCII host names in the socket module (in particular for numeric IPs)." msgstr "" #: ../build/NEWS:26055 msgid "" "`bpo-21047 `__: set the default value " "for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker " "Peksag." msgstr "" #: ../build/NEWS:26058 msgid "Add an __all__ to html.entities." msgstr "" #: ../build/NEWS:26060 msgid "" "`bpo-15114 `__: the strict mode and " "argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception " "have been removed." msgstr "" #: ../build/NEWS:26063 msgid "" "`bpo-22085 `__: Dropped support of Tk " "8.3 in Tkinter." msgstr "" #: ../build/NEWS:26065 msgid "" "`bpo-21580 `__: Now Tkinter correctly " "handles bytes arguments passed to Tk. In particular this allows initializing " "images from binary data." msgstr "" #: ../build/NEWS:26068 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:26072 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:26075 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:26080 msgid "" "`bpo-17172 `__: Make turtledemo start as " "active on OS X even when run with subprocess. Patch by Lita Cho." msgstr "" #: ../build/NEWS:26083 msgid "" "`bpo-21704 `__: Fix build error for " "_multiprocessing when semaphores are not available. Patch by Arfrever " "Frehtes Taifersar Arahesis." msgstr "" #: ../build/NEWS:26086 msgid "" "`bpo-20173 `__: Convert sha1, sha256, " "sha512 and md5 to ArgumentClinic. Patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:26089 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:26092 msgid "" "`bpo-22033 `__: Reprs of most Python " "implemented classes now contain actual class name instead of hardcoded one." msgstr "" #: ../build/NEWS:26095 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:26098 msgid "" "`bpo-16133 `__: The asynchat.async_chat." "handle_read() method now ignores BlockingIOError exceptions." msgstr "" #: ../build/NEWS:26101 msgid "" "`bpo-22044 `__: Fixed premature DECREF " "in call_tzinfo_method. Patch by Tom Flanagan." msgstr "" #: ../build/NEWS:26104 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:26109 msgid "" "`bpo-4350 `__: Removed a number of out-of-" "dated and non-working for a long time Tkinter methods." msgstr "" #: ../build/NEWS:26112 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:26116 msgid "" "`bpo-15275 `__: Clean up and speed up " "the ntpath module." msgstr "" #: ../build/NEWS:26118 msgid "" "`bpo-21888 `__: plistlib's load() and " "loads() now work if the fmt parameter is specified." msgstr "" #: ../build/NEWS:26121 msgid "" "`bpo-22032 `__: __qualname__ instead of " "__name__ is now always used to format fully qualified class names of Python " "implemented classes." msgstr "" #: ../build/NEWS:26124 msgid "" "`bpo-22031 `__: Reprs now always use " "hexadecimal format with the \"0x\" prefix when contain an id in form \" at " "0x...\"." msgstr "" #: ../build/NEWS:26127 msgid "" "`bpo-22018 `__: signal.set_wakeup_fd() " "now raises an OSError instead of a ValueError on ``fstat()`` failure." msgstr "" #: ../build/NEWS:26130 msgid "" "`bpo-21044 `__: tarfile.open() now " "handles fileobj with an integer 'name' attribute. Based on patch by Antoine " "Pietri." msgstr "" #: ../build/NEWS:26133 msgid "" "`bpo-21966 `__: Respect -q command-line " "option when code module is ran." msgstr "" #: ../build/NEWS:26135 msgid "" "`bpo-19076 `__: Don't pass the redundant " "'file' argument to self.error()." msgstr "" #: ../build/NEWS:26137 msgid "" "`bpo-16382 `__: Improve exception " "message of warnings.warn() for bad category. Initial patch by Phil Elson." msgstr "" #: ../build/NEWS:26140 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:26145 msgid "" "`bpo-21942 `__: Fixed source file " "viewing in pydoc's server mode on Windows." msgstr "" #: ../build/NEWS:26147 msgid "" "`bpo-11259 `__: asynchat.async_chat()." "set_terminator() now raises a ValueError if the number of received bytes is " "negative." msgstr "" #: ../build/NEWS:26150 msgid "" "`bpo-12523 `__: asynchat.async_chat." "push() now raises a TypeError if it doesn't get a bytes string" msgstr "" #: ../build/NEWS:26153 msgid "" "`bpo-21707 `__: Add missing " "kwonlyargcount argument to ModuleFinder.replace_paths_in_code()." msgstr "" #: ../build/NEWS:26156 msgid "" "`bpo-20639 `__: calling Path." "with_suffix('') allows removing the suffix again. Patch by July Tikhonov." msgstr "" #: ../build/NEWS:26159 msgid "" "`bpo-21714 `__: Disallow the " "construction of invalid paths using Path.with_name(). Original patch by " "Antony Lee." msgstr "" #: ../build/NEWS:26162 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:26165 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:26168 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:26171 msgid "" "`bpo-5800 `__: headers parameter of " "wsgiref.headers.Headers is now optional. Initial patch by Pablo Torres " "Navarrete and SilentGhost." msgstr "" #: ../build/NEWS:26174 msgid "" "`bpo-21781 `__: ssl.RAND_add() now " "supports strings longer than 2 GB." msgstr "" #: ../build/NEWS:26176 msgid "" "`bpo-21679 `__: Prevent extraneous " "fstat() calls during open(). Patch by Bohuslav Kabrda." msgstr "" #: ../build/NEWS:26179 msgid "" "`bpo-21863 `__: cProfile now displays " "the module name of C extension functions, in addition to their own name." msgstr "" #: ../build/NEWS:26182 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:26186 msgid "" "`bpo-21858 `__: Better handling of " "Python exceptions in the sqlite3 module." msgstr "" #: ../build/NEWS:26188 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:26191 msgid "" "`bpo-20295 `__: imghdr now recognizes " "OpenEXR format images." msgstr "" #: ../build/NEWS:26193 msgid "" "`bpo-21729 `__: Used the \"with\" " "statement in the dbm.dumb module to ensure files closing. Patch by Claudiu " "Popa." msgstr "" #: ../build/NEWS:26196 msgid "" "`bpo-21491 `__: socketserver: Fix a race " "condition in child processes reaping." msgstr "" #: ../build/NEWS:26198 msgid "" "`bpo-21719 `__: Added the " "``st_file_attributes`` field to os.stat_result on Windows." msgstr "" #: ../build/NEWS:26201 msgid "" "`bpo-21832 `__: Require named tuple " "inputs to be exact strings." msgstr "" #: ../build/NEWS:26203 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:26206 msgid "" "`bpo-21723 `__: asyncio.Queue: support " "any type of number (ex: float) for the maximum size. Patch written by " "Vajrasky Kok." msgstr "" #: ../build/NEWS:26209 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:26212 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:26216 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:26219 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:26223 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:26226 msgid "" "`bpo-21310 `__: Fixed possible resource " "leak in failed open()." msgstr "" #: ../build/NEWS:26228 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:26231 msgid "" "`bpo-21677 `__: Fixed chaining " "nonnormalized exceptions in io close() methods." msgstr "" #: ../build/NEWS:26233 msgid "" "`bpo-11709 `__: Fix the pydoc.help " "function to not fail when sys.stdin is not a valid file." msgstr "" #: ../build/NEWS:26236 msgid "" "`bpo-21515 `__: tempfile.TemporaryFile " "now uses os.O_TMPFILE flag is available." msgstr "" #: ../build/NEWS:26238 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:26241 msgid "" "`bpo-21463 `__: In urllib.request, fix " "pruning of the FTP cache." msgstr "" #: ../build/NEWS:26243 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:26248 msgid "" "`bpo-20383 `__: Introduce importlib.util." "module_from_spec() as the preferred way to create a new module." msgstr "" #: ../build/NEWS:26251 msgid "" "`bpo-21552 `__: Fixed possible integer " "overflow of too long string lengths in the tkinter module on 64-bit " "platforms." msgstr "" #: ../build/NEWS:26254 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:26259 msgid "" "`bpo-13742 `__: Added \"key\" and " "\"reverse\" parameters to heapq.merge(). (First draft of patch contributed " "by Simon Sapin.)" msgstr "" #: ../build/NEWS:26262 msgid "" "`bpo-21402 `__: tkinter.ttk now works " "when default root window is not set." msgstr "" #: ../build/NEWS:26264 msgid "" "`bpo-3015 `__: _tkinter.create() now " "creates tkapp object with wantobject=1 by default." msgstr "" #: ../build/NEWS:26267 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:26271 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:26275 msgid "" "`bpo-20197 `__: Added support for the " "WebP image type in the imghdr module. Patch by Fabrice Aneche and Claudiu " "Popa." msgstr "" #: ../build/NEWS:26278 msgid "" "`bpo-21513 `__: Speedup some properties " "of IP addresses (IPv4Address, IPv6Address) such as .is_private or ." "is_multicast." msgstr "" #: ../build/NEWS:26281 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:26284 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:26287 msgid "" "`bpo-21455 `__: Add a default backlog to " "socket.listen()." msgstr "" #: ../build/NEWS:26289 msgid "" "`bpo-21525 `__: Most Tkinter methods " "which accepted tuples now accept lists too." msgstr "" #: ../build/NEWS:26292 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:26296 msgid "" "`bpo-22236 `__: Tkinter tests now don't " "reuse default root window. New root window is created for every test class." msgstr "" #: ../build/NEWS:26299 msgid "" "`bpo-10744 `__: Fix :pep:`3118` format " "strings on ctypes objects with a nontrivial shape." msgstr "" #: ../build/NEWS:26302 msgid "" "`bpo-20826 `__: Optimize ipaddress." "collapse_addresses()." msgstr "" #: ../build/NEWS:26304 msgid "" "`bpo-21487 `__: Optimize ipaddress." "summarize_address_range() and ipaddress.{IPv4Network,IPv6Network}.subnets()." msgstr "" #: ../build/NEWS:26307 msgid "" "`bpo-21486 `__: Optimize parsing of " "netmasks in ipaddress.IPv4Network and ipaddress.IPv6Network." msgstr "" #: ../build/NEWS:26310 msgid "" "`bpo-13916 `__: Disallowed the " "surrogatepass error handler for non UTF-\\* encodings." msgstr "" #: ../build/NEWS:26313 msgid "" "`bpo-20998 `__: Fixed re.fullmatch() of " "repeated single character pattern with ignore case. Original patch by " "Matthew Barnett." msgstr "" #: ../build/NEWS:26316 msgid "" "`bpo-21075 `__: fileinput.FileInput now " "reads bytes from standard stream if binary mode is specified. Patch by Sam " "Kimbrel." msgstr "" #: ../build/NEWS:26319 msgid "" "`bpo-19775 `__: Add a samefile() method " "to pathlib Path objects. Initial patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:26322 msgid "" "`bpo-21226 `__: Set up modules properly " "in PyImport_ExecCodeModuleObject (and friends)." msgstr "" #: ../build/NEWS:26325 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:26328 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:26332 msgid "" "`bpo-21156 `__: importlib.abc." "InspectLoader.source_to_code() is now a staticmethod." msgstr "" #: ../build/NEWS:26335 msgid "" "`bpo-21424 `__: Simplified and optimized " "heaqp.nlargest() and nmsmallest() to make fewer tuple comparisons." msgstr "" #: ../build/NEWS:26338 msgid "" "`bpo-21396 `__: Fix TextIOWrapper(..., " "write_through=True) to not force a flush() on the underlying binary stream. " "Patch by akira." msgstr "" #: ../build/NEWS:26341 msgid "" "`bpo-18314 `__: Unlink now removes " "junctions on Windows. Patch by Kim Gräsman" msgstr "" #: ../build/NEWS:26343 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:26346 msgid "" "`bpo-21407 `__: _decimal: The module now " "supports function signatures." msgstr "" #: ../build/NEWS:26348 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:26352 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:26356 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:26359 msgid "" "`bpo-21421 `__: Add __slots__ to the " "MappingViews ABC. Patch by Josh Rosenberg." msgstr "" #: ../build/NEWS:26361 msgid "" "`bpo-21101 `__: Eliminate double hashing " "in the C speed-up code for collections.Counter()." msgstr "" #: ../build/NEWS:26364 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:26367 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:26371 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:26375 msgid "" "`bpo-13248 `__: removed previously " "deprecated asyncore.dispatcher __getattr__ cheap inheritance hack." msgstr "" #: ../build/NEWS:26378 msgid "" "`bpo-9815 `__: assertRaises now tries to " "clear references to local variables in the exception's traceback." msgstr "" #: ../build/NEWS:26381 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:26384 msgid "" "`bpo-13204 `__: Calling sys.flags." "__new__ would crash the interpreter, now it raises a TypeError." msgstr "" #: ../build/NEWS:26387 msgid "" "`bpo-19385 `__: Make operations on a " "closed dbm.dumb database always raise the same exception." msgstr "" #: ../build/NEWS:26390 msgid "" "`bpo-21207 `__: Detect when the os." "urandom cached fd has been closed or replaced, and open it anew." msgstr "" #: ../build/NEWS:26393 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:26397 msgid "" "`bpo-21127 `__: Path objects can now be " "instantiated from str subclass instances (such as ``numpy.str_``)." msgstr "" #: ../build/NEWS:26400 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:26404 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:26407 msgid "" "`bpo-21068 `__: The ssl.PROTOCOL* " "constants are now enum members." msgstr "" #: ../build/NEWS:26409 msgid "" "`bpo-21276 `__: posixmodule: Don't " "define USE_XATTRS on KFreeBSD and the Hurd." msgstr "" #: ../build/NEWS:26411 msgid "" "`bpo-21262 `__: New method " "assert_not_called for Mock. It raises AssertionError if the mock has been " "called." msgstr "" #: ../build/NEWS:26414 msgid "" "`bpo-21238 `__: New keyword argument " "`unsafe` to Mock. It raises `AttributeError` incase of an attribute " "startswith assert or assret." msgstr "" #: ../build/NEWS:26417 msgid "" "`bpo-20896 `__: ssl." "get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3, for " "maximum compatibility." msgstr "" #: ../build/NEWS:26420 msgid "" "`bpo-21239 `__: patch.stopall() didn't " "work deterministically when the same name was patched more than once." msgstr "" #: ../build/NEWS:26423 msgid "" "`bpo-21203 `__: Updated fileConfig and " "dictConfig to remove inconsistencies. Thanks to Jure Koren for the patch." msgstr "" #: ../build/NEWS:26426 msgid "" "`bpo-21222 `__: Passing name keyword " "argument to mock.create_autospec now works." msgstr "" #: ../build/NEWS:26429 msgid "" "`bpo-21197 `__: Add lib64 -> lib symlink " "in venvs on 64-bit non-OS X POSIX." msgstr "" #: ../build/NEWS:26431 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:26436 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:26439 msgid "" "`bpo-7776 `__: Fix ``Host:`` header and " "reconnection when using http.client.HTTPConnection.set_tunnel(). Patch by " "Nikolaus Rath." msgstr "" #: ../build/NEWS:26442 msgid "" "`bpo-20968 `__: unittest.mock.MagicMock " "now supports division. Patch by Johannes Baiter." msgstr "" #: ../build/NEWS:26445 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:26449 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:26452 msgid "" "`bpo-21171 `__: Fixed undocumented " "filter API of the rot13 codec. Patch by Berker Peksag." msgstr "" #: ../build/NEWS:26455 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:26459 msgid "" "`bpo-21172 `__: isinstance check relaxed " "from dict to collections.Mapping." msgstr "" #: ../build/NEWS:26461 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:26464 msgid "" "`bpo-21136 `__: Avoid unnecessary " "normalization of Fractions resulting from power and other operations. Patch " "by Raymond Hettinger." msgstr "" #: ../build/NEWS:26467 msgid "" "`bpo-17621 `__: Introduce importlib.util." "LazyLoader." msgstr "" #: ../build/NEWS:26469 msgid "" "`bpo-21076 `__: signal module constants " "were turned into enums. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:26472 msgid "" "`bpo-20636 `__: Improved the repr of " "Tkinter widgets." msgstr "" #: ../build/NEWS:26474 msgid "" "`bpo-19505 `__: The items, keys, and " "values views of OrderedDict now support reverse iteration using reversed()." msgstr "" #: ../build/NEWS:26477 msgid "" "`bpo-21149 `__: Improved thread-safety " "in logging cleanup during interpreter shutdown. Thanks to Devin Jeanpierre " "for the patch." msgstr "" #: ../build/NEWS:26480 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:26484 msgid "" "`bpo-21200 `__: Return None from pkgutil." "get_loader() when __spec__ is missing." msgstr "" #: ../build/NEWS:26486 msgid "" "`bpo-21013 `__: Enhance ssl." "create_default_context() when used for server side sockets to provide better " "security by default." msgstr "" #: ../build/NEWS:26489 msgid "" "`bpo-20145 `__: `assertRaisesRegex` and " "`assertWarnsRegex` now raise a TypeError if the second argument is not a " "string or compiled regex." msgstr "" #: ../build/NEWS:26492 msgid "" "`bpo-20633 `__: Replace relative import " "by absolute import." msgstr "" #: ../build/NEWS:26494 msgid "" "`bpo-20980 `__: Stop wrapping exception " "when using ThreadPool." msgstr "" #: ../build/NEWS:26496 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:26499 msgid "" "`bpo-20990 `__: Fix issues found by " "pyflakes for multiprocessing." msgstr "" #: ../build/NEWS:26501 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:26505 msgid "" "`bpo-21000 `__: Improve the command-line " "interface of json.tool." msgstr "" #: ../build/NEWS:26507 msgid "" "`bpo-20995 `__: Enhance default ciphers " "used by the ssl module to enable better security and prioritize perfect " "forward secrecy." msgstr "" #: ../build/NEWS:26510 msgid "" "`bpo-20884 `__: Don't assume that " "__file__ is defined on importlib.__init__." msgstr "" #: ../build/NEWS:26512 msgid "" "`bpo-21499 `__: Ignore __builtins__ in " "several test_importlib.test_api tests." msgstr "" #: ../build/NEWS:26514 msgid "" "`bpo-20627 `__: xmlrpc.client." "ServerProxy is now a context manager." msgstr "" #: ../build/NEWS:26516 msgid "" "`bpo-19165 `__: The formatter module now " "raises DeprecationWarning instead of PendingDeprecationWarning." msgstr "" #: ../build/NEWS:26519 msgid "" "`bpo-13936 `__: Remove the ability of " "datetime.time instances to be considered false in boolean contexts." msgstr "" #: ../build/NEWS:26522 msgid "" "`bpo-18931 `__: selectors module now " "supports /dev/poll on Solaris. Patch by Giampaolo Rodola'." msgstr "" #: ../build/NEWS:26525 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:26530 msgid "" "`bpo-20574 `__: Implement incremental " "decoder for cp65001 code (Windows code page 65001, Microsoft UTF-8)." msgstr "" #: ../build/NEWS:26533 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:26538 msgid "" "`bpo-19157 `__: Include the broadcast " "address in the usuable hosts for IPv6 in ipaddress." msgstr "" #: ../build/NEWS:26541 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:26545 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:26548 msgid "" "`bpo-20875 `__: Prevent possible gzip " "\"'read' is not defined\" NameError. Patch by Claudiu Popa." msgstr "" #: ../build/NEWS:26551 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:26555 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:26559 msgid "" "`bpo-20778 `__: Fix modulefinder to work " "with bytecode-only modules." msgstr "" #: ../build/NEWS:26561 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:26564 msgid "" "`bpo-19748 `__: On AIX, time.mktime() " "now raises an OverflowError for year outsize range [1902; 2037]." msgstr "" #: ../build/NEWS:26567 msgid "" "`bpo-19573 `__: inspect.signature: Use " "enum for parameter kind constants." msgstr "" #: ../build/NEWS:26569 msgid "" "`bpo-20726 `__: inspect.signature: Make " "Signature and Parameter picklable." msgstr "" #: ../build/NEWS:26571 msgid "" "`bpo-17373 `__: Add inspect.Signature." "from_callable method." msgstr "" #: ../build/NEWS:26573 msgid "" "`bpo-20378 `__: Improve repr of inspect." "Signature and inspect.Parameter." msgstr "" #: ../build/NEWS:26575 msgid "" "`bpo-20816 `__: Fix inspect." "getcallargs() to raise correct TypeError for missing keyword-only arguments. " "Patch by Jeremiah Lowin." msgstr "" #: ../build/NEWS:26578 msgid "" "`bpo-20817 `__: Fix inspect." "getcallargs() to fail correctly if more than 3 arguments are missing. Patch " "by Jeremiah Lowin." msgstr "" #: ../build/NEWS:26581 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:26586 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:26591 msgid "" "`bpo-20334 `__: inspect.Signature and " "inspect.Parameter are now hashable. Thanks to Antony Lee for bug reports and " "suggestions." msgstr "" #: ../build/NEWS:26594 msgid "" "`bpo-15916 `__: doctest.DocTestSuite " "returns an empty unittest.TestSuite instead of raising ValueError if it " "finds no tests" msgstr "" #: ../build/NEWS:26597 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:26600 msgid "" "asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream " "`bpo-163 `__)." msgstr "" #: ../build/NEWS:26603 msgid "" "`bpo-21311 `__: Avoid exception in " "_osx_support with non-standard compiler configurations. Patch by John " "Szakmeister." msgstr "" #: ../build/NEWS:26606 msgid "" "`bpo-11571 `__: Ensure that the turtle " "window becomes the topmost window when launched on OS X." msgstr "" #: ../build/NEWS:26609 msgid "" "`bpo-21801 `__: Validate that " "__signature__ is None or an instance of Signature." msgstr "" #: ../build/NEWS:26612 msgid "" "`bpo-21923 `__: Prevent AttributeError " "in distutils.sysconfig.customize_compiler due to possible uninitialized " "_config_vars." msgstr "" #: ../build/NEWS:26616 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:26619 msgid "" "`bpo-22733 `__: Fix ffi_prep_args not " "zero-extending argument values correctly on 64-bit Windows." msgstr "" #: ../build/NEWS:26622 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:26629 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:26634 msgid "" "`bpo-16893 `__: Update Idle doc chapter " "to match current Idle and add new information." msgstr "" #: ../build/NEWS:26637 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:26641 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:26647 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:26651 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:26654 msgid "" "`bpo-17390 `__: Adjust Editor window " "title; remove 'Python', move version to end." msgstr "" #: ../build/NEWS:26657 msgid "" "`bpo-14105 `__: Idle debugger " "breakpoints no longer disappear when inserting or deleting lines." msgstr "" #: ../build/NEWS:26660 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:26664 msgid "" "`bpo-21765 `__: Add support for non-" "ascii identifiers to HyperParser." msgstr "" #: ../build/NEWS:26666 msgid "" "`bpo-21940 `__: Add unittest for " "WidgetRedirector. Initial patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:26669 msgid "" "`bpo-18592 `__: Add unittest for " "SearchDialogBase. Patch by Phil Webster." msgstr "" #: ../build/NEWS:26671 msgid "" "`bpo-21694 `__: Add unittest for " "ParenMatch. Patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:26673 msgid "" "`bpo-21686 `__: add unittest for " "HyperParser. Original patch by Saimadhav Heblikar." msgstr "" #: ../build/NEWS:26676 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:26680 msgid "" "`bpo-21695 `__: Closing a Find-in-files " "output window while the search is still in progress no longer closes Idle." msgstr "" #: ../build/NEWS:26683 msgid "" "`bpo-18910 `__: Add unittest for " "textView. Patch by Phil Webster." msgstr "" #: ../build/NEWS:26685 msgid "" "`bpo-18292 `__: Add unittest for " "AutoExpand. Patch by Saihadhav Heblikar." msgstr "" #: ../build/NEWS:26687 msgid "" "`bpo-18409 `__: Add unittest for " "AutoComplete. Patch by Phil Webster." msgstr "" #: ../build/NEWS:26689 msgid "" "`bpo-21477 `__: htest.py - Improve " "framework, complete set of tests. Patches by Saimadhav Heblikar" msgstr "" #: ../build/NEWS:26692 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:26697 msgid "" "`bpo-21139 `__: Change default paragraph " "width to 72, the :pep:`8` recommendation." msgstr "" #: ../build/NEWS:26700 msgid "" "`bpo-21284 `__: Paragraph reformat test " "passes after user changes reformat width." msgstr "" #: ../build/NEWS:26703 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:26706 msgid "" "`bpo-23180 `__: Rename IDLE \"Windows\" " "menu item to \"Window\". Patch by Al Sweigart." msgstr "" #: ../build/NEWS:26712 msgid "" "`bpo-15506 `__: Use standard " "PKG_PROG_PKG_CONFIG autoconf macro in the configure script." msgstr "" #: ../build/NEWS:26715 msgid "" "`bpo-22935 `__: Allow the ssl module to " "be compiled if openssl doesn't support SSL 3." msgstr "" #: ../build/NEWS:26718 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:26721 msgid "" "`bpo-22591 `__: Drop support of MS-DOS, " "especially of the DJGPP compiler (MS-DOS port of GCC)." msgstr "" #: ../build/NEWS:26724 msgid "" "`bpo-16537 `__: Check whether self." "extensions is empty in setup.py. Patch by Jonathan Hosmer." msgstr "" #: ../build/NEWS:26727 msgid "" "`bpo-22359 `__: Remove incorrect uses of " "recursive make. Patch by Jonas Wagner." msgstr "" #: ../build/NEWS:26730 msgid "" "`bpo-21958 `__: Define HAVE_ROUND when " "building with Visual Studio 2013 and above. Patch by Zachary Turner." msgstr "" #: ../build/NEWS:26733 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:26737 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:26740 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:26747 msgid "" "`bpo-21037 `__: Add a build option to " "enable AddressSanitizer support." msgstr "" #: ../build/NEWS:26749 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:26753 msgid "" "`bpo-21285 `__: Refactor and fix curses " "configure check to always search in a ncursesw directory." msgstr "" #: ../build/NEWS:26756 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:26760 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:26763 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:26766 msgid "" "`bpo-20022 `__: Eliminate use of " "deprecated bundlebuilder in OS X builds." msgstr "" #: ../build/NEWS:26768 msgid "" "`bpo-15968 `__: Incorporated Tcl, Tk, " "and Tix builds into the Windows build solution." msgstr "" #: ../build/NEWS:26771 msgid "" "`bpo-17095 `__: Fix Modules/Setup " "*shared* support." msgstr "" #: ../build/NEWS:26773 msgid "" "`bpo-21811 `__: Anticipated fixes to " "support OS X versions > 10.9." msgstr "" #: ../build/NEWS:26775 msgid "" "`bpo-21166 `__: Prevent possible " "segfaults and other random failures of python --generate-posix-vars in " "pybuilddir.txt build target." msgstr "" #: ../build/NEWS:26778 msgid "" "`bpo-18096 `__: Fix library order " "returned by python-config." msgstr "" #: ../build/NEWS:26780 msgid "" "`bpo-17219 `__: Add library build dir " "for Python extension cross-builds." msgstr "" #: ../build/NEWS:26782 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:26785 msgid "" "`bpo-21236 `__: Build _msi.pyd with " "cabinet.lib instead of fci.lib" msgstr "" #: ../build/NEWS:26787 msgid "" "`bpo-17128 `__: Use private version of " "OpenSSL for OS X 10.5+ installer." msgstr "" #: ../build/NEWS:26792 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:26796 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:26800 msgid "" "`bpo-22079 `__: PyType_Ready() now " "checks that statically allocated type has no dynamically allocated bases." msgstr "" #: ../build/NEWS:26803 msgid "" "`bpo-22453 `__: Removed non-documented " "macro PyObject_REPR()." msgstr "" #: ../build/NEWS:26805 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:26809 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:26814 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:26821 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:26825 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:26829 msgid "" "`bpo-21514 `__: The documentation of the " "json module now refers to new JSON RFC 7159 instead of obsoleted RFC 4627." msgstr "" #: ../build/NEWS:26832 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:26837 msgid "" "`bpo-6916 `__: undocument deprecated " "asynchat.fifo class." msgstr "" #: ../build/NEWS:26839 msgid "" "`bpo-17386 `__: Expanded functionality " "of the ``Doc/make.bat`` script to make it much more comparable to ``Doc/" "Makefile``." msgstr "" #: ../build/NEWS:26842 msgid "" "`bpo-21312 `__: Update the thread_foobar." "h template file to include newer threading APIs. Patch by Jack McCracken." msgstr "" #: ../build/NEWS:26845 msgid "" "`bpo-21043 `__: Remove the " "recommendation for specific CA organizations and to mention the ability to " "load the OS certificates." msgstr "" #: ../build/NEWS:26848 msgid "" "`bpo-20765 `__: Add missing " "documentation for PurePath.with_name() and PurePath.with_suffix()." msgstr "" #: ../build/NEWS:26851 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:26856 msgid "" "`bpo-19697 `__: Document cases where " "__main__.__spec__ is None." msgstr "" #: ../build/NEWS:26861 msgid "" "`bpo-18982 `__: Add tests for CLI of the " "calendar module." msgstr "" #: ../build/NEWS:26863 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:26867 msgid "" "`bpo-22838 `__: All test_re tests now " "work with unittest test discovery." msgstr "" #: ../build/NEWS:26869 msgid "" "`bpo-22173 `__: Update lib2to3 tests to " "use unittest test discovery." msgstr "" #: ../build/NEWS:26871 msgid "" "`bpo-16000 `__: Convert test_curses to " "use unittest." msgstr "" #: ../build/NEWS:26873 msgid "" "`bpo-21456 `__: Skip two tests in " "test_urllib2net.py if _ssl module not present. Patch by Remi Pointel." msgstr "" #: ../build/NEWS:26876 msgid "" "`bpo-20746 `__: Fix test_pdb to run in " "refleak mode (-R). Patch by Xavier de Gaye." msgstr "" #: ../build/NEWS:26879 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:26882 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:26885 msgid "" "`bpo-22111 `__: Assorted cleanups in " "test_imaplib. Patch by Milan Oberkirch." msgstr "" #: ../build/NEWS:26887 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:26891 msgid "" "`bpo-21976 `__: Fix test_ssl to accept " "LibreSSL version strings. Thanks to William Orr." msgstr "" #: ../build/NEWS:26894 msgid "" "`bpo-21918 `__: Converted test_tools " "from a module to a package containing separate test files for each tested " "script." msgstr "" #: ../build/NEWS:26897 msgid "" "`bpo-9554 `__: Use modern unittest " "features in test_argparse. Initial patch by Denver Coneybeare and Radu " "Voicilas." msgstr "" #: ../build/NEWS:26900 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:26905 msgid "" "`bpo-19493 `__: Refactored the ctypes " "test package to skip tests explicitly rather than silently." msgstr "" #: ../build/NEWS:26908 msgid "" "`bpo-18492 `__: All resources are now " "allowed when tests are not run by regrtest.py." msgstr "" #: ../build/NEWS:26911 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:26915 msgid "" "`bpo-21605 `__: Added tests for Tkinter " "images." msgstr "" #: ../build/NEWS:26917 msgid "" "`bpo-21493 `__: Added test for ntpath." "expanduser(). Original patch by Claudiu Popa." msgstr "" #: ../build/NEWS:26920 msgid "" "`bpo-19925 `__: Added tests for the spwd " "module. Original patch by Vajrasky Kok." msgstr "" #: ../build/NEWS:26923 msgid "" "`bpo-21522 `__: Added Tkinter tests for " "Listbox.itemconfigure(), PanedWindow.paneconfigure(), and Menu." "entryconfigure()." msgstr "" #: ../build/NEWS:26926 msgid "" "`bpo-17756 `__: Fix test_code test when " "run from the installed location." msgstr "" #: ../build/NEWS:26928 msgid "" "`bpo-17752 `__: Fix distutils tests when " "run from the installed location." msgstr "" #: ../build/NEWS:26930 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:26934 msgid "" "`bpo-21275 `__: Fix a socket test on " "KFreeBSD." msgstr "" #: ../build/NEWS:26936 msgid "" "`bpo-21223 `__: Pass test_site/" "test_startup_imports when some of the extensions are built as builtins." msgstr "" #: ../build/NEWS:26939 msgid "" "`bpo-20635 `__: Added tests for Tk " "geometry managers." msgstr "" #: ../build/NEWS:26941 msgid "Add test case for freeze." msgstr "" #: ../build/NEWS:26943 msgid "" "`bpo-20743 `__: Fix a reference leak in " "test_tcl." msgstr "" #: ../build/NEWS:26945 msgid "" "`bpo-21097 `__: Move test_namespace_pkgs " "into test_importlib." msgstr "" #: ../build/NEWS:26947 msgid "" "`bpo-21503 `__: Use test_both() " "consistently in test_importlib." msgstr "" #: ../build/NEWS:26949 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:26953 msgid "" "`bpo-20668 `__: asyncio tests no longer " "rely on tests.txt file. (Patch by Vajrasky Kok)" msgstr "" #: ../build/NEWS:26956 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:26959 msgid "" "`bpo-22770 `__: Prevent some Tk " "segfaults on OS X when running gui tests." msgstr "" #: ../build/NEWS:26961 msgid "" "`bpo-23211 `__: Workaround test_logging " "failure on some OS X 10.6 systems." msgstr "" #: ../build/NEWS:26963 msgid "" "`bpo-23345 `__: Prevent test_ssl " "failures with large OpenSSL patch level values (like 0.9.8zc)." msgstr "" #: ../build/NEWS:26969 msgid "" "`bpo-22314 `__: pydoc now works when the " "LINES environment variable is set." msgstr "" #: ../build/NEWS:26971 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:26974 msgid "" "`bpo-20076 `__: The makelocalealias.py " "script no longer ignores UTF-8 mapping." msgstr "" #: ../build/NEWS:26976 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:26979 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:26982 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:26986 msgid "" "`bpo-18974 `__: Tools/scripts/diff.py " "now uses argparse instead of optparse." msgstr "" #: ../build/NEWS:26988 msgid "" "`bpo-21906 `__: Make Tools/scripts/" "md5sum.py work in Python 3. Patch by Zachary Ware." msgstr "" #: ../build/NEWS:26991 msgid "" "`bpo-21629 `__: Fix Argument Clinic's " "\"--converters\" feature." msgstr "" #: ../build/NEWS:26993 msgid "Add support for ``yield from`` to 2to3." msgstr "" #: ../build/NEWS:26995 msgid "Add support for the :pep:`465` matrix multiplication operator to 2to3." msgstr "" #: ../build/NEWS:26997 msgid "" "`bpo-16047 `__: Fix module exception " "list and __file__ handling in freeze. Patch by Meador Inge." msgstr "" #: ../build/NEWS:27000 msgid "" "`bpo-11824 `__: Consider ABI tags in " "freeze. Patch by Meador Inge." msgstr "" #: ../build/NEWS:27002 msgid "" "`bpo-20535 `__: PYTHONWARNING no longer " "affects the run_tests.py script. Patch by Arfrever Frehtes Taifersar " "Arahesis." msgstr "" #: ../build/NEWS:27008 msgid "" "`bpo-23260 `__: Update Windows installer" msgstr "" #: ../build/NEWS:27010 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:27016 msgid "" "`bpo-17896 `__: The Windows build " "scripts now expect external library sources to be in ``PCbuild\\.." "\\externals`` rather than ``PCbuild\\..\\..``." msgstr "" #: ../build/NEWS:27019 msgid "" "`bpo-17717 `__: The Windows build " "scripts now use a copy of NASM pulled from svn.python.org to build OpenSSL." msgstr "" #: ../build/NEWS:27022 msgid "" "`bpo-21907 `__: Improved the batch " "scripts provided for building Python." msgstr "" #: ../build/NEWS:27024 msgid "" "`bpo-22644 `__: The bundled version of " "OpenSSL has been updated to 1.0.1j." msgstr "" #: ../build/NEWS:27026 msgid "" "`bpo-10747 `__: Use versioned labels in " "the Windows start menu. Patch by Olive Kilburn." msgstr "" #: ../build/NEWS:27029 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:27033 msgid "**(For information about older versions, consult the HISTORY file.)**" msgstr ""