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.

Python 3.7.0b5

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