Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
Version: None
Released: Feb. 28, 2018
This is a beta preview of Python 3.7 Python 3.7 is still in development. This release, 3.7.0b2, is the second of four planned beta release previews. Among the major new features in Python 3.7 are: PEP 538, Coercing the legacy C locale to a UTF-8 based locale PEP 539 …
View Release Notes
Released: Dec. 24, 2018
Note: The release you are looking at is a bugfix release for the legacy 3.7 series which has now reached end-of-life and is no longer supported. See the downloads page for currently supported versions of Python. The final source-only security fix release for 3.7 was 3.7.17. Among the major …
Released: Dec. 11, 2019
Note Python 3.8 is now the latest feature release series of Python 3. Get the latest release of 3.8.x here. We plan to continue to provide bugfix releases for 3.7.x until mid 2020 and security fixes until mid 2023. Python 3.7.6rc1 is the release candidate preview of the sixth …
Released: May 30, 2018
This is a beta preview of Python 3.7 Python 3.7 is still in development. This release, 3.7.0b5, is now the final planned beta release preview. Originally, 3.7.0b4 was intended to be the final beta but, due to some unexpected compatibility issues discovered during beta testing of third-party packages, we …
...breakpoint environment variable to the following in order to effectively disable it: $ setenv PYTHONBREAKPOINT=noop Implementation The Python equivalent of the noop() function is exactly: def noop(*args, **kws): return None The C built-in implementation is available as a pull request [1]. Rejected alternatives noop() returns something YAGNI. This is rejected because it complicates the semantics. For example, if you always return both *args and **kws, what do you return when none of...
...breakpoints with negative numbers. <p><li>The Bastion.py and rexec.py modules are disabled. <p><li>There are some additional restrictions on __class__ assignments. <p><li>__delitem__ for WeakKeyDictionary has been improved and fixed, but may change visible behavior. </ul> See the <a href="../NEWS.txt">NEWS file</a> for more detail. <h3>Incompatibilities between Python 2.1[.x] and Python 2.2[.x]</h3> <p>The follo...
...breakpoint() PEP 557, Data Classes PEP 560, Core support for typing module and generic types PEP 562, Module __getattr__ and __dir__ PEP 563, Postponed Evaluation of Annotations PEP 564, Time functions with nanosecond resolution PEP 565, Show DeprecationWarning in __main__ PEP 567, Context Variables Copyright This document has been placed in the public domain. Source: https://github.com/python/peps/blob/master/pep-0537.txt
...breakpoint function call at the proper point for help in debugging while not having to do a heavy-handed approach as required by sys.settrace(). To help facilitate these use-cases, we are also proposing the adding of a "scratch space" on code objects via a new field. This will allow per-code object data to be stored with the code object itself for easy retrieval by the frame evaluation function as necessary. The field itself will simply be a PyObject * type so that any data stored in the field w...
...breakpoint facility undocumented, Deily, Ned (http://bugs.python.org/issue10405) [6]IDLE: calltips mishandle raw strings and other examples, Reedy, Terry (http://bugs.python.org/issue12510) [7]IDLE: replace ending with '' causes crash, Reedy, Terry (http://bugs.python.org/issue13052) Copyright This document has been placed in the public domain. Source: https://github.com/python/peps/blob/master/pep-0434.txt
...breakpoints). This can boost pystone by >5%. https://bugs.python.org/issue587993, now checked in. (Unfortunately the pystone boost didn't happen. What happened?) Write a pymemcompat.h that people can bundle with their extensions and then use the 2.3 memory interface with all Pythons in the range 1.5.2 to 2.3. (Michael Hudson checked in Misc/pymemcompat.h.) Add a new concept, "pending deprecation", with associated warning PendingDeprecationWarning. This warning is normally suppressed, b...
...breakpoints on functions and profilers can display the function name in the call stacks. In most cases, it works even when a static inline function is inlined. Functions don't have macros pitfalls. Converting macros to static inline functions should only impact very few C extensions that use macros in unusual ways. For backward compatibility, functions must continue to accept any type, not only PyObject*, to avoid compiler warnings, since most macros cast their parameters to PyObject*. Python 3...
...breakpoints on inlined functions. Variables have a well defined scope. Code is usually easier to read and to maintain than similar macro code. Functions don't need the following workarounds for macro pitfalls: Add parentheses around arguments. Use line continuation characters if the function is written on multiple lines. Add commas to execute multiple expressions. Use do { ... } while (0) to write multiple statements. Converting macros and static inline functions to regular functions makes t...
...breakpoint() Warsaw SF 557 Data Classes Smith SF 562 Module __getattr__ and __dir__ Levkivskyi SF 564 Add new time functions with nanosecond resolution Stinner SF 565 Show DeprecationWarning in __main__ Coghlan SF 566 Metadata for Python Software Packages 2.1 Ingram SF 567 Context Variables Selivanov SF 573 Module State Access from C Extension Methods Viktorin, Coghlan, Snow, Plch SF 574 Pickle protocol 5 with out-of-band data Pitrou SF 584 Add Union Operators To dict D'Aprano, Bucher ...