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 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...
Version: None
Released: May 17, 2022
This is the thirteenth and final regular maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.13, 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. According …
View Release Notes
...definition of meth(). Also, previously, B().meth.im_class would return A; now it returns B (because it's a method bound to an instance of B). <p><li>The C API to the GC module has changed incompatibly. Extensions written to support the 2.1 version of the GC module will still compile, but the GC feature will be disabled. <p><li>The contents of gc.garbage is different; it used to contain all uncollectible cycles; now it contains only objects in uncollectible cycles with a ...
...module initialization -- PyModule_AddObject(), PyModule_AddIntConstant(), and PyModule_AddStringConstant(). Cleaned up definition of NULL in C source code; all definitions were removed and add #error to Python.h if NULL isn't defined after #include of stdio.h. Py_PROTO() macros that were removed in 2.0b1 have been restored for backwards compatibility (at the source level) with old extensions. A wrapper API was added for signal() and sigaction(). Instead of either func...
...Definition list ends without a blank line; unexpected unindent. </form> <H3>Other Python search engines</H3> <UL> <p><li>The <a href="http://bugs.python.org/issue?@template=search&status=1">Python Bug Tracker</a> has a search form. </UL> <a name="hints"><H3>Where to search?</H3></a> <UL> <LI>If you're looking for a particular module or a module to do a particular thing, use the &...
...module, extension module (extension for short), and package will keep their conventional Pythonic meanings: a single .py file meant to be imported by other modules or scripts, a module written in C, and a collection of modules grouped under a directory containing an __init__.py file. I proposed distribution (or module distribution when absolute clarity is needed) as a stand-in for package, which is already taken. A module distribution contains one or more mo...
...Definitions The Python class definitions for the standard exceptions are imported from the standard module "exceptions". You can't change this file thinking that the changes will automatically show up in the standard exceptions; the builtin module expects the current hierarchy as defined in exceptions.py. Details on the standard exception classes are available in the Python library reference manual's entry for the exceptions module. Changes to raise The raise statement has b...
...definition, and try to fathom ``the type of the base class is callable.'' (Types are not classes, by the way. See questions 4.2, 4.19 and in particular 6.22 in the Python FAQ for more on this topic.) The base class is B; this one's easy. Since B is a class, its type is ``class''; so the type of the base class is the type ``class''. This is also known as types.ClassType, assuming the standard module types has been imported. Now is the type ``class'' callable? No, beca...
Released: March 13, 2018
Python 3.6.5rc1 is a release candidate preview of the fifth maintenance release of Python 3.6. The Python 3.6 series contains many new features and optimizations. Among the new major new features in Python 3.6 are: PEP 468, Preserving Keyword Argument Order PEP 487, Simpler customization of class creation …
Released: June 12, 2018
Python 3.6.6rc1 is a release candidate preview of the sixth maintenance release of Python 3.6. The Python 3.6 series contains many new features and optimizations. Among the new major new features in Python 3.6 are: PEP 468, Preserving Keyword Argument Order PEP 487, Simpler customization of class creation …
Released: Sept. 26, 2018
Python 3.6.7rc1 is a release candidate preview of the seventh maintenance release of Python 3.6. The Python 3.6 series contains many new features and optimizations. Among the new major new features in Python 3.6 are: PEP 468, Preserving Keyword Argument Order PEP 487, Simpler customization of class creation …
Released: Oct. 13, 2018
Python 3.6.7rc2 is the second release candidate preview of the seventh maintenance release of Python 3.6. The Python 3.6 series contains many new features and optimizations. Among the new major new features in Python 3.6 are: PEP 468, Preserving Keyword Argument Order PEP 487, Simpler customization of class …
Released: June 9, 2020
This is a beta preview of Python 3.9 Python 3.9 is still in development. This release, 3.9.0b3, is the third of five planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects …
Released: July 2, 2019
Note: The release you are looking at is Python 3.6.9, a security bugfix release for the legacy 3.6 series which has now reached end-of-life and is no longer supported. See the downloads page for currently supported versions of Python. The final source-only security fix release for 3.6 was 3.6.15 …
...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 ...
Released: Dec. 11, 2019
Note Python 3.8 is now released and is the latest feature release of Python 3. Get the latest release of 3.8.x here. Python 3.6.10rc1 is the release candidate preview of the next security fix release of Python 3.6. Python 3.6.8 was the final bugfix release for 3.6. Python 3.6 …
Released: March 28, 2018
Note: The release you are looking at is Python 3.6.5, a bugfix release for the legacy 3.6 series which has now reached end-of-life and is no longer supported. See the downloads page for currently supported versions of Python. The final source-only security fix release for 3.6 was 3.6.15 and …
If you didn't find what you need, try your search in the Python language documentation.