Tim Abbott
|
9db84e7ffe
|
Add stubs for HTMLParser, html.parser, and six.moves.html_parser.
|
2016-01-27 21:09:30 -08:00 |
|
Tim Abbott
|
8f3f56d07f
|
Add some missing python 3 urllib.parse stubs.
|
2016-01-26 20:25:30 -08:00 |
|
Tim Abbott
|
9e62b7df06
|
Add urllib.response stub for Python 3.
|
2016-01-26 20:25:30 -08:00 |
|
Tim Abbott
|
70eb00d3f2
|
Fix missing urllib.error ContentTooShortError stub.
|
2016-01-26 20:25:30 -08:00 |
|
Tim Abbott
|
f036fd05f3
|
Add stubs for urllib.robotparser.
|
2016-01-26 20:25:30 -08:00 |
|
Guido van Rossum
|
ba4d782f70
|
Fix bug in traceback.pyi (hey, tests are useful!).
|
2016-01-26 16:57:45 -08:00 |
|
Tim Abbott
|
920def0b1e
|
Fix datetime.timedelta() argument types to be floats.
|
2016-01-26 16:30:15 -08:00 |
|
Tim Abbott
|
c2555b3119
|
Port stub for os.walk from python 3 to 2 and cleanup comment.
|
2016-01-26 16:30:15 -08:00 |
|
Tim Abbott
|
c17d0120a9
|
Add stubs for traceback.format_exception.
|
2016-01-26 16:30:15 -08:00 |
|
Tim Abbott
|
55830ec190
|
Fix type for py2 traceback.format_exc and add to python 3.
|
2016-01-26 16:30:15 -08:00 |
|
Guido van Rossum
|
6a47ac7116
|
Fix min()/max() overloading with key= parameter. Fixes #1150.
|
2016-01-26 11:13:14 -08:00 |
|
Guido van Rossum
|
17d8f20fd5
|
Add message attribute to class BaseException.
|
2016-01-25 16:32:47 -08:00 |
|
Guido van Rossum
|
cf82278301
|
Use plain bytes instead of ByteString in 3/builtins.pyi.
|
2016-01-25 08:12:46 -08:00 |
|
Ismail
|
fd4d063bb4
|
Implement fromhex and maketrans method
|
2016-01-25 15:43:06 +00:00 |
|
Guido van Rossum
|
2c4549fb36
|
Merge pull request #51 from DanielShaulov/threading
Some fixes to threading
|
2016-01-23 09:10:24 -08:00 |
|
Daniel Shaulov
|
e2c9ec5cb0
|
Merge branch 'master' into threading
Conflicts:
stdlib/3/threading.pyi
|
2016-01-23 10:34:30 +00:00 |
|
Matthias Kramm
|
25a3fac0fd
|
Fix default parameter syntax.
Use 'x:bool = ...' instead of 'x:bool = True' or 'x:bool = False'.
|
2016-01-22 16:39:15 -08:00 |
|
Daniel Shaulov
|
14ffe7ea17
|
Inherit from Any in threading.local and SimpleNamespace
|
2016-01-22 12:24:36 +02:00 |
|
David Fisher
|
7c8797441b
|
Make Generator __iter__ method return itself
|
2016-01-19 16:49:20 -08:00 |
|
Guido van Rossum
|
740568ed25
|
Use NamedTuple for inspect.ArgSpec and .FullArgSpec.
|
2016-01-18 16:51:23 -08:00 |
|
Guido van Rossum
|
2d82816e14
|
Add Iterable base class to csv.DictReader. Fixes #47.
|
2016-01-18 16:39:08 -08:00 |
|
Ben Darnell
|
b7b7da1a85
|
Stubgen some more stdlib modules.
Copy doctest.pyi from 3 to 2.7.
|
2016-01-16 16:54:47 -05:00 |
|
Ben Darnell
|
3a674645a5
|
Assorted fixes to stubs
|
2016-01-16 16:52:01 -05:00 |
|
Daniel Shaulov
|
01d96e4ac4
|
Fix signatures of __init__ for Thread and Timer
|
2016-01-16 00:21:24 +02:00 |
|
DanielShaulov
|
723ed4f98f
|
Add timer class to threading.pyi
|
2016-01-15 18:13:22 +02:00 |
|
Guido van Rossum
|
5463335be2
|
Make deque inherit from MutableMapping (with difficulty). Fixes #43.
|
2016-01-14 09:14:38 -08:00 |
|
Guido van Rossum
|
8c2118bace
|
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
|
2016-01-12 12:53:18 -08:00 |
|
Guido van Rossum
|
8539624f05
|
Fix Reversible.__reversed__() return type. (I should do more testing.)
|
2016-01-11 16:04:44 -08:00 |
|
Guido van Rossum
|
1c02f14dc1
|
Make Reversible covariant. Fixes #19. (Though it does not seem to be *necessary*.)
|
2016-01-11 15:32:43 -08:00 |
|
Guido van Rossum
|
605c189f29
|
Merge pull request #39 from rmcgibbo/json
Add keyword args to stdlib's json.pyi
|
2016-01-11 13:49:24 -08:00 |
|
Robert T. McGibbon
|
dfd7ceecd8
|
Add type annotations for json.load(s)
|
2016-01-11 13:23:59 -08:00 |
|
Robert T. McGibbon
|
a40418ed7b
|
Enhance type information for lru_cache
|
2016-01-11 01:46:05 -08:00 |
|
Robert T. McGibbon
|
0735ec0251
|
Add keyword args to stdlib's json.pyi
|
2016-01-10 23:37:17 -08:00 |
|
Guido van Rossum
|
87bc00eb2a
|
Unify 2.7 and 3 stubs for functools.
|
2016-01-08 10:10:50 -08:00 |
|
Guido van Rossum
|
0f21b59a30
|
Some updates now typing.Container is defined.
|
2016-01-06 16:38:14 -08:00 |
|
Guido van Rossum
|
017f4efa0f
|
Simplify SystemRandom now it subclasses Random, for 2.7 and 3.
|
2016-01-06 16:29:04 -08:00 |
|
Michael Walter
|
c62821221a
|
Update random.pyi
SystemRandom derives from Random (see http://svn.python.org/projects/python/branches/py3k/Lib/random.py).
|
2015-12-30 22:18:10 +01:00 |
|
Michael Walter
|
05a711ec27
|
Update shlex.pyi
Type of `shlex.whitespace_split` is `bool`.
|
2015-12-30 21:59:56 +01:00 |
|
Guido van Rossum
|
a4c268c4e4
|
The typing stub should not import asyncio. Fixes https://github.com/JukkaL/mypy/issues/1050 .
|
2015-12-05 14:22:45 -08:00 |
|
Roy Williams
|
7f22db0492
|
Add Async classes to typing stub.
|
2015-12-01 23:36:19 -08:00 |
|
Jukka Lehtosalo
|
d3efa5d6bc
|
Add missing definitions to Python 3 'traceback'
|
2015-11-23 21:49:51 -08:00 |
|
Guido van Rossum
|
9ae0c0b337
|
Fix argparse.Namespace better.
|
2015-11-22 16:28:54 -08:00 |
|
Guido van Rossum
|
ea35d5c8e6
|
Add __getattr__ to argparse.Namespace.
|
2015-11-20 14:38:23 -08:00 |
|
Matthias Kramm
|
54b49839fc
|
Improve return value of ArgumentParser.parse_args
See https://github.com/python/typeshed/issues/25
|
2015-11-11 16:31:37 -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
|
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 |
|
Ben Longbons
|
c2f892a409
|
Fix stubs that assumed reexport without as
|
2015-10-19 20:02:39 -07:00 |
|