PEP 669: Clarifications (#2758)
This commit is contained in:
parent
9aa0775867
commit
738a01cb30
13
pep-0669.rst
13
pep-0669.rst
|
@ -272,6 +272,14 @@ Attributes of the ``sys.monitoring`` namespace
|
|||
* ``def restart_events()->None``
|
||||
* ``DISABLE: object``
|
||||
|
||||
Access to "debug only" features
|
||||
-------------------------------
|
||||
|
||||
Some features of the standard library are not accessible to normal code,
|
||||
but are accessible to debuggers. For example, setting local variables, or
|
||||
the line number.
|
||||
|
||||
These features will be available to callback functions.
|
||||
|
||||
Backwards Compatibility
|
||||
=======================
|
||||
|
@ -292,8 +300,9 @@ will raise an exception.
|
|||
respectively, so can be used along side this PEP.
|
||||
|
||||
This makes ``sys.settrace`` and ``sys.setprofile`` incompatible with :pep:`523`.
|
||||
Arguably, they already were as the author know of any PEP 523 plugin that support
|
||||
``sys.settrace`` or ``sys.setprofile`` correctly. This PEP merely formalizes that.
|
||||
Arguably, they already were as the author does not know of any PEP 523 plugin
|
||||
that supports ``sys.settrace`` or ``sys.setprofile`` correctly.
|
||||
This PEP merely formalizes that.
|
||||
|
||||
Performance
|
||||
-----------
|
||||
|
|
Loading…
Reference in New Issue