Nick Coghlan
fa85611aec
Fix refs to contextlib, update diffs
2024-05-23 17:41:07 +10:00
Nick Coghlan
c223508344
Sync with CPython 3.12.3
...
Also adds some helper scripts for the sync process
Closes #43
2024-05-23 16:55:15 +10:00
Alyssa Coghlan
8fe4d73971
Fix typechecking with recent mypy releases ( #59 )
...
* sync with latest typeshed stub file (closes #54 )
* publish `dev/mypy.allowlist` in sdist (closes #53 )
* drop Python 3.7 support due to positional-only arg
syntax in the updated stub file
2024-05-23 00:26:48 +10:00
Thomas Grainger
a35252eefd
backport _typeshed.Self
2021-07-20 14:11:42 +01:00
Thomas Grainger
16db3dcf86
resync from typeshed
2021-07-16 08:33:19 +01:00
Thomas Grainger
908e2da622
add py3.10 async contextlib.nullcontext (pyi)
...
Fixes #41
2021-06-29 19:15:55 +01:00
Thomas Grainger
c907a9975e
widen _SupportsAclose
...
Fixes #39
2021-06-29 09:55:17 +01:00
Nick Coghlan
9a1453b673
Issue #37 : Use mypy.stubcheck to validate stub file
...
* use mypy.stubcheck to ensure stub API matches module API
* sync latest typeshed stub with nullcontext API fix
* use allowlist to ignore deliberately omitted deprecated APIs
2021-06-27 16:04:15 +10:00
Nick Coghlan
841d0ae73a
Include the pyi patch file
2021-06-26 21:49:03 +10:00
Nick Coghlan
a858a8f4d6
Tweak relative paths for docs patch
2021-06-26 21:28:15 +10:00
Nick Coghlan
46244c827d
Issue #12 : Sync API documentation from Python 3.10
2021-06-26 21:24:10 +10:00
Nick Coghlan
4b39470cbb
Sync test suite, add notes on sync process
2021-06-26 17:49:42 +10:00