A remarkably powerful dynamic programming language

Python (32-bit)

Python 3.13.12 (32-bit)

  -  26.5 MB  -  Open Source

Sometimes latest versions of the software can cause issues when installed on older devices or devices running an older version of the operating system.

Software makers usually fix these issues but it can take them some time. What you can do in the meantime is to download and install an older version of Python 3.13.12 (32-bit).


For those interested in downloading the most recent release of Python (32-bit) or reading our review, simply click here.


All old versions distributed on our website are completely virus-free and available for download at no cost.


We would love to hear from you

If you have any questions or ideas that you want to share with us - head over to our Contact page and let us know. We value your feedback!

Why is this app published on FileHorse? (More info)
  • Python 3.13.12 (32-bit) Screenshots

    The images below have been resized. Click on them to view the screenshots in full size.

    Python 3.13.12 (32-bit) Screenshot 1
  • Python 3.13.12 (32-bit) Screenshot 2
  • Python 3.13.12 (32-bit) Screenshot 3
  • Python 3.13.12 (32-bit) Screenshot 4
  • Python 3.13.12 (32-bit) Screenshot 5

What's new in this version:

Windows:
- Fix a bug in PyREPL on Windows where output without a trailing newline was overwritten by the next prompt

Tools/Demos:
- Make gdb ‘py-bt’ command use frame from thread local state when available. Patch by Sam Gross and Victor Stinner.

Tests:
- The Android testbed now distinguishes between stdout/stderr messages which were triggered by a newline, and those triggered by a manual call to flush. This fixes logging of progress indicators and similar content.
-Add support for parametrized resource wantobjects in regrtests, which allows to run Tkinter tests with the specified value of tkinter.wantobjects, for example -u wantobjects=0.
- Add support for parametrized resources, such as -u xpickle=2.7.
- Accommodated Solaris in test_pdb.test_script_target_anonymous_pipe.
- Fix a flaky test in test_repr_rlock that checks the representation of multiprocessing.RLock.
- bpo-31391: Forward-port test_xpickle from Python 2 to Python 3 and add the resource back to test’s command line.

Security:
- BytesGenerator 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).
- Fixed a bug in the folding of comments when flattening an email message using a modern email policy. Comments consisting of a very long sequence of non-foldable characters could trigger a forced line wrap that omitted the required leading space on the continuation line, causing the remainder of the comment to be interpreted as a new header field. This enabled header injection with carefully crafted inputs.
- Reject control characters in data: URL media types.
- Reject control characters in http.cookies.Morsel fields and values.
- Reject C0 control characters within wsgiref.headers.Headers fields, values, and parameters.

