Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.

Python 3.7.0b5

Warning: Python 3.7.0 reached end-of-life on 2023-06-27. It is no longer supported and does not receive security updates. We recommend upgrading to the latest Python release.
Note: Python 3.7.0b5 has been superseded by Python 3.7.17.

Release date: May 30, 2018

This is a beta preview of Python 3.7

Python 3.7 is still in development. This release, 3.7.0b5, is now the final planned beta release preview. Originally, 3.7.0b4 was intended to be the final beta but, due to some unexpected compatibility issues discovered during beta testing of third-party packages, we decided to revert some changes in how Python's 3.7 Abstract Syntax Tree parser deals with docstrings; 3.7.0b5 now behaves like 3.6.x and previous releases (refer to the 3.7.0b5 changelog for more information). If your code makes use of the ast module, you are strongly encouraged to test (or retest) that code with 3.7.0b5, especially if you previously made changes to work with earlier preview versions of 3.7.0.

Among the major new features in Python 3.7 are:

  • PEP 538, Coercing the legacy C locale to a UTF-8 based locale
  • PEP 539, A New C-API for Thread-Local Storage in CPython
  • PEP 540, UTF-8 mode
  • PEP 552, Deterministic pyc
  • PEP 553, Built-in breakpoint()
  • PEP 557, Data Classes
  • PEP 560, Core support for typing module and generic types
  • PEP 562, Module __getattr__ and __dir__
  • PEP 563, Postponed Evaluation of Annotations
  • PEP 564, Time functions with nanosecond resolution
  • PEP 565, Show DeprecationWarning in __main__
  • PEP 567, Context Variables

Please see What’s New In Python 3.7 for more information. Additional documentation for these features and other changes may be included prior to the release candidate.

Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. We strongly encourage maintainers of third-party Python projects to test with 3.7 during the beta phase and report issues found to the Python bug tracker as soon as possible. While the release is planned to be feature complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase. Our goal is have no ABI changes after beta 3 and no code changes after 3.7.0rc1, the release candidate. To achieve that, it is extremely important to get as much exposure for 3.7 as possible during the beta phase. Please keep in mind that this is a preview release and its use is not recommended for production environments.

The next preview of Python 3.7 will be the 3.7.0 release candidate, now scheduled for 2018-06-11. The official release of 3.7.0 is now planned for 2018-06-27.

More resources

Windows users

  • The binaries for AMD64 will also work on processors that implement the Intel 64 architecture. (Also known as the "x64" architecture, and formerly known as both "EM64T" and "x86-64".)
  • There are now "web-based" installers for Windows platforms; the installer will download the needed software components at installation time.
  • There are redistributable zip files containing the Windows builds, making it easy to redistribute Python as part of another software package. Please see the documentation regarding Embedded Distribution for more information.

macOS users

  • For 3.7.0, we are providing two binary installer options for download. The new preferred variant is 64-bit-only and works on macOS 10.9 (Mavericks) and later systems. We also continue to provide a 64-bit/32-bit variant that works on all versions of macOS from 10.6 (Snow Leopard) on. Both variants now come with batteries-included versions oF Tcl/Tk 8.6 for users of IDLE and other tkinter-based GUI applications; third-party and system versions of Tcl/Tk are no longer used. Consider using the new 10.9 64-bit-only installer variant, unless you are building Python applications that also need to work on older macOS systems.
  • Both python.org installer variants include private copies of OpenSSL 1.1.0. Please carefully read the Important Information displayed during installation for information about SSL/TLS certificate validation and the Install Certificates.command.

Full Changelog

Files

Version Operating system Description File size GPG MD5 checksum
Gzipped source tarball Source release 21.6 MB SIG a5fbf2a2d583af45568dfa6da1b89120
XZ compressed source tarball Source release 16.1 MB SIG aed4058e10cf7dbff67510f00f99ff45
macOS 64-bit installer macOS for OS X 10.9 and later 26.3 MB SIG 0bf84242e696548a835af1acc19d12e7
macOS 64-bit/32-bit installer macOS for Mac OS X 10.6 and later 32.6 MB SIG 81ece09b8a8756326793898be4cff721
Windows help file Windows 8.1 MB SIG 319353270a44c70319609376e4e08645
Windows x86 embeddable zip file Windows 6.1 MB SIG 79c8502cd861b7a779e91b3a71100171
Windows x86 executable installer Windows 24.2 MB SIG d995e64ff33460349cc5eaa525752b4c
Windows x86 web-based installer Windows 1.2 MB SIG 67f5ac319150dc700c0ae474b4198ee8
Windows x86-64 embeddable zip file Windows for AMD64/EM64T/x64 6.6 MB SIG 43ed5ce64d9355f09d04c20ab5d5ec1c
Windows x86-64 executable installer Windows for AMD64/EM64T/x64 24.9 MB SIG b41fb6b24d49c5461d44dcfe7a0e8339
Windows x86-64 web-based installer Windows for AMD64/EM64T/x64 1.3 MB SIG d577cec94f7c6afa487f2554b37716ff