Commit Graph

41 Commits

Author SHA1 Message Date
Matthias Kramm
b817f83e11 Add missing return type for __init__() 2016-04-08 11:40:32 -07:00
Max Wittek
a6f1075055 Added stubs for 2.7 Selenium WebElement
* Added stubs for 2.7 Selenium WebElement

* Removed silly autogenerated imports

* Added List import

* Added WebDriver as well

* Updated webdriver stubs for find*
2016-04-07 17:48:04 -07:00
Guido van Rossum
c40da79e8f Merge pull request #106 from mkurnikov/setuptools-stubs
Stubs for setuptools' pkg_resources package
2016-03-14 18:41:48 -07:00
Guido van Rossum
540a9e18f7 Bandaid for sqlalchemy. Lots of stuff here seems bogus. :-( 2016-03-14 10:50:44 -07:00
Isaac Goldberg
2255e6c69a Add tornado.locks module 2016-03-09 19:11:48 -08:00
Maxim Kurnikov
8b636df95a fix import fails with relative one 2016-03-08 14:55:06 +03:00
Maxim Kurnikov
efb0cb9fdb fix some test fails, remove pip directory for now for simplicity 2016-03-08 14:48:43 +03:00
Maxim Kurnikov
6688dc6ea1 stubs for pkg_resources package 2016-03-08 13:42:27 +03: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
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
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
Tim Abbott
11e179501a Add six.moves.urllib stubs using imports.
Based on https://github.com/python/typeshed/pull/21.
2016-01-26 20:25:30 -08:00
Tim Abbott
bcdec9043d Redo six.moves to be implemented purely using imports.
Based on https://github.com/python/typeshed/pull/21.
2016-01-26 20:25:30 -08:00
Tim Abbott
a725360139 Make six.moves into a module. 2016-01-26 20:25:30 -08:00
Mihnea Giurgea
050143f2b1 Fix stubs for concurrent.futures 2016-01-26 11:46:47 -08:00
Ben Darnell
1626c25087 Add some third_party modules.
backports_abc and singledispatch were made with stubgen, certifi was
written by hand, and ssl_match_hostname was copied from ssl.pyi.
2016-01-16 16:56:25 -05:00
Jukka Lehtosalo
0d7b6ce135 Fix Python 3 six.moves
This was breaking mypy Travis build.
2016-01-08 15:25:50 +00:00
Guido van Rossum
5cf2fa45b8 Add cStringIO, cPickle to six.moves. Add six.moves for PY3. 2016-01-06 16:41:22 -08:00
Guido van Rossum
0687239f53 Inaugurate six.moves with zip (copied from builtins). 2015-12-04 09:09:01 -08:00
Guido van Rossum
32cce184cf Backport enum for 2.7. 2015-11-20 14:34:33 -08:00
Matthias Kramm
94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -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
2e5489d0e6 Add six, except six.moves 2015-10-27 20:17:35 -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
060c2e5648 add ertree stub from Ben Longbons 2015-10-12 10:48:43 -07:00
Matthias Kramm
7d2a62b092 applied stub renaming fix from Ben Longbons 2015-10-12 08:22:47 -07:00
Matthias Kramm
ec67428914 fix directory hierarchy in third_party/3/ 2015-10-01 18:04:49 -07:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00