Lines Matching +refs:new +refs:mu
27 * If you want to draw your new text to the attention of the
51 This article explains the new features in Python 3.2 as compared to 3.1. It
89 A new module for command line parsing, :mod:`argparse`, was introduced to
236 Code for creating and managing concurrency is being collected in a new top-level
247 The primary offering of the new module is a pair of executor classes for
307 "mymodule.unladen10.pyc". And to prevent all of these new files from
311 Aside from the filenames and target directories, the new scheme has a few
330 filename. Instead, use the new functions in the :mod:`imp` module:
338 reflect the new naming convention and target directory. The command-line
339 invocation of *compileall* has new options: ``-i`` for
344 * The :mod:`importlib.abc` module has been updated with new :term:`abstract base
377 'cpython-32mu'
379 '.cpython-32mu.so'
424 this gap, the :mod:`wsgiref` module has a new function,
426 :attr:`os.environ` into native strings and returning a new dictionary.
439 * String formatting for :func:`format` and :meth:`str.format` gained new
453 * There is also a new :meth:`str.format_map` method that extends the
455 :term:`mapping` objects. This new method makes it possible to use string
591 * A new warning category, :exc:`ResourceWarning`, has been added. It is
688 :func:`~email.message_from_binary_file`, and new classes
704 * A new class :class:`~email.generator.BytesGenerator` produces bytes as output,
711 and a new method, :meth:`~smtplib.SMTP.send_message` accepts a
723 Several new and useful functions and methods have been added:
754 * The :mod:`functools` module includes a new decorator for caching function
802 * To help write classes with rich comparison methods, a new decorator
839 * The :mod:`itertools` module has a new :func:`~itertools.accumulate` function
861 <https://en.wikipedia.org/wiki/Saturation_arithmetic>`_ and the new
880 * The :class:`collections.OrderedDict` class has a new method
901 * The :class:`collections.deque` class grew two new methods
918 The :mod:`threading` module has a new :class:`~threading.Barrier`
985 * The :mod:`datetime` module has a new type :class:`~datetime.timezone` that
1003 after 1900. The new supported year range is from 1000 to 9999 inclusive.
1044 The :mod:`math` module has been updated with six new functions inspired by the
1115 The :class:`io.BytesIO` has a new method, :meth:`~io.BytesIO.getbuffer`, which
1152 To help write such :meth:`__repr__` methods, the :mod:`reprlib` module has a new
1182 traditional %-formatting, can be set to "{" for the new :meth:`str.format` style, or
1196 :attr:`logging.raiseExceptions`. The new default handler is stored in
1210 The :mod:`csv` module now supports a new dialect, :class:`~csv.unix_dialect`,
1214 The :class:`csv.DictWriter` has a new method,
1228 (New dialect suggested by Jay Talbot in :issue:`5975`, and the new method
1234 There is a new and slightly mind-blowing tool
1238 As a convenience, this new functionality is used by
1298 Some of the hashing details are exposed through a new attribute,
1386 The :mod:`select` module now exposes a new, constant attribute,
1427 files stored inside an archive. The new implementation is significantly faster
1438 addition, its :meth:`~tarfile.TarFile.add` method has a new option, *filter*,
1442 The new *filter* option replaces the older, less flexible *exclude* parameter
1471 The :mod:`hashlib` module has two new constant attributes listing the hashing
1518 variables. The :mod:`os` module provides two new functions,
1532 use the new :func:`os.getenvb` function or use :data:`os.environb`
1540 The :func:`shutil.copytree` function has two new options:
1580 >>> shutil.register_archive_format( # register a new archive format
1592 The :mod:`sqlite3` module was updated to pysqlite version 2.6.0. It has two new capabilities.
1607 A new :mod:`html` module was introduced with only a single function,
1618 The :mod:`socket` module has two new improvements.
1636 * A new class, :class:`~ssl.SSLContext`, serves as a container for persistent
1641 * A new function, :func:`ssl.match_hostname`, supports server identity
1700 the new :mod:`imaplib.IMAP4.starttls` method.
1726 To establish an HTTPS connection through a proxy server, there is a new
1739 packages, easier experimentation at the interactive prompt, new testcase
1744 instead of module names for running specific tests (:issue:`10620`). The new
1765 * The :mod:`unittest` module has two new methods,
1775 Another new method, :meth:`~unittest.TestCase.assertCountEqual` is used to
1789 a new :attr:`~unittest.TestCase.maxDiff` attribute that sets maximum length of
1794 For example, :meth:`~unittest.TestCase.assertRegex` is the new name for
1860 been established with a new remote endpoint. This is supposed to be used as a
1869 The :mod:`tempfile` module has a new context manager,
1881 * The :mod:`inspect` module has a new function
1902 the :mod:`inspect` module has a new function, :func:`~inspect.getattr_static`.
1925 well as a new command-line option ``-b`` to automatically open a browser window
1937 The :mod:`dis` module gained two new functions for inspecting code,
2002 A new type, :class:`ctypes.c_ssize_t` represents the C :c:type:`ssize_t` datatype.
2007 The :mod:`site` module has three new functions useful for reporting on the
2045 The new :mod:`sysconfig` module makes it straightforward to discover
2137 Config parsers gained a new API based on the mapping protocol::
2165 The new API is implemented on top of the classical API, so custom parser
2284 the file to text-mode). There is also a new :meth:`~mailbox.Mailbox.get_bytes`
2421 over 2,000 new characters including `emoji <https://en.wikipedia.org/wiki/Emoji>`_
2477 :mod:`itertools` module continues to be updated with new
2517 To learn to use the new version control system, see the `Quick Start
2550 * Hash values are now values of a new type, :c:type:`Py_hash_t`, which is
2560 * A new macro :c:macro:`Py_VA_COPY` copies the state of the variable argument
2564 * A new C API function :c:func:`PySys_SetArgvEx` allows an embedded interpreter
2572 * There is a new function :c:func:`PyLong_AsLongLongAndOverflow` which
2580 * There is a new function :c:func:`PyErr_NewExceptionWithDoc` that is
2657 instead; the new type has a well-defined interface for passing typing safety
2707 * The new, longer :func:`str` value on floats may break doctests which rely on
2734 a new function, :func:`asyncore.handle_accepted`, was added to replace it.
2738 * Due to the new :term:`GIL` implementation, :c:func:`PyEval_InitThreads()`