Lines Matching +refs:po +refs:find +refs:emacs +refs:lisp +refs:string
145 - Issue #25709: Fixed problem with in-place string concatenation and utf-8
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.
507 - Issue #5633: Fixed timeit when the statement is a string and the setup is not.
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
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
1444 empty string or tuple argument.
1558 get a bytes string
1641 - Issue #21552: Fixed possible integer overflow of too long string lengths in
1761 now uses unittest test discovery to find its tests.
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
2347 - Issue #20538: UTF-7 incremental decoder produced inconsistent string when
2954 executables used to find the mac address, with /sbin and /usr/sbin as
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.
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.
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.
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*()
3572 - Issue #18958: Improve error message for json.load(s) while passing a string
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
3779 and groups() methods of match object now always return a string or a bytes
3947 - Issue #19034: repr() for tkinter.Tcl_Obj now exposes string reperesentation.
3956 returned empty string.
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
4340 - Issue #18338: `python --version` now prints version string to stdout, and
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
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.
4600 (actually, any non-string or non-bytes type).
4845 string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain()
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
5170 - Issue #17150: pprint now uses line continuations to wrap long string
5299 - Issue #13700: Fix byte/string handling in imaplib authentication when an
5303 a string argument contains non-BMP character.
5320 - Issue #16996: webbrowser module now uses shutil.which() to find a
5381 - Issue #17089: Expat parser now correctly works with string input when the
5893 - Issue #17511: Keep IDLE find dialog open after clicking "Find Next".
6666 - Issue #13579: `string.Formatter` now understands the 'a' conversion specifier.
6965 - Issue #15210: Catch KeyError when `importlib.__init__()` can't find
7011 - Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog
7244 string. Added os.support_* collections as LBYL helpers. Removed many
7285 - Issue #15054: A bug in tokenize.tokenize that caused string literals
7324 non-string argument to SystemExit.
7500 in old-style string formatting.
7569 empty string ''. Initial Patch contributed by Arve Knudsen.
7600 - Issue #14777: tkinter may return undecoded UTF-8 bytes as a string when
7676 - Issue #14958: Change IDLE systax highlighting to recognize all string and
7788 any of the dtoa.c string <-> float conversion functions, on MSVC builds of
7845 - Issue #14638: pydoc now treats non-string __name__ values as if they
7901 with "<" and ends with ">" instead of special-casing "<string>" and
7987 - Issue #14378: Fix compiling ast.ImportFrom nodes with a "__future__" string as
8395 - Issue #12170: The count(), find(), rfind(), index() and rindex() methods
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.
8708 string. Patch by Guilherme Gonçalves.
9066 string, instead of a Unicode string.
9499 - Issue #9284: Allow inspect.findsource() to find the source of doctest
9900 string available.
10008 - Issue #8513: On UNIX, subprocess supports bytes command string.
10198 - Issue #11718: IDLE's open module dialog couldn't find the __init__.py
10232 when given a Unicode string has been fixed.
10270 a string.
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
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.
10700 and string input fails early if non-ASCII characters are used, where
10895 compilation (if the input is a string).
10985 an attempt is made to use a string to specify the archive password.
11127 - Issue #10695: passing the port as a string value to telnetlib no longer
11447 which transforms non-ASCII decimal digits in a Unicode string to their ASCII
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
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
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
12300 as a unicode object, instead of a byte string. Function needed to support
12346 time.localtime. The string produced by these functions is longer
12499 formatted code information in a string rather than displaying on screen.
12546 ``encoding="unicode"`` to generate a Unicode string.
12710 formats if the string contains a null byte/character. Write unit tests for
12711 string formats.
12792 - Issue #8419: Prevent the dict constructor from accepting non-string keyword
12800 unicode string (eg. backslashreplace).
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
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.
13307 smart enough to find source files in the linecache.
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
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.
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.
14359 - Issue #6943: Use pkg-config to find the libffi headers when the
14630 expression string pattern was trying to match against a bytes returned by
14652 - Issue #3613: base64.{encode,decode}string are now called
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
15224 - Issue #5249: time.strftime returned malformed string when format string
15260 from a string.
15350 nl_langinfo is not the empty string. This was causing silent build
15549 - Issue #5193: Guarantee that tkinter.Text.search returns a string.
15611 - Issue #5203: Fixed ctypes segfaults when passing a unicode string to a
15747 - Issue #4867: Fixed a crash in ctypes when passing a string to a
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
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
16642 code now allows any unicode string and returns a utf-8 encoded
17089 value. The struct module returns str8 for all string-related
17091 apparent thanks to string comparisons always being False.
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.
17447 - Bug #1333982: string/number constants were inappropriately stored
17463 to be maintained manually as static string literal.
17483 - Patch #1536071: trace.py should now find the full module name of a
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
18118 - Bug #1117556: SimpleHTTPServer now tries to find and use the system's
18254 to unicode when it didn't make sense. 'u#' now requires a unicode string.
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.
18757 Para, addpack, cmp, cmpcache, codehack, dircmp, dump, find, fmt, grep,
18925 create datetime object using a string and format.
19061 when it can't find out the module name it generates a warning for.
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.
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
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.
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.
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).
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
20323 -- you'll find them in the Optik source distribution from
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
20727 - Fixed #853061: allow BZ2Compressor.compress() to receive an empty string
20796 for a string or unicode object in sre.compile() when a different
20839 - Bug #848614: distutils' msvccompiler fails to find the MSVC6
20844 - Patch #841977: modulefinder didn't find extension modules in packages
20857 a string).
20872 using "a long string".encode('bz2')
20952 - In order to find libraries, setup.py now also looks in /lib64, for use
21329 string value in Python, and cause the interpreter to enter the
21681 - "%c" % u"a" now returns a unicode string instead of raising a
21689 for converting between string and packed representation of IP
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).
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
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,
23022 gettext.find an optional all argument. Translations will now fallback
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
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;
23856 require an 8-bit string or character buffer argument.
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).
24408 These can be used safely to construct string objects from a
24409 sprintf-style format string (similar to the format string supported
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|
24655 string objects pre-encoded using the default file system encoding for
24680 machine precision (assuming the platform C float<->string I/O conversion
24754 were added to the string module. These a locale-independent
24776 that are still imported into string.py).
25316 - repr(string) is easier to read, now using hex escapes instead of octal,
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()],"")
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
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
26525 stdwin, soundex, cml, cmpcache, dircache, dump, find, grep, packmail,
26572 the buffer needed to hold the formatted result string. This change
26609 to ensure that Tcl/Tk can find all its files.
26627 strings: the string.encode() (which is also present on 8-bit strings
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
26840 Tcl/Tk can find all its files. Note: the alpha installers don't
26872 find. (Easily coded using os.walk().)
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
27088 On Windows, we suddenly find, strftime() may return "" for an
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.
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
27354 (It's hard to find DST that's currently being used in the southern
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
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
28050 - On Windows 95/98, the Tkinter module now is smart enough to find
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
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
28867 - Better checks for invalid input to int(), long(), string.atoi(),
28868 string.atol(). (Formerly, a sign without digits would be accepted as
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
29056 string from environ['QUERY_STRING'] or sys.argv[1] -- ignore an
29114 - Allow binding of Tcl commands (given as a string).
29423 - Changed find() and rfind() in the strop module so that
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
29626 binary; it suppresses warnings about not being able to find the
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.
29809 - Lots of improvements to emacs-mode.el again. See Barry's web page:
29810 http://www.python.org/ftp/emacs/pmdetails.html.
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.
29955 See http://www.python.org/ftp/emacs/pmdetails.html for more info.
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(),
30098 matching find() etc.
30181 new string exception.
30358 error code to a string.
30360 - The emacs.py module (which was long obsolete) has been removed.
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!
30488 - The % operator on string objects now allows arbitrary nested parens
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
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).
30960 exception is raises) is renamed -- its string value is now "os.error",
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
31213 version string (sys.version).
31428 - A bug in _tkinter.c has been fixed, where Split() with a string
31611 instead of a code string.
31743 strop.split, strop.find and strop.rfind. Also added more detail to
31856 http://www.python.org/ftp/emacs/pmdetails.html for details. The
31860 - The configure script can finally correctly find the readline library in a
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
32239 - Added string.capwords(), string.capitalize() and string.translate().
32253 - The tempfile module actually tries a number of different places to find a
32275 specifying 'f' as the second character or the mode string.
32284 arbitrary string (formerly it would only do soundex-based string
32372 string rather than reading an unlimited number of bytes. For the
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()".
32530 consists of just a string literal, that string literal becomes the
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
32580 string objects, but this will change in the future.
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
32856 convert it to a string using str().
32891 find optional packages (groups of related modules).
32918 * The string module's expandvars() function is now documented and is
33001 functions of the standard string module: atoi(), atol() and atof().
33004 explicitly import strop to use the faster versions -- the string
33135 string objects will use double quotes if the string contains a single
33215 will find the first .pyc file and complain about it, while the old
33222 * A module can now find its own name by accessing the global variable
33232 __repr__(self), which should define an unambigous string
33283 * Module strop (and hence standard library module string) has acquired
33319 * Module string now defines rindex() and rfind() in analogy of index()
33320 and find(). It also defines atof() and atol() (and corresponding
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
33625 * The % operator with a string left argument implements formatting
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.
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
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
33955 The string representation of a file object now includes an address:
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
33998 where to start searching in the first argument, so you can find second
34002 The definition of what string.splitfields(anything, '') should return
34020 Module strop implements C versions of many functions from string (see
34042 sources to find out more about them!)
34047 bisect: use bisection to insert or find an item in a sorted list
34058 awk functions of the same name: sub() and gsub() do string
34059 substitution, split() splits a string using a regular expression to
34242 string: atoi() no longer mistakes leading zero for octal number
34297 emacs: interface to Emacs using py-connect.el (see below).
34350 program running in an Emacs buffer execute Emacs lisp code. The
34351 necessary Python code is in lib/emacs.py. The Emacs code is
34352 misc/py-connect.el (it needs some external Emacs lisp code)
34359 values according to a "format" string a la getargs()
34403 - New function string.expandtabs() expands tabs in a string
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
34542 easier to experimentally find out which operations raise which
34609 second argument it may find it is a tuple instead of what was expected.
34646 - string sys.version shows current version (also printed on interactive entry)
34655 - new builtins hex(x), oct(x) return hex/octal string from (long) integer.
34779 - Module string:
34804 gnu.emacs.sources)