Download Python Mac

Release Date: Feb. 19, 2021

This is the second maintenance release of Python 3.9

Python 3.9.2 is the newest major release of the Python programming language, and it contains many new features and optimizations. We've made 166 commits since 3.9.1, among which you can find two security fixes:

  • bpo-42938: Avoid static buffers when computing the repr of ctypes.c_double and ctypes.c_longdouble values. This issue was assigned CVE-2021-3177.

  • bpo-42967: Fix web cache poisoning vulnerability by defaulting the query args separator to &, and allowing the user to choose a custom separator. This issue was assigned CVE-2021-23336.

Major new features of the 3.9 series, compared to 3.8

Python

Some of the new major new features and changes in Python 3.9 are:

Download Anaconda Python Mac

Download Mac OS X 64-bit/32-bit installer. Python 2.7.6 - Nov. Download Mac OS X 32-bit i386/PPC Installer. Download Mac OS X 64-bit/32-bit x86-64/i386 Installer. Python 2.6.9 - Oct. No files for this release. Python 3.2.5 - May 15, 2013. Download Mac OS X 32-bit i386/PPC installer. Step-1: Download the Pycharm executable file from the official site. Click on the “Download” button under the community option. Step-2: Python-community-2020.1 file will get downloaded. Copy to a proper location for example desktop or any drive and then double click on that file.

  • PEP 573, Module State Access from C Extension Methods
  • PEP 584, Union Operators in dict
  • PEP 585, Type Hinting Generics In Standard Collections
  • PEP 593, Flexible function and variable annotations
  • PEP 602, Python adopts a stable annual release cadence
  • PEP 614, Relaxing Grammar Restrictions On Decorators
  • PEP 615, Support for the IANA Time Zone Database in the Standard Library
  • PEP 616, String methods to remove prefixes and suffixes
  • PEP 617, New PEG parser for CPython
  • BPO 38379, garbage collection does not block on resurrected objects;
  • BPO 38692, os.pidfd_open added that allows process management without races and signals;
  • BPO 39926, Unicode support updated to version 13.0.0;
  • BPO 1635741, when Python is initialized multiple times in the same process, it does not leak memory anymore;
  • A number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using PEP 590 vectorcall;
  • A number of Python modules (_abc, audioop, _bz2, _codecs, _contextvars, _crypt, _functools, _json, _locale, operator, resource, time, _weakref) now use multiphase initialization as defined by PEP 489;
  • A number of standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) are now using the stable ABI defined by PEP 384.

You can find a more comprehensive list in this release's 'What's New' document.

More resources

  • PEP 596, 3.9 Release Schedule
  • Report bugs at https://bugs.python.org.
  • Help fund Python and its community.

And now for something completely different

Professor (Eric Idle): It's an entirely new strain of sheep, a killer sheep that can not only hold a rifle but is also a first-class shot.
Assistant (Carol Cleveland): But where are they coming from, professor?
Professor: That I don't know. I just don't know. I really just don't know. I'm afraid even I really just don't know. I have to tell you I'm afraid even I really just don't know. I'm afraid I have to tell you...
(she hands him a glass of water which she had been busy getting as soon as he started into this speech) ... thank you ... (resuming normal breezy voice)
Professor: ... I don't know. Our only clue is this portion of wolf's clothing which the killer sheep...
Viking (Terry Gilliam): ... was wearing...
Professor: ... in yesterday's raid on Selfridges.

Python

Install Python On Mac

VersionOperating SystemDescriptionMD5 SumFile SizeGPG
Gzipped source tarballSource release8cf053206beeca72c7ee531817dc24c725399571SIG
XZ compressed source tarballSource releasef0dc9000312abeb16de4eccce9a870ab18889164SIG
macOS 64-bit Intel installermacOSfor macOS 10.9 and latera64f8b297fa43be07a34b8af9d13d55429845662SIG
macOS 64-bit universal2 installermacOSfor macOS 10.9 and later, including macOS 11 Big Sur on Apple Silicon (experimental)fc8d028618c376d0444916950c73e26337618901SIG
Windows embeddable package (32-bit)Windowscde7d9bfd87b7777d7f0ba4b0cd4506d7578904SIG
Windows embeddable package (64-bit)Windowsbd4903eb930cf1747be01e6b8dcdd28a8408823SIG
Windows help fileWindowse2308d543374e671ffe0344d3fd360628844275SIG
Windows installer (32-bit)Windows81294c31bd7e2d4470658721b2887ed527202848SIG
Windows installer (64-bit)WindowsRecommendedefb20aa1b648a2baddd949c142d6eb0628287512SIG