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
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 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
Guido van Rossum
538429c1e1
Merge pull request #72 from timabbott/sqlalchemy
...
Expand the sqlalchemy stubs related to the Column model.
2016-01-29 10:19:55 -08:00
Ismail
56621384a0
Type Check webbrowser py3 module
2016-01-29 14:12:09 +00:00
Tim Abbott
9c816a32c4
Expand the sqlalchemy stubs related to the Column model.
2016-01-28 21:46:29 -08:00
Guido van Rossum
730ea8ce73
Merge pull request #70 from timabbott/sqlalchemy
...
Fix and greatly expand stubs for sqlalchemy.
2016-01-28 13:26:02 -08:00
Guido van Rossum
913495886d
Wrote a runtests.py script. It has some flaws, hence the -x args in .travis.yml.
2016-01-28 13:22:45 -08:00
Tim Abbott
123b3cb2ea
Fix and greatly expand stubs for sqlalchemy.
...
This probably still needs a lot more work to be perfect; in particular
I'm not sure exactly which parts should be re-exported from
sqlalchemy/__init__.pyi and sqlalchemy/sql/__init__.pyi, but this
works with all the ways I can test it easily right now.
Also, while I've fixed sqlalchemy.sql, sqlalchemy.orm is still totally
broken since it tries to re-export tons of stuff that doesn't have
stubs yet.
2016-01-28 12:34:50 -08:00
Guido van Rossum
f6f3d4d9ca
Sigh. Need to write a local test script.
2016-01-28 11:36:52 -08:00
Guido van Rossum
f77e9dc9a0
Better approach to testing. Fixes #7 .
2016-01-28 11:17:26 -08:00
Guido van Rossum
6452fb0c90
Merge pull request #71 from timabbott/urllib
...
Add various annotations to complete more of six.moves.
2016-01-28 10:29:16 -08:00
Tim Abbott
f624349a46
Re-enable python 2 urllib.error stubs.
2016-01-27 22:13:54 -08:00
Tim Abbott
9ad37b5701
Add urllib.request.proxy_bypass stubs.
2016-01-27 22:12:16 -08:00
Tim Abbott
0cb13efa28
Add python 2 urllib2 stubs.
2016-01-27 22:08:23 -08:00
Tim Abbott
fcb63d2028
Add stubs for UserList, UserString, UserDict.
2016-01-27 21:36:47 -08:00
Guido van Rossum
c48b931d92
Merge pull request #69 from timabbott/tabbott-html
...
Add html module stubs.
2016-01-27 21:21:57 -08:00
Guido van Rossum
390b566a31
Comment out references to modules without stubs introduced by accident.
2016-01-27 21:16:40 -08:00
Tim Abbott
5f8358f7e3
Add html_entities import stubs to six.moves.
2016-01-27 21:09:30 -08:00
Tim Abbott
9db84e7ffe
Add stubs for HTMLParser, html.parser, and six.moves.html_parser.
2016-01-27 21:09:30 -08:00
Guido van Rossum
b9ad64a038
Merge pull request #68 from timabbott/tabbott-stubs
...
Expand stubs for simplejson, unittest, email
2016-01-27 19:49:53 -08:00
Matthias Kramm
9b9c232f75
Fix ast.parse(). The 2nd and 3rd arg are optional.
2016-01-27 19:26:57 -08:00
Tim Abbott
8af7ece855
Port unittest stub from python 3 to python 2.7.
...
I did this by taking the python 3 stub, and then reading a diff of
unittest.py between python 2 and python 3 and correcting the
differences.
2016-01-27 16:35:39 -08:00
Tim Abbott
f6a0b8de0c
Expand stub for simplejson module to include decoders/encoders.
2016-01-27 16:35:39 -08:00