Alessio Bogon
d518702ce6
comment version-specific code
2016-02-26 20:21:01 +01:00
Alessio Bogon
7955a1815e
move decimal to 2and3
2016-02-26 18:52:39 +01:00
Ismail
bb3fc382a1
Type check rest of ElementTree file
2016-02-26 17:30:49 +00:00
David Fisher
c8630a238d
Merge pull request #93 from ddfisher/master
...
Remove contents of problematic asyncio __all__s
2016-02-25 12:04:44 -08:00
David Fisher
c50e0e6179
Remove contents of problematic asyncio __all__s
2016-02-25 11:59:25 -08:00
Guido van Rossum
2840e71fbf
Merge pull request #92 from lbolla/issue87-shelve
...
Issue #87 Stub for shelve
2016-02-25 10:59:37 -08:00
Lorenzo Bolla
e088d13f2f
Issue #87 Stub for shelve
...
Py3's `shelve` is more restrictive, requiring keys to be `str`, whereas
Py2 allows any hashable type.
E.g.:
s = Shelf({})
s[1] = 'one' # raises AttributeError in py3, but it's OK in Py2
2016-02-25 09:41:32 +00:00
Guido van Rossum
2e7163f5a7
Merge pull request #90 from lbolla/issue88-calendar
...
Issue 88: Stub for calendar module
2016-02-24 20:43:30 -08:00
Lorenzo Bolla
fb4910ed6d
Remove Year/Month/Day/Week type aliases
2016-02-24 22:38:32 +00:00
Lorenzo Bolla
12d348fe67
Remove mention to internal variables
2016-02-24 22:19:25 +00:00
Guido van Rossum
a69eb2730f
Merge pull request #91 from ddfisher/master
...
Fix asyncio.coroutine signature
2016-02-24 13:16:24 -08:00
Lorenzo Bolla
ce938b367b
Remove True/False/None optional arguments.
...
Use Optional[...] when appropriate.
Adhere to PEP-484 styling.
2016-02-24 21:01:41 +00:00
David Fisher
c48d66f28a
Fix asyncio.coroutine signature
2016-02-24 11:35:42 -08:00
Lorenzo Bolla
d872968e32
Issue 88: Stub for calendar module
2016-02-24 12:43:27 +00:00
Matthias Kramm
335ef31893
Merge pull request #85 from ddfisher/master
...
Remove invalid Python 3 syntax
2016-02-23 20:14:15 -06:00
Guido van Rossum
727501521c
Merge pull request #86 from sid-kap/fix_reduce_type
...
Fix type for reduce
2016-02-22 15:51:04 -08:00
Sidharth Kapur
8b428ce2ff
Fix imports
2016-02-22 17:44:07 -06:00
Sidharth Kapur
241e741ef2
Change Iterator to Iterable in type of reduce
2016-02-22 17:41:47 -06:00
Sidharth Kapur
2904b80369
Update type for reduce in stdlib/2.7/functools
2016-02-22 17:27:46 -06:00
David Fisher
f7349d46e9
Add comment about True/False omission in 2.7 builtins
2016-02-20 22:47:38 -08:00
Sidharth Kapur
dc647c3ed5
Fix imports
2016-02-20 22:49:12 -06:00
Sidharth Kapur
fd9310fa97
Overload the reduce function
2016-02-20 22:46:39 -06:00
Sidharth Kapur
b0c0f94210
Fix type for reduce
2016-02-20 22:31:17 -06:00
Guido van Rossum
8d8e7caa77
Merge pull request #81 from dsp/asyncio
...
Additional type information for asyncio
2016-02-19 21:19:38 -08:00
David Soria Parra
70ddf02d21
Use relative imports in asyncio.tasks and asyncio.futures
2016-02-19 19:52:54 -08:00
David Soria Parra
3223a693d5
Add type information for asyncio.subprocess
2016-02-19 19:52:36 -08:00
David Soria Parra
bce32b0382
Add type information for asyncio.streams
2016-02-19 19:52:36 -08:00
David Fisher
48b3b260d1
Remove invalid Python 3 syntax
2016-02-18 16:25:30 -08:00
Ismail
2def7d1382
Type check Element class
2016-02-11 12:46:05 +00:00
Ismail
59d8f58d63
Add type hints to ElementInclude.pyi
2016-02-11 11:41:58 +00:00
David Soria Parra
3910b79361
Add type information for asyncio.protocols
2016-02-10 23:12:31 -08:00
David Soria Parra
23ecee29d3
Add type information for asyncio.transports
2016-02-10 23:12:31 -08:00
David Soria Parra
0f5c38a2ce
Add type information for asyncio.events.AbstractServer
...
Add the appropriate types for AbstractServer in asyncio.events. wait_closed() is
a couroutine, however in the implementation of AbstractServer not marked
as such. We are adding the couroutine defintion here anyway, as we do want
to make it typeable as a coroutine if necessary.
2016-02-10 22:09:22 -08:00
David Soria Parra
4d0a9e6d49
Add type information for asyncio.coroutines
2016-02-10 22:09:22 -08:00
Guido van Rossum
4292211da9
Merge pull request #79 from timabbott/sys.exit
...
Fix incorrect sys.exit() type.
2016-02-05 11:38:06 -08:00
Tim Abbott
a648f5eee1
Fix incorrect sys.exit() type.
2016-02-05 11:28:16 -08:00
Jukka Lehtosalo
89ed6e92d4
Add abc.abstractproperty (Python 3)
2016-02-04 15:38:42 +00:00
Guido van Rossum
b6e1964881
Add missing definition of compile() for 2.7.
2016-02-03 21:32:41 -08:00
Guido van Rossum
bc26b28d78
Try using "pip install -U ..." to install mypy; does this make the test failure disappear?
2016-02-03 17:21:08 -08:00
Guido van Rossum
ad8019da53
Merge pull request #78 from rmcgibbo/minmax
...
Improvements to builtins min/max
2016-02-03 17:18:19 -08:00
Robert T. McGibbon
9933080b04
Update builtins.pyi
2016-02-03 15:20:03 -08:00
Robert T. McGibbon
8739c4a188
Improvements to builtins min/max
2016-02-03 15:16:52 -08:00
Guido van Rossum
21613072c2
Merge pull request #76 from timabbott/urlunparse
...
Fix urlunparse stubs for 2.7 to correctly support a list/iterator argument
2016-02-02 13:26:57 -08:00
Tim Abbott
e8dc3cdd7b
Fix urlunparse stubs for 2.7 to correctly support a list/iterator argument.
2016-02-02 11:47:46 -08:00
Guido van Rossum
6e69d24b07
Merge pull request #75 from ismail-s/feature/type_check_webbrowser
...
Add py2 webbrowser type checking
2016-02-01 09:28:09 -08:00
Ismail
8f2e1ac885
Only define Chrome class on py2.7 or >3.2
2016-02-01 10:02:54 +00:00
Ismail
b6dfeebe1e
Move webbrowser.pyi to 2and3 folder
2016-02-01 10:00:53 +00:00
Guido van Rossum
68f771266d
Merge pull request #74 from timabbott/exec
...
Add missing exec*, EX_* stubs for python 2 and fix py3 types.
2016-01-29 18:02:35 -08:00
Tim Abbott
0632f2e530
Add missing exec*, EX_* stubs for python 2 and fix py3 types.
2016-01-29 17:54:24 -08:00
Guido van Rossum
22990dff4e
Merge pull request #73 from ismail-s/feature/type_check_webbrowser
...
Type Check webbrowser py3 module
2016-01-29 12:13:41 -08:00