Commit Graph
100 Commits
Author SHA1 Message Date
Matthias Kramm 40754e312f fix import error in logging/__init__.pyi 2017-01-31 14:54:18 -08:00
Matthias Kramm 987f465b4f add missing import 2017-01-31 09:25:45 -08:00
Matthias KrammandŁukasz Langa 7e6000949e it's threading.Lock, not threading.LockType 2016-12-12 12:02:01 -08:00
Matthias KrammandŁukasz Langa ac97b22365 add missing Ellipsis 2016-12-12 12:02:01 -08:00
Matthias KrammandŁukasz Langa 8a5447be05 add 'Handler' and 'Filterer' classes to logging 2016-12-12 12:02:01 -08:00
Matthias Kramm 828f42e350 Fix syntax in README.md. 2016-08-26 13:35:47 -07:00
Matthias Kramm b46658c104 remove stray ',' 2016-08-04 15:40:12 -07:00
Matthias Kramm 5f76369093 Move warnings.pyi into 2and3/. 2016-04-08 14:43:43 -07:00
Matthias Kramm 28dbd6cc6a change ='' to :str=... in httplib 2016-04-08 11:59:34 -07:00
Matthias Kramm 68400b74ab Add 2.7/optparse.pyi 2016-04-08 11:49:14 -07:00
Matthias Kramm b817f83e11 Add missing return type for __init__() 2016-04-08 11:40:32 -07:00
Matthias Kramm 42d4ec66e8 add stdlib/2.7/heapq.pyi 2016-03-17 09:19:31 -07:00
Matthias Kramm d4540dca2e remove superfluous type comment in urllib.pyi 2016-03-16 12:03:42 -07:00
Matthias Kramm 9b9c232f75 Fix ast.parse(). The 2nd and 3rd arg are optional. 2016-01-27 19:26:57 -08:00
Matthias Kramm 25a3fac0fd Fix default parameter syntax.
Use 'x:bool = ...' instead of 'x:bool = True' or 'x:bool = False'.
2016-01-22 16:39:15 -08:00
Matthias Kramm 42da4e56f9 Have ast.pyi re-export symbols from _ast.pyi. 2016-01-08 10:03:06 -08:00
Matthias Kramm 4a1674a148 Improve Python 2 stub for abc; _weakrefset stub. 2015-12-22 15:38:28 -08:00
Matthias Kramm 2bb0d98b6d add Python 2 stubs for ast, tokenize 2015-12-22 12:01:02 -08:00
Matthias Kramm cbb8014508 Add __version__ to _ast.pyi. 2015-12-22 09:54:37 -08:00
Matthias Kramm 54b49839fc Improve return value of ArgumentParser.parse_args
See https://github.com/python/typeshed/issues/25
2015-11-11 16:31:37 -08:00
Matthias Kramm 87f4f54000 Fix duplicate definition in array.pyi. 2015-11-09 15:37:30 -08:00
Matthias Kramm 2601a12c88 fix return types in _io.pyi 2015-11-09 14:06:49 -08:00
Matthias Kramm 3b47859261 Add missing 'type:' 2015-11-09 13:58:09 -08:00
Matthias Kramm 94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -08:00
Matthias Kramm 375bf063b1 Fix parse errors 2015-11-09 13:37:08 -08:00
Matthias Kramm 20f8635d73 fix syntax errors in unicodedata.pyi 2015-11-09 10:36:29 -08:00
Matthias Kramm 4fe8915d44 Add missing '-> None' to all __init__ methods. 2015-11-09 10:25:11 -08:00
Matthias Kramm d2a3d4a4ed Use explicit "# type: str" instead of '' shortcut. 2015-11-09 07:59:24 -08:00
Matthias Kramm 617e93fb11 add link to o11c/stubtool 2015-10-28 13:27:11 -07:00
Matthias Kramm 33036f1b3b Rename _ellipsis to ellipsis.
mypy depends on the latter.
2015-10-21 10:54:30 -07:00
Matthias Kramm e158a97ab2 Add BufferError, Ellipsis to 2.7/ 2015-10-21 10:51:12 -07:00
Matthias Kramm 4f06e3b964 Add a 2.7 symlink builtins.pyi --> __builtin__.pyi
Temporarily, for mypy.
2015-10-20 10:07:12 -07:00
Matthias Kramm e4a7edb949 Apply urllib3 fix from JukkaL 2015-10-12 15:28:04 -07:00
Matthias Kramm ea12378512 it's etree, not ertree 2015-10-12 14:31:57 -07:00
Matthias Kramm c1e554af68 fix syntax of types.pyi 2015-10-12 14:30:17 -07:00
Matthias Kramm 060c2e5648 add ertree stub from Ben Longbons 2015-10-12 10:48:43 -07:00
Matthias Kramm 75b3d91e02 fixes for types.CodeType (in 2.7/ and 3/) 2015-10-12 10:44:45 -07:00
Matthias Kramm 7709b96e05 move CodeType into types.pyi 2015-10-12 10:38:45 -07:00
Matthias Kramm ebb3f51f7b Apply 'Add stub for pipes' patch from Ben Longbons. 2015-10-12 08:34:26 -07:00
Matthias Kramm 8754806bbf applied miscalleneous stub changes from Ben Longbons 2015-10-12 08:25:48 -07:00
Matthias Kramm 7d2a62b092 applied stub renaming fix from Ben Longbons 2015-10-12 08:22:47 -07:00
Matthias Kramm 16eff9e7b6 Applied typo fix from Anup Chenthamarakshan 2015-10-12 08:20:48 -07:00
Matthias Kramm c59a54a81a apply subprocess 'cwd' fix from Vlad-Shcherbina 2015-10-07 08:41:07 -07:00
Matthias Kramm ec67428914 fix directory hierarchy in third_party/3/ 2015-10-01 18:04:49 -07:00
Matthias Kramm 001e5af0fa split _codecs into Python 2 and Python 3 versions. 2015-10-01 15:20:51 -07:00
Matthias Kramm 9edaf83284 Apply stub fixes from o11c.
These are extracted from https://github.com/JukkaL/mypy/pull/721
2015-10-01 14:53:57 -07:00
Matthias Kramm 28e24a4664 minor wording fixes in LICENSE 2015-10-01 08:43:06 -07:00
Matthias Kramm 0ef9e34af2 Add paragraph about version checks to README.md 2015-10-01 08:40:00 -07:00
Matthias Kramm 25a41fa052 update README.md 2015-10-01 08:26:15 -07:00
Matthias Kramm a2f5703041 fix bugs in builtins/2.7/*.pyi 2015-10-01 08:02:44 -07:00
Matthias Kramm 3f713101a5 add type 'code' 2015-10-01 08:02:05 -07:00
Matthias Kramm dec2b91a7d fix bugs in cStringIO 2015-09-30 15:38:01 -07:00
Matthias Kramm 85bc37652a add missing imports in cmath.pyi 2015-09-30 15:32:12 -07:00
Matthias Kramm 9ab5976585 merge builtins/2.7/functools.pyi into stdlib/ 2015-09-30 12:22:40 -07:00
Matthias Kramm 43876def56 minor fixes to datetime.pyi 2015-09-30 12:12:23 -07:00
Matthias Kramm 3060e86d4d add builtins/2.7/functools.pyi 2015-09-30 12:09:28 -07:00
Matthias Kramm 56dcc02e25 Apply fixes, remove duplicates.
Apply fixes to _random, cStringIO, errno, operator, sys, zlib, etc.; also,
remove duplicate 2.7/math.pyi, 2.7/marshal.pyi.
2015-09-30 12:07:37 -07:00
Matthias Kramm fc2ddb852c remove duplicate math.pyi 2015-09-30 12:02:43 -07:00
Matthias Kramm bb65ba14bd Merge branch 'mypy' 2015-09-30 11:42:15 -07:00
Matthias Kramm 337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00
Matthias Kramm 69e10b3aed clean up _json.pyi 2015-09-28 15:17:24 -07:00
Matthias Kramm a3a4cdceec clean up _stat.pyi 2015-09-28 15:01:52 -07:00
Matthias Kramm 34d9cfa8ba move marshal.pyi into 2and3/ 2015-09-28 14:54:58 -07:00
Matthias Kramm 92a48d1c3d clean up builtins/3/_warnings.pyi 2015-09-28 14:54:11 -07:00
Matthias Kramm 7d8e473340 move math.pyi into 2and3/ 2015-09-28 14:52:06 -07:00
Matthias Kramm 511218ea28 move _heapq into 2and3/ 2015-09-28 14:51:21 -07:00
Matthias Kramm 06890ecf29 move _codecs.pyi into 2and3/ 2015-09-28 14:49:13 -07:00
Matthias Kramm 93779bb3f8 Add isfinite() to cmath. (Python 3 only) 2015-09-28 14:48:08 -07:00
Matthias Kramm 8f6f3f404b move cmath.pyi into 2and3 2015-09-28 14:41:52 -07:00
Matthias Kramm 2ba26b69a9 move _bisect.pyi into 2and3 2015-09-28 14:41:11 -07:00
Matthias Kramm a92ed64985 fix imports in atexit.pyi 2015-09-28 14:27:48 -07:00
Matthias Kramm e08327255e adding missing includes 2015-09-28 14:25:15 -07:00
Matthias Kramm 1a38d360c7 clean up _functools.pyi 2015-09-28 08:26:40 -07:00
Matthias Kramm cf4cdb12c2 clean up _collections.pyi 2015-09-28 07:56:37 -07:00
Matthias Kramm 212c58a56a clean up _sre.pyi 2015-09-24 08:48:26 -07:00
Matthias Kramm 3c4ace9772 clean up _heapq.pyi 2015-09-24 07:57:03 -07:00
Matthias Kramm 469ef878d2 clean up _struct.pyi 2015-09-24 07:38:01 -07:00
Matthias Kramm d30e72eb89 fix strop.pyi 2015-09-24 07:21:37 -07:00
Matthias Kramm 1552344a5b fix xxsubtype.pyi 2015-09-23 15:30:59 -07:00
Matthias Kramm babf085017 clean up cmath.pyi 2015-09-23 15:18:24 -07:00
Matthias Kramm 749b956403 clean up _codecs.pyi 2015-09-23 15:08:29 -07:00
Matthias Kramm ed4e400ca5 add _io.pyi 2015-09-22 15:23:46 -07:00
Matthias Kramm 5a66e2f21f Fix errors in _socket.pyi. 2015-09-22 12:55:02 -07:00
Matthias Kramm cd3c5d6378 Add _socket.pyi 2015-09-22 12:43:47 -07:00
Matthias Kramm ce33a45411 add _weakref.pyi 2015-09-21 15:14:18 -07:00
Matthias Kramm 2adf05eec7 Add _warnings.pyi 2015-09-21 15:06:51 -07:00
Matthias Kramm 35686d817a add _symtable.pyi 2015-09-21 14:45:11 -07:00
Matthias Kramm 4b5be189f3 add missing constructors to _sha256, _sha512 2015-09-21 14:20:02 -07:00
Matthias Kramm 95d83049a1 add _sha512.pyi 2015-09-21 14:17:59 -07:00
Matthias Kramm 585d04ca27 add _sha256.pyi 2015-09-21 14:16:38 -07:00
Matthias Kramm df26fc5fd6 add _sha.pyi 2015-09-21 14:14:40 -07:00
Matthias Kramm ecab81569c add _md5.pyi 2015-09-21 14:12:40 -07:00
Matthias Kramm 8b4aed493a add _locale.pyi 2015-09-21 14:04:18 -07:00
Matthias Kramm 5cb947bb94 add _ast.pyi 2015-09-21 13:43:45 -07:00
Matthias Kramm 1ce0b666f4 improve _bisect.pyi 2015-09-21 10:20:28 -07:00
Matthias Kramm b192b6fed8 improve array.pyi 2015-09-21 10:11:04 -07:00
Matthias Kramm 9ba44c7a80 improve zipimport module 2015-09-21 09:12:30 -07:00
Matthias Kramm 26670ee4b3 add grp.pyi 2015-09-21 08:50:58 -07:00
Matthias Kramm 6a9d746ac9 add syslog.pyi 2015-09-21 08:34:37 -07:00
Matthias Kramm 0e6ba447d2 add spwd.pyi 2015-09-21 08:29:25 -07:00