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.
Highlights: Python 2.4 Highlights: Python 2.4 Here are the (subjective) highlights of what's new in Python 2.4. Faster A number of modules that were added in Python 2.3 (such as sets and heapq) have been recoded in C. In addition, there's been a number of other speedups to the interpreter. (See section 8.1, Optimizations, of the "What's New" document for more). New language features multi-line imports - when using imports in the form from foo import bar, baz, bing, bang, you c...
Version: None
Released: Dec. 11, 2019
Note Python 3.8 is now the latest feature release series of Python 3. Get the latest release of 3.8.x here. We plan to continue to provide bugfix releases for 3.7.x until mid 2020 and security fixes until mid 2023. Python 3.7.6rc1 is the release candidate preview of the sixth …
View Release Notes
Released: June 11, 2025
This is the fifth maintenance release of Python 3.13 Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.5 is the fifth maintenance release of 3.13. 3.13.5 is an expedited release to fix a couple …
Released: Aug. 14, 2025
This is the seventh maintenance release of Python 3.13 Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.7 is the seventh maintenance release of 3.13. 3.13.7 is an expedited release to fix a significant …
...performance advantage of low-level code, you can write extension modules in C or C++, or wrap existing code with SWIG or Boost.Python. Wrapped modules appear to your program exactly like native Python code. That's language integration made easy. You can also go the opposite route and embed Python in your own application, providing your users with a language they'll enjoy using. Python runs everywhere Python is available for all major operating systems: Windows, Linux/Unix, OS/2, Mac, Amiga, am...
...performance for small arrays. Since more of it is written in Python, it is an order of magnitude slower for smaller arrays (but just as fast or faster for large arrays (> 1MB)). Optimization is in our plans, but won't be done until we fill out the libraries and finish the safety issue (which is near completion). Because of 1) and 2), not many people are using it yet (some are busy and find Numeric suitable for their purpose; it takes more than just its availabl...
Released: June 3, 2025
This is the fourth maintenance release of Python 3.13 Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.4 is the latest maintenance release, containing a few important security fixes as well as around 300 …
...optimization is in order. The dummy entry avoids searching the package's path when the same global module is imported from the second time by a submodule of the same package. Dummy entries are only created for modules that are found at the top level; if the module is not found at all, the import fails and the optimization is generally not needed. Moreover, in interactive use, the user could create the module as a package-local submodule and retry the import; if a dummy entry had been ...
Released: Dec. 3, 2024
This is the first maintenance release of Python 3.13 Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.1 is the latest maintenance release, containing almost 400 bugfixes, build improvements and documentation changes since 3.13.0. …
...Optimization: We knew there was a chance that profiling would later reveal that small portions of our application were time-critical, and therefore might need to be re-coded in C or C++. Python integrates seamlessly with these languages, so you truly can "have your cake and eat it too" by coding only small profiler-identified portions of your code in C or C++, and using the built-in higher-level abstractions of Python for rapid development of the rest of your application. Scriptability...
...performance, thread-safe, memory friendly appends and pops on either side of the deque. Several modules now take advantage of collections.deque() for improved performance: Queue, mutex, shlex, threading, and pydoc. The operator module has two new functions, attrgetter() and itemgetter() which are useful for creating fast data extractor functions for map(), list.sort(), itertools.groupby(), and other functions that expect a function argument. socket.SHUT_{RD,WR,RDWR} was added. os.getsid was add...
...performance-critical code to equate one line of Python with ten lines of C or C++ code. This means that about 5-10% of our application functionality is in C or C++ and the rest is in Python. Even considering that the C/C++ code is somewhat more complex than most of the Python code, these results confirm without any doubt that working in Python is far more productive than working in C or C++. In hindsight, we believe that we could have converted smaller units of code into C, by writing more gener...
...optimization framework which builds upon Numpy. In addition to various numerical optimization packages, it includes: FuncDesigner - a tool to rapidly build functions over variables/arrays and get their derivatives via automatic differentiation. Also, one can perform integration, interpolation, solve systems of linear/nonlinear/ODE equations and numerical optimization problems coded in FuncDesigner by OpenOpt. DerApproximator - a tool to get (or check user-supplied) derivatives via finite-differe...
...performance reasons, the eval() implementation in Python accepts only built-in dictionary types and not an emulated mapping type, so we had to engage in some extra trickery to make our on-demand dependency system work with equations. Nevertheless, the entire implementation was quite easy. Results PyDrone took about 3 months of development time, another 3 months of QA, and 3 weeks of documentation time to produce about 5,600 lines of finished Python code. Overall PyDrone has been a wonderful su...
...performance. If it proves to be too much of a problem, we'll turn it off by default in the final 2.0 release. Smaller Changes A new function zip() was added. zip(seq1, seq2, ...) is equivalent to map(None, seq1, seq2, ...) when the sequences have the same length; i.e. zip([1,2,3], [10,20,30]) returns [(1,10), (2,20), (3,30)]. When the lists are not all the same length, the shortest list wins: zip([1,2,3], [10,20]) returns [(1,10), (2,20)]. See PEP 201. sys.version_info is a t...
...Performance may be sub-optimal (haven't really benchmarked). 'except E, V' must now be spelled as 'except E as V' and deletes V at the end of the except clause; V must be a simple name. Added function annotations per PEP 3107. Added nonlocal declaration from PEP 3104: >>> def f(x): ... def inc(): ... nonlocal x ... x += 1 ... return x ... return inc ... >>> inc = f(0) >>> inc() 1 >>> inc() 2 Moved intern() to sys.intern()....
...performance issues when an instance was tested for equality with None. Bug #848614: distutils' msvccompiler fails to find the MSVC6 compiler because of incomplete registry entries. Patch #841977: modulefinder didn't find extension modules in packages. Bug #792101: Add missing file operations for httplib.SSLFile. Bug #811082: test_tempfile fails if space in install directory. Bug #780461: platform.mac_ver() raised MacOSError exception under OS X. Bug #812202: random.randrange() returned only even...
...performance as Executive Director and relentless dedication to the staff and community as well as for her growth in responsibility and in the role. Moved by Christopher Neugebauer. (refer to https://www.python.org/psf/records/board/minutes/2021-07-22/#special-meetings for all relevant resolutions) Approved, 9-0-0, 2021-06-11 RESOLVED, that the Python Software Foundation Grants Work Group grant $2100 USD to the PyCon Colombia conference happening virtually June 19, 2021 Approved, 6-0-0, 2021-0...
If you didn't find what you need, try your search in the Python language documentation.