tag:github.com,2008:https://github.com/YashShreshthaRaj404/Python-Programming-language-/releases Release notes from Python-Programming-language- 2024-06-16T07:00:28Z tag:github.com,2008:Repository/783808375/Python 2024-06-16T08:57:02Z New Version Python 3.13 <p><em><strong>[The next pre-release of Python 3.13 will be 3.13.0b3, currently scheduled for 2024-06-25]</strong></em></p> <p><strong>Major new features of the 3.13 series, compared to 3.12</strong><br> Some of the new major new features and changes in Python 3.13 are:</p> <p>New features<br> •A new and improved interactive interpreter, based on PyPy's, featuring multi-line editing and color support, as well as colorized exception tracebacks.<br> •An experimental free-threaded build mode, which disables the Global Interpreter Lock, allowing threads to run more concurrently.<br> •A preliminary, experimental JIT, providing the ground work for significant performance improvements.<br> •The (cyclic) garbage collector is now incremental, which should mean shorter pauses for collection in programs with a lot of objects.<br> •A modified version of mimalloc is now included, optional but enabled by default if supported by the platform, and required for the free-threaded build mode.<br> •Docstrings now have their leading indentation stripped, reducing memory use and the size of .pyc files. <strong>(Most tools handling docstrings already strip leading indentation.)</strong><br> The dbm module has a new dbm.sqlite3 backend that is used by default when creating new files.<br> <em>Typing</em><br> •Support for type defaults in type parameters.<br> •A new type narrowing annotation, <code>typing.TypeIs</code><br> •A new annotation for read-only items in TypeDicts.<br> <em>Removals and new deprecations</em><br> •PEP 594 (Removing dead batteries from the standard library) scheduled removals of many deprecated modules: <code>aifc</code>, <code>audioop</code>, <code>chunk</code>, <code>cgi</code>, <code>cgitb</code>, <code>crypt</code>, <code>imghdr</code>, <code>mailcap</code>, <code>msilib</code>, <code>nis</code>, <code>nntplib</code>, <code>ossaudiodev</code>, <code>pipes</code>, <code>sndhdr</code>, <code>spwd</code>, <code>sunau</code>, <code>telnetlib</code>, <code>uu</code>, <code>xdrlib</code>, <code>lib2to3</code>.<br> Many other removals of deprecated classes, functions and methods in various standard library modules.<br> C API removals and deprecations. (Some removals present in alpha 1 were reverted in alpha 2, as the removals were deemed too disruptive at this time.)<br> New deprecations, most of which are scheduled for removal from Python 3.15 or 3.16.<br> (Hey, <strong>fellow core developer</strong>, if a feature you find important is missing from this list, let Thomas know.)</p> <p>For more details on the changes to Python 3.13, see What's new in Python 3.13. The next pre-release of Python 3.13 will be 3.13.0b3, currently scheduled for 2024-06-25.</p> YashShreshthaRaj404