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 |
|
Guido van Rossum
|
cb40959116
|
Improve 2.7 stub for tempfile.
|
2016-01-06 16:21:35 -08:00 |
|
Guido van Rossum
|
71b8a9f9ec
|
Update 2.7 built-in set to be the same as PY3 set. AbstractSet does not have a union() method.
|
2016-01-06 16:06:58 -08:00 |
|
Guido van Rossum
|
f37bd69266
|
Add abstractproperty.__new__ so it can be used.
|
2016-01-06 15:48:47 -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 |
|
Matthias Kramm
|
4a1674a148
|
Improve Python 2 stub for abc; _weakrefset stub.
|
2015-12-22 15:38:28 -08:00 |
|
Matthias Kramm
|
2bb0d98b6d
|
add Python 2 stubs for ast, tokenize
|
2015-12-22 12:01:02 -08:00 |
|
Greg Price
|
f3b499fd99
|
typing: update 2 to match 3 on Sequence and Container
|
2015-12-21 18:11:14 -08: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 |
|
Guido van Rossum
|
107104dfe5
|
Fix type annotation syntax used in asyncio/futures.pyi.
|
2015-12-04 11:43:45 -08:00 |
|
Roy Williams
|
7f22db0492
|
Add Async classes to typing stub.
|
2015-12-01 23:36:19 -08:00 |
|
Guido van Rossum
|
30af935dc7
|
Make partial a generic type (the parameter being the return type).
|
2015-11-30 15:12:42 -08:00 |
|
Guido van Rossum
|
cea5060892
|
Add sqlite3 stubs.
|
2015-11-30 15:12:42 -08:00 |
|
Guido van Rossum
|
e7f731e74b
|
Revert "Improve typing of 2.7/contextlib::contextmanager."
This reverts commit 76c3a5bab0.
|
2015-11-26 21:02:23 -08:00 |
|
Guido van Rossum
|
76c3a5bab0
|
Improve typing of 2.7/contextlib::contextmanager.
|
2015-11-25 16:59:50 -08:00 |
|
Guido van Rossum
|
00f8e62751
|
Add __getattr__(), __setattr__(), __delattr__() to 2.7 threading.local().
|
2015-11-25 16:57:52 -08:00 |
|
Guido van Rossum
|
bbbccf61dc
|
Add 'closing' to 2.7 contextlib stubs (same as for 3).
|
2015-11-24 21:08:02 -08:00 |
|
Jukka Lehtosalo
|
d3efa5d6bc
|
Add missing definitions to Python 3 'traceback'
|
2015-11-23 21:49:51 -08:00 |
|
Guido van Rossum
|
a0deb69be9
|
Updated stub for 2.7 httplib; new stubs for 2.7 mimetools, rfc822.
|
2015-11-23 10:29:38 -08:00 |
|
Guido van Rossum
|
1f7b00e451
|
Add more constants to 2.7 os stub, copied from 3.x os stub.
|
2015-11-22 17:02:41 -08:00 |
|
Guido van Rossum
|
9ae0c0b337
|
Fix argparse.Namespace better.
|
2015-11-22 16:28:54 -08:00 |
|
Guido van Rossum
|
dc5a1e34a3
|
Fix 2.7 signature of fnmatch.translate().
|
2015-11-22 16:18:29 -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 |
|
Ben Longbons
|
56fe787c74
|
Update a bunch of stubs
|
2015-10-19 20:02:10 -07:00 |
|
Matthias Kramm
|
c1e554af68
|
fix syntax of types.pyi
|
2015-10-12 14:30:17 -07:00 |
|
Ben Longbons
|
f2a12774ee
|
Use SupportsBytes
|
2015-10-12 10:45:04 -07:00 |
|
Matthias Kramm
|
75b3d91e02
|
fixes for types.CodeType (in 2.7/ and 3/)
|
2015-10-12 10:44:45 -07:00 |
|
Ben Longbons
|
793f3399a7
|
Stub for inspect.stack() and related classes
|
2015-10-12 10:35:04 -07:00 |
|
Ben Longbons
|
8ee4065289
|
Stubs for bisect
|
2015-10-12 10:25:00 -07:00 |
|
Ben Longbons
|
aa802a9d7c
|
Add stubs for textwrap
|
2015-10-12 08:38:03 -07:00 |
|
Matthias Kramm
|
ebb3f51f7b
|
Apply 'Add stub for pipes' patch from Ben Longbons.
|
2015-10-12 08:34:26 -07:00 |
|
Matthias Kramm
|
8754806bbf
|
applied miscalleneous stub changes from Ben Longbons
|
2015-10-12 08:25:48 -07:00 |
|
Matthias Kramm
|
7d2a62b092
|
applied stub renaming fix from Ben Longbons
|
2015-10-12 08:22:47 -07:00 |
|
Matthias Kramm
|
16eff9e7b6
|
Applied typo fix from Anup Chenthamarakshan
|
2015-10-12 08:20:48 -07:00 |
|
David
|
5c27ca2348
|
Add stub for contextlib.closing
|
2015-10-12 08:17:25 -07:00 |
|
Vita Smid
|
4d39065569
|
Change Queue.put return type to Future[None]
|
2015-10-12 08:15:41 -07:00 |
|
Vita Smid
|
b90372f226
|
Fixed Queue.get and Queue.put return types.
|
2015-10-12 08:09:22 -07:00 |
|
Matthias Kramm
|
c59a54a81a
|
apply subprocess 'cwd' fix from Vlad-Shcherbina
|
2015-10-07 08:41:07 -07:00 |
|
Matthias Kramm
|
9edaf83284
|
Apply stub fixes from o11c.
These are extracted from https://github.com/JukkaL/mypy/pull/721
|
2015-10-01 14:53:57 -07:00 |
|
Matthias Kramm
|
9ab5976585
|
merge builtins/2.7/functools.pyi into stdlib/
|
2015-09-30 12:22:40 -07:00 |
|
Matthias Kramm
|
337abed05a
|
add (overwrite with) mypy stubs, if available
|
2015-09-30 09:59:44 -07:00 |
|