• Home
  • Raw
  • Download

Lines Matching +full:qemu +full:- +full:user +full:- +full:static

34    sufficient; the e-mail address isn't necessary.
59 Summary -- Release highlights
66 .. PEP-sized items next.
74 ----------------------
79 <https://en.wikipedia.org/wiki/Walrus#/media/File:Pacific_Walrus_-_Bull_(8247646168).jpg>`_.
95 The operator is also useful with while-loops that compute
118 Positional-only parameters
119 --------------------------
127 In the following example, parameters *a* and *b* are positional-only,
145 the built-in :func:`divmod` function does not accept keyword arguments::
157 A further benefit of marking a parameter as positional-only is that it
192 -----------------------------------------------------
195 :option:`-X` ``pycache_prefix``) configures the implicit bytecode
208 -----------------------------------------------
214 Release builds and :ref:`debug builds <debug-build>` are now ABI compatible: defining the
219 --with-trace-refs <--with-trace-refs>` build option.
234 To embed Python into an application, a new ``--embed`` option must be passed to
235 ``python3-config --libs --embed`` to get ``-lpython3.8`` (link the application
236 to libpython). To support both 3.8 and older, try ``python3-config --libs
237 --embed`` first and fallback to ``python3-config --libs`` (without ``--embed``)
240 Add a pkg-config ``python-3.8-embed`` module to embed Python into an
241 application: ``pkg-config python-3.8-embed --libs`` includes ``-lpython3.8``.
242 To support both 3.8 and older, try ``pkg-config python-X.Y-embed --libs`` first
243 and fallback to ``pkg-config python-X.Y --libs`` (without ``--embed``) if the
246 On the other hand, ``pkg-config python3.8 --libs`` no longer contains
247 ``-lpython3.8``. C extensions must not be linked to libpython (except on
253 f-strings support ``=`` for self-documenting expressions and debugging
254 ----------------------------------------------------------------------
256 Added an ``=`` specifier to :term:`f-string`\s. An f-string such as
260 >>> user = 'eric_idle'
262 >>> f'{user=} {member_since=}'
263 "user='eric_idle' member_since=datetime.date(1975, 7, 31)"
265 The usual :ref:`f-string format specifiers <f-strings>` allow more
268 >>> delta = date.today() - member_since
269 >>> f'{user=!s} {delta.days=:,d}'
270 'user=eric_idle delta.days=16,075'
282 -----------------------------------
294 --------------------------------------------
341 See :ref:`Python Initialization Configuration <init-config>` for the
350 --------------------------------------------------------
355 Any :ref:`static type <static-types>` implementing a callable can use this
366 Pickle protocol 5 with out-of-band data buffers
367 -----------------------------------------------
370 in order to take advantage of multi-core or multi-machine processing,
372 possibly by applying custom techniques such as data-dependent compression.
374 The :mod:`pickle` protocol 5 introduces support for out-of-band buffers
375 where :pep:`3118`-compatible data can be transmitted separately from the
419 never intended to permit more than a bare name on the left-hand side of a
451 * When the Python interpreter is interrupted by Ctrl-C (SIGINT) and the
454 calling process can detect that it died due to a Ctrl-C. Shells on POSIX
475 TypeError: mean() got some positional-only arguments passed as keyword arguments: 'data'
479 * For integers, the three-argument form of the :func:`pow` function now
482 the base when the exponent is ``-1``, and a suitable power of that
488 >>> pow(38, -1, 137)
498 >>> x = 369 * pow(4258, -1, 147) % 147
499 >>> y = (4258 * x - 369) // -147
505 * Dict comprehensions have been synced-up with dict literals so that the
535 direct control over the state-updating behavior of a specific object. If
544 reading metadata from third-party packages. For example, it can extract an
556 [PackagePath('requests-2.22.0.dist-info/INSTALLER'),
557 PackagePath('requests-2.22.0.dist-info/LICENSE'),
558 PackagePath('requests-2.22.0.dist-info/METADATA'),
559 PackagePath('requests-2.22.0.dist-info/RECORD'),
560 PackagePath('requests-2.22.0.dist-info/WHEEL')]
569 ---
590 :keyword:`async` and :keyword:`await` as non-reserved words.
596 -------
632 Running ``python -m asyncio`` launches a natively async REPL. This allows rapid
633 experimentation with code that has a top-level :keyword:`await`. There is no
637 .. code-block:: none
639 $ python -m asyncio
686 --------
688 The :func:`compile` built-in has been improved to accept the
690 :func:`compile` will allow top-level ``await``, ``async for`` and ``async with``
697 -----------
709 --------
724 ---
733 -------
741 ------
752 --------
762 ---------
819 --
827 -------
834 ----
846 ----------------
852 by double-clicking the button or into the clipboard or a separate window
853 by right-clicking the button. (Contributed by Tal Einat in :issue:`1529353`.)
857 They also re-appear in the box for the next customized run. One can also
868 objects. This allows IDLE to work with emoji and other non-BMP characters.
888 -------
906 --
908 In development mode (:option:`-X` ``env``) and in :ref:`debug build <debug-build>`, the
915 ---------
928 ---------
930 Add option ``--json-lines`` to parse every input line as a separate JSON object.
935 -------
942 This solves a long-standing problem. Once a logger or *basicConfig()* had
948 (Suggested by Raymond Hettinger, implemented by Dong-hee Na, and
953 ----
959 Formerly, it only supported the 2-D case.
990 >>> isqrt(s - 1) # correct
992 >>> floor(sqrt(s - 1)) # incorrect
998 int-like. (Contributed by Pablo Galindo in :issue:`33083`.)
1002 ----
1010 ---------------
1020 --
1050 -------
1062 for regular user accounts.
1066 non-existent directory.
1075 -------
1093 ------
1095 :mod:`pickle` extensions subclassing the C-optimized :class:`~pickle.Pickler`
1102 --------
1105 NSKeyedArchiver-encoded binary plists.
1110 ------
1136 ----------
1143 -----
1150 ------
1155 :func:`shutil.make_archive` now defaults to the modern pax (POSIX.1-2001)
1166 ------
1179 ---
1183 post-handshake authentication.
1188 ----------
1210 >>> temperature_feb = NormalDist.from_samples([4, 12, -3, 2, 7, 14])
1234 ---
1245 -------
1247 The :mod:`tarfile` module now defaults to the modern pax (POSIX.1-2001)
1248 format for new archives, instead of the previous GNU-specific one.
1249 This improves cross-platform portability with a consistent encoding (UTF-8)
1255 ---------
1272 --------
1281 -------
1301 ----
1308 ------
1312 * A dictionary type with per-key types. See :pep:`589` and
1326 def get_status(port: int) -> Literal['connected', 'disconnected']:
1331 The final qualifier instructs a static type checker to restrict
1346 -----------
1349 <http://blog.unicode.org/2019/05/unicode-12-1-en.html>`_ release.
1358 --------
1401 ----
1409 -------
1417 ---
1443 ------
1467 :func:`shutil.copytree` and :func:`shutil.move` use platform-specific
1468 "fast-copy" syscalls on Linux and macOS in order to copy the file
1470 "fast-copy" means that the copying operation occurs within the kernel,
1474 instead of 16 KiB) and a :func:`memoryview`-based variant of
1479 See :ref:`shutil-platform-dependent-efficient-copy-operations` section.
1502 non-negative integer index into a tuple (which is the typical use case in
1506 * Sped-up field lookups in :func:`collections.namedtuple`. They are now more
1516 * Doubled the speed of class variable writes. When a non-dunder attribute
1523 methods up to 20--50%. (Contributed by Serhiy Storchaka in :issue:`23867`,
1541 * Only ``python3.8-config`` script is installed, ``python3.8m-config`` script
1545 produced and installed by third-party packages, like those downloaded from
1547 ``.cpython-37m-x86_64-linux-gnu.so`` became
1548 ``.cpython-38-x86_64-linux-gnu.so`` in Python 3.8.
1565 * Some macros have been converted to static inline functions: parameter types
1615 * Heap-allocated type objects will now increase their reference count
1623 parameter for indicating the number of positional-only arguments.
1698 Unicode-related exceptions if there are encoding problems with the
1712 (Contributed by Dong-hee Na in :issue:`35283`.)
1724 - *func* in :func:`functools.partialmethod`, :func:`weakref.finalize`,
1728 - *function* in :meth:`unittest.TestCase.addCleanup`.
1729 - *fn* in the :meth:`~concurrent.futures.Executor.submit` method of
1732 - *callback* in :meth:`contextlib.ExitStack.callback`,
1735 - *c* and *typeid* in the :meth:`~multiprocessing.managers.Server.create`
1738 - *obj* in :func:`weakref.finalize`.
1740 In future releases of Python, they will be :ref:`positional-only
1741 <positional-only_parameter>`.
1765 on your requirements, to have well-defined behavior.
1768 * The ``pyvenv`` script has been removed in favor of ``python3.8 -m venv``
1781 All other parameters are now :ref:`keyword-only <keyword-only_parameter>`.
1791 exposed to the user.
1811 --------------------------
1853 -------------------------
1855 * The :func:`os.getcwdb` function now uses the UTF-8 encoding on Windows,
1861 for better performance. On Windows Subsystem for Linux and QEMU User
1864 non-zero :attr:`~Popen.returncode`.
1894 now preserve the attribute order specified by the user.
1897 * A :mod:`dbm.dumb` database opened with flags ``'r'`` is now read-only.
1912 3.6--3.7. (Contributed by Serhiy Storchaka in :issue:`23722`.)
1918 :func:`shutil.copytree` and :func:`shutil.move` use platform-specific
1919 "fast-copy" syscalls (see
1920 :ref:`shutil-platform-dependent-efficient-copy-operations` section).
1940 its behavior was platform-dependent: a nonzero value was returned on success;
1949 * Deleting a key from a read-only :mod:`dbm` database (:mod:`dbm.dumb`,
1962 set for regular user accounts.
1981 .. _bpo-36085-whatsnew:
1986 :func:`~os.add_dll_directory` are searched for load-time dependencies.
2001 constructor (*posonlyargcount*) to support positional-only arguments defined
2003 number of positional arguments (including positional-only arguments). The new
2005 future-proof.
2009 --------------------
2033 It will be removed in 3.10 or 4.0. Read :ref:`arg-parsing` for detail.
2036 * Instances of heap-allocated types (such as those created with
2039 :c:func:`PyType_GenericAlloc` to the more low-level functions,
2044 :ref:`Statically allocated types <static-types>` are not affected.
2056 instance - if any.
2064 .. code-block:: c
2066 static foo_struct *
2078 * Ensure that all custom ``tp_dealloc`` functions of heap-allocated types
2083 .. code-block:: c
2085 static void
2102 .. code-block:: c
2110 exported by a third-party extension module is supposed to have all the
2125 .. code-block:: shell
2127 gendef - python38.dll > tmp.def
2128 dlltool --dllname python38.dll --def tmp.def --output-lib libpython38.a
2132 :ref:`using-on-windows` for more information. The resulting library should be
2140 ------------------------
2145 cleaning-up code for :keyword:`break`, :keyword:`continue` and
2168 ---------------
2176 .. code-block:: none
2179 -------------- --- --- --- --- --- ---
2222 `Intel® Core™ i7-4960HQ processor
2223 ….intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-processor-6m-cache-up-to-3-80
2224 running the macOS 64-bit builds found at
2225 `python.org <https://www.python.org/downloads/mac-osx/>`_.