Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...repr() now returns printable Unicode characters unescaped, to get an ASCII-only representation of an object use ascii(). Issue #1342: On windows, Python could not start when installed in a directory with non-ascii characters. Implement PEP 3121: new module initialization and finalization API. Removed the already-defunct -t option. Issue #2957: Corrected a ValueError "recursion limit exceeded", when unmarshalling many code objects, which happens when importing a large .pyc file (~1000 f...
...repr where a string repr was expected. This behavior matches cPickle. posixfile: Remove broken __del__() method. py_compile: support CR+LF line terminators in source file. readline: Does not immediately exit when ^C is hit when readline and threads are configured. Adds definition of rl_library_version. (The latter addition requires GNU readline 2.2 or later.) rfc822: Domain literals returned by AddrlistClass method getdomainliteral() are now properly wrapped in bracket...
...repr() of new-style classes has changed; instead of <type 'M.Foo'> a new-style class is now rendered as <class 'M.Foo'>, except for built-in types, which are still rendered as <type 'Foo'> (to avoid upsetting existing code that might parse or otherwise rely on repr() of certain type objects). The repr() of new-style objects is now always <Foo object at XXX>; previously, it was sometimes <Foo instance at XXX>. For new-style classes, what was previously called __getat...
...repr slot. The mmap module only checks file size for regular files, not character or block devices. SF patch 708374. The cPickle Pickler garbage collection support was fixed to traverse the find_class attribute, if present. There are several fixes for the bsddb3 wrapper module. bsddb3 no longer crashes if an environment is closed before a cursor (SF bug 763298). The DB and DBEnv set_get_returns_none function was extended to take a level instead of a boolean flag. The new level 2 means that ...
...repr.h now triggers a compile-time error if SHIFT (the number of bits in a Python long "digit") isn't divisible by 5. This new requirement allows simple code for the new 5-bits-at-a-time long_pow() implementation. If necessary, the restriction could be removed (by complicating long_pow(), or by falling back to the 1-bit-at-a-time algorithm), but there are no plans to do so. bug #991962: When building with --disable-toolbox-glue on Darwin no attempt to build Mac-specific modules occur...
If you didn't find what you need, try your search in the Python language documentation.