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.
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 ...
Version: None
Released: July 3, 2010
Note: A bugfix release, 2.7.13, is currently available. Its use is recommended. Python 2.7.0 was released on July 3rd, 2010. Python 2.7 is scheduled to be the last major version in the 2.x series before it moves into an extended maintenance period. This release contains many of the features …
View Release Notes
...32-bit Mac Installer disk image (2.7.0) for OS X 10.3 and later (sig). Windows help file (sig) The source tarballs are signed with Benjamin Peterson's key (fingerprint: 12EF 3DC3 8047 DA38 2D18 A5B9 99CD EA9D A413 5B38). The Windows installer was signed by Martin von Löwis' public key, which has a key id of 7D9DC8D2. The Mac installers were signed with Ronald Oussoren's key, which has a key id of E6DF025C. The public keys are located on the download page. MD5 checksums and sizes of the releas...
Released: Nov. 27, 2010
Note: It is recommended that you use the latest bug fix release of the 3.1 series, 3.1.4. Python 3.1.3 was released on November 27th, 2010. The Python 3.1 version series is a continuation of the work started by Python 3.0, the new backwards-incompatible series of Python. For ongoing …
...32-bit i386/PPC Installer (3.1.3) for Mac OS X 10.3 through 10.6 [2] (sig) The source tarballs are signed with Benjamin Peterson's key (fingerprint: 12EF 3DC3 8047 DA38 2D18 A5B9 99CD EA9D A413 5B38). The Windows installers are signed with Martin von Löwis' public key which has a key id of 7D9DC8D2. The Mac disk image was signed by Ronald Oussoren's public key which has a key id of E6DF025C. The public keys are located on the download page. MD5 checksums and sizes of the released files: d797fa...
...32-bit installer wasn't in the 2.1.2c1 release). One code change: Backported a bugfix for importdl.c, SF patch #471839: Bug when extensions import extensions. What's New in Python 2.1.2 (rc1)? The 32-bit Windows installer (new for 2.2) is now used for 2.1.2 too. This works much better on Windows 2000 and XP, especially if you don't have Administrator privileges. The socket object gained a new method, 'sendall()'. This method is guaranteed to send all data - this is not guaranteed by the '...
...32-bit machine, which returns -1, a FutureWarning is now issued; in Python 2.4, this will return 4294967295L, as do int("+0xffffffff", 0) and int("0xffffffff", 16) right now. (PEP 347) super(X, x): x may now be a proxy for an X instance, i.e. issubclass(x.__class__, X) but not issubclass(type(x), X). isinstance(x, X): if X is a new-style class, this is now equivalent to issubclass(type(x), X) or issubclass(x.__class__, X). Previously only type(x) was tested. (For classic c...
Python 2.0 Python 2.0 Note: This is no longer the most current Python release. See Python 2.0.1 for a patch release and the download page for more recent releases. The final version of Python 2.0 was released on October 16, 2000. Download What's new (overview) What's new (details) Post-release news For critical patches, a Python 2.0 specific FAQ, and other issues that have come up since the release, please go to the new Python 2.0 info area, a set of user-editabl...
Frank Willison Memorial Award Contributions can encompass so much more than code. A successful software community requires time, dedication, communication, and education as well as elegant code. With the Frank Willison Memorial Award, we hoped to acknowledge all of those things. —Tim O'Reilly The Frank Willison Memorial Award for Contributions to the Python Community is given annually to a person judged to have made an outstanding contribution to the Python community. The award was ...
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...
PSF Community Service Awards Contents Introduction Expiration August 2025 April 2025 November 2024 October 2024 June 2024 March 2024 December 2022 June 2022 March 2022 December 2021 June 2021 March 2021 January 2021 December 2020 October 2020 June 2020 March 2020 December 2019 August 2019 June 2019 March 2019 December 2018 September 2018 June 2018 March 2018 December 2017 September 2017 June 2017 March 2017 December 2016 October 2016 June 2016 March 2016 December 2015 August 2015 July 2015 M...
If you didn't find what you need, try your search in the Python language documentation.