Commit Graph

3624 Commits

Author SHA1 Message Date
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
matthiaskramm
63e441e804 Merge pull request #23 from o11c/six-no-moves
Six without six.moves
2015-10-29 13:11:43 -07:00
Matthias Kramm
617e93fb11 add link to o11c/stubtool 2015-10-28 13:27:11 -07:00
Ben Longbons
2e5489d0e6 Add six, except six.moves 2015-10-27 20:17:35 -07:00
Ben Longbons
c0aea8e8aa Finish implementation of the types module
Note that many classes will need special handling in the typing module.
2015-10-27 20:17:35 -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
matthiaskramm
7ccc71aa85 Merge pull request #20 from o11c/builtin
Fix name of the builtin module in python2
2015-10-20 10:03:45 -07:00
Ben Longbons
bc5880c749 Fix name of the builtin module in python2 2015-10-20 09:54:13 -07:00
matthiaskramm
ee1930d861 Merge pull request #15 from o11c/lots
Lots of stub fixes
2015-10-20 07:17:17 -07:00
Ben Longbons
c2f892a409 Fix stubs that assumed reexport without as 2015-10-19 20:02:39 -07:00
Ben Longbons
2f49dfa1f5 Backport enum for pre-3.4 2015-10-19 20:02:14 -07:00
Ben Longbons
56fe787c74 Update a bunch of stubs 2015-10-19 20:02:10 -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
Ben Longbons
f2a12774ee Use SupportsBytes 2015-10-12 10:45:04 -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
Ben Longbons
793f3399a7 Stub for inspect.stack() and related classes 2015-10-12 10:35:04 -07:00
Ben Longbons
8ee4065289 Stubs for bisect 2015-10-12 10:25:00 -07:00
Ben Longbons
aa802a9d7c Add stubs for textwrap 2015-10-12 08:38:03 -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
David
5c27ca2348 Add stub for contextlib.closing 2015-10-12 08:17:25 -07:00
Vita Smid
4d39065569 Change Queue.put return type to Future[None] 2015-10-12 08:15:41 -07:00
Vita Smid
b90372f226 Fixed Queue.get and Queue.put return types. 2015-10-12 08:09:22 -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