Skip to content

Commit 2e79345

Browse files
committed
Add a todo note in docs
1 parent 2ff7082 commit 2e79345

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Doc/library/sys.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ always available. Unless explicitly noted otherwise, all variables are read-only
3535
<whatsnew314-sys-abiflags-change>` on the *What's New in 3.14*
3636
page for more details.
3737

38+
.. TODO: When we're in Python 3.16:
39+
- Add a **CAUTION** section about the differences of :data:`sys.abiflags`
40+
between prior-3.14, 3.14-3.15, and 3.16+ on Windows.
41+
- Move porting recommendations from whatsnew/3.14.rst.
42+
3843
3944
.. function:: addaudithook(hook)
4045

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ To suppress this warning, use the :mod:`warnings` module:
960960
import warnings
961961
962962
with warnings.catch_warnings():
963-
# ignore DeprecationWarning on sys.abiflags change on Windows
963+
# ignore DeprecationWarning on incoming sys.abiflags change on Windows before 3.16
964964
warnings.simplefilter('ignore', DeprecationWarning)
965965
abiflags = getattr(sys, 'abiflags', '')
966966

0 commit comments

Comments
 (0)