Lines Matching +full:publish +full:- +full:pypi
34 sufficient; the e-mail address isn't necessary.
52 :pep:`596` - Python 3.9 Release Schedule
55 Summary -- Release highlights
67 New built-in features:
118 Test your application with the :option:`-W` ``default`` command-line option to see
120 :option:`-W` ``error`` to treat them as errors. :ref:`Warnings Filter
121 <warning-filter>` can be used to ignore warnings from third-party code.
127 Aliases to :ref:`Abstract Base Classes <collections-abstract-base-classes>` in
136 Note: a number of pre-existing deprecations were removed in this version of
137 Python as well. Consult the :ref:`removed-in-python-39` section.
144 -----------------------------------
146 Merge (``|``) and update (``|=``) operators have been added to the built-in
163 --------------------------------------------------
173 ---------------------------------------------
175 In type annotations you can now use built-in collection types such as
183 .. code-block:: python
185 def greet_all(names: list[str]) -> None:
193 ----------
209 back to the LL(1) parser using a command line switch (``-X
221 its top-level package.
232 * In the :ref:`Python Development Mode <devmode>` and in :ref:`debug build <debug-build>`, the
243 all non-zero ``n``. It is now consistent with ``"".replace("", s)``.
277 --------
291 2020-10-31 12:00:00-07:00
298 2020-11-07 12:00:00-08:00
303 As a fall-back source of data for platforms that don't ship the IANA database,
304 the |tzdata|_ module was released as a first-party package -- distributed via
305 PyPI and maintained by the CPython core team.
308 .. _tzdata: https://pypi.org/project/tzdata/
312 :pep:`615` -- Support for the IANA Time Zone Database in the Standard Library
317 ---------
329 ---
344 -------
359 Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher
363 running IO-bound functions in a separate thread to avoid blocking the event
364 loop, and essentially works as a high-level version of
378 ----------
380 …ardlinks for duplicated ``.pyc`` files: *hardlink_dupes* parameter and --hardlink-dupes command li…
383 …`.pyc`` files: *stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command line op…
388 ------------------
407 ------
414 --------
418 (Contributed by Dong-hee Na in :issue:`24416`.)
421 ---------
423 The :command:`upload` command now creates SHA2-256 and Blake2b-256 hash
428 -----
432 (Contributed by Dong-hee Na in :issue:`38602`.)
435 -------
439 a non-blocking socket. (Contributed by Dong-hee Na in :issue:`39259`.)
442 --
454 -------
461 ``./configure --without-builtin-hashlib-hashes`` or selectively enabled with
462 e.g. ``./configure --with-builtin-hashlib-hashes=sha3,blake2`` to force use
468 ----
471 :class:`http.HTTPStatus`. (Contributed by Dong-hee Na in :issue:`39509` and Ross Rhodes in :issue:`…
474 ----------------
487 Make IDLE invoke :func:`sys.excepthook` (when started without '-n').
505 -------
512 (Contributed by Dong-hee Na in :issue:`38615`.)
519 selected mailbox. (Contributed by Dong-hee Na in :issue:`40375`.)
522 ---------
529 Import loaders which publish immutable module objects can now publish
541 -------
547 ---------
560 ----
570 Added :func:`math.nextafter`: return the next floating-point value after *x*
579 ---------------
587 -------
591 a non-blocking socket. (Contributed by Dong-hee Na in :issue:`39259`.)
594 --
597 (Contributed by Dong-hee Na in :issue:`38493`.)
599 Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and
615 -------
622 ---
625 (Contributed by Tim Hopper and Dan Lidral-Porter in :issue:`20523`.)
628 ------
632 a non-blocking socket. (Contributed by Dong-hee Na in :issue:`39259`.)
635 ------
637 :mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`.
641 -----
648 ------
654 ------
656 Exposed the Linux-specific :func:`signal.pidfd_send_signal` for sending to
660 -------
664 a non-blocking socket. (Contributed by Dong-hee Na in :issue:`39259`.)
667 (Contributed by Dong-hee Na in :issue:`39329`.)
670 ------
685 ----
693 ---
695 Added a new :attr:`sys.platlibdir` attribute: name of the platform-specific
698 platforms. On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms.
701 Previously, :attr:`sys.stderr` was block-buffered when non-interactive. Now
702 ``stderr`` defaults to always being line-buffered.
706 -----------
713 ------
716 types with context-specific metadata and new ``include_extras`` parameter to
721 -----------
726 ----
736 ---
780 (Contributed by Dong-hee Na, Mark Shannon, Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)
794 (Contributed by Dong-hee Na in :issue:`39434`.)
796 * Decoding short ASCII strings with UTF-8 and ascii codecs is now about
801 .. code-block:: none
804 -------------- --- --- --- --- --- ---
849 `Intel® Core™ i7-4960HQ processor
850 ….intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-processor-6m-cache-up-to-3-80…
851 running the macOS 64-bit builds found at
863 non-negative integer values (like ``5.0``). It raises a :exc:`ValueError`
864 for non-integral and negative floats. It is now deprecated. In future
942 Python version. Consider third-party alternatives such as `LibCST`_ or
952 .. _removed-in-python-39:
964 (Contributed by Dong-hee Na in :issue:`39366`.)
997 (Contributed by Dong-hee Na in :issue:`37804`.)
1042 * The :func:`sys.getcounts` function, the ``-X showalloccount`` command line
1076 -------------------------
1083 * The :mod:`venv` activation scripts no longer special-case when
1090 * The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only,
1101 environment variable when the :option:`-E` or :option:`-I` command line
1105 :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default encoding
1106 is changed from Latin-1 to UTF-8 to follow :rfc:`2640`.
1124 the name ``'root'``, whereas previously it returned a non-root logger named
1126 non-root logger named ``'root'``, or instantiates a logger using
1127 ``logging.getLogger(__name__)`` in some top-level module called ``'root.py'``.
1152 --------------------
1154 * Instances of :ref:`heap-allocated types <heap-types>` (such as those created with
1159 ensure that all custom ``tp_traverse`` functions of heap-allocated types
1164 .. code-block:: c
1177 Note that only :ref:`heap type <heap-types>` are expected to visit the type
1182 .. code-block:: c
1184 base->tp_traverse(self, visit, arg)
1188 .. code-block:: c
1191 // This was not needed before Python 3.9 (bpo-35810 and bpo-40217)
1192 if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
1207 ------------------------
1219 * ``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except'
1228 * Added ``--with-platlibdir`` option to the ``configure`` script: name of the
1229 platform-specific library directory, stored in the new :attr:`sys.platlibdir`
1237 * On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv`
1241 * On non-Windows platforms, creating ``bdist_wininst`` installers is now
1245 non-system Tcl and Tk frameworks if they are installed in
1248 :option:`--enable-universalsdk` or ``-isysroot``, only the SDK itself is
1250 ``--with-tcltk-includes`` and ``--with-tcltk-libs``.
1256 * Some individual tests are now skipped when ``--pgo`` is used. The tests
1263 ``./configure [..] PROFILE_TASK="-m test --pgo-extended"``. We make no
1274 ------------
1318 (Contributed by Dong-hee Na in :issue:`40024`.)
1326 * Added :c:func:`_PyObject_FunctionStr` to get a user-friendly string
1327 representation of a function-like object.
1336 ---------------------
1360 the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to
1410 -------
1416 * The ``tp_print`` slot of :ref:`PyTypeObject <type-structs>` has been removed.
1496 ------
1501 1. ``Literal`` now de-duplicates parameters.
1522 --------------------------------------------------
1539 ---------------
1555 ------------