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.
Version: None
Released: Feb. 3, 2022
This is an early developer preview of Python 3.11 Major new features of the 3.11 series, compared to 3.10 Python 3.11 is still in development. This release, 3.11.0a5 is the fifth of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of …
...generic metaclass below. Meta.py A generic metaclass. This is an attempt at finding out how much standard class behavior can be mimicked by a metaclass. The preliminary answer appears to be that everything's fine as long as the class (or its clients) don't look at the instance's __class__ attribute, nor at the class's __dict__ attribute. The use of __getattr__ internally makes the classic implementation of __getattr__ hooks tough; we provide a similar hook _getattr_ instead. ...
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
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 …
...definition file. Like YACC, YAPPS supports custom code before and after the grammar definition. YAPPS parsers integrate with the scanner through a Scanner object, which is passed to the parser as a constructor argument. Even though YAPPS supports definition of tokens in the grammar, we have not used this capability in XPath, since we have provided my own scanner class. The YAPPS parser will only require a token() method from the scanner object, which must return a four-tuple (start, e...
WARNING: this release has a known regression See BPO-40924 for details. Use Python 3.9.0b3 or newer instead, please. This is a beta preview of Python 3.9 Python 3.9 is still in development. This release, 3.9.0b2, is the second of four planned beta release previews. Beta release previews are intended to …
...Generic Implementation Details - Goodger I'll discuss these together. I believe David Goodger is doing good work, and I still see frequent posts by him in the doc-sig. But I haven't been following this work at all. Since this doesn't affect the language, just a convention, I'm not particularly concerned about this. PEP 262 - Database of Installed Python Packages - Kuchling I think this was a distutils Py-in-the-sky project? Maybe someone should just implement this; I have no ...
...definition with a platform- specific spelling in that platform's pyconfig.h. You can also override pyport.h's default Py_IS_INFINITY definition now. C API SF patch 1044089: New function PyEval_ThreadsInitialized() returns non-zero if PyEval_InitThreads() has been called. The undocumented and unused extern int _PyThread_Started was removed. The C API calls PyInterpreterState_New() and PyThreadState_New() are two of the very few advertised as being safe to call without holding the GIL. Howe...
If you didn't find what you need, try your search in the Python language documentation.