Commit Graph

55 Commits

Author SHA1 Message Date
Herbert Ho
186b313f35 a few more stubs for sqlalchemy (#301) 2016-06-20 10:27:39 -07:00
Alvaro Caceres
d0ac66f5f8 Use "..." for attribute values, instead of None, [], {} 2016-06-15 14:10:04 -05:00
Skip Montanaro
8b0ff828a6 First cut at stubs for pymssql. 2016-06-11 13:21:23 -07:00
Herbert Ho
e46d308ab4 fleshing out some more stubs for sqlalchemy (#282) 2016-06-09 17:58:19 -07:00
David Euresti
0bfa0636e1 Add http_client to six.moves, add missing functions to urllib2 fix some types in gettext (#262) 2016-06-04 12:02:55 -07:00
Tim Simpson
917f99a01b Support for 'from six.moves import http_cookies' (#243) 2016-06-02 11:07:59 -07:00
Valérian Rousset
2b776cfb4e complete urllib (#241) 2016-06-02 09:22:29 -07:00
Eklavya Sharma
bb5c93a217 Add __version__ to requests (#206) 2016-05-17 21:28:45 -07:00
Michael R. Crusoe
0be5a11496 A couple new definitions, some more unicode for 2.7 (#185)
* Action.__init__(); ArgumentParser.__init__() & print_help()

* pprint() & pformat()

* added unicode support to url{parse,split,join,defrag}

* add unicode support to requests.api
2016-05-06 09:14:49 -07:00
David Fisher
e8f626536e Add Python 3 ast module; update Python 2.7 ast module; fixup typed_ast (#170) 2016-05-04 10:40:36 -07:00
David Fisher
25b18ebcc6 Add stubs for typed_ast (#156) 2016-04-22 15:59:30 -07:00
jukebox
f5f349ca8f dateutil stubs (Python 3)
PR #133
2016-04-22 08:04:58 -07:00
Drew Haven
e8a477d69d Simple stub for tornado.testing (#145) 2016-04-13 13:09:12 -07:00
Guido van Rossum
4f483dc314 Precision surgery to take out sqlalchemy test failures (#140)
* Comment out parts of the sqlalchemy stubs to make tests pass.

* Run all tests, one step per Python version.
2016-04-10 20:45:42 -07:00
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