Library:
- Improve performance of io.BufferedReader line iteration by ~49%.
- Fix three crashes when non-string keyword arguments are supplied to objects in the ast module.
- Fixed a crash in ctypes when using a deprecated POINTER(str) type in argtypes. Instead of aborting, ctypes now raises a proper Python exception when the pointer target type is unresolved.
- Fix stat.filemode() in the pure-Python implementation to avoid misclassifying invalid mode values as block devices.
- Fixed validation of file descriptor 0 in posix functions when used with follow_symlinks parameter.
- Fix an issue where inspect.getgeneratorstate() and inspect.getcoroutinestate() could fail for generators wrapped by types.coroutine() in the suspended state.
- Fix multiprocessing forkserver so that sys.argv is correctly set before __main__ is preloaded. Previously, sys.argv was empty during main module import in forkserver child processes. This fixes a regression introduced in 3.13.8 and 3.14.1. Root caused by Aaron Wieczorek, test provided by Thomas Watson, thanks!
- Forbid reentrant calls of the pickle.Pickler and pickle.Unpickler methods for the C implementation. Previously, this could cause crash or data corruption, now concurrent calls of methods of the same object raise RuntimeError.
-Raise RuntimeError’s when user attempts to call methods on half-initialized Struct objects, For example, created by Struct.__new__(Struct). Patch by Sergey B Kirpichev.
- Fix a inconsistency issue in write() that leads to unexpected buffer overwrite by deduplicating the buffer exports.
- Fix sys.unraisablehook() when the hook raises an exception and changes sys.unraisablehook(): hold a strong reference to the old hook. Patch by Victor Stinner.
- Fix use-after-free crashes when a BytesIO object is concurrently mutated during write() or writelines().
- Fix incorrect wrapping of the Base64 data in plistlib._PlistWriter when the indent contains a mix of tabs and spaces.
- tkinter: fix a crash when a Python list is mutated during the conversion to a Tcl object (e.g., when setting a Tcl variable). Patch by Bénédikt Tran.
- Fix a crash in os.execve() on non-Windows platforms when given a custom environment mapping which is then mutated during parsing. Patch by Bénédikt Tran.
- pickle: fix use-after-free crashes when a PickleBuffer is concurrently mutated by a custom buffer callback during pickling. Patch by Bénédikt Tran and Aaron Wieczorek.
- Fix support of named pipes in the rotating logging handlers.
- Fix possible buffer leaks in Windows overlapped I/O on error handling.
- zoneinfo: fix infinite loop in ZoneInfo.from_file when parsing a malformed TZif file. Patch by Fatih Celik.
- sqlite3: fix use-after-free crashes when the connection’s callbacks are mutated during a callback execution. Patch by Bénédikt Tran.
- xml.etree.ElementTree: fix use-after-free crashes in __getitem__() and __setitem__() methods of Element when the element is concurrently mutated. Patch by Bénédikt Tran.
- Updated timeout evaluation logic in subprocess to be compatible with deterministic environments like Shadow where time moves exactly as requested.
- Fixed a possible reference leak in ctypes when constructing results with multiple output parameters on error.
- Corrected the error message in readline.append_history_file() to state that nelements must be non-negative instead of positive.
- Fix a potential use-after-free in collections.Counter.update() when user code mutates the Counter during an update.
- The asyncio REPL no longer prints copyright and version messages in the quiet mode (-q). Patch by Bartosz Sławecki.
- The asyncio REPL now respects the -I flag (isolated mode). Previously, it would load and execute PYTHONSTARTUP even if the flag was set. Contributed by Bartosz Sławecki.
- Fixed socket operations such as recvfrom() and sendto() for FreeBSD divert(4) socket.
- Fixed a bug in mailbox where the precise timing of an external event could result in the library opening an existing file instead of a file it expected to create.
- Fix concurrent and reentrant call of atexit.unregister().
- Fix possible use-after-free in atexit.unregister() when the callback is unregistered during comparison.
- Fix zoneinfo use-after-free with descriptor _weak_cache. a descriptor as _weak_cache could cause crashes during object creation. The fix ensures proper reference counting for descriptor-provided objects.
- Add the ownerDocument attribute to xml.dom.minidom elements and attributes created by directly instantiating the Element or Attr class. Note that this way of creating nodes is not supported; creator functions like xml.dom.Document.documentElement() should be used instead.
- The asyncio REPL now properly closes the loop upon the end of interactive session. Previously, it could cause surprising warnings. Contributed by Bartosz Sławecki.
- array: fix a crash in a[i] = v when converting i to an index via i.__index__ or i.__float__ mutates the array.
- Fix crash in TextIOWrapper.close() when the underlying buffer’s closed property calls detach().
- hmac: Ensure that the HMAC.block_size attribute is correctly copied by HMAC.copy. Patch by Bénédikt Tran.
- collections.defaultdict now prioritizes __setitem__() when inserting default values from default_factory. This prevents race conditions where a default value would overwrite a value set before default_factory returns.
- unittest.mock: fix a thread safety issue where Mock.call_count may return inaccurate values when the mock is called concurrently from multiple threads.
- Added type check during initialization of the decimal module to prevent a crash in case of broken stdlib. Patch by Sergey B Kirpichev.
- The non-compat32 email policies now correctly handle refolding encoded words that contain bytes that can not be decoded in their specified character set. Previously this resulted in an encoding exception during folding.
- The help text for required options in argparse no longer extended with “ (default: None)”.
- Pdb can now run scripts from anonymous pipes used in process substitution. Patch by Bartosz Sławecki.
- Fix winreg.QueryValueEx() to not accidentally read garbage buffer under race condition.
-Fix argparse to preserve | separators in mutually exclusive groups when the usage line wraps due to length.
-MisplacedEnvelopeHeaderDefect and Missing header name defects are now correctly passed to the handle_defect method of policy in FeedParser.
- Fix a bug in the email.policy.default folding algorithm which incorrectly resulted in a doubled newline when a line ending at exactly max_line_length was followed by an unfoldable token.
- Fix asyncio.run_coroutine_threadsafe() leaving underlying cancelled asyncio task running.
- pydoc: Ensure that the link to the online documentation of a stdlib module is correct.
- Some keystrokes can be swallowed in the new PyREPL on Windows, especially when used together with the ALT key. Fix by Chris Eibl.
- Improved license/copyright/credits display in the REPL: now uses a pager.
-Add parsing for References and In-Reply-To headers to the email library that parses the header content as lists of message id tokens. This prevents them from being folded incorrectly.
- Starting a process from spawn context in multiprocessing no longer sets the start method globally.
-Fixed an off by one error concerning the backlog parameter in create_unix_server(). Contributed by Christian Harries.
- Fix thread-safety issues in linecache.
- Skip writing objects during marshalling once a failure has occurred.
- Correct behavior of asyncio.selector_events.BaseSelectorEventLoop._accept_connection() in handling ConnectionAbortedError in a loop. This improves performance on OpenBSD.

