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.
...values default to None). Also a new dict method was added, pop(key), which removes and returns the value corresponding to the given key. filter() - now returns Unicode when the input is Unicode. Various bugs with subclasses of built-in types fixed. (New in 2.3a2.) int() - this can now return a long when converting a string with many digits, rather than raising OverflowError. (New in 2.3a2: issues a FutureWarning when sign-folding an unsigned hex or octal literal.) isinstance(), super() - Now ...
...values from the command-line. E.g., the user-selected verbosity level is in options.verbose, and the CD-ROM device file is in options.device. There are not quite as many option values as there are options: the -v/--verbose option and -q/--quiet both update options.verbose, and -p/--use-pipes and -f/--use-files both update the options.use_pipes flag. I have preserved this in all of my test re-implementations. This works to Optik's benefit (since it already puts option values in a de...
...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 allows generation of nicer help when using custom types. Can be disabled with parser.set_process_default_values(False). Bug #960515: don't crash when generating help for callback options that ...
Python Success Stories Introduction AstraZeneca is one of the world's leading pharmaceutical companies. With over 54,000 employees world-wide, it provides innovative, effective medicines designed to fight cancer, provide pain control, heal infection, and fight diseases of the cardiovascular, central nervous, gastrointestinal, and respiratory systems. Finding a new drug often takes over a decade and more than $800 million. A big problem early in the process is identifying those candidates more...
Version: None
Released: Oct. 2, 2023
This is the sixth maintenance release of Python 3.11 Python 3.11.6 is the newest major release of the Python programming language, and it contains many new features and optimizations. Major new features of the 3.11 series, compared to 3.10 Some of the new major new features and changes in Python …
View Release Notes
Released: April 5, 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.0a7 is the last of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of …
...literals now start with "0o". Old-style octal literals are invalid. There are binary literals with a prefix of "0b". This also affects int(x, 0). None, True, False are now keywords. PEP 3119: isinstance() and issubclass() can be overridden. Remove BaseException.message. Remove tuple parameter unpacking (PEP 3113). Remove the f_restricted attribute from frames. This naturally leads to the removal of PyEval_GetRestricted() and PyFrame_IsRestricted(). PEP 3132 was accept...
Released: June 22, 2001
We're releasing Python 2.0.1 - the final bugfix release for Python 2.0. Why would we come with a bugfix release now (June 2001), when Python 2.0 was released in October 2000 and Python 2.1 has been released for months (April 2001)? Two very good …
Python 2.0.1 Release Python 2.0.1 - a bugfix release for Python 2.0 Note: This is no longer the most current Python release. See the download page for more recent releases. We're releasing Python 2.0.1 - the final bugfix release for Python 2.0. Why would we come with a bugfix release now (June 2001), when Python 2.0 was released in October 2000 and Python 2.1 has been released for months (April 2001)? Two very good reasons! We've fixed the license: Python 2.0.1 is GPL-compatible. We took ...
...values from the dictionary into it. The post-processing formatter takes the result and modifies it according to the latest corporate Word format style template. This flow was designed to cope with changes in requirements by the different teams within our department, and by corporate-level standards. For example, the layout of reports was determined by the generator application in a layout class that could be replaced with other classes to support new types of reports. The first front-end transla...
...values as unsigned ints in the inclusive range [0x80000000..0xffffffff]; this affects the functions hex() and oct(), and the string formatting codes %u, %o, %x, and %X. In Python 2.4, these will show signed values (e.g. hex(-1) currently returns "0xffffffff"; in Python 2.4 it will return "-0x1"). The bits manipulated under the cover by sys.setcheckinterval() have been changed. Both the check interval and the ticker used to be per-thread values. They are now just a pair ...
...literals with an incomplete exponent, such as 1e and 3.1e-. Such literals now raise SyntaxError. <p><li>Nested scopes are standard in 2.2 (they were enabled per module through "from __future__ import nested_scopes" in 2.1[.1]). This may change the meaning of code like the following: <pre> def f(<font color="red">str</font>): def g(x): return <font color="red">str</font>(x) return g System Message: WARNING/2 (<stri...
...literals is introduced, "raw strings": e.g. r"n" is equal to "\n". All standard exceptions and most exceptions defined in standard extension modules are now classes. Use python -X to revert back to string exceptions. See Standard Exception Classes for more info. Comparisons can now raise exceptions (previously, exceptions occurring during comparisons were swept under the rug). New dictionary methods: .clear(), .copy(), .update(), .get(). The first two are obvious...
Released: May 26, 2025
Here's the second 3.14 beta. https://www.python.org/downloads/release/python-3140b2/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b2, is the first 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: Feb. 16, 2021
This is the release candidate of the eight maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.8rc1, 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. …
Released: April 2, 2021
This is the ninth maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.9, 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.9 is an expedited …
If you didn't find what you need, try your search in the Python language documentation.