Eric Traut
58e083fef9
Marked the bool class as @final because it cannot be subclassed. ( #5286 )
...
Co-authored-by: Eric Traut <erictr@microsoft.com >
2021-05-01 21:38:10 -07:00
Sebastian Rittau
4ac3ccad45
black: enable skip_magic_trailing_comma ( #5252 )
...
* black: enable skip_magic_trailing_comma
* Remove spurious commas
2021-04-27 08:32:32 -07:00
Sebastian Rittau
45916045c8
Upgrade black to 21.4b0 and reformat ( #5250 )
...
This introduces newlines before decorators.
2021-04-26 13:58:27 +02:00
Sebastian Rittau
bac1918b5f
PathLike cleanup ( #5242 )
...
Copy builtins._PathLike to os.PathLike
Use os.PathLike exclusively outside of builtins
2021-04-23 10:15:07 -07:00
Sebastian Rittau
0cea325bc7
Modernize logging ( #5068 )
2021-03-22 19:26:43 -07:00
Sebastian Rittau
08b26b9e8e
Split and restore correct Python 2 version of cgi.pyi ( #5064 )
...
* Split cgi.pyi into Py2 and 3 versions
* Restore correct Python 2 version of cgi.pyi
* Remove unnecessary version checks in cgi.pyi
* Use collections.abc
* Use List in Python 2 stub
2021-02-24 14:46:03 -08:00
Henry Schreiner
e4f239edfd
plat_ver: add missing type annotations ( #5017 )
...
Matches Python 3, and the description here: https://docs.python.org/2.7/library/platform.html#mac-os-platform
2021-02-11 21:02:09 -08: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