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. 19, 2021
This is the eight maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.8, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. 3.8.8 introduces two security …
View Release Notes
Released: Feb. 17, 2020
This is the second release candidate of Python 3.8.2, the second maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.2rc2, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of …
...ffffffff is -1, and -(0xffffffff) is 1, but -0xffffffff would come out as -4294967295. This was the case in Python 2.2 through 2.2.2 and 2.3a1, and in Python 2.4 it will once again have that value, but according to PEP 237 it really needs to be 1 now. This will be backported to Python 2.2.3 a well. (SF #660455) int(s, base) sometimes sign-folds hex and oct constants; it only does this when base is 0 and s.strip() starts with a '0'. When the sign is actually folded, as in int("0xffffffff...
...Incompatible Semantics For __init__ Using ni, the __init__.py file inside a package (if present) would be imported as a standard submodule of the package. The built-in package support instead loads the __init__.py file in the package's namespace. This means that if __init__.py in package A defines a name x, if can be referred to as A.x without further effort. Using ni, the __init__.py would have to contain an assignment of the form __.x = x to get the same effect. Also, the new pa...
...from it's __conform__ value. The struct module returns str8 for all string-related formats. This was true before this change, but becomes more apparent thanks to string comparisons always being False. Replaced PyFile_FromFile() with PyFile_FromFd(fd, name. mode, buffer, encoding, newline). Fixed imp.find_module() to obey the -- coding: -- header. Changed __file__ and co_filename to unicode. The path names are decoded with Py_FileSystemDefaultEncoding and a new API method PyUnicode_DecodeFSDefa...
...Fou01]. The parser is defined using an XML syntax. Until recently, the build process of a BisonGen parser was as follows: BisonGen parses the XML file using PyXML. It generates a number of files, including a flex input file for lexical analysis, a bison input file, containing the LALR(1) grammar, a SWIG input file, containing a Python extension module, a Makefile, controlling the build process of all compiled files, and a number of Python wrapper files to ...
...includes /opt/local/include and /opt/local/lib for building extension modules. This is so as to include software installed as a DarwinPorts port <http://darwinports.opendarwin.org/> pyport.h now defines a Py_IS_NAN macro. It works as-is when the platform C computes true for x != x if and only if X is a NaN. Other platforms can override the default definition with a platform- specific spelling in that platform's pyconfig.h. You can also override pyport.h's default Py_IS_INFINITY definiti...
...F funds an annual gathering of Python core developers to target improvements to CPython. In 2019, the CPython sprint received $25,000 in support from the PSF and in 2020, $6,000 USD for an online sprint. The PSF is also financially supporting CPython through a complete migration to GitHub and, in 2019, allocated $19,000 USD to assist CPython with Python 2 sunset communications. The PSF hosts the annual Python Language Summit at PyCon US. The Summit is a small gathering of Python language...
...ficantly faster, significantly smaller, or both. This project would probably a lot easier after the compiler refactoring proposed above in the comments for PEPs 266, 267, 280. PEP 276 - Simple Iterator for ints - Althoff I made the mistake of telling the author that I found this butt-ugly. Whatever the words, I do think it flies in the face of being Pythonic. To me: for i in 12: print i just doesn't look right. Maybe for i in len(L): print i...
Released: May 22, 2023
This is a beta preview of Python 3.12 Python 3.12 is still in development. This release, 3.12.0b1 is the first of four beta release previews of 3.12. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their …
...f semi to totally unserious stuff, mostly postings found wafting gently in the comp.lang.python newsgroup (a.k.a. the python-list mailing list). See also Andrew Kuchling's collection of Python quotations, containing in a condensed form some sterling examples of the wit and wisdom encountered in the Python world. Contents The Zen of Python Fundamental... Cute Wabbit Shooting Yourself in the Foot Legal Issues Python vs Tcl vs Perl5 Python Object Oriented Programming Seminar PSA Budget The Origin...
If you didn't find what you need, try your search in the Python language documentation.