Lines Matching +refs:po +refs:mark +refs:string +refs:function
33 example: "XXX Describe the transmogrify() function added to the
45 XXX Describe the transmogrify() function added to the socket
189 based on the shortest decimal string that's guaranteed to round back
192 * Float-to-string and string-to-float conversions are correctly rounded.
193 The :func:`round` function is also now correctly rounded.
195 * The :c:func:`PyLong_AsLongAndOverflow` C API function.
358 library's :c:func:`getopt` function, so it remains useful if you're writing a
459 function that parses a file, but the file format doesn't support
462 Python 2.7 adds a :func:`~logging.dictConfig` function that
619 >>> import string
620 >>> m = memoryview(string.letters)
631 The content of the view can be converted to a string of bytes or
653 >>> b = bytearray(string.letters) # Creating a mutable object
723 The :func:`contextlib.nested` function provides a very similar
724 function, so it's no longer necessary and has been deprecated.
742 now returns a result based on the shortest decimal string that's
744 round-half-to-even rounding mode). Previously it gave a string
819 a :exc:`PendingDeprecationWarning` if it's passed a format string,
821 the object to a string representation and formats that. Previously
822 the method silently applied the format string to the string
863 exposes the wrapped function as their :attr:`__func__` attribute.
885 :func:`compile` built-in function now accepts code using any
889 * Extra parentheses in function definitions are illegal in Python 3.x,
910 allows controlling warnings. It should be set to a string
992 a Python string and special-cases it; this results in a 1--3%
1001 * Converting an integer or long integer to a decimal string was made
1003 conversion function that supports arbitrary bases.
1007 :meth:`rpartition`, and :meth:`rsplit` methods of string-like types
1159 * Deprecated function: :func:`contextlib.nested`, which allows
1168 * The :mod:`copy` module's :func:`~copy.deepcopy` function will now
1213 When using :class:`~decimal.Decimal` instances with a string's
1276 New function: :func:`~functools.cmp_to_key` will take an old-style comparison
1277 function that expects two arguments and return a new callable that
1283 * New function: the :mod:`gc` module's :func:`~gc.is_tracked` returns
1326 * New function: the :mod:`inspect` module's :func:`~inspect.getcallargs`
1361 * New function: ``itertools.compress(data, selectors)`` takes two
1370 New function: ``itertools.combinations_with_replacement(iter, r)``
1382 The :func:`itertools.count` function now has a *step* argument that
1410 …func:`~math.erf` and :func:`~math.erfc` for the error function and the complementary error functio…
1413 :func:`~math.gamma` for the Gamma function, and
1414 :func:`~math.lgamma` for the natural log of the Gamma function.
1444 The :func:`os.fork` function now re-initializes the import lock in
1450 is a Unicode string, the return value is also a Unicode string.
1462 * New function: :func:`~runpy.run_path` in the :mod:`runpy` module
1476 * New function: in the :mod:`shutil` module, :func:`~shutil.make_archive`
1508 * The :func:`~socket.create_connection` function
1544 The :func:`ssl.wrap_socket` constructor function now takes a
1545 *ciphers* argument that's a string listing the encryption algorithms
1546 to be allowed; the format of the string is described
1558 attributes :data:`ssl.OPENSSL_VERSION` (a string),
1567 :issue:`1523`.) The :func:`~struct.pack` function will also
1572 * New function: the :mod:`subprocess` module's
1574 and returns the command's output as a string when the command runs without
1593 * New function: :func:`~symtable.Symbol.is_declared_global` in the :mod:`symtable` module
1716 The :func:`~zipfile.is_zipfile` function now
1741 a single function, :func:`~importlib.import_module`.
1744 a string containing the module or package's name. It's possible to do
1745 relative imports by providing a string that begins with a ``.``
1845 The :func:`~unittest.main` function supports some other new options:
1863 :func:`~unittest.removeHandler` decorator that can be used to mark tests that
1940 first argument is a string matching or not matching the regular
1944 is raised, and then also checks that the string representation of
1981 object and a function. The function will be used when both of the
1982 objects being compared are of the specified type. This function
1984 match; it's a good idea for the function to provide additional
2027 * ElementTree's code for converting trees to a string has been
2126 * New function: :c:func:`PyCode_NewEmpty` creates an empty code object;
2127 only the filename, function name, and first line number are required.
2133 * New function: :c:func:`PyErr_NewExceptionWithDoc` creates a new
2139 * New function: :c:func:`PyFrame_GetLineNumber` takes a frame object
2152 * New function: stemming from the rewrite of string-to-float conversion,
2153 a new :c:func:`PyOS_string_to_double` function was added. The old
2157 * New function: :c:func:`PySys_SetArgvEx` sets the value of
2162 This function was added to close a security hole for applications
2163 that embed Python. The old function, :c:func:`PySys_SetArgv`, would
2197 * Removed function: :c:macro:`PyEval_CallObject` is now only available
2198 as a macro. A function version was being kept around to preserve
2226 * The :c:func:`Py_Finalize` function now calls the internal
2227 :func:`threading._shutdown` function; this prevents some exceptions from
2252 * New configure option: you can now supply an empty string to
2346 * The :func:`os.kill` function now works on Windows. The signal value
2353 * The :func:`os.listdir` function now correctly fails
2402 forms in :file:`.po` files. (Fixed by Martin von Löwis;
2440 * The :func:`range` function processes its arguments more
2445 * The string :meth:`format` method changed the default precision used
2457 :meth:`__exit__` methods was often the string representation of the
2474 * When using :class:`~decimal.Decimal` instances with a string's
2541 * Use the new :c:func:`PyOS_string_to_double` function instead of the old
2547 * The :c:func:`PySys_SetArgvEx` function was added, letting
2549 :c:func:`PySys_SetArgv` function was used. Check whether you're
2754 function can be used to adjust the default behaviour at runtime.