Release Date: April 4, 2021
This is the fourth maintenance release of Python 3.9
Python 3.9.4 is a hotfix release addressing an unintentional ABI incompatibility introduced in Python 3.9.3. Upgrading is highly recommended to all users. Details in bpo-43710.
Dec 02, 2020 apt-get install python-bs4 Beautiful Soup 4 is published through PyPi, so if you can’t install it with the system packager, you can install it with easyinstall or pip. The package name is beautifulsoup4, and the same package works on Python 2 and Python 3. Easyinstall beautifulsoup4 pip install beautifulsoup4. All Python releases are Open Source.Historically, most, but not all, Python releases have also been GPL-compatible. The Licenses page details GPL-compatibility and Terms and Conditions.
To reiterate, Python 3.9.3 was itself an expedited release due to its security content:
- bpo-43631: high-severity CVE-2021-3449 and CVE-2021-3450 were published for OpenSSL, it's been upgraded to 1.1.1k in CI, and macOS and Windows installers.
- bpo-42988: CVE-2021-3426: Remove the getfile feature of the pydoc module which could be abused to read arbitrary files on the disk (directory traversal vulnerability). Moreover, even source code of Python modules can contain sensitive data like passwords. Vulnerability reported by David Schwörer.
- bpo-43285: ftplib no longer trusts the IP address value returned from the server in response to the PASV command by default. This prevents a malicious FTP server from using the response to probe IPv4 address and port combinations on the client network. Code that requires the former vulnerable behavior may set a trust_server_pasv_ipv4_address attribute on their ftplib.FTP instances to True to re-enable it.
- bpo-43439: Add audit hooks for gc.get_objects(), gc.get_referrers() and gc.get_referents(). Patch by Pablo Galindo.
Major new features of the 3.9 series, compared to 3.8
Some of the new major new features and changes in Python 3.9 are:
- 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.
Python 4 Release Date
More resources
- PEP 596, 3.9 Release Schedule
- Report bugs at https://bugs.python.org.
- Help fund Python and its community.
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | cc8507b3799ed4d8baa7534cd8d5b35f | 25411523 | SIG | |
XZ compressed source tarball | Source release | 2a3dba5fc75b695c45cf1806156e1a97 | 18900304 | SIG | |
macOS 64-bit Intel installer | Mac OS X | for macOS 10.9 and later | 2b974bfd787f941fb8f80b5b8084e569 | 29866341 | SIG |
macOS 64-bit universal2 installer | Mac OS X | for macOS 10.9 and later, including macOS 11 Big Sur on Apple Silicon (experimental) | 9aa68872b9582c6c71151d5dd4f5ebca | 37648771 | SIG |
Windows embeddable package (32-bit) | Windows | b4bd8ec0891891158000c6844222014d | 7580762 | SIG | |
Windows embeddable package (64-bit) | Windows | 5c34eb7e79cfe8a92bf56b5168a459f4 | 8419530 | SIG | |
Windows help file | Windows | aaacfe224768b5e4aa7583c12af68fb0 | 8859759 | SIG | |
Windows installer (32-bit) | Windows | b790fdaff648f757bf0f233e4d05c053 | 27222976 | SIG | |
Windows installer (64-bit) | Windows | Recommended | ebc65aaa142b1d6de450ce241c50e61c | 28323440 | SIG |
Python 2.4 has been replaced by a newer bugfixrelease. Please see the releases page to select a morerecent release.
We are pleased to announce the release of Python 2.4, finalon November 30, 2004. This is a final, stable release, and wecan recommend that Python users upgrade to this version.
Important: This release is vulnerable to the problem described insecurity advisory PSF-2006-001'Buffer overrun in repr() of unicode strings in wide unicodebuilds (UCS-4)'. This fix is included in Python 2.4.4
Note: there's asecurity fixfor SimpleXMLRPCServer.py - this fix is included in2.4.1
Similkameen wineries map. Located a short 20-minute drive west on Hwy #3 from Osoyoos or a 30-minute drive south on Hwy #3A from Penticton, the Similkameen is yours to explore. For more information on the Similkameen Valley, click here. Download a map and winery passport here. Clos du Soleil 2568 Upper Bench Road Keremeos, BC V0X 1N4 250-499-2831 www.closdusoleil.ca. The Similkameen Independent Winegrowers is an Association of like-minded vignerons based in the Similkameen Valley bound by common values and a commitment to our land, each with a passion for creating world-class wines and ciders that express our unique wine region. A map locating the wineries of British Columbia's Similkameen Valley adjacent to the Okanagan Valley. Links to nearby wine country lodging and dining suggestions are included. The Similkameen Valley is west of the South Okanagan Valley running alongside of Highway #3. Only 20 minutes from Osoyoos and 30 minutes from Penticton, it is a short, beautiful drive to an extraordinary place. Click to view map. Electric car charging stations. Similkameen Wine Region. Home; Fraser Valley; Gulf Islands; Kootenay; Lillooet - Lytton; Okanagan Valley; Shuswap; Similkameen; Thompson Nicola; Vancouver Island; Golden Mile Bench DVA; Wineries By Year; BC Wines List; Timeline of BC Wine Industry; Calculators; Contact Us ☰ Map of Similkameen Wine.
Python 2.4 is the result of almost 18 month's worth of work on topof Python 2.3 and represents another stage in the careful evolutionof Python. Easy earth drawing. New language features have been kept to a minimum, manybugs have been fixed and a variety of improvementshave been made.
Notable changes in Python 2.4 include improvements to the importing ofmodules, function decorators, generator expressions, a number of newmodules (including subprocess, decimal and cookielib) and a host ofbug fixes and other improvements. See the (subjective)highlights or the detailed release notesfor more, or consult Andrew Kuchling'sWhat's New In Pythonfor a detailed view of some of the new features of Python 2.4.
Please see the separate bugs page for knownissues and the bug reporting procedure.
Starting with the Python 2.4 releases the Windows Pythoninstaller is being distributed as a Microsoft Installer (.msi) file.To use this, the Windows system must support Microsoft Installer2.0. Just save the installer filepython-2.4.msito your local machine, then double-click python-2.4.msi to findout if your machine supports MSI. If it doesn't, you'll need toinstall Microsoft Installer first. Many other packages (such asWord and Office) also include MSI, so youmay already have it on your system. If not, you can download it freelyfrom Microsoft for Windows 95, 98 and Me and for Windows NT 4.0 and 2000. Windows XP and later already have MSI; manyolder machines will already have MSI installed.
The new format installer allows for automated installation and many other shiny new features. There is also a separate installerpython-2.4.ia64.msifor Win64-Itanium users.
Windows users may also beinterested in Mark Hammond's pywin32 package, available from Sourceforge. pywin32 adds a number of Windows-specificextensions to Python, including COM support and the Pythonwin IDE.
Debian users using Sarge: Python2.4 has already been packaged for you. Simply apt-get install python2.4.Note that you will also need to install python2.4 versions of any othermodules you use.
All others should download eitherPython-2.4.tgz orPython-2.4.tar.bz2,the source archive. The tar.bz2 is considerably smaller, so get that one ifyour system has the appropriate tools to deal with it. Unpack it withtar -zxvfPython-2.4.tgz (orbzcat Python-2.4.tar.bz2 | tar -xf -).Change to the Python-2.4 directoryand run the './configure', 'make', 'make install' commands to compileand install Python. The source archive is also suitable for Windows userswho feel the need to build their own version.
Colt Python 4
Fedora Core 3 users can downloadRPMs, or build from source. An SRPM is alsoavailable for other RPM-based systems, or the source tar-file can be used(see the 'rpm' man page for the '-ta' options).
- See the highlights of this release.
- Andrew Kuchling's What's New in Python 2.4 describes the most visiblechanges since Python 2.3 in more detail.
- A detailed list of the changes is in the release notes, or the Misc/NEWS file in the source distribution.
- For the full list of changes, you can poke around in CVS.
The documentation has also been updated:
- Download using HTTP.
Python 4 Everyone
Downloadable packages of the documentation will be available shortly.
149ad508f936eccf669d52682cf8e606Python-2.4.tgz(9198035 bytes, signature)
44c2226eff0f3fc1f2fedaa1ce596533Python-2.4.tar.bz2(7840762 bytes, signature)
e9fe1fcdce9fa8c5590ab58b1de3246fpython-2.4.msi(10887168 bytes, signature)
5810ed46da712adef93315b08791aea8python-2.4.ia64.msi(8858624 bytes, signature)
The signatures above were generated withGnuPG using release managerAnthony Baxter'spublic keywhich has a key id of 6A45C816.