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.
...modules. New module 'fileinput' to iterate over the lines of a list of files. New module 'locale' for localized number formatting and string case sensitivity. New module 'xmllib' to parse XML files. Some more support for Tk extensions (PIL, TIX, BLT, TOGL). Fixed address list parsing in module 'rfc822'. More deployment (and only one fix) for the 're' module. New Python mode for Emacs. OS/2 support. From 1.5b1 to 1.5b2 Thanks to all who contributed doc strings for library modules! The portabi...
Version: None
Released: Feb. 23, 2014
Python 3.3.5 includes fixes for these important issues: a 3.3.4 regression in zipimport (see http://bugs.python.org/issue20621) a 3.3.4 regression executing scripts with a coding declared and Windows newlines (see http://bugs.python.org/issue20731) potential DOS using compression codecs in bytes.decode() (see http://bugs.python.org/issue19619 and http://bugs.python.org/issue20404) and also fixes quite a few other …
View Release Notes
Released: March 2, 2014
Released: March 9, 2014
...module PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code PEP 362, the function-signature object The new "faulthandler" module that helps diagnosing crashes The new "unittest.mock" module The new "ipaddress" module The "sys.implementation" attribute A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing A &q...
...modules and user modules in individual files which can easily be rearranged or distributed outside the system. One consequence is that there is more than one option for attaching a Graphical User Interface (GUI) to a Python program, since the GUI is not built into the system. C++ Almost everything said for Java also applies for C++, just more so: where Python code is typically 3-5 times shorter than equivalent Java code, it is often 5-10 times shorter than equivalent C++ code! Anecd...
...module. Now that string objects have methods, the string module is mostly redundant. I wish I could to declare it obsolete (or deprecated) to encourage Python programmers to start using string methods instead. But given that a large majority of existing Python code -- even many standard library modules -- imports the string module, this change is obviously not going to happen overnight. The first likely opportunity to remove the string module will be at the introduction of Python 3000...
...modules: The end-user's Web application, the administrative interface, the anonymous email daemon, and a cross-platform GUI component for editing some of the site's content. Together, these modules provide all of the functionality needed by users and administrators. The system is deployed on FreeBSD, but is portable to other operating systems. In fact, most of the project's initial development was done using Windows 2000. The LoveIntros Web application allows users to create profiles, search for...
...module. "Package import" is a method to structure Python's module namespace by using "dotted module names". For example, the module name A.B designates a submodule named B in a package named A. Just like the use of modules saves the authors of different modules from having to worry about each other's global variable names, the use of dotted module names saves the authors of multi-module packages like NumPy or PIL from having to worry about each other's module names. Starting with P...
...module__ attribute that is bound to the name of the module in which the function was defined. This applies for C functions and methods as well as functions and methods defined in Python. This attribute is used by pickle.whichmodule(), which changes the behavior of whichmodule slightly. In Python 2.2 whichmodule() returns "__main__" for functions that are not defined at the top-level of a module (examples: methods, nested functions). Now whichmodule() will return the proper module na...
...module code is still available as the bsddb185 module, but this is not built by default. Should you still be using a system which only has Berkeley DB 1.85 installed (often indicated by the presence of /usr/include/db.h but not /usr/lib/libdb.a file), the following changes should keep you running. Add this line: bsddb185 bsddbmodule.c to Modules/Setup. In most cases you should not require any -I, -L or -l flags. It seems on those systems which still ship 1.85, /usr/include/db.h is the inclu...
...modules written in other languages, e.g. C, C++, or Java, to mediate access to advanced functionality that is not easily accessible from Python directly (for example, high-speed 3D computer graphics packages). While we don't expect our students to write extension modules, the use of such modules makes it possible to spruce up their learning experience, and gives teachers an opportunity to tailor lessons to the interests of their students by providing them with guarded access to other sof...
...modules are required for the parser, to simplify installation of a generated parser. If C modules are required, then parsers whose C modules are independent from the input language rank better than parsers which generate C code dependent on the input language. If a parser generator uses a generic C module, than this module might get included in the Python core one day, and thus be available for all generated parsers. A parser generator for Python should be easy to use...
Released: Nov. 15, 2022
This is an early developer preview of Python 3.12. Major new features of the 3.12 series, compared to 3.11 Python 3.12 is still in development. This release, 3.12.0a2 is the second of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state …
...ModuleEx(): if an error occurs while loading the module, these now delete the module's entry from sys.modules. All ways of loading modules eventually call one of these, so this is an error-case change in semantics for all ways of loading modules. In rare cases, a module loader may wish to keep a module object in sys.modules despite that the module's code cannot be executed. In such cases, the module loader must arrange to reinsert the name and module object in sys.modules. PyImport_ReloadMod...
Released: July 8, 2025
It's the final 3.14 beta! https://www.python.org/downloads/release/python-3140b4/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b4, is the last of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes …
...module had tables describing the serialization and deserialization of XML streams. The storage modules had other tables describing the mapping from disk to memory structures. The validation module had its own tables containing rules about which properties had to be present on which items. The in-memory objects had getters and setters for each property. It worked, after a fashion, but was becoming unmanageable. Adding a new property to the schema required editing ten tables in different format...
...modules is now greatly automated. Rather than having to edit the Modules/Setup file to indicate which modules should be built and where their include files and libraries are, a distutils-based setup.py script now takes care of building most extension modules. All extension modules built this way are built as shared libraries. Only a few modules that must be linked statically are still listed in the Setup file; you won't need to edit their configuration. Python should now build out of the box ...
...module has been removed. The SocketServer module has been renamed to socketserver. Fixed the __all__ setting on collections to include UserList and UserString. The sre module has been removed. The Queue module has been renamed to queue. The copy_reg module has been renamed to copyreg. The mhlib module has been removed. The ihooks module has been removed. The fpformat module has been removed. The dircache module has been removed. The Canvas module has been removed. The Decimal module gained the m...
If you didn't find what you need, try your search in the Python language documentation.