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.
Audio/Video Instructional Materials for Python audio, video, instructional material, python, podcast, podcasts A growing body of podcasts, screencasts and video presentations for the Python community. There is a growing body of podcasts, screencasts and video presentations for the Python community. This page collects some of the best. Podcast Repositories core.py Pablo Galindo and Łukasz Langa talk about Python internals, because they work on Python internals. PyPodcats Hidden Figures of Pyt...
Python Documentation Index Python Essays In this directory I place short essays (anything from 500 to 5000 words) on various Python subjects. See also a collection of presentations I have given. See also my blog at blogspot.com and my previous blog at artima.com. --Guido van Rossum Table of contents (in mostly chronological order) Unifying types and classes in Python 2.2 (See below) Foreword for "Programming Python" (1st ed.) Written in 1996, this gives an overview of the earl...
Community Stories Packaging People who need to install Python packages get confused a lot. That's not their fault; that's because the volunteers who maintain the packaging tools don't have enough time to get everything organized so that it's clear and easy to use. In the last few years, the PSF has gotten grants and used that money to massively improve packaging. We overhauled PyPI and we're making pip more consistent, with genuine attention to user experience. With more funding, we can finall...
Version: None
Released: Dec. 7, 2020
This is the first maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.1, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. We've made 282 changes …
View Release Notes
...bits. Goal: Automatic conversions of C++ long long values to/from Python. Code Footprint Reduction Currently Boost.Python is not optimized to reduce the code size of the C++ extension modules. Goal: Reengineering of Boost.Python so that the code footprint for each extension module is as small as feasible. Data Memory Footprint Reduction Wrapped C++ classes that are not subclassed in Python use more dynamic allocation than necessary, increasing the over...
Proposed Improvements to Module Cleanup Proposed Improvements to Module Cleanup I'm experimenting with a better way of cleaning up at the end of an execution run. Without implementing true GC, I can never do it 100% right, but I can implement a predictable set of rules based on practical observation that will solve most problems that are actually observed. Here's my proposal. At the end of this message I list some potential problems with the proposal and ask for feedback. This wi...
...bits from Python's past. It all started with ABC, a wonderful teaching language that I had helped create in the early eighties. It was an incredibly elegant and powerful language, aimed at non-professional programmers. Despite all its elegance and power and the availability of a free implementation, ABC never became popular in the Unix/C world. I can only speculate about the reasons, but here's a likely one: the difficulty of adding new "primitive" operations to ABC. It was a mono...
Python 1.6.1 Python 1.6.1 Note: See the download pages for more recent releases. What's new? Python 1.6 was the last of the versions developed at CNRI and the only version issued by CNRI with an open source license. Following the release of Python 1.6, and after Guido van Rossum left CNRI to work with commercial software developers, it became clear that the ability to use Python with software available under the GNU General Public License (GPL) was very desirable. CNRI and the Free Softwa...
...bits(k), which returns an int with k random bits. This method is now an optional part of the API for user defined generators. Any generator that defines genrandbits() can now use randrange() for ranges with a length >= 2**53. Formerly, randrange would return only even numbers for ranges that large (see SF bug #812202). Generators that do not define genrandbits() now issue a warning when randrange() is called with a range that large. itertools has a new function, groupby() for aggregating ...
Python Success Stories Background MayaVi is an open source scientific data visualization tool written entirely in Python. I started work on MayaVi in 2000. At that time, a few colleagues of mine needed to visualize their computational fluid dynamics (CFD) data but the only suitable tools available were commercial, closed source programs that were prohibitively expensive. We looked at some open source tools as alternatives. OpenDX had just been released to the public and at that time was har...
...bits or change the sign, and certain conversions to hex or octal. Tim Peters rewrote his list.sort() implementation - this one is a "stable sort" (equal inputs appear in the same order in the output) and faster than before. Tim Peters also changed long int multiplication to use the Karatsuba algorithm, based on a patch by Christopher A. Craig. This speeds up multiplication of very long ints.
2011-07-18 PSF Board Meeting Minutes .. declare custom role for action items: .. role:: action .. class:: minutes-title | The Python Software Foundation | Minutes of a Regular Meeting of the Board of Directors | | July 18, 2011 A regular meeting of the Python Software Foundation ("PSF") Board of Directors was held over Internet Relay Chat beginning at 16:00 UTC, 18 July 2011. Steve Holden presided at the meeting. Pat Campbell prepared the minutes. All votes are reported in the form "*Y-N...
Released: Sept. 27, 2005
We are pleased to announce the release of Python 2.4.2 (final), a bugfix release, on September 28, 2005. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode …
...bits(N) to return a random integer N bits long. The re module was extended to allow simple conditional expressions in regular expressions. In addition, the underlying SRE engine is now non-recursive (previously, certain types of regular expression would run into troubles with recursion). The weakref module now supports a wider variety of Python objects includes Python functions, class instances, sets, frozensets, deques, arrays, files, sockets and regular expression objects. In addition, the wea...
Python 2.4.2 Release Python 2.4.2 Python 2.4.2 has been replaced by a newer bugfix release of Python. Please see the releases page to select a more recent release. We are pleased to announce the release of Python 2.4.2 (final), a bugfix release, on September 28, 2005. Important: This release is vulnerable to the problem described in security advisory PSF-2006-001 "Buffer overrun in repr() of unicode strings in wide unicode builds (UCS-4)". This fix is included in Python 2.4.4 Pyt...
Released: Feb. 21, 2008
Python 2.5.2 was released on February 21st, 2008. This is the second bugfix release of Python 2.5. Python 2.5 is now in bugfix-only mode; no new features are being added. According to the release notes, over 100 bugs and patches have been addressed since Python 2.5.1, many …
Python Distutils-SIG: Design Proposal Python Distutils-SIG (Prerequisites: please read the proposed interface before trying to plough through this design document; it is very much a sequel to the interface document.) Design Proposal The Distutils' point of view setup.py only has to import one module, distutils.core. This module is responsible for parsing all command-line arguments to setup.py (even though the interpretation of options is di...
Download Python for other platforms Python has been ported to a number of specialized and/or older platforms, listed below in alphabetical order. Note that these ports often lag well behind the latest Python release. Python for AIX AIX binary packages for Python are available from IBM AIX Toolbox in RPM format. They can be installed using dnf package manager. Visit the Get Started page for more details. Python for HP-UX You can purchase ActivePython (commercial and community versions, in...
Python 2.5.2 Release Python 2.5.2 Python 2.5.2 has been replaced by a newer bugfix release of Python. Please download Python 2.5.6 instead. Python 2.5.2 was released on February 21st, 2008. This is the second bugfix release of Python 2.5. Python 2.5 is now in bugfix-only mode; no new features are being added. According to the release notes, over 100 bugs and patches have been addressed since Python 2.5.1, many of them improving the stability of the interpreter, and improving its portability....
If you didn't find what you need, try your search in the Python language documentation.