Vinsælt: Gögn uppfærð 27. október 2026

Flokkar

Internet1.356
Samskipti321
Hljóð og mynd898
Grafík og hönnun539
Skrifstofa og afköst1.124
Forritunartól3.134
Gervigreindartól529
Öryggi og persónuvernd385
Kerfistól3.114
Leikir523
Menntun og vísindi239
Net og upplýsingatækni284

Sækja Python 3.12 3.12.5

Python is a programming language that lets you work more quickly and integrate your systems more effectively.

Þetta er eldri útgáfa. Nýjasta útgáfan er 3.12.10. Python 3.12 3.12.10 · Gefið út:
3.12.5 tilheyrir útgáfuröðinni 3.12, sem nýtur stuðnings til 31. október 2028. endoflife.date

Uppsetningarskrár 3.12.5

HögunGerðUmfangSkráarstærðSækjaSHA256
64 bita EXE (WiX Burn) Núverandi notandi 26,5 MB python.org VirusTotal
64 bita EXE (WiX Burn) Allir notendur 26,5 MB python.org VirusTotal
ARM64 EXE (WiX Burn) Núverandi notandi 25,7 MB python.org VirusTotal
ARM64 EXE (WiX Burn) Allir notendur 25,7 MB python.org VirusTotal
32 bita EXE (WiX Burn) Núverandi notandi 25,2 MB python.org VirusTotal
32 bita EXE (WiX Burn) Allir notendur 25,2 MB python.org VirusTotal

Tengillinn og SHA256-gildið koma úr samfélagslýsingu Windows-pakkastjórans (winget). Berið gildi sóttu skrárinnar saman við það áður en hún er keyrð.

Útgáfuupplýsingar

