 Benjamin PetersonandJelle Zijlstra
|
23c531df5a
|
Type socketserver's RequestHandlerClass as a callable. (#3422)
It's not uncommon to pass functions rather than actual types into the servers.
|
2019-11-25 20:18:17 -08:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
2023394b37
|
exec, spawn: Allow bytes for environment keys and values. (#3419)
A more correct type would be Mapping[Union[bytes, str], Union[bytes, str]], but our hands are tied by the invariance of mapping keys.
|
2019-10-29 11:48:36 -07:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
add16d2715
|
protobuf: Fix inadvertently deleted annotations. (#3364)
* protobuf: Fix inadvertantly deleted annotations.
* Run black on protobuf.
|
2019-10-14 13:41:58 -07:00 |
|
 Benjamin PetersonandSebastian Rittau
|
036abc7fda
|
protobuf: Narrow type of Message.FromString. (#3340)
Remove unnecessary definitions in sub-classes.
|
2019-10-11 08:28:28 +02:00 |
|
 Benjamin PetersonandSebastian Rittau
|
fc23c8274f
|
protobuf: Tighten annotations for MergeFromString and ParseFromString. (#3333)
|
2019-10-10 18:07:53 +02:00 |
|
 Benjamin PetersonandSebastian Rittau
|
50961d45a1
|
protobuf: Add Message.FromString static method. (#3327)
|
2019-10-09 07:59:07 +02:00 |
|
 Benjamin PetersonandSebastian Rittau
|
9a1d205f34
|
cryptography: Return RSAPrivateKeyWithSerialization from generate_private_key. (#3296)
The only extant implementation of generate_private_key returns this more specialized interface.
|
2019-10-03 01:09:25 +02:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
23b353303b
|
Allow passing bytes and byte string to yaml load APIs. (#3287)
|
2019-09-30 22:30:28 +02:00 |
|
 Benjamin PetersonandSebastian Rittau
|
3fc8aec425
|
Allow passing str to Python 2's bytearray.extend. (#3223)
|
2019-09-04 23:24:58 +02:00 |
|
 Benjamin PetersonandMichael J. Sullivan
|
f53f52de57
|
requests: Allow bytes for url parameters. (#3209)
typeshed already partially reflected https://github.com/psf/requests/pull/2238 but not completely.
|
2019-08-28 21:53:19 -07:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
a48abb4546
|
Add unquote_to_bytes to Python 3 six.moves.urllib.parse. (#3208)
|
2019-08-28 18:01:38 -07:00 |
|
 Benjamin PetersonandSebastian Rittau
|
ce0f5b226f
|
zipfile.ZipFile: Add start_dir attribute. (#3203)
|
2019-08-23 08:46:16 +02:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
baea5a7bc3
|
Widen the annotation of os.write to include buffer. (#3109)
|
2019-08-10 13:15:46 -07:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
0dc3bf941a
|
Improve type of tornado.testing.gen_test. (#3174)
gen_test can accept a timeout parameter. See https://www.tornadoweb.org/en/branch5.1/testing.html#tornado.testing.gen_test.
|
2019-08-10 13:08:59 -07:00 |
|
 Benjamin PetersonandSebastian Rittau
|
d6e2b02f72
|
Use custom tuple subclass for pwd.struct_passwd (#3017)
|
2019-06-05 11:59:32 +02:00 |
|
 Benjamin PetersonandIvan Levkivskyi
|
4e572ae6a3
|
Remove format_map from Python 2 unicode. (#2933)
|
2019-04-24 00:42:27 +01:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
6850b9d699
|
gflags: Add DEFINE_multi_enum. (#2783)
https://github.com/google/python-gflags/blob/4f06c3d0d6cbe9b1fb90ee9fb1c082b3bf9285f6/gflags/__init__.py#L800
|
2019-02-08 15:14:52 -08:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
b2a9f2e383
|
Add new gflags names. (#2489)
As a described in https://github.com/google/python-gflags/blob/master/absl_migration/migration_guidelines.md, gflags did a mass rename to PEP 8-style names.
|
2018-10-01 20:18:51 -07:00 |
|
 Benjamin PetersonandJelle Zijlstra
|
a8cfde79c4
|
Use structural inference for enum34 EnumMeta. (#2490)
Fixes python/mypy#5577.
|
2018-09-27 09:27:41 -07:00 |
|