Shantanu
375e8c1127
zipfile: fix ZipExtFile parameter ( #3616 )
...
This was changed in bpo-38334 and backported to Python 3.7.6 and 3.8.1.
2020-01-16 09:03:39 +01:00
Shantanu
1b5c2dfa1f
logging: update for py38 ( #3595 )
...
* logging: add stacklevel parameter everywhere
* logging: add force to basicConfig
* logging: add validate to Formatter
2020-01-14 19:45:38 +01:00
Shantanu
d5f1e58457
binascii: add new parameters to hexlify ( #3601 )
2020-01-11 17:22:06 +01:00
Shantanu
b8299bd58a
http: update for py38 ( #3606 )
...
* http: add UNAVAILABLE_FOR_LEGAL_REASONS
* http.cookiejar: filename parameter now supports path-like
2020-01-11 17:20:46 +01:00
Shantanu
055a907e75
csv: add a return type for things that return ( #3604 )
...
Technically, these return whatever the write object of the underlying
file object return. I'm not sure it's worth making everything generic
over this probably rarely used return type, but happy to do it (or drop
this change) if that seems better.
2020-01-10 14:14:44 -08:00
Shantanu
b25454a76c
signal: update for py38 ( #3602 )
2020-01-10 12:12:08 -08:00
Shantanu
4c6ae26a0e
codecs: add literal overloads for bytes to bytes, str to str codecs ( #3599 )
...
Closes : #300
2020-01-10 16:38:23 +01:00
Shantanu
61600d6877
memoryview: add cast, obj attribute ( #3598 )
...
Fixes #3594
2020-01-09 15:57:17 -08:00
hauntsaninja
0505c100e1
inspect: update _ParameterKind for py38 ( #3587 )
2020-01-07 23:19:04 -08:00
hauntsaninja
da9b7dd7c8
token: add TYPE_COMMENT, remove AWAIT, ASYNC for py37 ( #3588 )
...
flake8 is a little picky about how we do checks against
sys.version_info
2020-01-07 23:18:53 -08:00
hauntsaninja
4aa6dfccdb
pprint: update for py38, fix kwarg-only parameters ( #3585 )
2020-01-07 21:51:54 -08:00
hauntsaninja
485b85e6b8
csv: update DictReader for py38 ( #3586 )
2020-01-07 21:40:19 -08:00
hauntsaninja
b7a611e211
csv: more precise types, remove TODO ( #3581 )
2020-01-06 20:59:07 -08:00
hauntsaninja
1efc1baaf7
stdtypes: update for py38 ( #3580 )
2020-01-06 20:57:34 -08:00
hauntsaninja
e10b9c70b2
zipfile: update for py38 ( #3572 )
...
* zipfile: add Path, new in py38
* zipfile: use str over Text for py3 branches
* zipfile: add force_zip64 kwarg to open methods
2020-01-06 20:52:46 +01:00
hauntsaninja
ac2e59af81
shutil: update which for py38 ( #3575 )
2020-01-05 16:19:03 +01:00
hauntsaninja
45688b936e
urllib: update for py38 ( #3574 )
...
* urllib.robotparser: add site_maps
* urllib.parse: add max_num_fields parameter
2020-01-05 16:17:23 +01:00
hauntsaninja
64252bfef4
zipfile: fix typo in parameter for PyZipFile ( #3573 )
2020-01-05 16:12:44 +01:00
hauntsaninja
b7530cc79e
Add __init__ for subclasses of MappingView in python2 ( #3570 )
...
Resolves #3549 for python2
2020-01-05 15:11:38 +01:00
hauntsaninja
6b321548c4
random: fix type for sample ( #3525 )
...
Fixes #3374
2019-12-04 13:07:24 -08:00
hauntsaninja
5fdd6ad1a5
builtins.print: make sep and end Optional ( #3468 ) ( #3511 )
...
The docs for Python 2 and Python 3 both explicitly mentions that None is a
valid value for sep and end.
https://docs.python.org/3/library/functions.html#print
2019-11-29 06:02:30 -08:00