diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-04-14 18:11:47 (GMT) |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-07-09 16:23:26 (GMT) |
commit | 187bf05b1631ff2e2359ce2bc5875854f9082258 (patch) | |
tree | 2beaac20a27430382b1f331a424e5859f01d35d0 /RELEASE.txt | |
parent | 3b10709c1a5486d3e018effd27d85e55807afc56 (diff) | |
download | SCons-187bf05b1631ff2e2359ce2bc5875854f9082258.zip SCons-187bf05b1631ff2e2359ce2bc5875854f9082258.tar.gz SCons-187bf05b1631ff2e2359ce2bc5875854f9082258.tar.bz2 |
Implement somewhat pythonic type hints in sctypes
Diffstat (limited to 'RELEASE.txt')
-rw-r--r-- | RELEASE.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/RELEASE.txt b/RELEASE.txt index 1797698..5845e56 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -56,7 +56,11 @@ DOCUMENTATION DEVELOPMENT ----------- -- List visible changes in the way SCons is developed +- sctypes `is_*` functions given explicit return types. Python 3.13+ uses + `TypeIs` for a near-equivalent of `isinstance`. Python 3.10 through 3.12 + uses `TypeGuard`, a less accurate implementation but still provides + usable type hinting. Python 3.9 and earlier simply returns `bool`, same + as before. Thanks to the following contributors listed below for their contributions to this release. ========================================================================================== |