Guido van Rossum
bb0a841471
Make io._IOBase and its descendents concrete. ( #1172 )
...
This solves the issue with instantiating gzip.GzipFile() mentioned at
https://github.com/python/typeshed/pull/1160#issuecomment-294534004
2017-04-18 11:13:13 -07:00
Matthias Kramm
7e58389a27
a better definition for io.IOBase ( #1160 )
...
* a better definition for io.IOBase
* move BinaryIO superclass into _io._IOBase
* remove write() from _TextIOBase
2017-04-17 09:42:59 -07:00
David Euresti
d43f3be914
Unify stdlib/{2,3}/typing.pyi
...
Also fix signature of IO.seek, IO.truncate, IO.write, and MutableMapping.update
Fixes #1016
Note: I couldn't put typing.pyi in 2and3 because of an import cycle when adding `import sys` to 2/typing.pyi
2017-03-19 09:43:40 -07:00
Lukasz Langa
6eb97964fd
Fixing flake8 E401, E402 errors
2016-12-20 00:47:51 -08:00
Lukasz Langa
fe0e3744cc
Fixing flake8 E261 errors
2016-12-19 22:09:35 -08:00
Guido van Rossum
cb97bb54c0
Move 2.7 to 2 ( #635 )
...
Closes #579 .
2016-10-26 16:24:49 -07:00