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.
...string string UU codec (e.g. for email) base64 string string base64 codec quopri string string quoted-printable codec zlib string string zlib compression hex string string 2-byte hex codec rot-13 string Unicode ROT-13 Unicode charmap codec Some operating systems now support the concept of a default Unicode encoding for file system operations. Notably, Windows supports 'mbcs' as the default. The Macintosh will also adopt this concept in the medium term, although the default encoding fo...
...string>, line 37) Unexpected indentation. <li> Added entry to disable building tkinter. (Mentioned by Msquared) <li> Added gdbm-devel build pre-req. (Thanks to Pat Callahan) <li> Added db1-devel build pre-req. (Thanks to Pat Callahan) <li> Changed expat build pre-req to expat-devel. (Thanks to Pat Callahan) <li> Ugh, can't have spaces in defattr. (Thanks to Pat Callahan) System Message: WARNING/2 (<string>, line 42) Block quote ends without a blank l...
...string>, line 38) Unexpected indentation. <li> Added entry to disable building tkinter. (Mentioned by Msquared) <li> Added gdbm-devel build pre-req. (Thanks to Pat Callahan) <li> Added db1-devel build pre-req. (Thanks to Pat Callahan) <li> Changed expat build pre-req to expat-devel. (Thanks to Pat Callahan) <li> Ugh, can't have spaces in defattr. (Thanks to Pat Callahan) System Message: WARNING/2 (<string>, line 43) Block quote ends without a blank l...
Version: None
Released: June 17, 2025
It's 3.14 beta 3! https://www.python.org/downloads/release/python-3140b3/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b3, is the third of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and …
View Release Notes
...strings encoded in the preferred encoding, as informed by locale module's getpreferredencoding(). optparse module (and tests) upgraded to Optik 1.5a1. Changes: Add expansion of default values in help text: the string "%default" in an option's help string is expanded to str() of that option's default value, or "none" if no default value. Bug #955889: option default values that happen to be strings are now processed in the same way as values from the command line; this allow...
...string>, line 15) Definition list ends without a blank line; unexpected unindent. </blockquote>
...string>, line 99) Unexpected indentation. using distutils "python setup.py bdist_rpm". System Message: WARNING/2 (<string>, line 100) Block quote ends without a blank line; unexpected unindent. <li />A) As noted above, Red Hat broke the "build" functionality out of the base "rpm" command with the 8.0 release. Unfortunately, they didn't patch their python RPM to account for this, and they don't appear to be planning to release any errata to fix thi...
...strings and the associated changes to the Python core (based on a running Unicode string implementation from Fredrik Lundh), and Fredrik Lundh to develop a Unicode- based regex engine. These tasks are nearing completion and will shortly be released into public CVS. The specification on which these are based can be found at http://starship.python.net/crew/lemburg/unicode-proposal.txt. (Now also in the Python 2.0 distribution as Misc/unicode.txt.) The proposal defines a 'codec' interf...
...string>, line 46); backlink Inline emphasis start-string without end-string. <li>There have been some reports on Debian systems about test_ioctl failures. We haven't be able to more widely reproduce this. See SourceForge bug report number <a href="http://python.org/sf/777867">777867</a></li> <li>There have been reports that test_bsddb may fail on some systems. This appears to be a fault in the test suite - code using bsddb seems to be fine. <li>...
...string operations, as well as a number of other changes to improve performance. New language features Internally, the Python compiler now converts the source code to an abstract syntax tree (AST) before producing the bytecode. The 'with' operator replaces a common try/finally idiom that results in much cleaner and safer code. Generators gained send, throw and close methods. Values passed to send will be returned by the yield statement when the generator is resumed. throw takes an exception and...
Released: July 22, 2025
It's the first 3.14 release candidate! https://www.python.org/downloads/release/python-3140rc1/ This is the first release candidate of Python 3.14 This release, 3.14.0rc1, is the penultimate release preview. Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release. The …
...String_AsString(PyObject_Repr(env))); This creates a new string object that is never collected: the new string object returned by PyObject_Repr(). Since this is presumably a big string and you are allocating a lot of them (one each time you get to this print statement) the malloc pattern of your application becomes very different and this means that you may see very different behavior. So, (maybe from shock), I eliminate the Py_INCREFs and try with just the printing... still...
Released: June 19, 2023
This is a beta preview of Python 3.12 Python 3.12 is still in development. This release, 3.12.0b3, is the third 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 …
...string>, line 62); backlink Inline emphasis start-string without end-string. <li>There have been some reports on Debian systems about test_ioctl failures. We haven't be able to more widely reproduce this. See SourceForge bug report number <a href="http://python.org/sf/777867">777867</a></li> <li>There have been reports that test_bsddb may fail on some systems. This appears to be a fault in the test suite - code using bsddb seems to be fine. <li>...
...string argument. Previously, this constructor ignored its arguments. As a consequence, deriving a class from a module (not from the module type) is now illegal; previously this created an unnamed module, just like invoking the module type did. [SF bug 563060] A new type object, 'basestring', is added. This is a common base type for 'str' and 'unicode', and can be used instead of types.StringTypes, e.g. to test whether something is "a string": isinstance(x, basestring) is True for Un...
Released: July 11, 2023
This is a beta preview of Python 3.12 Python 3.12 is still in development. This release, 3.12.0b4, is the final 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 …
Released: May 7, 2025
Only one day late, welcome to the first beta! This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b1, is the first of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features …
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 …
Released: Aug. 14, 2025
It's the final 🪄 penultimate 🪄 3.14 release candidate! Note: rc2 was originally planned for 2025-08-26, but we fixed a bug that required bumping the magic number stored in Python bytecode (.pyc) files. This means .pyc files created for rc1 cannot be used for rc2, and they'll be …
If you didn't find what you need, try your search in the Python language documentation.