@@ -930,10 +930,11 @@ sys
930930 It is always ``'freebsd' ``, instead of ``'freebsd13' `` or ``'freebsd14' ``.
931931
932932* Schedule a change for availability of :data: `sys.abiflags ` on Windows. A
933- :exc: `DeprecationWarning ` will be emitted if the :data: `sys.abiflags ` member
933+ :exc: `DeprecationWarning ` will be emitted if the :data: `! sys.abiflags ` member
934934 is accessed on Windows before Python 3.16.
935935 (Contributed by Xuehai Pan in :gh: `131717 `.)
936936
937+
937938.. _whatsnew314-sys-abiflags-change :
938939
939940sys.abiflags
@@ -966,11 +967,11 @@ To suppress this warning, use the :mod:`warnings` module:
966967 Due to historical reasons, :data: `sys.abiflags ` is not covered by
967968:pep: `3149 ` on Windows. Now we have multiple builds, such as the
968969:term: `free-threaded <free threading> ` build, that provide different ABIs.
969- :data: `sys.abiflags ` is now required under many circumstances to determine
970+ :data: `! sys.abiflags ` is now required under many circumstances to determine
970971the ABI of the Python interpreter.
971972
972- The :data: `sys.abiflags ` member will be set to a meaningful value on
973- Windows in Python 3.16. This means the :data: `sys.abiflags ` member will
973+ The :data: `! sys.abiflags ` member will be set to a meaningful value on
974+ Windows in Python 3.16. This means the :data: `! sys.abiflags ` member will
974975always be available on all platforms starting from Python 3.16.
975976
976977The following table shows how to migrate from the old code to the new code
@@ -986,6 +987,7 @@ without changing the behavior:
986987| ``hasattr(sys, 'abiflags') `` | ``not sys.platform.startswith('win') `` |
987988+---------------------------------------+---------------------------------------------------------------------+
988989
990+
989991sys.monitoring
990992--------------
991993
0 commit comments