IDLE:
- Better explain the operation of Format / Format Paragraph.

Documentation:
- Add documentation for enum.bin().

Core and Builtins:
- Prevent a reference leak in module teardown at interpreter finalization.
- Fix error handling in perf jitdump initialization on memory allocation failure.
- Fix crash in set when objects with the same hash are concurrently added to the set after removing an element with the same hash while the set still contains elements with the same hash.
- Fixes a crash in ga_repr_items_list function.
- Fix a crash in _interpreters.capture_exception() when the exception is incorrectly formatted. Patch by Bénédikt Tran.
- Fix crash when inserting a non-str key into a split table dictionary when the key matches an existing key in the split table but has no corresponding value in the dict.
- Fix use-after-free in perf trampoline when toggling profiling while threads are running or during interpreter finalization with daemon threads active. The fix uses reference counting to ensure trampolines are not freed while any code object could still reference them. Pach by Pablo Galindo
- Fix a use-after-free crash in memoryview.__hash__ when the __hash__ method of the referenced object mutates that object or the view. Patch by Bénédikt Tran.
- Fix a use-after-free crash in bytearray.__mod__ when the bytearray is mutated while formatting the %-style arguments. Patch by Bénédikt Tran.
- Fix use-after-free crashes in bytearray.hex() and memoryview.hex() when the separator’s __len__() mutates the original object. Patch by Bénédikt Tran.
- Set sys.flags.inspect to 1 when PYTHONINSPECT is 0. Previously, it was set to 0 in this case.
- Fix an overflow of the shared empty buffer in bytearray.extend() when __length_hint__() returns 0 for non-empty iterator.
- Fix a possible assertion error when comparing negative non-integer float and int with the same number of bits in the integer part.
- Fix a file descriptor leak in import.c
- Fix a use-after-free crash in contextvars.Context comparison when a custom __eq__ method modifies the context via set().
- Clear the frame of a generator when generator.close() is called.
- Tracebacks will be displayed in fallback mode even if io.open() is lost. Previously, this would crash the interpreter. Patch by Bartosz Sławecki.
- Fix a crash in divmod() when _pylong.int_divmod() does not return a tuple of length two exactly. Patch by Bénédikt Tran.
- Fix use-after-free in bytearray search-like methods (find(), count(), index(), rindex(), and rfind()) by marking the storage as exported which causes reallocation attempts to raise BufferError. For contains(), split(), and rsplit() the buffer protocol is used for this.
- Fix SIGILL crash on m68k due to incorrect assembly constraint.
- Ensure the __repr__() for ExceptionGroup and BaseExceptionGroup does not change when the exception sequence that was original passed in to its constructor is subsequently mutated.
- Fix reference cycle in exhausted generator frames. Patch by Savannah Ostrowski.
- Correctly emit PY_UNWIND event when generator object is closed. Patch by Mikhail Efimov.
- Adjusted the built-in help() function so that empty inputs are ignored in interactive mode.
- Do not use the type attribute cache for types with incompatible MRO.
- C API
- PyUnstable_CopyPerfMapFile() now checks that opening the file succeeded before flushing.

Build:
- When calculating the digest of the JIT stencils input, sort the hashed files by filenames before adding their content to the hasher. This ensures deterministic hash input and hence deterministic hash, independent on filesystem order.
- When running make clean-retain-profile, keep the generated JIT stencils. That way, the stencils are not generated twice when Profile-guided optimization (PGO) is used. It also allows distributors to supply their own pre-built JIT stencils.
- Ensure reproducible builds by making JIT stencil header generation deterministic