Инструкция по установке и настройке python 3
Содержание:
- Подсистема Windows для Linux (WSL)
- And Now For Something Completely Different
- More resources
- Installer news
- And Now for Something Completely Different
- And now for something completely different
- And now for something completely different
- Major new features of the 3.8 series, compared to 3.7
- Установка Python 3 на Debian
- Шаг 3: Собираем Python
- Other Useful Items
- OpenPGP Public Keys
- This is the ninth maintenance release of Python 3.8
- And now for something completely different
- Установка Python 3 на iOS (iPhone / iPad)
- macOS users
- And now for something completely different
- And now for something completely different
- Major new features of the 3.8 series, compared to 3.7
- This is the fourth maintenance release of Python 3.9
- Major new features of the 3.8 series, compared to 3.7
Подсистема Windows для Linux (WSL)
Если вы используете Windows 10 Creators или Anniversary Update, существует другой способ установки Python. Эти версии Windows 10 включают в себя функцию под названием Windows Subsystem for Linux, которая позволяет вам запустить среду Linux прямо в Windows без изменений и без дополнительных нагрузок в виртуальном компьютере.
- Для дополнительной информации, вы можете ознакомиться с документацией подсистемы Windows для Linux на сайте Microsoft;
- Для инструкций по подключению подсистемы в Windows 10 и установки дистрибутива Linux, вы можете ознакомиться с руководством Windows 10;
- Также, вы можете посмотреть презентацию Сары Кули на YouTube, одной из участников команды разработчиков WSL.
После установки подходящего дистрибутива Linux, вы можете установить Python 3 в консольном окне Bash, как если бы вы запускали дистрибутив Linux напрямую (смотреть ниже).
And Now For Something Completely Different
trong>Mr. Praline (John Cleese): ‘ELLO POLLY!!! Testing! Testing! This is your nine o’clock alarm call!
(Takes parrot out of the cage , throws it up in the air and watches it plummet to the floor.)
Mr. Praline: Now that’s what I call a dead parrot.
Owner (Michael Palin): No, no… No, he’s stunned!
Mr. Praline: STUNNED?!
Owner: Yeah! You stunned him, just as he was wakin’ up! Norwegian Blues stun easily, major.
Mr. Praline: Um… now look, mate. I’ve definitely ‘ad enough of this. That parrot is definitely deceased, and when I purchased it not ‘alf an hour ago, you assured me that its total lack of movement was due to it bein’ tired and shagged out following a prolonged squawk.
Owner: Well, he’s… he’s, ah… probably pining for the fjords.
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | 83d71c304acab6c678e86e239b42fa7e | 24720640 | SIG | |
XZ compressed source tarball | Source release | d9eee4b20155553830a2025e4dcaa7b3 | 18433456 | SIG | |
macOS 64-bit Intel installer | macOS | for macOS 10.9 and later | 690ddb1be403a7efb202e93f3a994a49 | 29896827 | SIG |
macOS 64-bit universal2 installer | macOS | experimental, for macOS 11 Big Sur and later; recommended on Apple Silicon | ae8a1ae082074b260381c058d0336d05 | 37300939 | SIG |
Windows embeddable package (32-bit) | Windows | 659adf421e90fba0f56a9631f79e70fb | 7348969 | SIG | |
Windows embeddable package (64-bit) | Windows | 3acb1d7d9bde5a79f840167b166bb633 | 8211403 | SIG | |
Windows help file | Windows | a06af1ff933a13f6901a75e59247cf95 | 8597086 | SIG | |
Windows installer (32-bit) | Windows | b355cfc84b681ace8908ae50908e8761 | 27204536 | SIG | |
Windows installer (64-bit) | Windows | Recommended | 62cf1a12a5276b0259e8761d4cf4fe42 | 28296784 | SIG |
More resources
- Online Documentation
- 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 | macOS | for macOS 10.9 and later | 2b974bfd787f941fb8f80b5b8084e569 | 29866341 | SIG |
macOS 64-bit universal2 installer | macOS | 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 |
Installer news
3.9.1 is the first version of Python to support macOS 11 Big Sur. With Xcode 11 and later it is now possible to build “Universal 2” binaries which work on Apple Silicon. We are providing such an installer as the variant. This installer can be deployed back to older versions, tested down to OS X 10.9. As we are waiting for an updated version of , please consider the installer experimental.
This work would not have been possible without the effort of Ronald Oussoren, Ned Deily, and Lawrence D’Anna from Apple. Thank you!
This is the first version of Python to default to the 64-bit installer on Windows. The installer now also actively disallows installation on Windows 7. Python 3.9 is incompatible with this unsupported version of Windows.
And Now for Something Completely Different
trong>Mr. Praline (John Cleese): I wish to complain, British-Railways Person.
Attendant (Terry Jones): I DON’T HAVE TO DO THIS JOB, YOU KNOW!!!
Mr. Praline: I beg your pardon…?
Attendant: I’m a qualified brain surgeon! I only do this job because I like being my own boss!
Mr. Praline: Excuse me, this is irrelevant, isn’t it?
Attendant: Yeah, well it’s not easy to pad these python files out to 150 lines, you know.
Mr. Praline: Well, I wish to complain. I got on the Bolton train and found myself deposited here in Ipswitch.
Attendant: No, this is Bolton.
Mr. Praline: (to the camera) The pet shop man’s brother was LYING!
Attendant: Can’t blame British Rail for that.
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | 364158b3113cf8ac8db7868ce40ebc7b | 25627989 | SIG | |
XZ compressed source tarball | Source release | 71f7ada6bec9cdbf4538adc326120cfd | 19058600 | SIG | |
macOS 64-bit Intel installer | macOS | for macOS 10.9 and later | 870e851eef2c6712239e0b97ea5bf407 | 29933848 | SIG |
macOS 64-bit universal2 installer | macOS | for macOS 10.9 and later, including macOS 11 Big Sur on Apple Silicon | 59aedbc04df8ee0547d3042270e9aa57 | 37732597 | SIG |
Windows embeddable package (32-bit) | Windows | cacf28418ae39704743fa790d404e6bb | 7594314 | SIG | |
Windows embeddable package (64-bit) | Windows | 0b3a4a9ae9d319885eade3ac5aca7d17 | 8427568 | SIG | |
Windows help file | Windows | b311674bd26a602011d8baea2381df9e | 8867595 | SIG | |
Windows installer (32-bit) | Windows | b29b19a94bbe498808e5e12c51625dd8 | 27281416 | SIG | |
Windows installer (64-bit) | Windows | Recommended | 53a354a15baed952ea9519a7f4d87c3f | 28377264 | SIG |
And now for something completely different
trong>Voice Over (Michael Palin): This is Ken Clean-Air Systems, the great white hope of the British boxing world. After three fights — and only two convictions — his manager believes that Ken is now ready to face the giant American, Satellite Five.
Manager (Graham Chapman): The great thing about Ken is that he’s almost totally stupid.
(Cut back to Ken jogging, the early morning sun filtering through the trees.)
Voice Over: Every morning, he jogs the forty-seven miles from his two-bedroomed, eight-bathroom, six-up-two-down, three-to-go-house in Reigate, to the Government’s Pesticide Research Centre at Shoreham. Nobody knows why.
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | d3af3b87e134c01c7f054205703adda2 | 24483485 | SIG | |
XZ compressed source tarball | Source release | 23e6b769857233c1ac07b6be7442eff4 | 18271736 | SIG | |
macOS 64-bit Intel installer | macOS | for macOS 10.9 and later | 3b039200febdd1fa54a8d724dee732bc | 29819402 | SIG |
Windows embeddable package (32-bit) | Windows | b3e271ee4fafce0ba784bd1b84c253ae | 7332875 | SIG | |
Windows embeddable package (64-bit) | Windows | 2096fb5e665c6d2e746da7ff5f31d5db | 8193305 | SIG | |
Windows help file | Windows | d30810feed2382840ad1fbc9fce97002 | 8592431 | SIG | |
Windows installer (32-bit) | Windows | 94773b062cc8da66e37ea8ba323eb56a | 27141264 | SIG | |
Windows installer (64-bit) | Windows | Recommended | 77a54a14239b6d7d0dcbe2e3a507d2f0 | 28217976 | SIG |
And now for something completely different
>Michelangelo: Good evening, your Holiness.
Pope: Evening, Michelangelo. I want to have a word with you about this painting of yours, «The Last Supper.»
Michelangelo: Oh, yeah?
Pope: I’m not happy about it.
Michelangelo: Oh, dear. It took me hours.
Pope: Not happy at all.
Michelangelo: Is it the jellies you don’t like?
Pope: No.
Michelangelo: Of course not, they add a bit of color, don’t they? Oh, I know, you don’t like the kangaroo?
Pope: What kangaroo?
Michelangelo: No problem, I’ll paint him out.
Pope: I never saw a kangaroo!
Michelangelo: Uuh… he’s right in the back. I’ll paint him out! No sweat, I’ll make him into a disciple.
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | f9f3768f757e34b342dbc06b41cbc844 | 24007411 | SIG | |
XZ compressed source tarball | Source release | e9d6ebc92183a177b8e8a58cad5b8d67 | 17869888 | SIG | |
macOS 64-bit installer | macOS | for OS X 10.9 and later | f12203128b5c639dc08e5a43a2812cc7 | 30023420 | SIG |
Windows help file | Windows | 7506675dcbb9a1569b54e600ae66c9fb | 8507261 | SIG | |
Windows x86-64 embeddable zip file | Windows | for AMD64/EM64T/x64 | 1a98565285491c0ea65450e78afe6f8d | 8017771 | SIG |
Windows x86-64 executable installer | Windows | for AMD64/EM64T/x64 | b5df1cbb2bc152cd70c3da9151cb510b | 27586384 | SIG |
Windows x86-64 web-based installer | Windows | for AMD64/EM64T/x64 | 2586cdad1a363d1a8abb5fc102b2d418 | 1363760 | SIG |
Windows x86 embeddable zip file | Windows | 1b1f0f0c5ee8601f160cfad5b560e3a7 | 7147713 | SIG | |
Windows x86 executable installer | Windows | 6f0ba59c7dbeba7bb0ee21682fe39748 | 26481424 | SIG | |
Windows x86 web-based installer | Windows | 04d97979534f4bd33752c183fc4ce680 | 1325416 | SIG |
Major new features of the 3.8 series, compared to 3.7
- PEP 572, Assignment expressions
- PEP 570, Positional-only arguments
- PEP 587, Python Initialization Configuration (improved embedding)
- PEP 590, Vectorcall: a fast calling protocol for CPython
- PEP 578, Runtime audit hooks
- PEP 574, Pickle protocol 5 with out-of-band data
- Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict)
- Parallel filesystem cache for compiled bytecode
- Debug builds share ABI as release builds
- f-strings support a handy specifier for debugging
- is now legal in blocks
- on Windows, the default event loop is now
- on macOS, the spawn start method is now used by default in
- can now use shared memory segments to avoid pickling costs between processes
- is merged back to CPython
- is now 40% faster
- now uses Protocol 4 by default, improving performance
There are many other interesting changes, please consult the «What’s New» page in the documentation for a full list.
Установка Python 3 на Debian
Мы нашли ресурсы, в которых указано, что метод Ubuntu 16.10 (смотрим выше) будет работать и с Debian, но нам так и не удалось найти рабочий способ для Debian 9. Вместо этого, мы получили альтернативный способ установки Python, указанный ниже.
Одна загвоздка с Debian: как правило, он не устанавливает команду sudo по умолчанию. Чтобы установить её, вам нужно сделать следующее, прежде чем приступить к дальнейшим инструкциям:
Shell
$ su
$ apt-get install sudo
$ vi /etc/sudoers
1 2 3 |
$su $apt-getinstall sudo $vietcsudoers |
После этого, нужно открыть файл /etc/sudoers при помощи команды sudo в vim (или в другом текстовом редакторе, который вы предпочитаете). Добавьте следующую строку текста в конец файла, заменив your_username с вашим пользовательским именем:
Shell
your_username ALL=(ALL) ALL
1 | your_username ALL=(ALL)ALL |
Шаг 3: Собираем Python
Выполнив предварительные условия и получив файл tar, вы можете распаковать исходник в папку
Обратите внимание на то, что следующая команда создаст новую папку Python-3.6.5 под той, в которой вы в данный момент находитесь:. Shell
$ wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
$ tar xvf Python-3.6.5.tgz
$ cd Python-3.6.5
Shell
$ wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
$ tar xvf Python-3.6.5.tgz
$ cd Python-3.6.5
1 2 3 |
$wget httpswww.python.orgftppython3.6.5Python-3.6.5.tgz $tar xvf Python-3.6.5.tgz $cdPython-3.6.5 |
Теперь вам нужно запустить инструмент ./configure для подготовке к построению Python:
Shell
$ ./configure —enable-optimizations —with-ensurepip=install
1 | $.configure—enable-optimizations—with-ensurepip=install |
Далее, мы скомпилируем Python при помощи make. Опция –j просто делит компиляцию на параллельные шаги для ускорения компиляции. Даже с параллельным компилированием, этот шаг может занять несколько минут:
Shell
$ make -j 8
1 | $make-j8 |
Далее, вам может понадобиться установить новую версию Python. Используем таргет altinstall, чтобы не перезаписать системную версию Python. Так как вы устанавливаете Python в /usr/bin, вам нужно запустить команду от имени администратора:
Shell
$ sudo make altinstall
1 | $sudo makealtinstall |
Other Useful Items
- Looking for 3rd party Python modules? The
Package Index has many of them. - You can view the standard documentation
online, or you can download it
in HTML, PostScript, PDF and other formats. See the main
Documentation page. - Information on tools for unpacking archive files
provided on python.org is available. -
Tip: even if you download a ready-made binary for your
platform, it makes sense to also download the source.
This lets you browse the standard library (the subdirectory Lib)
and the standard collections of demos (Demo) and tools
(Tools) that come with it. There’s a lot you can learn from the
source! - There is also a collection of Emacs packages
that the Emacsing Pythoneer might find useful. This includes major
modes for editing Python, C, C++, Java, etc., Python debugger
interfaces and more. Most packages are compatible with Emacs and
XEmacs.
OpenPGP Public Keys
Source and binary executables are signed by the release manager or binary builder using their
OpenPGP key. Release files for currently supported releases are signed by the following:
- Pablo Galindo Salgado (3.10.x and 3.11.x source files and tags) (key id: 64E628F8D684696D)
- Steve Dower (Windows binaries) (key id: FC62 4643 4870 34E5)
- Łukasz Langa (3.8.x and 3.9.x source files and tags) (key id: B269 95E3 1025 0568)
- Ned Deily (macOS binaries, 3.7.x / 3.6.x source files and tags) (key ids: 2D34 7EA6 AA65 421D, FB99 2128 6F5E 1540, and Apple Developer ID DJ3H93M7VJ)
- Larry Hastings (3.5.x source files and tags) (key id: 3A5C A953 F73C 700D)
- Benjamin Peterson (2.7.z source files and tags) (key id: 04C3 67C2 18AD D4FF and A4135B38)
Release files for older releases which have now reached end-of-life may have been signed by one of the following:
- Anthony Baxter (key id: 0EDD C5F2 6A45 C816)
- Georg Brandl (key id: 0A5B 1018 3658 0288)
- Martin v. Löwis (key id: 6AF0 53F0 7D9D C8D2)
- Ronald Oussoren (key id: C9BE 28DE E6DF 025C)
- Barry Warsaw (key ids: 126E B563 A74B 06BF, D986 6941 EA5B BD71, and ED9D77D5)
You can import a person’s public keys from a public keyserver network server
you trust by running a command like:
or, in many cases, public keys can also be found
at keybase.io.
On the version-specific download pages, you should see a link to both the
downloadable file and a detached signature file. To verify the authenticity
of the download, grab both files and then run this command:
Note that you must use the name of the signature file, and you should use the
one that’s appropriate to the download you’re verifying.
(These instructions are geared to
GnuPG and Unix command-line users.)
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.9 is now the latest feature release series of Python 3. Get the latest release of 3.9.x here.
3.8.9 is an expedited release which includes a number of security fixes and is recommended to all users:
- 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.
And now for something completely different
trong>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.
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | 8cf053206beeca72c7ee531817dc24c7 | 25399571 | SIG | |
XZ compressed source tarball | Source release | f0dc9000312abeb16de4eccce9a870ab | 18889164 | SIG | |
macOS 64-bit Intel installer | macOS | for macOS 10.9 and later | a64f8b297fa43be07a34b8af9d13d554 | 29845662 | SIG |
macOS 64-bit universal2 installer | macOS | for macOS 10.9 and later, including macOS 11 Big Sur on Apple Silicon (experimental) | fc8d028618c376d0444916950c73e263 | 37618901 | SIG |
Windows embeddable package (32-bit) | Windows | cde7d9bfd87b7777d7f0ba4b0cd4506d | 7578904 | SIG | |
Windows embeddable package (64-bit) | Windows | bd4903eb930cf1747be01e6b8dcdd28a | 8408823 | SIG | |
Windows help file | Windows | e2308d543374e671ffe0344d3fd36062 | 8844275 | SIG | |
Windows installer (32-bit) | Windows | 81294c31bd7e2d4470658721b2887ed5 | 27202848 | SIG | |
Windows installer (64-bit) | Windows | Recommended | efb20aa1b648a2baddd949c142d6eb06 | 28287512 | SIG |
Установка Python 3 на iOS (iPhone / iPad)
Приложение Pythonista для iOS – это полноценная среда разработки, которую вы можете запустить на своем айфоне или айпаде. Фактически, это комбинация из редактора Python, документации и интерпретатора, уложенное в одно приложение.
Pythonista на удивление приятно использовать. Это отличный небольшой инструмент для случаев, когда вы оказываетесь без ноутбука и хотите поработать над своими навыками работы с Python на ходу. Приложение работает с полной версией стандартной библиотеки Python 3 и даже включает в себя полную документацию, с которой можно работать без подключения к интернету.
Для установки вам нужно просто загрузить Pythonista из iOS app store.
macOS users
- For Python 3.8, we provide one installer: 64-bit-only that works on macOS 10.9 (Mavericks) and later systems.
- Please read the «Important Information» displayed during installation for information about SSL/TLS certificate validation and the running the «Install Certificates.command».
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | 41a5eaa15818cee7ea59e578564a2629 | 24493475 | SIG | |
XZ compressed source tarball | Source release | 51b5bbf2ab447e66d15af4883db1c133 | 18271948 | SIG | |
macOS 64-bit Intel installer | macOS | for macOS 10.9 and later | 2323c476134fafa8b462530019f34394 | 29843142 | SIG |
Windows embeddable package (32-bit) | Windows | 40830c33f775641ccfad5bf17ea3a893 | 7335613 | SIG | |
Windows embeddable package (64-bit) | Windows | cff9e470ee6b57c63c16b8a93c586b28 | 8199294 | SIG | |
Windows help file | Windows | 678cdc8e46b0b569ab9284be689be807 | 8592697 | SIG | |
Windows installer (32-bit) | Windows | 1b5456a52e2017eec31c320f0222d359 | 27150976 | SIG | |
Windows installer (64-bit) | Windows | Recommended | f69d9c918a8ad06c71d7f0f26ccfee12 | 28233448 | SIG |
And now for something completely different
mall>Cut to film of the lost world. Tropical South American vegetation. Our four explorers from Jungle Restaurant and Ken Russell’s Gardening Club sketches limp along exhaustedly.
Second Explorer: My God, Betty, we’re done for…
Third Explorer: We’ll never get out of here… we’re completely lost, lost. Even the natives have gone.
First Explorer: Goodbye Betty, Goodbye Farquarson. Goodbye Brian. It’s been a great expedition…
Third Explorer: All that’ll be left of us will be a map, a compass and a few feet of film, recording our last moments…
First Explorer: Wait a moment!
Fourth Explorer: What is it?
First Explorer: If we’re on film, there must be someone filming us.
Second Explorer: My God, Betty, you’re right!
They all look around, then gradually all notice the camera. They break out in smiles of relief, come towards the camera and greet the camera crew.
Third Explorer: Look! Great to see you!
First Explorer: What a stroke of luck!
Camera Crew: Hello! …
First Explorer: Wait a minute!
Fourth Explorer: What is it again?
First Explorer: If this is the crew who were filming us . .. who’s filming us now? Look!
Cut to another shot which indudes the first camera flew and yet another camera crew with all their equipment.
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | ea132d6f449766623eee886966c7d41f | 24377280 | SIG | |
XZ compressed source tarball | Source release | 69e73c49eeb1a853cefd26d18c9d069d | 18233864 | SIG | |
macOS 64-bit installer | macOS | for OS X 10.9 and later | 68170127a953e7f12465c1798f0965b8 | 30464376 | SIG |
Windows help file | Windows | 4403f334f6c05175cc5edf03f9cde7b4 | 8531919 | SIG | |
Windows x86-64 embeddable zip file | Windows | for AMD64/EM64T/x64 | 5f95c5a93e2d8a5b077f406bc4dd96e7 | 8177848 | SIG |
Windows x86-64 executable installer | Windows | for AMD64/EM64T/x64 | 2acba3117582c5177cdd28b91bbe9ac9 | 28076528 | SIG |
Windows x86-64 web-based installer | Windows | for AMD64/EM64T/x64 | c9d599d3880dfbc08f394e4b7526bb9b | 1365864 | SIG |
Windows x86 embeddable zip file | Windows | 7b287a90b33c2a9be55fabc24a7febbb | 7312114 | SIG | |
Windows x86 executable installer | Windows | 02cd63bd5b31e642fc3d5f07b3a4862a | 26987416 | SIG | |
Windows x86 web-based installer | Windows | acb0620aea46edc358dee0020078f228 | 1328200 | SIG |
And now for something completely different
trong>Mr Anemone (Graham Chapman): Mr Chigger. So, you want to learn to fly?
Mr Chigger (Terry Jones): Yes.
Mr Anemone: Right, well, up on the table, arms out, fingers together, knees bent…
Mr Chigger: No, no, no.
Mr Anemone: (very loudly) UP ON THE TABLE! (Mr Chigger gets on the table) Arms out, fingers together, knees bent, now, head well forward. Now, flap your arms. Go on, flap, faster… faster… faster… faster, faster, faster, faster — now JUMP! (Mr Chigger jumps and lands on the floor) Rotten. You’re no bloody use at all. You’re an utter bloody wash-out. You make me sick, you weed!
Mr Chigger: Now look here…
Mr Anemone: All right, all right. I’ll give you one more chance, get on the table…
Mr Chigger: Look, I came here to learn how to fly an aeroplane.
Mr Anemone: A what?
Mr Chigger: I came here to learn how to fly an aeroplane.
Mr Anemone: (sarcastically) Oh, ‘an aeroplane’. Oh, I say, we are grand, aren’t we? (imitation posh accent) ‘Oh, oh, no more buttered scones for me, mater. I’m off to play the grand piano’. ‘Pardon me while I fly my aeroplane.’ NOW GET ON THE TABLE!
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | a7c10a2ac9d62de75a0ca5204e2e7d07 | 24067487 | SIG | |
XZ compressed source tarball | Source release | 3000cf50aaa413052aef82fd2122ca78 | 17912964 | SIG | |
macOS 64-bit installer | macOS | for OS X 10.9 and later | dd5e7f64e255d21f8d407f39a7a41ba9 | 30119781 | SIG |
Windows help file | Windows | 4aeeebd7cc8dd90d61e7cfdda9cb9422 | 8568303 | SIG | |
Windows x86-64 embeddable zip file | Windows | for AMD64/EM64T/x64 | c12ffe7f4c1b447241d5d2aedc9b5d01 | 8175801 | SIG |
Windows x86-64 executable installer | Windows | for AMD64/EM64T/x64 | fd2458fa0e9ead1dd9fbc2370a42853b | 27805800 | SIG |
Windows x86-64 web-based installer | Windows | for AMD64/EM64T/x64 | 17e989d2fecf7f9f13cf987825b695c4 | 1364136 | SIG |
Windows x86 embeddable zip file | Windows | 8ee09403ec0cc2e89d43b4a4f6d1521e | 7330315 | SIG | |
Windows x86 executable installer | Windows | 452373e2c467c14220efeb10f40c231f | 26744744 | SIG | |
Windows x86 web-based installer | Windows | fe72582bbca3dbe07451fd05ece1d752 | 1325800 | SIG |
Major new features of the 3.8 series, compared to 3.7
- PEP 572, Assignment expressions
- PEP 570, Positional-only arguments
- PEP 587, Python Initialization Configuration (improved embedding)
- PEP 590, Vectorcall: a fast calling protocol for CPython
- PEP 578, Runtime audit hooks
- PEP 574, Pickle protocol 5 with out-of-band data
- Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict)
- Parallel filesystem cache for compiled bytecode
- Debug builds share ABI as release builds
- f-strings support a handy specifier for debugging
- is now legal in blocks
- on Windows, the default event loop is now
- on macOS, the spawn start method is now used by default in
- can now use shared memory segments to avoid pickling costs between processes
- is merged back to CPython
- is now 40% faster
- now uses Protocol 4 by default, improving performance
There are many other interesting changes, please consult the «What’s New» page in the documentation for a full list.
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.
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.8 series, compared to 3.7
- PEP 572, Assignment expressions
- PEP 570, Positional-only arguments
- PEP 587, Python Initialization Configuration (improved embedding)
- PEP 590, Vectorcall: a fast calling protocol for CPython
- PEP 578, Runtime audit hooks
- PEP 574, Pickle protocol 5 with out-of-band data
- Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict)
- Parallel filesystem cache for compiled bytecode
- Debug builds share ABI as release builds
- f-strings support a handy specifier for debugging
- is now legal in blocks
- on Windows, the default event loop is now
- on macOS, the spawn start method is now used by default in
- can now use shared memory segments to avoid pickling costs between processes
- is merged back to CPython
- is now 40% faster
- now uses Protocol 4 by default, improving performance
There are many other interesting changes, please consult the «What’s New» page in the documentation for a full list.