Commit Graph

4 Commits

Author SHA1 Message Date
Stanislav Levin
acfaa70aa7 [stdlib] Add MININT and MAXINT for xmlrpc.client (#5173)
These constants are in this module since Python3.0

Signed-off-by: Stanislav Levin <slev@altlinux.org>
2021-04-02 14:20:36 +03:00
Eric Traut
0ec182227c Added a few missing type arguments for generic types used in stdlib stubs
I just found and fixed a bug in pyright's "missing type arguments" check. When type arguments were omitted for a generic type within a subscript expression, the error was being suppressed. With this bug fixed, I found several new cases where type arguments were missing in stdlib stubs. (#5130)

Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-03-22 18:28:04 -07:00
Jürgen Gmach
771e872cf6 fix type for xmlrpc.client.Fault.faultCode (#5083)
The type of `faultCode` was declared as `str`, but it has to be an `int`.

See e.g. http://xmlrpc.com/spec.md. See also https://bugs.python.org/issue43354.
2021-03-02 13:57:26 +01:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00