Windows
- gh-122573: The Windows build of CPython now requires 3.10 or newer.
Tests
- gh-59022: Add tests for pkgutil.extend_path(). Patch by Andreas Stocker.
- gh-99242: os.getloadavg() may throw OSError when running regression tests under certain conditions (e.g. chroot). This error is now caught and ignored, since reporting load average is optional.
- gh-121084: Fix test_typing random leaks. Clear typing ABC caches when running tests for refleaks (-R option): call _abc_caches_clear() on typing abstract classes and their subclasses. Patch by Victor Stinner.
- gh-121160: Add a test for readline.set_history_length(). Note that this test may fail on readline libraries.
- gh-121200: Fix test_expanduser_pwd2() of test_posixpath. Call getpwnam() to get pw_dir, since it can be different than getpwall() pw_dir. Patch by Victor Stinner.
- gh-121188: When creating the JUnit XML file, regrtest now escapes characters which are invalid in XML, such as the chr(27) control character used in ANSI escape sequences. Patch by Victor Stinner.
Security
- gh-121957: Fixed missing audit events around interactive use of Python, now also properly firing for python -i, as well as for python -m asyncio. The event in question is cpython.run_stdin.
- gh-122133: Authenticate the socket connection for the socket.socketpair() fallback on platforms where AF_UNIX is not available like Windows.
Patch by Gregory P. Smith <greg@krypto.org> and Seth Larson <seth@python.org>. Reported by Ellie <el@horse64.org>
Library
- gh-122744: Bump the version of pip bundled in ensurepip to version 24.2.
- gh-122334: Fix crash when importing ssl after the main interpreter restarts.
- gh-87320: In code.InteractiveInterpreter, handle exceptions caused by calling a non-default sys.excepthook(). Before, the exception bubbled up to the caller, ending the REPL.
- gh-122400: Handle ValueErrors raised by os.stat() in filecmp.dircmp and filecmp.cmpfiles(). Patch by Bénédikt Tran.
- gh-122311: Fix some error messages in pickle.
- gh-121650: email headers with embedded newlines are now quoted on output. The generator will now refuse to serialize (write) headers that are unsafely folded or delimited; see verify_generated_headers. (Contributed by Bas Bloemsaat and Petr Viktorin in gh-121650.)
- gh-122332: Fixed segfault with asyncio.Task.get_coro() when using an eager task factory.
- gh-122170: Handle ValueErrors raised by os.stat() in linecache. Patch by Bénédikt Tran.
- gh-121723: Make logging.config.dictConfig() accept any object implementing the Queue public API. See the queue configuration section for details. Patch by Bénédikt Tran.
- gh-82951: Serializing objects with complex __qualname__ (such as unbound methods and nested classes) by name no longer involves serializing parent objects by value in pickle protocols < 4.
- gh-120930: Fixed a bug introduced by gh-92081 that added an incorrect extra blank to encoded words occurring in wrapped headers.
- gh-121474: Fix missing sanity check for parties arg in threading.Barrier constructor. Patch by Clinton Christian (pygeek).
- gh-121025: Improve the __repr__() of functools.partialmethod. Patch by Bénédikt Tran.
- gh-121018: Fixed issues where argparse.ArgumentParser.parse_args() did not honor exit_on_error=False. Based on patch by Ben Hsing.
- gh-119614: Fix truncation of strings with embedded null characters in some internal operations in tkinter.
- gh-120910: When reading installed files from an egg, use relative_to(walk_up=True) to honor files installed outside of the installation root.
- gh-101830: Accessing the tkinter object’s string representation no longer converts the underlying Tcl object to a string on Windows.
- gh-120811: Fix possible memory leak in contextvars.Context.run().
- gh-120769: Make empty line in pdb repeats the last command even when the command is from cmdqueue.
- gh-120732: Fix name passing to unittest.mock.Mock object when using unittest.mock.create_autospec().
- gh-120495: Fix incorrect exception handling in Tab Nanny. Patch by Wulian233.
- gh-120343: Fix column offset reporting for tokens that come after multiline f-strings in the tokenize module.
- gh-119600: Fix unittest.mock.patch() to not read attributes of the target when new_callable is set. Patch by Robert Collins.
- gh-120289: Fixed the use-after-free issue in cProfile by disallowing disable() and clear() in external timers.
- gh-114053: Fix edge-case bug where typing.get_type_hints() would produce incorrect results if type parameters in a class scope were overridden by assignments in a class scope and from __future__ import annotations semantics were enabled. Patch by Alex Waygood.
- gh-114053: Fix erroneous NameError when calling inspect.get_annotations() with eval_str=True` on a class that made use of

PEP 695 type parameters in a module that had from __future__ import annotations at the top of the file. Patch by Alex Waygood.
- gh-120268: Prohibit passing None to pure-Python datetime.date.fromtimestamp() to achieve consistency with C-extension implementation.
- gh-120244: Fix memory leak in re.sub() when the replacement string contains backreferences.
- gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0.
- gh-71587: Fix crash in C version of datetime.datetime.strptime() when called again on the restarted interpreter.
- gh-117983: Defer the threading import in importlib.util until lazy loading is used.
- gh-119698: Fix symtable.Class.get_methods() and document its behaviour. Patch by Bénédikt Tran.
- gh-120121: Add concurrent.futures.InvalidStateError to module’s __all__.
- gh-112672: Support building tkinter with Tcl 9.0.
- gh-65454: unittest.mock.Mock.attach_mock() no longer triggers a call to a PropertyMock being attached.
- gh-81936: help() and showtopic() methods now respect a configured output argument to pydoc.Helper and not use the pager in such cases. Patch by Enrico Tröger.
- gh-119577: The DeprecationWarning emitted when testing the truth value of an xml.etree.ElementTree.Element now describes unconditionally returning True in a future version rather than raising an exception in Python 3.14.
- gh-119506: Fix io.TextIOWrapper.write() method breaks internal buffer when the method is called again during flushing internal buffer.
- gh-119189: When using the ** operator or pow() with Fraction as the base and an exponent that is not rational, a float, or a complex, the fraction is no longer converted to a float.
- gh-105623: Fix performance degradation in logging.handlers.RotatingFileHandler. Patch by Craig Robson.
- bpo-39324: Add mime type mapping for .md <-> text/markdown
IDLE
- gh-122482: Change About IDLE to direct users to discuss.python.org instead of the now unused idle-dev email and mailing list.
- gh-78889: Stop Shell freezes by blocking user access to non-method sys.stdout.shell attributes, which are all private.
- gh-120104: Fix padding in config and search dialog windows in IDLE.
Documentation
- gh-121749: Fix documentation for PyModule_AddObjectRef().
- gh-120012: Clarify the behaviours of multiprocessing.Queue.empty() and multiprocessing.SimpleQueue.empty() on closed queues. Patch by Bénédikt Tran.
Core and Builtins
- gh-122208: Dictionary watchers now only deliver the PyDict_EVENT_ADDED event when the insertion is in a known good state to succeed.
- gh-122300: Preserve AST nodes for f-string with single-element format specifiers. Patch by Pablo Galindo
- gh-122029: Emit c_call events in sys.setprofile() when a PyMethodObject pointing to a PyCFunction is called.
- gh-122026: Fix a bug that caused the tokenizer to not correctly identify mismatched parentheses inside f-strings in some situations. Patch by Pablo Galindo
- gh-121657: Improve the SyntaxError message if the user tries to use yield from outside a function.
- gh-117482: Unexpected slot wrappers are no longer created for builtin static types in subinterpreters.
- gh-121439: Allow tuples of length 20 in the freelist to be reused.
- gh-121130: Fix f-strings with debug expressions in format specifiers. Patch by Pablo Galindo
- gh-120722: Correctly set the bytecode position on return instructions within lambdas. Patch by Jelle Zijlstra.
- gh-120384: Fix an array out of bounds crash in list_ass_subscript, which could be invoked via some specificly tailored input: including concurrent modification of a list object, where one thread assigns a slice and another clears it.
- gh-120380: Fix Python implementation of pickle.Pickler for bytes and bytearray objects when using protocol version 5. Patch by Bénédikt Tran.
- gh-93691: Fix source locations of instructions generated for the iterator of a for statement.
- gh-120198: Fix a crash when multiple threads read and write to the same __class__ of an object concurrently.
- gh-120298: Fix use-after free in list_richcompare_impl which can be invoked via some specificly tailored evil input.
- gh-119666: Fix a compiler crash in the case where two comprehensions in class scope both reference __class__.
- bpo-24766: Fix handling of doc argument to subclasses of property.
Build
- gh-120671: Fix failing configure tests due to a missing space when appending to CFLAGS.
- gh-115983: Skip building test modules that must be built as shared under WASI.

https://docs.python.org/release/3.12.5/whatsnew/changelog.html#python-3-12-5

Vinsælast í flokknum Forritunarmál og SDK

Sjá allt
  1. Go Programming LanguageForritunarmál og SDK
  2. LLVMForritunarmál og SDK · LLVM
  3. DenoForritunarmál og SDK · Deno Land Inc.
  4. CMakeForritunarmál og SDK · Kitware
  5. YarnForritunarmál og SDK · Yarn Contributors
  6. CcacheForritunarmál og SDK · Joel Rosdahl
  7. sbtForritunarmál og SDK · Lightbend, Inc.
  8. BOINCForritunarmál og SDK · Space Sciences Laboratory, U.C. Berkeley
  9. Dart SDKForritunarmál og SDK · Google
  10. NVM for WindowsForritunarmál og SDK · Ecor Ventures LLC

Meira frá Python Software Foundation

Sjá allt
  • Python 3.14Forritunarmál og SDK · Python Software Foundation
  • Python 3.13Forritunarmál og SDK · Python Software Foundation
  • Python 3.11Forritunarmál og SDK · Python Software Foundation
  • Python 3.10Forritunarmál og SDK · Python Software Foundation
  • Python Install ManagerÞróunarumhverfi og kóðaritlar · Python Software Foundation
  • Python 3.9Forritunarmál og SDK · Python Software Foundation

Merki

Deila