Lines Matching +refs:po +refs:preset +refs:string +refs:functions
145 - Issue #25709: Fixed problem with in-place string concatenation and utf-8
163 necessarily terminated by a null byte, but the functions assumed they were.
236 is wider then partitioned string.
359 - Issue #25034: Fix string.Formatter problem with auto-numbering and
390 host, to handle correctly custom string with an encode() method which doesn't
391 return a byte string. The encoder of the IDNA codec is now called directly
392 instead of calling the encode() method of the string.
400 - Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
458 - Issue #24683: Fixed crashes in _json functions called with arguments of
500 functions of the audioop module.
502 - Issue #24336: The contextmanager decorator now works with functions with
507 - Issue #5633: Fixed timeit when the statement is a string and the setup is not.
547 functions without __name__.
555 and siftdown functions.
567 - Issue #23908: os functions now reject paths with embedded null character
625 - Issue #23671: string.Template now allows to specify the "self" parameter as
626 keyword argument. string.Formatter now allows to specify the "self" and
685 - Issue #6639: Module-level turtle functions no longer raise TclError after
921 string.Template instances.
969 replacement string longer than malformed input data.
974 is specified with non-string argument. Based on patch by Renaud Blanch.
1069 - Issue #23112: Fix SimpleHTTPServer to correctly carry the query string and
1173 - Issue #22410: Module level functions in the re module now cache compiled
1444 empty string or tuple argument.
1558 get a bytes string
1641 - Issue #21552: Fixed possible integer overflow of too long string lengths in
1912 - Issue #13598: Modify string.Formatter to support auto-numbering of
1997 TypeError if the second argument is not a string or compiled regex.
2050 - Issue #20283: RE pattern methods now accept the string keyword parameters
2289 functions raise TypeError if the passed callback is a coroutine
2347 - Issue #20538: UTF-7 incremental decoder produced inconsistent string when
2442 - Issue #17159: inspect.signature now accepts duck types of functions,
2443 which adds support for Cython functions. Initial patch by Stefan Behnel.
2475 - Issue #20372: inspect.getfile (and a bunch of other inspect functions that
2551 - Issue #20456: Cloned functions in Argument Clinic now use the correct
2577 - Issue #20517: Added new functions allowing OSError exceptions to reference
2663 - Issue #20245: The open functions in the tarfile module now correctly handle
2679 functions now conform to PEP 3333 when handle non-ASCII URLs.
2738 - Issue #20390: Argument Clinic's "file" output preset now defaults to
2744 - Issue #20390: Argument Clinic: If __new__ or __init__ functions didn't use
2761 - Issue #20189: Argument Clinic now ensures that parser functions for
2763 Similarly, parser functions for __init__ are now always of type initproc,
2767 and __init__ functions if no docstring is provided in the input.
2770 impl for @staticmethod functions.
2773 __init__ functions.
2791 return converter of existing functions.
2800 parsing code for functions with positional-only parameters where all arguments
2840 - Issue #17432: Drop UCS2 from names of Unicode functions in python3.def.
2993 In addition, calling set_payload with a string argument without
3036 large bytes string (i.e., with size greater than 2**32-1).
3122 - Issue #19481: print() of string subclass instance in IDLE no longer hangs.
3204 - Issue #19976: Argument Clinic METH_NOARGS functions now always
3274 - Issue #3158: doctest can now find doctests in functions and methods
3291 which anchor the pattern at both ends of the string to match.
3332 CRL enumeration are now two functions. enum_certificates() also returns
3360 provide the same API elements as non-keyed cryptographic hash functions.
3365 - Issue #19449: in csv's writerow, handle non-string keys when generating the
3440 "dis.Bytecode.dis" and converted it to returning a string rather than
3460 integers instead of a string. Based on patch by Guilherme Polo.
3510 - Issue #19330: the unnecessary wrapper functions have been removed from the
3516 functions or classes named "top".
3534 - Issue #19288: Fixed the "in" operator of dbm.gnu databases for string
3537 - Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string
3548 - Issue #19365: Optimized the parsing of long replacement string in re.sub*()
3549 functions.
3572 - Issue #18958: Improve error message for json.load(s) while passing a string
3687 - Issue #19301: Give classes and functions that are explicitly marked global a
3716 now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL
3717 if an error occurred), instead of a string allocated by PyMem_Malloc() or
3778 - Issue #18468: The re.split, re.findall, and re.sub functions and the group()
3779 and groups() methods of match object now always return a string or a bytes
3794 password-based key derivation functions with HMAC as pseudorandom function.
3947 - Issue #19034: repr() for tkinter.Tcl_Obj now exposes string reperesentation.
3956 returned empty string.
3984 if all the necessary functions have already been found in libuuid. Patch by
4041 handles are now created non-inheritable; add functions
4171 - Issue #18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
4178 GENERAL_NAME_print() function to get the string representation of ASN.1
4194 - Issue #8713: add new spwan and forkserver start methods, and new functions
4340 - Issue #18338: `python --version` now prints version string to stdout, and
4353 - Issue #18328: Reorder ops in PyThreadState_Delete*() functions. Now the
4361 - Issue #18111: The min() and max() functions now support a default argument
4408 string of PyUnicode_FromFormat() function, original patch written by Ysj Ray.
4440 - Issue #17413: sys.settrace callbacks were being passed a string instead of an
4495 - Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.)
4498 - Issue #17137: When an Unicode string is resized, the internal wide character
4499 string (wstr) format is now cleared.
4522 in any mapping, not only in a string.
4546 when retrieving a REG_DWORD value. This corrects functions like
4600 (actually, any non-string or non-bytes type).
4614 inconsistencies with os.fsencode() and os.fsdecode() functions which are
4779 - Issue #18393: The private module _gestalt and private functions
4845 string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain()
4855 - Issue #18147: Add diagnostic functions to ssl.SSLContext(). get_ca_list()
4881 source_from_cache() while documenting the equivalent functions in imp as
4934 string, instead of a TypeError.
4945 - Issue #16986: ElementTree now correctly works with string input when the
5042 allowing the subprocess's stdin to be provided as a (byte) string.
5128 - Issue #17434: Properly raise a SyntaxError when a string occurs between future
5145 - Implement PEP 443 "Single-dispatch generic functions".
5170 - Issue #17150: pprint now uses line continuations to wrap long string
5285 runctx() utility functions is not duplicated in both modules.
5299 - Issue #13700: Fix byte/string handling in imaplib authentication when an
5302 - Issue #13153: Tkinter functions now raise TclError instead of ValueError when
5303 a string argument contains non-BMP character.
5360 various other functions now work correctly with 32-bit sample -0x80000000.
5381 - Issue #17089: Expat parser now correctly works with string input when the
5483 - Issue #15972: Fix error messages when os functions expecting a file name or
5705 - Issue #16284: Prevent keeping unnecessary references to worker functions
5787 - Issue #14377: ElementTree.write and some of the module-level functions have
6330 - Issue #15940: Specify effect of locale on time functions.
6525 `parsedate_tz()` functions did not return None anymore when the argument could
6666 - Issue #13579: `string.Formatter` now understands the 'a' conversion specifier.
6797 in os and shutil functions.
7011 - Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog
7044 functions in imp instead of just at the top of the relevant section.
7047 won't work as expected in Python 3.3 and mark the requisite functions as
7141 - Issue #11626: Add _SizeT functions to stable ABI.
7219 and os.unlinkat() functions. Main code by Martin von Löwis.
7241 - Issue #14626: Large refactoring of functions / parameters in the os module.
7242 Many functions now support "dir_fd" and "follow_symlinks" parameters;
7244 string. Added os.support_* collections as LBYL helpers. Removed many
7245 functions only previously seen in 3.3 alpha releases (often starting with
7274 - Issue #14772: Return destination values from some shutil functions.
7285 - Issue #15054: A bug in tokenize.tokenize that caused string literals
7310 time.localtime() and time.strptime() functions now have tm_zone and
7324 non-string argument to SystemExit.
7399 - Issue #14982: Document that pkgutil's iteration functions require the
7500 in old-style string formatting.
7562 functions to support PEP 3115 compliant dynamic class creation. Patch by
7569 empty string ''. Initial Patch contributed by Arve Knudsen.
7577 - Issue #14798: Fix the functions in pyclbr to raise an ImportError
7600 - Issue #14777: tkinter may return undecoded UTF-8 bytes as a string when
7666 integer with nanosecond resolution. The functions os.utime(), os.lutimes(),
7676 - Issue #14958: Change IDLE systax highlighting to recognize all string and
7709 - Issue #14705: The PyArg_Parse() family of functions now support the 'p' format
7764 - Issue #14339: Speed improvements to bin, oct and hex functions. Patch by
7788 any of the dtoa.c string <-> float conversion functions, on MSVC builds of
7830 time.perf_counter() and time.process_time() functions, and rename
7845 - Issue #14638: pydoc now treats non-string __name__ values as if they
7870 - Issue #11750: The Windows API functions scattered in the _subprocess and
7901 with "<" and ends with ">" instead of special-casing "<string>" and
7972 - Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.
7987 - Issue #14378: Fix compiling ast.ImportFrom nodes with a "__future__" string as
8024 - Issue #5136: deprecate old, unused functions from tkinter.
8045 - Issue #3035: Unused functions from tkinter are marked as pending deprecated.
8297 - Issue #13577: Built-in methods and functions now have a __qualname__.
8328 - PEP 3155 / issue #13448: Qualified name for classes and functions.
8427 - PEP 393: flexible string representation. Thanks to Torsten Becker for the
8486 format string that contains positional fields. Initial patch by
8644 - Issue #9856: Change object.__format__ with a non-empty format string
8658 - Issue #8923: When a string is encoded to UTF-8 in strict mode, the result is
8664 the format string in the 3 steps, fix crashes on invalid format strings.
8704 attribute which allows setting custom per-pickler reduction functions.
8708 string. Patch by Guilherme Gonçalves.
8711 verbose arguments from all threading classes and functions.
8724 - Issue #8033: sqlite3: Fix 64-bit integer handling in user functions
8729 - Issue #13641: Decoding functions in the base64 module now accept ASCII-only
8795 - Issue #13609: Add two functions to query the terminal size:
8830 - Issue #13806: The size check in audioop decompression functions was too
8889 - Issue #12715: Add an optional symlinks argument to shutil functions
8912 - Issue #13637: "a2b" functions in the binascii module now accept ASCII-only
8991 - Issue #12567: The curses module uses Unicode functions for Unicode arguments
9066 string, instead of a Unicode string.
9073 attribute to expose only relevant classes and functions. Patch by Florent
9213 getstatusoutput() functions of the subprocess module now kill the process,
9216 - Issue #12720: Expose low-level Linux extended file attribute functions in os.
9288 - Issue #12655: Expose functions from sched.h in the os module: sched_yield(),
9309 Condition, etc.) used to be factory functions returning instances of hidden
9315 - Issue #9723: Add shlex.quote functions, to escape filenames and command
9353 functions, allowing for round tripping of RFC2822 format dates.
9500 functions.
9602 - Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
9678 - Issue #8407: Add pthread_kill(), sigpending() and sigwait() functions to the
9863 - Issue #11256: Fix inspect.getcallargs on functions that take only keyword
9871 - Issue #11692: Remove unnecessary demo functions in subprocess module.
9900 string available.
9915 - Issue #5537: Fix time2isoz() and time2netscape() functions of
9932 - Issue #10812: Add some extra posix functions to the os module.
10008 - Issue #8513: On UNIX, subprocess supports bytes command string.
10027 - Issue #4761: Add the ``*at()`` family of functions (openat(), etc.) to the
10045 - Issue #10784: New os.getpriority() and os.setpriority() functions.
10113 functions on OpenBSD (e.g. fdopendir).
10121 functions (BSD and OS X). Also add new stat file flags for OS X
10232 when given a Unicode string has been fixed.
10270 a string.
10275 some functions like file.write().
10487 - Issue #11505: improves test coverage of string.py, increases granularity of
10488 string.Formatter tests. Initial patch by Alicia Arlen.
10495 - Issue #11505: improves test coverage of string.py. Patch by Alicia
10527 and PyUnicode_EncodeLocale() functions to the C API to decode/encode from/to
10532 - Issue #11246: Fix PyUnicode_FromFormat("%V") to decode the byte string from
10565 more helpful error message when opened with an invalid mode string.
10603 functions and the most commonly needed arguments to Popen.
10700 and string input fails early if non-ASCII characters are used, where
10806 - Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
10882 time.asctime(), time.ctime() and time.strftime() functions will now format
10895 compilation (if the input is a string).
10985 an attempt is made to use a string to specify the archive password.
10997 - Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
11127 - Issue #10695: passing the port as a string value to telnetlib no longer
11331 - Issue #9873: The URL parsing functions in urllib.parse now accept ASCII byte
11384 - Issue #10371: Deprecated undocumented functions in the trace module.
11447 which transforms non-ASCII decimal digits in a Unicode string to their ASCII
11486 - Issue #10299: List the built-in functions in a table in functions.rst.
11526 - Issue #9713, #10114: Parser functions (e.g. PyParser_ASTFromFile) expect
11542 - Issue #9418: Moved private string methods ``_formatter_parser`` and
11663 - Issue #5729: json.dumps() now supports using a string such as '\t' for
11810 - Issue #5355: Provide mappings from Expat error numbers to string descriptions
11897 - Issue #8521: Allow CreateKeyEx, OpenKeyEx, and DeleteKeyEx functions of winreg
11919 with a non-empty format string. This is an effort to future-proof user
11922 supplied a format string. This will be changed to a DeprecationWaring in
11929 - Issue #9210: Configure option --with-wctype-functions was removed. Using the
11930 functions from the libc caused the methods .upper() and lower() to become
11934 non-ASCII byte in the format string.
12052 - Issue #1686: Fix string.Template when overriding the pattern attribute.
12135 * Update the seed() method to use all of the bits in a string instead of just
12293 - Issue #5127: The C functions that access the Unicode Database now accept and
12300 as a unicode object, instead of a byte string. Function needed to support
12311 - Issue #9599: Create PySys_FormatStdout() and PySys_FormatStderr() functions to
12344 asctime and ctime functions. The year range for time.asctime is now
12346 time.localtime. The string produced by these functions is longer
12484 - Issue #3488: Provide convenient shorthand functions ``gzip.compress`` and
12499 formatted code information in a string rather than displaying on screen.
12546 ``encoding="unicode"`` to generate a Unicode string.
12653 - Issue #3101: Helper functions _add_one_to_index_C() and _add_one_to_index_F()
12690 - Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytes
12706 - Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, use
12709 - Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"
12710 formats if the string contains a null byte/character. Write unit tests for
12711 string formats.
12726 - Issue #8950: (See also issue #5080). Py_ArgParse*() functions now raise
12738 - Issue #8339: Remove "t#" format of PyArg_Parse*() functions, use "s#" or "s*"
12742 - Issue #8837: Remove "O?" format of PyArg_Parse*() functions. The format is no
12792 - Issue #8419: Prevent the dict constructor from accepting non-string keyword
12800 unicode string (eg. backslashreplace).
12870 - Issue #5988: Remove deprecated functions PyOS_ascii_formatd,
12887 NULL. The macro now returns a statically allocated empty string instead.
12960 - Remove length limitation when constructing a complex number from a string.
13008 - Issue #6713: Improve performance of integer -> string conversions.
13037 'surrogateescape' error handler, a string which contains unpaired surrogates.
13085 - Make PyUnicode_CompareWithASCIIString return not equal if the Python string
13088 - Issue #5080: The argument parsing functions PyArg_ParseTuple,
13117 ``const char *`` as the string is stored beyond the call.
13174 string.Template class.
13271 ensure that the input string length is a multiple of the frame size.
13403 - Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes,
13425 - Issue #8514: Add os.fsencode() function (Unix only): encode a string to bytes
13517 string "python" as the *ident*. openlog() arguments are all optional and
13689 - Issue #7774: Set sys.executable to an empty string if argv[0] has been set to
13695 - Issue #6509: fix re.sub to work properly when the pattern, the string, and the
13726 - Issue #7959: ctypes callback functions are now registered correctly with the
13790 - Removed the functions 'verify' and 'vereq' from Lib/test/support.py.
13846 Manifest file in text mode so string patterns can be used in regular
14069 importlib.__import__ is not a string (was raising an AttributeError before).
14128 - Issue #6415: Fixed warnings.warn segfault on bad formatted string.
14143 - The deprecated function string.maketrans has been removed.
14192 - Issue #9165: Add new functions math.isfinite and cmath.isfinite, to accompany
14193 existing isinf and isnan functions.
14212 directive. When the ``%z`` directive is present in the format string, an
14228 - Issue #3129: Trailing digits in struct format string are no longer ignored.
14278 - Issue #3366: Add erf, erfc, expm1, gamma, lgamma functions to math module.
14623 - Issue #5330: C functions called with keyword arguments were not reported by
14630 expression string pattern was trying to match against a bytes returned by
14652 - Issue #3613: base64.{encode,decode}string are now called
14757 - Issue #1983: Fix functions taking or returning a process identifier to use
14913 finite float x, repr(x) now outputs a string based on the shortest
14927 secondary consequence, all string-to-float and float-to-string
14936 - The string.maketrans() function is deprecated; there is a new static method
14938 the types string.maketrans() is supposed to work with, and mirrors the
15002 string is already in normalized form, by performing a quick check beforehand.
15021 - Issue #5812: Fraction('1e6') is valid: more generally, any string
15087 - Issue #5499: The 'c' code for argument parsing functions now only accepts a
15224 - Issue #5249: time.strftime returned malformed string when format string
15242 slot, the C API functions PyObject_Compare and PyUnicode_Compare and
15260 from a string.
15350 nl_langinfo is not the empty string. This was causing silent build
15381 - The re.sub(), re.subn() and re.split() functions now accept a flags parameter.
15406 - Issue #6693: New functions in site.py to get user/global site packages paths.
15419 for the obsolete get_versions() functions.
15523 instead of performing them in functions. Helps prevent import deadlocking in
15549 - Issue #5193: Guarantee that tkinter.Text.search returns a string.
15611 - Issue #5203: Fixed ctypes segfaults when passing a unicode string to a
15683 - Added a new itertools functions: combinations_with_replacement()
15747 - Issue #4867: Fixed a crash in ctypes when passing a string to a
15757 - Issue #3638: Remove functions from _tkinter module level that depend on
15773 - Issue #4790: The nsmallest() and nlargest() functions in the heapq module
15785 - Issue #3767: Convert Tk object to string in tkColorChooser.
15936 NUL: Bogus TypeError detail string.
16069 - Issue #3799: Document that dbm.gnu and dbm.ndbm will accept string arguments
16102 - Issue #4363: The uuid.uuid1() and uuid.uuid4() functions now work even if
16147 of a string as required by PEP 302.
16285 characters needed to represent the multi-byte character string.
16463 as bytes string, please use PyUnicode_AsUTF8String() instead.
16467 reallocations of the result string (this also affects str.join()).
16484 (be it as pattern, search string or replacement string) raises a TypeError.
16548 "narrow Unicode" builds, the result is a string of 2 code units, forming a
16564 api functions without holding the GIL, which could lead to a fatal
16632 large .pyc file (~1000 functions).
16642 code now allows any unicode string and returns a utf-8 encoded
16717 getstatusoutput() functions have been moved to the ``subprocess`` module.
16841 - Issue #2682: ctypes callback functions now longer contain a cyclic
16882 - Use wchar_t functions in _locale module.
16952 functions ``PyInt_CompactFreeList`` and ``PyFloat_CompactFreeList``
16998 functions *PyInstanceMethod_Check(o)*, *PyInstanceMethod_New(func)*
17089 value. The struct module returns str8 for all string-related
17091 apparent thanks to string comparisons always being False.
17128 from PyInt to PyLong functions.
17340 - Removed obsolete functions: commands.getstatus(), os.popen*().
17342 - Removed functions in the string module that are also string methods;
17343 Remove string.{letters, lowercase, uppercase}.
17406 compared equal or unequal to a string and a UnicodeDecodeError
17418 - Fix segfault when doing string formatting on subclasses of long.
17420 - Fix bug related to __len__ functions using values > 2**32 on 64-bit machines
17423 - Fix bug related to __len__ functions returning negative values with
17447 - Bug #1333982: string/number constants were inappropriately stored
17463 to be maintained manually as static string literal.
17495 generated for nested functions.
17571 - Bug #1515471: string.replace() accepts character buffers again.
17661 - Patch #1515343: Fix printing of deprecated string exceptions with a
17681 get_param() used to return a 3-tuple of (None, None, string) whereas now it
17682 will just return the string (since non-encoded continuations don't have
17821 - string.Template() now correctly handles tuple-values. Previously,
17962 - The string and unicode methods startswith() and endswith() now accept
17991 - Bug #1334662: ``int(string, base)`` could deliver a wrong answer
17992 when ``base`` was not 2, 4, 8, 10, 16 or 32, and ``string`` represented
18062 As a result, these functions now raise WindowsError instead of OSError.
18099 - Patch #1506645: add Python wrappers for the curses functions
18106 functions.
18143 - The functions update_wrapper() and wraps() have been added to the functools
18145 function when writing wrapper functions.
18153 - The functions in the ``pprint`` module now sort dictionaries by key
18169 - Patch #1180296: Two new functions were added to the locale module:
18238 by converting these apis from macros into exported functions again:
18254 to unicode when it didn't make sense. 'u#' now requires a unicode string.
18333 - The pkgutil module now has several new utility functions, such
18454 - Bug #1115379: Compiling a Unicode string with an encoding declaration
18487 Raising a string exception now raises a DeprecationWarning.
18496 to "error" is triggered) when raising a warning for raising string
18534 - Patch #1400181, fix unicode string formatting to not use the locale.
18535 This is how string objects work. u'%f' could use , instead of .
18574 new Unicode translate string feature in the built-in charmap
18731 statement occurs after anything other than a doc string.
18888 - Bug #1166660: The readline module could segfault if hook functions
18925 create datetime object using a string and format.
18990 (a way to use stateful codecs without the stream API). Python functions
18992 as C functions PyCodec_IncrementalEncoder() and PyCodec_IncrementalDecoder()
19029 translation functions other than _() in the builtins namespace.
19041 - Bug #1432260: The names of lambda functions are now properly displayed
19071 - Added the hashlib module. It provides secure hash functions for MD5 and
19096 is an error in the format string.
19124 - Bug #1163178: Make IDNA return an empty string when the input is empty.
19365 from the input stream, so that the output is a byte string in the correct
19366 encoding instead of a unicode string.
19450 low-level memory management functions can yield many symptoms).
19456 - Patch #1313939: PyUnicode_DecodeCharmap() accepts a unicode string as the
19457 mapping argument now. This string is used as a mapping table. Byte values
19458 greater than the length of the string and 0xFFFE are treated as undefined
19641 functions with identical bodies. This was producing confusing
19747 - re's findall() and finditer() functions now take an optional flags argument
19748 just like the compile(), search(), and match() functions. Also, documented
19799 - SF bug #997050: Document, test, & check for non-string values in
19800 ConfigParser. Moved the new string-only restriction added in
19803 conditions under which non-string values work.
19905 functions is now writable.
19912 - Subclasses of string can no longer be interned. The semantics of
19914 example -- and had bugs. Explicitly interning a subclass of string
19916 to intern a string subclass will have no effect.
19962 - PEP 292 classes Template and SafeTemplate are added to the string module.
19990 - patch #675551: Add get_history_item and replace_history_item functions
20005 so as to properly list all functions in a module when the module itself is
20110 - Patch #980695: Implements efficient string concatenation for statements
20149 - Allow string and unicode return types from .encode()/.decode()
20150 methods on string and unicode objects. Added unicode.decode()
20169 - Added a workaround for proper string operations in BSDs. str.split
20277 string methods of the same name).
20286 o Can now pass setUp and tearDown functions when creating
20297 - Introduced in gettext module the l*gettext() family of functions,
20303 - Add expansion of default values in help text: the string
20304 "%default" in an option's help string is expanded to str() of
20322 you want translations (.po files), they're not included with Python
20421 - Enabled the profiling of C extension functions (and builtins) - check
20424 - Set file.name to the object passed to open (instead of a new string)
20581 - complex(obj) could leak a little memory if obj wasn't a string or
20595 same as split() except that it scans the string from the end
20669 - The operator module has two new functions, attrgetter() and
20671 functions for map(), list.sort(), itertools.groupby(), and
20672 other functions that expect a function argument.
20727 - Fixed #853061: allow BZ2Compressor.compress() to receive an empty string
20771 - refactored site.py into functions. Also wrote regression tests for the
20796 for a string or unicode object in sre.compile() when a different
20854 - heapq.py has two new functions, nsmallest() and nlargest().
20857 a string).
20872 using "a long string".encode('bz2')
20984 good to expose some other internal timemodule.c functions there.
20986 - New public functions PyEval_EvaluateFrame and PyGen_New to expose
20989 - New public functions Py_IncRef() and Py_DecRef(), exposing the
21194 skip over functions with private names (as indicated by the underscore
21198 failing tests in the docstrings of private functions. The breakage
21290 checked error returns from Windows functions correctly. As a result,
21329 string value in Python, and cause the interpreter to enter the
21380 occur in functions with non-global free variables that used these types.
21465 - The threading module has new functions settrace() and setprofile()
21466 that cooperate with the functions of the same name in the sys
21474 Builtin functions are now treated as atomic, fixing bug #746304.
21476 - difflib.py has two new functions: context_diff() and unified_diff().
21681 - "%c" % u"a" now returns a unicode string instead of raising a
21688 - The socket module now provides the functions inet_pton and inet_ntop
21689 for converting between string and packed representation of IP
21721 - Using createfilehandler, deletefilehandler, createtimerhandler functions
21894 treated as being relative to the end of the input string. Positions
21898 turned into an absolute pathname, unless it is the empty string.
21901 - Finally fixed the bug in compile() and exec where a string ending
21948 - long(string, base) takes time linear in len(string) when base is a power
21949 of 2 now. It used to take time quadratic in len(string).
21968 applies for C functions and methods as well as functions and methods
21971 whichmodule() returns "__main__" for functions that are not defined
21972 at the top-level of a module (examples: methods, nested functions).
22117 completely. The undocumented pickler and unpickler functions no
22246 - The PyArg_Parse functions now issue a DeprecationWarning if a float
22363 types.StringTypes, e.g. to test whether something is "a string":
22455 - Conversions from ints to string that show negative values as
22457 this affects the functions hex() and oct(), and the string
22490 higher-level functions NamedTemporaryFile() and TemporaryFile().
22492 new functions have keyword arguments to provide the same
22502 - Previously, "str1 in str2" required str1 to be a string of length 1.
22503 This restriction has been relaxed to allow str1 to be a string of
22554 a string. Formerly, strings would be returned most of the time,
22561 - Fixed string.startswith and string.endswith built-in methods
22591 string to the left with zeros. For example,
22722 functions but callable type objects.
22724 - The bsddb.*open functions can now take 'None' as a filename.
22875 - mimetypes has two new functions: guess_all_extensions() which
22954 - Added conversion functions math.degrees() and math.radians().
23046 functions, and types for sequential (de)compression.
23060 strings were used as parameters for certain functions.
23091 and PyAPI_DATA macros, while Python extension module init functions
23131 doc strings from the built-in functions and modules; this reduces the
23156 - PyNumber_Check() now returns true for string and unicode objects.
23162 - The string object's layout has changed: the pointer member
23171 making it a char saves a few bytes per string object on average, in
23175 - The Py_InitModule*() functions now accept NULL for the 'methods'
23176 argument. Modules without global functions are becoming more common
23177 now that factories can be types rather than functions.
23182 - New functions PyErr_SetExcFromWindowsErr() and
23207 - PyObject_Del, PyObject_GC_Del are now functions instead of macros.
23293 functions, the same Python os.waitpid() code works across platforms.
23295 spawn functions return, and waitpid requires, a process handle on
23303 However, the spawn family of functions on Windows create (at a low C
23428 instead of an empty string (also fixes the email.Utils module).
23534 - complex() now only allows the first argument to be a string
23535 argument, and raises TypeError if either the second arg is a string
23536 or if the second arg is specified when the first is a string.
23559 - types.StringTypes is a tuple containing the defined string types;
23762 - New functions PyObject_CallFunctionObjArgs() and
23764 convenient and efficient to call functions and methods from C.
23856 require an 8-bit string or character buffer argument.
23874 - binascii has now two quopri support functions, a2b_qp and b2a_qp.
23880 available. The stat(), fstat(), statvfs() and fstatvfs() functions
23896 functions RAND_add(), RAND_egd(), and RAND_status(). These calls
23907 - doctest now excludes functions and classes not defined by the module
23918 functions and attribution of time spent to the wrong function.
24120 on the object if the object is not a string or buffer. This
24121 makes unicode() behave like str() when applied to non-string/buffer
24151 called for each iteration until it returns an empty string).
24315 getter and setter functions (or only one of these for read-only or
24407 - Two new functions: PyString_FromFormat() and PyString_FromFormatV().
24408 These can be used safely to construct string objects from a
24409 sprintf-style format string (similar to the format string supported
24490 module provides truediv() and floordiv() functions. Augmented
24526 - New class Differ and new functions ndiff() and restore() in difflib.py.
24610 only remove BOM characters at the start of the string and then
24620 were auto-magically converted to string using the default encoding).
24634 |uu | string | string | UU codec (e.g. for email) |
24636 |base64 | string | string | base64 codec |
24638 |quopri | string | string | quoted-printable codec |
24640 |zlib | string | string | zlib compression |
24642 |hex | string | string | 2-byte hex codec |
24644 |rot-13 | string | Unicode | ROT-13 Unicode charmap codec|
24654 functions that return filenames (such as os.listdir()) to return Python
24655 string objects pre-encoded using the default file system encoding for
24680 machine precision (assuming the platform C float<->string I/O conversion
24681 functions are of good quality).
24717 - The following functions were generalized to work nicely with iterator
24754 were added to the string module. These a locale-independent
24776 that are still imported into string.py).
24783 - pprint functions now much faster for large containers (tuple, list, dict).
24931 - Fixed core dumps when calling certain kinds of non-functions.
25115 - Variants of several functions defined in pythonrun.h have been added
25202 - xml.dom offers the new functions registerDOMImplementation and
25294 functions where an outer function has local variables with the same
25316 - repr(string) is easier to read, now using hex escapes instead of octal,
25347 also supports new functions getstate() and setstate(), for saving
25471 (Python uses regular ints for sequence and string indices; fixing
25536 import imp,sys,string
25537 magic = string.join(["\\x%.2x" % ord(c) for c in imp.get_magic()],"")
25577 - In the time module, the time argument to the functions strftime,
25616 - The bisect module has new functions bisect_left, insort_left,
25633 higher-level mechanisms such as string interpolation.
25807 - A bug in Unicode string interpolation was fixed that occasionally
25857 programs with very long string literals.
25940 - Multiplication on string and Unicode now does proper bounds
25942 string is too long."
26012 a non-string repr where a string repr was expected. This behavior
26044 quote_plus functions so that the always encode a comma.
26075 - Add three new convenience functions for module initialization --
26092 internal data buffer and size of a string object -- or the default
26112 pointer to the default encoded string data instead of to the raw
26264 if A is a number or a string, A += B has the same effect as A = A+B
26437 atexit - for registering functions to be called when Python exits.
26461 binascii -- new functions b2a_hex and a2b_hex that convert between
26464 calendar -- Many new functions that support features including control
26489 os -- new functions isatty, seteuid, setegid, setreuid, setregid
26502 readline -- new functions to read, write and truncate history files.
26572 the buffer needed to hold the formatted result string. This change
26577 PyRun_AnyFileEx, PyRun_SimpleFileEx, PyRun_FileEx -- New functions
26627 strings: the string.encode() (which is also present on 8-bit strings
26663 - The str() and repr() functions are now different more often. For
26696 We've added a new fundamental datatype, the Unicode string, a new
26702 addition of string methods and (yet another) new regular expression
26706 importing the string module and saying string.lower(s) etc. One
26707 peculiarity is that the equivalent of string.join(sequence,
26709 the effect of string.join(sequence); to make this more readable, try
26747 is a string. This makes string.atoi() and string.atol() obsolete.
26748 (string.atof() was already obsolete).
26776 UserString - base class for deriving from the string type.
26826 string - most of this module is deprecated now that strings have
26828 advantage of the new string methods to provide transparent support for
26880 strop. (No longer needed by the string module.)
26920 list containing non-string objects would crash, and there were
26927 converted to an 8-bit string.
26929 - Unicode string comparisons is no longer aware of UTF-16
27089 unsupported format string. (I guess this is because the logic for
27144 Add '+' to string version number to indicate we're beyond b2 now.
27159 A lot of the functions in sendmail.py unfortunately discards the
27178 empty string (""). The patch fixes the test in the sendmail() method
27179 so that helo_resp is tested against None; if it has the empty string
27237 philosophical problem -- to me, the split*() functions are purely
27352 functions in the rfc822 module).
27450 Add tests for float() and complex() with string args (Nick/Stephanie
27457 is not an empty string, this means that you have arrived at the
27464 Patch by Nick and Stephanie Lockwood to implement complex() with a string
27725 [I'm tempted to rip out all the help_* functions from pdb, but I'll
27764 Don't crash when sys.path contains an empty string.
27767 - Don't crash in the case where a superclass is a string instead of a
27909 string-based exceptions are used) reflect the real class hierarchy,
27966 empty format string, or when the format string is a single %Z and the
28079 attribute (i.e., the file which it was loaded), or the string
28085 - New info string sys.hexversion, which is an integer encoding the
28200 - Added strop.expandtabs() so string.expandtabs() is now much faster.
28264 used for parser input coming from a string, too.
28397 single string, this situation is treated separately. Also added
28436 modifies its argument string (bad function!), so we make a temporary
28570 Built-in functions
28658 - smtplib.py: change sendmail() method to accept a single string or a
28693 (formerly it returned a string, which wasn't very convenient).
28780 - The code string of code objects may now be anything that supports the
28794 (string.pyc or string.pyo) is also accepted.
28832 list objects (try [].append.__doc__). A doc string on a type will now
28864 Built-in functions
28867 - Better checks for invalid input to int(), long(), string.atoi(),
28868 string.atol(). (Formerly, a sign without digits would be accepted as
28891 The built-in function open() and most os/posix functions that take a
28911 Python functions as their im_func. Use new.instancemethod() or write
28951 - In the string and strop modules, in the replace() function, treat an
28954 - Some speedups to re.py, especially the string substitution and split
28955 functions. Also added new function/method findall(), to find all
28990 - New functions in os.py: makedirs(), removedirs(), renames(). New
29029 - Added some of the "wait status inspection" macros as functions to
29056 string from environ['QUERY_STRING'] or sys.argv[1] -- ignore an
29114 - Allow binding of Tcl commands (given as a string).
29424 find("x","",2) returns -1, matching the implementation in string.py.
29477 replacement string has changed.
29529 a line begins with the string "From " but is definitely not the start
29606 - New functions Py_ReprEnter() and Py_ReprLeave() use the per-thread
29622 - New functions Py_GetPythonHome() and Py_SetPythonHome(), intended to
29686 - Added doc strings to string.py, stropmodule.c, structmodule.c,
29710 version released to the string-sig (Dec. 22).
29737 - Fixed a bug in the new format string error checking in getargs.c.
29759 the version string had a different format.
29822 - Fixed handling of maxsplit in string.splitfields().
29898 end of the format string.
29914 - In string.atof(), don't fail when the "re" module is unavailable.
30000 functions to format numbers according to the user specified locale.
30071 - New version of tokenize.py (by Ka-Ping Yee) recognizes raw string
30097 - In the string module, add an optional 4th argument to count(),
30153 - Three new C API functions:
30181 new string exception.
30195 - Two new built-in functions: issubclass() and isinstance(). Both
30231 - Various renames of statically defined functions that had name
30358 error code to a string.
30406 - The functions in popen2 have an optional buffer size parameter.
30407 Also, the command argument can now be either a string (passed to the
30430 It's very cool to do "import string" type "string.", hit the
30432 the string module!
30483 added for those functions in the built-in imp module that are still
30488 - The % operator on string objects now allows arbitrary nested parens
30563 - In module bisect.py, but functions have two optional argument 'lo'
30640 repeated lookups of the same C string were removed; these were a
30674 Tools/scripts). See the entry on string interning below.
30727 - There's new string literal syntax for "raw strings". Prefixing a string
30729 string; for example, r'\n' is a two-character string consisting of a
30730 backslash followed by the letter n. This combines with all forms of string
30733 backslash does not terminate the string, but the backslash is still
30734 included in the string; for example, r'\'' is a two-character string
30795 whenever formerly a string was required for a write operation; mutable
30802 string object is the same object as the key in the dictionary, not
30803 just a string with the same value. This is done by having a pool of
30806 that returns the interned version of a string. Interned strings are
30820 - The intrinsic functions int(), long() and float() can now take a
30821 string argument and then do the same thing as string.atoi(),
30822 string.atol(), and string.atof(). No second 'base' argument is
30823 allowed, and complex() does not take a string (nobody cared enough).
30868 - The hex() and oct() functions have been changed so that for regular
30936 - The socket module now has some new functions: getprotobyname(), and
30960 exception is raises) is renamed -- its string value is now "os.error",
31066 'strict_parsing' option to all parsing functions (Jim Fulton). The
31106 quote_plus() and unquote_plus() functions which are like quote() and
31139 includes functions to handle the funny encoding you sometimes see in mail
31148 - The copying functions in the undocumented module shutil.py are
31163 other functions have changed slightly, too.
31167 - The string.py module has a new function replace(str, old, new,
31169 implemented in C in the strop module. The functions [r]find() an
31172 (Remember, never import strop -- import string uses strop when
31175 - The string.join() function now accepts any sequence argument, not
31178 - The string.maketrans() requires its first two arguments to be
31186 is now obsolete -- use the sub() or subn() functions or methods in the
31213 version string (sys.version).
31278 version! Some new functions have been added, e.g. PySequence_List(o),
31281 - New API functions PyLong_FromUnsignedLong() and
31284 - The API functions in the file cgensupport.c are no longer
31297 functions Py_NewInterpreter() and Py_EndInterpreter(). Since the
31321 or the Demo/pysvr example; the new functions are
31339 non-fatally, by calling one of the PyErr_* functions and returning.
31365 the extended parser API functions. The three public grammar start
31428 - A bug in _tkinter.c has been fixed, where Split() with a string
31499 console I/O functions like kbhit(), getch() and putch().
31611 instead of a code string.
31840 - The traceback module has some new functions to extract, format and print
31843 - Some translation functions in the urllib module have been made a little
31898 - The abstract object API has three new functions, PyObject_DelItem,
31901 - The operator module has new functions delitem and delslice, and the
31902 functions "or" and "and" are renamed to "or_" and "and_" (since "or" and
31976 - string.atoi c.s. now raise an exception for an empty input string.
31993 string object instead of a C string pointer.
31995 - New operations in string module: lstrip(s) and rstrip(s) strip whitespace
32000 string.capwords() has an optional second argument specifying the
32003 - regsub.split() has the same addition as string.split(). regsub.splitx(s,
32069 - Optional third string argument to string.translate() specifies
32070 characters to delete. New function string.maketrans() creates a
32085 nearly all functions.
32119 - New functions in the posix module: mkfifo, plock, remove (== unlink),
32120 and ftruncate. More functions are also available under NT.
32157 - There's a new "cmath" module which provides the same functions as the
32206 - Module urllib now has two new functions url2pathname and pathname2url
32225 is against the normal rule that modules should define classes and functions
32231 - Small interface change to the profile.run*() family of functions -- more
32239 - Added string.capwords(), string.capitalize() and string.translate().
32275 specifying 'f' as the second character or the mode string.
32284 arbitrary string (formerly it would only do soundex-based string
32302 - The argument parsing functions now support a new format character 'D' to
32372 string rather than reading an unlimited number of bytes. For the
32378 The built-in functions "input()" and "raw_input()" now use the GNU
32385 Two new built-in functions, "globals()" and "locals()", provide access
32408 The "string.split()" and "string.splitfields()" functions are now the
32410 determines which operation is invoked); similar for "string.join()"
32411 and "string.joinfields()".
32419 --- their "open()" functions now take the same values for their "flag"
32528 the __doc__ attribute. Modules, classes and functions support special
32530 consists of just a string literal, that string literal becomes the
32533 functions, types and modules; however this feature hasn't been widely
32535 object's tp_doc field contains the doc string for the type, and the
32536 4th member of the methodlist structure contains the doc string for the
32543 - The functions posix.popen() and posix.fdopen() now have an optional
32555 e.g. interfaces to (a few) resource mananger functions, get/set file
32580 string objects, but this will change in the future.
32587 This fixes a circularity in the references between functions and
32703 (e.g. modules and functions)
32777 - Sometimes the format operator (string%expr) would drop the last
32778 character of the format string
32782 - Bug when triple-quoted string ended in quote plus newline
32803 * A new kind of string literals, surrounded by triple quotes (""" or
32843 for loops, the (not) in operator, and the built-in functions filter(),
32856 convert it to a string using str().
32893 * Module urllib contains a number of functions to access
32918 * The string module's expandvars() function is now documented and is
32939 functions a la Tim Peters.
33001 functions of the standard string module: atoi(), atol() and atof().
33004 explicitly import strop to use the faster versions -- the string
33098 * The DOS functions have been taken out of posixmodule.c and moved
33135 string objects will use double quotes if the string contains a single
33160 Built-in functions
33163 * The built-in module containing the built-in functions is called
33166 * New built-in functions map(), filter() and reduce() perform standard
33232 __repr__(self), which should define an unambigous string
33269 * The posix module has acquired new functions setuid(), setgid(),
33283 * Module strop (and hence standard library module string) has acquired
33305 functions execl(), execle(), execlp() and execvp().
33319 * Module string now defines rindex() and rfind() in analogy of index()
33323 * Added help() functions to modules profile and pdb.
33364 functions compute the same value it is possible (but not
33374 * There is a compile-time option to cache a string's hash function,
33376 bytes per string it is disabled by default.
33398 * Core dump on a format string ending in '%', e.g. in the expression
33443 prefix, and most functions are renamed to the standard form
33452 functions that were accidentally global have been made static.
33625 * The % operator with a string left argument implements formatting
33640 Additions to built-in functions
33643 * str(x) returns a string version of its argument. If the argument is
33644 a string it is returned unchanged, otherwise it returns `x`.
33662 * compile() compiles a string to a Python code object.
33673 * A new function string.find() is added with similar semantics to
33674 string.index(); however when it does not find the given substring it
33675 returns -1 instead of raising string.index_error.
33698 functions in the undocumented module calendar have been removed; the
33702 * Module strop (the fast built-in version of standard module string)
33706 the string of characters that are considered whitespace as well as the
33721 through the functions dumps() and loads().
33810 argument lists (of user-defined functions only) is stricter. Earlier,
33923 Changes to existing built-in functions and methods
33926 The built-in functions int(), long(), float(), oct() and hex() now
33931 New built-in functions
33934 The new functions str() and repr() convert any object to a string.
33937 except if x is already a string -- then it returns x unchanged
33946 The time module's functions are more general: time() returns a
33955 The string representation of a file object now includes an address:
33959 New functions added to posix: nice(), setpgrp(), and if your system
33974 functions have been added and some bugs have been fixed.
33981 There's a new gl function 'gversion() which returns a version string.
33991 Most functions in module string are now much faster: they're actually
33993 "strop" but you should still import "string" since strop doesn't
33994 provide all the interfaces defined in string (and strop may be renamed
33995 to string when it is complete in a future release).
33997 string.index() now accepts an optional third argument giving an index
34000 functions in regex).
34002 The definition of what string.splitfields(anything, '') should return
34017 Module struct defines functions to pack/unpack values to/from strings
34020 Module strop implements C versions of many functions from string (see
34057 regsub: contains three functions that are more or less compatible with
34058 awk functions of the same name: sub() and gsub() do string
34059 substitution, split() splits a string using a regular expression to
34141 The functions NEW() and RENEW() allocate one spare byte to guard
34201 Changes to existing built-in functions and methods
34233 fl: added several new functions, fixed several obscure bugs, adapted
34242 string: atoi() no longer mistakes leading zero for octal number
34259 nis: interfaces to some NIS functions (aka yellow pages)
34359 values according to a "format" string a la getargs()
34361 Most functions from pythonmain.c moved to new pythonrun.c which is
34403 - New function string.expandtabs() expands tabs in a string
34408 - New built-in functions getattr() and setattr() access arbitrary attributes
34409 - More generic argument handling in built-in functions (see "./EXTENDING")
34458 - new exception string values (NameError = 'NameError' etc.)
34460 - for sequences (string/tuple/list), x[-i] is now equivalent to x[len(x)-i]
34534 IndexError invalid string, tuple or list index RuntimeError
34541 The string value of each exception is now its name -- this makes it
34570 you want to write variadic functions -- functions that may be called
34597 That is, the equivalence rule between methods and functions has
34607 functions expecting two arguments with more than that number of
34626 A new built-in function, apply(), was added to support functions that
34627 need to call other functions with a constructed argument list. The call
34646 - string sys.version shows current version (also printed on interactive entry)
34648 - 'global' statement to declare module-global variables assigned in functions.
34655 - new builtins hex(x), oct(x) return hex/octal string from (long) integer.
34660 added (non-GL) functions (un)packrect.
34723 standard-conforming strtol() and strtod() functions; a correct
34728 2. Changes to the built-in types, functions and modules
34757 - New posix functions:
34772 - Name change: the functions path.cat and macpath.cat are now called
34779 - Module string:
34780 - added functions join() and joinfields()