Rune Tynan
79111ee8ed
Fix _DispatchProtocol in xmlrpc.server ( #4165 )
2020-06-21 13:42:14 -07:00
Rune Tynan
342ce69f88
Add missing asyncio modules ( #4149 )
2020-06-01 02:05:16 +02:00
Rune Tynan
d863210335
Improve TypeVar stub ( #4150 )
2020-05-30 20:27:59 -07:00
Rune Tynan
4381eba6f4
Add _sitebuiltins stubs ( #4139 )
2020-05-29 22:33:06 +02:00
Rune Tynan
d035ce57e3
Add platform checks for various sys values ( #4137 )
...
* Add platform checks for various sys values
* Add windows-only constants
2020-05-28 19:00:31 -07:00
Rune Tynan
a1953431ff
Move oem_(decode, encode) to be 3.6+ ( #4140 )
2020-05-28 18:57:32 -07:00
Rune Tynan
a9e4ddaf29
Add _py_abc stubs ( #4129 )
2020-05-29 00:26:18 +02:00
Rune Tynan and Jelle Zijlstra
0041206765
Fix _winapi version availability ( #4120 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2020-05-27 20:47:15 -07:00
Rune Tynan
712f6d3709
Fix winreg pos-only args and parameter names ( #4117 )
...
* Fix winreg pos-only args and parameter names
* Fix consistency check
2020-05-27 20:22:32 -07:00
Rune Tynan
7ba59719b6
Fix asyncio IocpProactor version availability ( #4121 )
2020-05-27 20:14:00 -07:00
Rune Tynan
d51e13ad80
Add stubtest to Travis for windows ( #4113 )
2020-05-27 18:33:07 -07:00
Rune Tynan
0c1babd288
Make _codecs pass stubtest on windows ( #4107 )
2020-05-27 19:36:41 +02:00
Rune Tynan
fcdfacf944
Fix stubtest failures for socketserver on windows ( #4103 )
2020-05-27 19:34:35 +02:00
Rune Tynan
713a2729b4
Fix stubtest failures for asyncio on windows ( #4092 )
2020-05-27 19:08:19 +02:00
Rune Tynan
ed4993bd50
Fix stubtest failures for os.__init__ on windows ( #4098 )
2020-05-27 17:25:30 +02:00
Rune Tynan
e49c156d92
Add winreg stubs ( #3794 )
2020-05-27 17:15:08 +02:00
Rune Tynan
7ac284f641
Add _pydecimal and _decimal stubs ( #4003 )
2020-05-27 10:10:51 +02:00
Rune Tynan
f1d96d97fe
Fix stubtest failures for msvcrt on windows ( #4095 )
2020-05-27 10:05:33 +02:00
Rune Tynan
9b4eb8c90b
Fix stubtest failures for select on windows ( #4099 )
2020-05-27 09:57:06 +02:00
Rune Tynan
8c7bfab7bd
Fix stubtest failures for selectors on windows ( #4100 )
2020-05-27 09:55:27 +02:00
Rune Tynan
a9375cf274
Fix stubtest failures for signal on windows ( #4101 )
2020-05-27 09:54:37 +02:00
Rune Tynan
d310a16e7c
Fix stubtest failures for time on windows ( #4104 )
2020-05-27 09:51:37 +02:00
Rune Tynan
ab58c8148e
Fix stubtest failures on _winapi ( #4091 )
2020-05-27 09:50:00 +02:00
Rune Tynan
19a797c0ca
Fix stubtest failures for asyncore on windows, remove unnecessary imports ( #4093 )
2020-05-27 09:42:05 +02:00
Rune Tynan
bd6eed8700
Fix stubtest failures for mmap on windows ( #4094 )
2020-05-27 09:40:06 +02:00
Rune Tynan
5e80ca9e44
Fix stubtest failures for path files on windows ( #4096 )
2020-05-27 09:39:26 +02:00
Rune Tynan
f83e4aef7c
Fix stubtest failures for socket on windows ( #4102 )
2020-05-27 09:38:45 +02:00
Rune Tynan and Jelle Zijlstra
3b02ce2128
Add _osx_support module ( #4002 )
...
* Add _osx_support module
* fix type
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2020-05-25 16:11:02 -07:00
Rune Tynan
f56fdb99d1
Add _compat_pickle module ( #4001 )
...
* Add _compat_pickle module
* Whoops, rename .py to .pyi
* Fix value not existing in 3.5
2020-05-16 06:57:32 -07:00
Rune Tynan
e9c7ef7406
Add private _bootlocale stub ( #3985 )
2020-05-13 15:19:18 -07:00
Rune Tynan
65b3ef91fd
Remove class variable overrides ( #3987 )
2020-05-13 10:16:38 -07:00
Rune Tynan
b8045a3fb2
Add xmlrpc package ( #3834 )
...
* Add xmlrpc client module
* Add xmlrpc server module, update client
* Fix mypy errors with protocol and Dict fix
* Add Type[] around requestHandler
* Fix docroutine incompatible override
* Whoops, ignored is also missing
* Remove unnecessary str/repr overrides
* Remove unnecessary __eq__ and quotes around Unmarshall. DateTime __eq__ left for now
* Fix problems from review
* Fix various version-specific differences, make request_type conservative (only bytes, guaranteed to have same len as number of bytes)
* Silly misspelling
* Change from IO to ad-hoc minimal protocols
2020-05-13 07:17:17 -07:00
Rune Tynan
19eade5e44
Add msilib and _msi ( #3651 )
2020-04-22 20:02:19 +02:00
Rune Tynan
2b8b116a19
Make PathMatcher correctly exclude paths on windows / any OS without / seperators ( #3837 )
2020-03-09 15:33:19 -07:00
Rune Tynan
e5a276c94f
Add parser stubs ( #3822 )
2020-03-06 20:34:05 +01:00
Rune Tynan
efebe6bcec
Add venv module stub ( #3783 )
2020-03-03 10:48:52 +01:00
Rune Tynan
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
070a4da85d
Add this module ( #3784 )
2020-02-27 19:18:54 -08:00
Rune Tynan
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
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
Rune Tynan and Jelle Zijlstra
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
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
3e9f03015b
Add missing return type to read ( #3707 )
2020-02-02 22:07:24 -08:00
Rune Tynan
9e70c157c9
Add missing parameter types ( #3709 )
2020-02-02 22:06:40 -08:00
Rune Tynan
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
2c2c60bfc8
Add missing return type in sre_constants ( #3712 )
2020-02-02 14:36:34 -08:00
Rune Tynan
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
89602a89b9
Add antigravity module ( #3555 )
2019-12-21 14:48:00 -08:00
Rune Tynan
0c563130fd
Add dbm stubs ( #3508 )
2019-12-21 12:25:37 -08:00
Rune Tynan
4ed19cdaf5
Add stubs for winsound module ( #3535 )
2019-12-16 01:20:15 +01:00
Rune Tynan
359817bde9
In python versions 3.7 and above, re-export Pattern and Match ( #3510 )
2019-11-29 06:03:45 -08:00
Rune Tynan
643b955edb
Modulefinder stubs ( #3497 )
2019-11-25 21:21:32 -08:00
Rune Tynan
e2cf7c1bcf
Add mailcap module ( #3482 )
2019-11-25 19:46:28 -08:00
Rune Tynan
cd45623ab7
Mailbox stubs ( #3427 )
2019-11-22 21:03:31 -08:00
Rune Tynan
b112c20dad
Copyreg stubs ( #3387 )
2019-10-29 19:52:05 -07:00
Rune Tynan
6058c23136
Make path separator based on OS separator ( #3375 )
2019-10-16 10:12:45 -07:00
Rune Tynan
67629a14a7
Add stubs for cgitb ( #3368 )
2019-10-16 17:11:23 +02:00
Rune Tynan
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
6c42f6bb2f
Add bdb stubs ( #3354 )
2019-10-14 20:01:24 -07:00
Rune Tynan
6354bc8a10
Ensurepip stubs ( #3349 )
2019-10-12 02:45:43 +02:00
Rune Tynan
7710e925ca
Add data to UserList class, fix UserDict.data type ( #3316 )
2019-10-07 17:05:19 +02:00
Rune Tynan
2b97bb904a
Add AIFC module stubs ( #3075 )
2019-09-11 15:39:41 -07:00
Rune Tynan
15b7cdaf40
Implement ZipExtFile in the zipfile type stubs ( #3074 )
2019-08-10 13:25:03 -07:00
Rune Tynan
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
cb7de8adfa
Fix typo in FrameType 3.7 attributes ( #2899 )
2019-04-03 22:52:34 +01:00