Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
Python Patterns - An Optimization Anecdote Warning This page stays here for historical reasons and it may contain outdated or incorrect information. The other day, a friend asked me a seemingly simple question: what's the best way to convert a list of integers into a string, presuming that the integers are ASCII values. For instance, the list [97, 98, 99] should be converted to the string 'abc'. Let's assume we want to write a function to do this. The first version I came ...
Notes (editors: check NEWS.help for information about editing NEWS using ReST.) What's New in Python 2.3.5? Release date: 08-FEB-2005 Core and builtins Partially revert the fix for #1074011; don't try to fflush stdin anymore. Library Applied a security fix to SimpleXMLRPCserver (PSF-2005-001). This disables recursive traversal through instance attributes, which can be exploited in various ways. Bug #1114776. Applied a fix to the copy.py fix in 2.3.5rc1 to deal with types that don't hav...
Python 2.4.1 - Release Notes (editors: check NEWS.help for information about editing NEWS using ReST.) What's New in Python 2.4.1 final? Release date: 30-MAR-2005 Core and builtins Move exception finalisation later in the shutdown process - this fixes the crash seen in bug #1165761 Tests SF patch 1167316: doctest.py fails self-test if run directly. Build SF patch 1171767: Darwin 8's headers are anal about POSIX compliance, and linking has changed (prebinding is now deprecated, and l...
What's New In Python 3.0 (editors: check NEWS.help for information about editing NEWS using ReST.) What's New in Python 3.0 final Release date: 03-Dec-2008 Core and Builtins Issue #3996: On Windows, the PyOS_CheckStack function would cause the interpreter to abort ("Fatal Python error: Could not reset the stack!") instead of throwing a MemoryError. Issue #3689: The list reversed iterator now supports __length_hint__ instead of __len__. Behavior now matches other reversed ite...
If you didn't find what you need, try your search in the Python language documentation.