Skip to content

Commit cfa653a

Browse files
committed
Add caveat about non-availability of sys.abiflags on Windows
1 parent 58264e2 commit cfa653a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

peps/pep-0780.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ For example, ``"32-bit" in sys.abi_features`` is much more expressive than the
199199
current standard test of comparing ``sys.maxsize`` with ``2**32``, which can
200200
be found more than ten thousand times on GitHub.
201201
If one wants to determine whether the interpreter is a debug build, there is
202-
currently no standardized, cross platform way to do so.
202+
currently no standardized, cross platform way to do so, and ``sys.abiflags`` is
203+
not available on Windows.
203204
Hence, the `ABI Features`_ listed above are added to the Python standard
204205
library.
205206

0 commit comments

Comments
 (0)