Rune Tynan and GitHub
3926e88d13
Add macurl2path stub ( #3785 )
...
* Add macurl2path stub, types based on urllib
* Fix types, remove undocumented
The whole module is undocumented, no reason to just mention it on one call
* Module was removed in 3.7, stubtest shouldn't care about it
* Module was removed in 3.7, stubtest shouldn't care about it
2020-02-29 22:03:50 -08:00
Rune Tynan and GitHub
070a4da85d
Add this module ( #3784 )
2020-02-27 19:18:54 -08:00
Rune Tynan and GitHub
7d8e2c8546
Add missing argument types for xml.sax stubs ( #3706 )
...
* Add missing argument types for xml.sax stubs
* Fix xml typings
2020-02-21 21:38:11 -08:00
Rune Tynan and GitHub
9425e359fc
Add missing parameter types for _json ( #3710 )
...
* Add missing parameter types for _json make_encoder
* Fix json typings
2020-02-21 21:37:24 -08:00
ebc521869d
Add missing parameter types to optparse ( #3711 )
...
* Add missing parameter types to optparse
* mark add_option_group arg as positional-only
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2020-02-02 22:13:56 -08:00
Rune Tynan and GitHub
e8f85d9479
Fix missing types in builtins/__builtin__ ( #3705 )
...
* Fix missing type in builtins/__builtin__
* Add return type to memoryview cast
2020-02-02 22:13:48 -08:00
Rune Tynan and GitHub
3e9f03015b
Add missing return type to read ( #3707 )
2020-02-02 22:07:24 -08:00
Rune Tynan and GitHub
9e70c157c9
Add missing parameter types ( #3709 )
2020-02-02 22:06:40 -08:00
Rune Tynan and GitHub
e3ddfd46b4
Fix missing type for dataclasses ( #3708 )
...
* Add missing return type to make_dataclass
* Fix consistency check
2020-02-02 21:58:15 -08:00
Rune Tynan and GitHub
2c2c60bfc8
Add missing return type in sre_constants ( #3712 )
2020-02-02 14:36:34 -08:00
Rune Tynan and Jelle Zijlstra
85afac3bd5
Add (_)dummy_threading module, identical to threading ( #3554 )
...
* Add (_)dummy_threading module, identical to threading
* Remove unnecessary comment, add consistency check
2020-01-18 07:42:32 -08:00
Rune Tynan and Jelle Zijlstra
89602a89b9
Add antigravity module ( #3555 )
2019-12-21 14:48:00 -08:00
Rune Tynan and Jelle Zijlstra
0c563130fd
Add dbm stubs ( #3508 )
2019-12-21 12:25:37 -08:00
Rune Tynan and Sebastian Rittau
4ed19cdaf5
Add stubs for winsound module ( #3535 )
2019-12-16 01:20:15 +01:00
Rune Tynan and Jelle Zijlstra
359817bde9
In python versions 3.7 and above, re-export Pattern and Match ( #3510 )
2019-11-29 06:03:45 -08:00
Rune Tynan and Jelle Zijlstra
643b955edb
Modulefinder stubs ( #3497 )
2019-11-25 21:21:32 -08:00
Rune Tynan and Jelle Zijlstra
e2cf7c1bcf
Add mailcap module ( #3482 )
2019-11-25 19:46:28 -08:00
Rune Tynan and Jelle Zijlstra
cd45623ab7
Mailbox stubs ( #3427 )
2019-11-22 21:03:31 -08:00
Rune Tynan and Jelle Zijlstra
b112c20dad
Copyreg stubs ( #3387 )
2019-10-29 19:52:05 -07:00
Rune Tynan and Jelle Zijlstra
6058c23136
Make path separator based on OS separator ( #3375 )
2019-10-16 10:12:45 -07:00
Rune Tynan and Sebastian Rittau
67629a14a7
Add stubs for cgitb ( #3368 )
2019-10-16 17:11:23 +02:00
Rune Tynan and Jelle Zijlstra
dfe68625ec
Add public missing asyncio stubs for windows and proactor files ( #3234 )
...
* Add public missing asyncio stubs for windows and proactor files, and any necessary private return/argument types.
* Add methods to BaseProactorEventLoop that mypy is complaining about, with note about status at runtime
* Add asyncio constants file
2019-10-14 21:03:29 -07:00
Rune Tynan and Jelle Zijlstra
6c42f6bb2f
Add bdb stubs ( #3354 )
2019-10-14 20:01:24 -07:00
Rune Tynan and Sebastian Rittau
6354bc8a10
Ensurepip stubs ( #3349 )
2019-10-12 02:45:43 +02:00
Rune Tynan and Sebastian Rittau
7710e925ca
Add data to UserList class, fix UserDict.data type ( #3316 )
2019-10-07 17:05:19 +02:00
Rune Tynan and Jelle Zijlstra
2b97bb904a
Add AIFC module stubs ( #3075 )
2019-09-11 15:39:41 -07:00
Rune Tynan and Jelle Zijlstra
15b7cdaf40
Implement ZipExtFile in the zipfile type stubs ( #3074 )
2019-08-10 13:25:03 -07:00
Rune Tynan and Jelle Zijlstra
58221cf20e
Add types and functions in types.py that are new in 3.7 ( #3066 )
...
* Add types and functions in types.py that are new in 3.7
* Update `resolve_bases` to accept any iterable of objects, and the same
for `new_class` if the version is at least 3.7
* Add comparison overrides implemented by MethodWrapperType
* Fix mypy error due to over-constrained `__eq__`
2019-06-19 15:20:57 -07:00
Rune Tynan and Ivan Levkivskyi
cb7de8adfa
Fix typo in FrameType 3.7 attributes ( #2899 )
2019-04-03 22:52:34 +01:00