• Home
  • Raw
  • Download

Lines Matching +full:configure +full:- +full:cares +full:- +full:debug

20    updates -- in such cases, end users will be much better served by partial
50 sufficient; the e-mail address isn't necessary.
70 :pep:`429` -- Python 3.4 Release Schedule
74 Summary -- Release Highlights
86 * :ref:`pip should always be available <whatsnew-pep-453>` (:pep:`453`).
87 * :ref:`Newly created file descriptors are non-inheritable <whatsnew-pep-446>`
89 * command line option for :ref:`isolated mode <whatsnew-isolated-mode>`
91 * :ref:`improvements in the handling of codecs <codec-handling-improvements>`
93 * :ref:`A ModuleSpec Type <whatsnew-pep-451>` for the Import System
96 <whatsnew-marshal-3>` (:issue:`16475`).
101 <whatsnew-asyncio>` (:pep:`3156`).
102 * :mod:`ensurepip`: :ref:`Bootstrapping the pip installer <whatsnew-ensurepip>`
104 * :mod:`enum`: :ref:`Support for enumeration types <whatsnew-enum>`
106 * :mod:`pathlib`: :ref:`Object-oriented filesystem paths <whatsnew-pathlib>`
108 * :mod:`selectors`: :ref:`High-level and efficient I/O multiplexing
109 <whatsnew-selectors>`, built upon the :mod:`select` module primitives (part
112 <whatsnew-statistics>` (:pep:`450`).
114 <whatsnew-tracemalloc>` (:pep:`454`).
118 * :ref:`Single-dispatch generic functions <whatsnew-singledispatch>` in
120 * New :mod:`pickle` :ref:`protocol 4 <whatsnew-protocol-4>` (:pep:`3154`).
122 on Unix <whatsnew-multiprocessing-no-fork>` (:issue:`8713`).
134 * :ref:`Secure and interchangeable hash algorithm <whatsnew-pep-456>`
136 * :ref:`Make newly created file descriptors non-inheritable <whatsnew-pep-446>`
138 * New command line option for :ref:`isolated mode <whatsnew-isolated-mode>`,
141 on Unix <whatsnew-multiprocessing-no-fork>`. *spawn* and *forkserver* are
146 the `PKCS#5 password-based key derivation function 2
148 * :ref:`TLSv1.1 and TLSv1.2 support <whatsnew-tls-11-12>` for :mod:`ssl`.
150 <whatsnew34-win-cert-store>` for :mod:`ssl`.
151 * :ref:`Server-side SNI (Server Name Indication) support
152 <whatsnew34-sni>` for :mod:`ssl`.
154 <whatsnew34-sslcontext>`.
162 * :ref:`Safe object finalization <whatsnew-pep-442>` (:pep:`442`).
164 to None during finalization <whatsnew-pep-442>` (:issue:`18214`).
165 * :ref:`Configurable memory allocators <whatsnew-pep-445>` (:pep:`445`).
166 * :ref:`Argument Clinic <whatsnew-pep-436>` (:pep:`436`).
168 Please read on for a comprehensive list of user-facing changes, including many
177 .. _whatsnew-pep-453:
180 --------------------------------------------------------------
186 cross-platform mechanism to bootstrap the pip installer into Python
204 :ref:`venv-api` installation of ``pip`` must be requested explicitly.
206 For CPython :ref:`source builds on POSIX systems <building-python-on-unix>`,
208 default. This behaviour can be controlled through configure options, and
216 launcher for Windows as ``py -m pip``.
218 As :pep:`discussed in the PEP <0453#recommendations-for-downstream-distributors>`
228 default when ``ensurepip`` is invoked directly - the ``--default-pip``
232 invoked via the ``-m`` switch rather than directly to avoid ambiguity on
239 As part of this change, the :ref:`installing-index` and
240 :ref:`distributing-index` sections of the documentation have been
248 versions of those guides remaining available as :ref:`install-index`
249 and :ref:`setuptools-index`.
253 :pep:`453` -- Explicit bootstrapping of pip in Python installations
258 .. _whatsnew-pep-446:
260 PEP 446: Newly Created File Descriptors Are Non-Inheritable
261 -----------------------------------------------------------
263 :pep:`446` makes newly created file descriptors :ref:`non-inheritable
278 :pep:`446` -- Make newly created file descriptors non-inheritable
282 .. _codec-handling-improvements:
285 ------------------------------
288 intended to operate as a type-neutral dynamic encoding and decoding
303 encodings (in Python 3) or ``basestring`` <-> ``basestring`` conversions (in
306 In Python 3.4, the interpreter is able to identify the known non-text
336 binascii.Error: Non-hexadecimal digit found
342 binascii.Error: decoding with 'hex' codec failed (Error: Non-hexadecimal digit found)
359 the restoration of the convenience aliases for the non-Unicode codecs that
371 in :ref:`binary-transforms` and :ref:`text-transforms`.
377 .. _whatsnew-pep-451:
380 ------------------------------------------------
384 helps simplify both the import implementation and several import-related APIs.
385 The change is also a stepping stone for `several future import-related
388 __ https://mail.python.org/pipermail/python-dev/2013-November/130111.html
390 The public-facing changes from the PEP are entirely backward-compatible.
395 :ref:`deprecated-3.4` section for a list of methods that should be replaced and
400 ----------------------
406 * :func:`min` and :func:`max` now accept a *default* keyword-only argument that
411 * Module objects are now :ref:`weakly referenceable <mod-weakref>`.
418 * All the UTF-\* codecs (except UTF-7) now reject surrogates during both
420 with the exception of the UTF-16 decoder (which accepts valid surrogate pairs)
421 and the UTF-16 encoder (which produces them while encoding non-BMP characters).
422 (Contributed by Victor Stinner, Kang-Hao (Kenny) Lu and Serhiy Storchaka in
425 * New German EBCDIC :ref:`codec <standard-encodings>` ``cp273``. (Contributed
428 * New Ukrainian :ref:`codec <standard-encodings>` ``cp1125``. (Contributed by
460 .. _whatsnew-asyncio:
463 -------
474 :pep:`3156` -- Asynchronous IO Support Rebooted: the "asyncio" Module
478 .. _whatsnew-ensurepip:
481 ---------
489 :mod:`ensurepip` includes a bundled copy of ``pip``, up-to-date as of the first
499 installed, it does nothing. It also has an ``--upgrade`` option that will
504 .. _whatsnew-enum:
507 ----
517 :pep:`435` -- Adding an Enum type to the Python standard library
522 .. _whatsnew-pathlib:
525 -------
537 :pep:`428` -- The pathlib module -- object-oriented filesystem paths
541 .. _whatsnew-selectors:
544 ---------
547 allows high-level and efficient I/O multiplexing, built upon the
551 .. _whatsnew-statistics:
554 ----------
563 :pep:`450` -- Adding A Statistics Module To The Standard Library
566 .. _whatsnew-tracemalloc:
570 -----------
572 The new :mod:`tracemalloc` module (defined in :pep:`454`) is a debug tool to
582 :pep:`454` -- Add a new tracemalloc module to trace Python memory allocations
592 ---
605 ----
616 methods now accept any :term:`bytes-like object`. (Contributed by Serhiy
621 --------
629 -------
631 :mod:`!audioop` now supports 24-bit samples. (Contributed by Serhiy Storchaka
634 New :func:`!byteswap` function converts big-endian samples to
635 little-endian and vice versa. (Contributed by Serhiy Storchaka in
638 All :mod:`!audioop` functions now accept any :term:`bytes-like object`. Strings
644 ------
647 :term:`bytes-like object` in cases where it previously required a
661 -----------
670 --------
672 The number of digits in the coefficients for the RGB --- YIQ conversions have
679 ----------
698 :ref:`discussion <single-use-reusable-and-reentrant-cms>` of the
703 ---
712 ---
715 :func:`~dis.disassemble` now accept a keyword-only *file* argument that
739 In addition, a new application-friendly class :class:`~dis.Bytecode` provides
740 an object-oriented API for inspecting bytecode in both in human-readable form
746 returned as a multi-line string::
757 ' --> 3 LOAD_CONST 1 (1)',
775 -------
777 A new :ref:`option flag <doctest-options>`, :const:`~doctest.FAIL_FAST`, halts
782 new options, ``-o`` and ``-f``. ``-o`` allows :ref:`doctest options
783 <doctest-options>` to be specified on the command line, and ``-f`` is a
784 shorthand for ``-o FAIL_FAST`` (to parallel the similar option supported by the
792 -----
819 (:class:`.EmailMessage` and :class:`.MIMEPart`), along with a new sub-module,
826 the :ref:`email-examples`. These API additions complete the
834 -------
839 for example, if the file might have been changed and re-checked in less time
850 ---------
859 .. _whatsnew-singledispatch:
862 single-dispatch generic functions to the Python standard library. Where
870 :pep:`443` -- Single-dispatch generic functions
877 A pure-python version of the :func:`~functools.partial` function is now in the
884 --
886 New function :func:`~gc.get_stats` returns a list of three per-generation
892 ----
900 -------
903 the `PKCS#5 password-based key derivation function 2
916 ----
937 ----
945 references. For backward-compatibility, its value defaults to ``False``, but
955 ----
964 The :mod:`http.server` :ref:`command line interface <http-server-cli>` now has
965 a ``-b/--bind`` option that causes the server to listen on a specific address.
970 ----------------
976 from the IDLE :menuselection:`Help --> About IDLE` dialog.
980 ---------
1003 and :func:`~importlib.util.source_from_cache` replace the same-named functions
1009 ``python -m`` can now be used with namespace packages. (Contributed
1023 -------
1026 <inspect-module-cli>` to quickly display source code and other
1058 ---------
1072 -------
1097 .. _whatsnew-marshal-3:
1100 -------
1113 ----
1115 mmap objects are now :ref:`weakly referenceable <mod-weakref>`.
1120 ---------------
1122 .. _whatsnew-multiprocessing-no-fork:
1124 On Unix two new :ref:`start methods <multiprocessing-start-methods>`,
1149 ``-m`` switch) to initialise ``__main__`` appropriately in child processes
1151 edge cases where combining multiprocessing, the ``-m`` command line switch,
1157 --------
1164 There is now a pure-python version of the :mod:`operator` module available for
1170 --
1181 Victor Stinner, and Charles-François Natali in :issue:`17914`.)
1191 :const:`~os.O_PATH` (un-opened file descriptor), and :const:`~os.O_TMPFILE`
1198 ---
1216 .. _whatsnew-protocol-4:
1219 ------
1225 keyword-only arguments. It also provides some efficiency improvements.
1229 :pep:`3154` -- Pickle protocol 4
1234 --------
1246 ------
1250 :meth:`~poplib.POP3.stls`, which switches a clear-text POP3 session into an
1256 ------
1270 ---
1277 -----
1300 --
1309 The repr of :ref:`regex objects <re-objects>` now includes the pattern
1310 and the flags; the repr of :ref:`match objects <match-objects>` now
1317 --------
1337 ------
1351 ------
1359 ------
1369 -----
1379 -------
1383 try/except statement by code that only cares whether or not an error occurred.
1388 ------
1408 -------
1417 ---
1419 .. _whatsnew-tls-11-12:
1426 .. _whatsnew34-sslcontext:
1433 best-practice security requirements change. The new recommended best
1476 .. _whatsnew34-win-cert-store:
1478 Two new windows-only functions, :func:`~ssl.enum_certificates` and
1483 .. _whatsnew34-sni:
1485 Support for server-side SNI (Server Name Indication) using the new
1495 ----
1499 are platform-dependent. (Contributed by Christian Heimes in :issue:`11016`.)
1507 ------
1516 ----------
1528 -----
1543 :meth:`!writeframes` methods now accept any :term:`bytes-like
1548 ---
1552 ``--with-pymalloc`` setting, this is allocations made through the
1558 <tut-interactive>`, it checks for an :data:`~sys.__interactivehook__` attribute
1562 module :ref:`sets it <rlcompleter-config>` to a function that enables tab
1563 completion and history saving (in :file:`~/.python-history`) if the platform
1572 -------
1574 The :mod:`tarfile` module now supports a simple :ref:`tarfile-commandline` when
1575 called as a script directly or via ``-m``. This can be used to create and
1580 --------
1594 ---------
1603 ---------
1612 -----
1623 ------
1654 --------
1658 :keyword:`with` block becomes a "sub-test". This context manager allows a test
1695 A new test assertion context-manager, :meth:`~unittest.TestCase.assertLogs`,
1717 ----
1730 ----
1739 <wave-write-objects>`. (Contributed by David Jones, Guilherme Polo, and Serhiy
1743 :meth:`~wave.Wave_write.writeframes` methods now accept any :term:`bytes-like
1748 -------
1764 ---------
1767 non-blocking applications to parse XML documents. An example can be
1768 seen at :ref:`elementtree-pull-parsing`. (Contributed by Antoine
1775 *short_empty_elements* :ref:`keyword-only parameter <keyword-only_parameter>`
1782 -------
1800 .. _whatsnew-pep-445:
1803 ---------------------------------------------------
1810 :pep:`445` -- Add new APIs to customize Python memory allocators
1814 .. _whatsnew-pep-442:
1817 ---------------------------------
1827 whole class of interpreter-shutdown-time errors, usually involving
1833 :pep:`442` -- Safe object finalization
1837 .. _whatsnew-pep-456:
1840 --------------------------------------------------
1856 .. _whatsnew-pep-436:
1859 ------------------------
1882 :pep:`436` -- The Argument Clinic DSL
1887 -----------------------------
1893 * The new :c:func:`!Py_SetStandardStreamEncoding` pre-initialization API
1902 * A new shell version of ``python-config`` can be used even when a python
1911 is that it returns ``0`` on success and ``-1`` on failure.
1928 .. _other-improvements-3.4:
1931 ------------------
1933 .. _whatsnew-isolated-mode:
1935 * The :ref:`python <using-on-cmdline>` command has a new :ref:`option
1936 <using-on-misc-options>`, ``-I``, which causes it to run in "isolated mode",
1938 the user's ``site-packages`` directory, and all :envvar:`!PYTHON*` environment
1939 variables are ignored (it implies both ``-s`` and ``-E``). Other
1946 * Tab-completion is now enabled by default in the interactive interpreter
1948 and is written to (and read from) the file :file:`~/.python-history`.
1951 * Invoking the Python interpreter with ``--version`` now outputs the version to
1954 script-like invocation capabilities (:issue:`18922`).
1961 * A new ``make`` target `coverage-report
1962 <https://devguide.python.org/coverage/#measuring-coverage-of-c-code-with-gcov-and-lcov>`_
1965 <https://github.com/linux-test-project/lcov>`_.
1967 * The ``-R`` option to the :ref:`python regression test suite <regrtest>` now
1972 * ``python -m`` now works with namespace packages.
1976 values hard-coded in the python module as was previously the case.
1987 * A number of MemoryError-related crashes were identified and fixed by Victor
1988 Stinner using his :pep:`445`-based ``pyfailmalloc`` tool (:issue:`18408`,
1991 * The ``pyvenv`` command now accepts a ``--copies`` option
1995 * The ``pyvenv`` command also accepts a ``--without-pip``
1996 option to suppress the otherwise-automatic bootstrapping of pip into
2011 -------------------------
2013 * The UTF-32 decoder is now 3x to 4x faster. (Contributed by Serhiy Storchaka
2022 defaults to nine. This can be changed at compile-time by defining
2023 LINEAR_PROBES to be any value. Set LINEAR_PROBES=0 to turn-off
2039 * :func:`random.getrandbits` is 20%-40% faster for small integers (the most
2063 .. _deprecated-3.4:
2072 using ``-Wd``).
2076 ------------------------------
2078 * As mentioned in :ref:`whatsnew-pep-451`, a number of :mod:`importlib`
2145 -------------------
2147 * Running :ref:`idle` with the ``-n`` flag (no subprocess) is deprecated.
2150 * The site module adding a "site-python" directory to sys.path, if it
2160 -------------------------------------
2172 ------------------------
2192 :class:`~http.client.HTTPSConnection` has been removed. HTTP 0.9-style
2203 * :class:`inspect.Signature`: positional-only parameters are now required
2206 * :meth:`object.__format__` no longer accepts non-empty format strings, it now
2207 raises a :exc:`TypeError` instead. Using a non-empty string has been
2223 -------------
2246 ------------------------------------
2256 * The [X refs, Y blocks] output of a debug (``--with-pydebug``) build of the
2257 CPython interpreter is now off by default. It can be re-enabled using the
2258 ``-X showrefcount`` option. (Contributed by Ezio Melotti in :issue:`17323`.)
2261 output ``--version`` information to ``stdout`` instead of ``stderr`` (for
2262 issue list see :ref:`other-improvements-3.4` above).
2266 -------------------------
2277 in a backwards-compatible fashion, use e.g.
2287 Note that this restores a pre-3.3 behavior in that it means a module is
2288 re-found when re-loaded (:issue:`19413`).
2306 it would write to is a symlink or a non-regular file. This is to act as a
2314 felt to be over-reaching/overloading of that meaning when the source code is
2334 :func:`inspect.getfullargspec` will fail on non-Python callables may need
2343 ``-m`` with the interpreter (except for ``__main__.__file__`` when a script
2345 Cannon in :issue:`18416`). is specified on the command-line)
2367 input string contains non-b32-alphabet characters, instead of a
2398 * Defaults for keyword-only arguments are now evaluated *after* defaults for
2404 perpetually alive (for example, database connections kept in thread-local
2416 are run, test harnesses that reuse a :class:`~unittest.TestSuite` to re-run
2417 a set of tests may fail. Test suites should not be re-used in this fashion
2433 to be matched is a :term:`bytes-like object`. Previously the return type
2463 *not* be installed, you must add ``--without-pip`` to your command
2469 will matter only if you have tests that are doing white-space-sensitive
2486 --------------------
2512 value is a non-``NULL`` pointer).
2521 .. _pep-476:
2524 -----------------------------------------------------------------------------
2545 urllib.request.urlopen("https://invalid-cert", context=context)