Greg Price
|
08d08fbabb
|
builtins: Reversible is redundant when Sequence is already present
This has been true for a while with our Python 3 typing.pyi,
and just became true with the Python 2 typing.pyi in the last
commit.
|
2015-12-21 18:12:23 -08:00 |
|
Greg Price
|
667b98040a
|
operator: Make attrgetter, itemgetter, methodcaller usable
|
2015-12-17 15:12:47 -08:00 |
|
Greg Price
|
b46b66c187
|
Share operator in 2and3
|
2015-12-17 14:49:34 -08:00 |
|
Jukka Lehtosalo
|
bd36a37481
|
Add __setattr__ to object
|
2015-12-05 15:44:28 -08:00 |
|
Jukka Lehtosalo
|
4c547fc4f6
|
Add object.__new__
Not entirely sure about the right signature, though.
|
2015-11-29 12:18:42 -08:00 |
|
Guido van Rossum
|
7b75dec702
|
Make last two slice() args optional in 2.7.
|
2015-11-22 21:08:38 -08:00 |
|
Guido van Rossum
|
830dc1f95b
|
Add discard() method to 2.7 set().
|
2015-11-22 16:20:19 -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 |
|
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 |
|
Ben Longbons
|
bc5880c749
|
Fix name of the builtin module in python2
|
2015-10-20 09:54:13 -07:00 |
|
Ben Longbons
|
c2f892a409
|
Fix stubs that assumed reexport without as
|
2015-10-19 20:02:39 -07:00 |
|
Ben Longbons
|
56fe787c74
|
Update a bunch of stubs
|
2015-10-19 20:02:10 -07:00 |
|
Matthias Kramm
|
7709b96e05
|
move CodeType into types.pyi
|
2015-10-12 10:38:45 -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
|
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
|
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 |
|