Alvaro Caceres and Guido van Rossum
f87dde0d1b
Remove webbrowser.pyi from pytype blacklist ( #963 )
2017-03-01 11:45:05 -08:00
Alvaro Caceres and Matthias Kramm
08ac3b7742
2.7/os: remove exception throwing, add misc members ( #591 )
...
* 2.7/os: remove exception throwing, add misc members
* added tempnam, tmpnam
2016-10-12 07:34:35 -07:00
Alvaro Caceres and Matthias Kramm
92b600540e
Add private members to stdlib threading ( #590 )
...
* Add threading._DummyThread
* Make threading.RLock a factory function, not a class
Will break code that currently uses a threading.RLock type annotation
2016-10-07 13:11:47 -07:00
Alvaro Caceres and Matthias Kramm
9b092f353e
2.7/inspect: add getframeinfo, getouterframes, Traceback ( #588 )
2016-10-06 15:20:42 -07:00
Alvaro Caceres and Matthias Kramm
674fe2b59f
Add threading.Condition.notifyAll ( #587 )
...
Documented in py2, undocumented in py3
2016-10-06 14:14:08 -07:00
Alvaro Caceres and Guido van Rossum
f90a6d1c0e
Inspect: use any instead of object ( #585 )
...
* Have inspect.getmembers' return value use Any instead of object
2016-10-06 11:36:17 -07:00
Alvaro Caceres and Matthias Kramm
9586411dad
Add MONDAY, TUESDAY, ... constants to stdlib/calendar ( #586 )
...
These are undocumented but enough people seem to use them that they
should be considered public
2016-10-06 10:19:16 -07:00
Alvaro Caceres and Guido van Rossum
9e71e54aa9
Add http status code constants to 2.7/httplib ( #584 )
2016-10-06 09:42:42 -07:00
Alvaro Caceres and Guido van Rossum
ecc400f125
Make string.Template.substitute's arg optional ( #535 )
2016-09-12 11:12:28 -07:00
Alvaro Caceres and Guido van Rossum
0321b2179b
Declare logging.root -- undocumented but used. ( #534 )
2016-09-12 10:21:16 -07:00
Alvaro Caceres and Matthias Kramm
43fee3bc72
Declare 2.7 unittest's private util module ( #526 )
2016-09-09 06:30:58 -07:00
Alvaro Caceres and Guido van Rossum
23c44d3e36
Use generics for 2.7/weakref ( #516 )
2016-08-31 18:48:45 -07:00
Alvaro Caceres and Guido van Rossum
79a9ae942e
Add DictMixin, IterableUserDict to 2.7/UserDict ( #513 )
2016-08-31 11:12:34 -07:00
Alvaro Caceres and Matthias Kramm
e60c3de954
Update pytype blacklist. ( #430 )
...
Broke travis with recent pytype push
2016-08-02 07:45:46 -07:00
Alvaro Caceres and Matthias Kramm
4c20cd6711
2and3/mmap.pyi : remove "type: ignore" ( #425 )
...
First was for mypy compatibility, but is no longer needed.
Second is removed by going inheriting (Iterable[bytes],
Container[bytes], Sized, Reversible[bytes]) instead of
Sequence[bytes]. Should presumably catch more errors when using __getattr__
2016-08-01 14:20:37 -07:00
Alvaro Caceres and Matthias Kramm
f72afd0ad1
Update pytype blacklist ( #422 )
2016-07-29 15:45:09 -07:00
Alvaro Caceres and Matthias Kramm
6701a10e93
Add 2.7/decimal.pyi generated by stubgen ( #414 )
...
* add decimaly.pyi
generated with
stubgen --py2 decimal
* Strip out private stuff
* pytype compatibility
* fixes
2016-07-28 11:09:48 -07:00
Alvaro Caceres and Matthias Kramm
b968bfcb1c
Update pytype test blacklist ( #411 )
2016-07-27 15:43:48 -07:00
Alvaro Caceres and Matthias Kramm
746f4db989
Change constants to type-equivalent versions ( #392 )
...
* Change constants to type-equivalent versions
For pytype support.
" = object()" -> " = ..."
Non-zero ints -> 0
* Drop changes to typing and __builtin__
2016-07-25 13:03:42 -07:00
alvarocaceres and Matthias Kramm
d7db6221da
Change imports so pytype can parse them ( #394 )
...
* Change imports so pytype can parse them
relative imports -> absolute
import foo.bar as baz -> equivalent "from foo ..."
* fixup ...
2016-07-22 13:04:09 -07:00
alvarocaceres and Matthias Kramm
b676e4af92
Remove non-stub code from pyis ( #391 )
...
* Remove non-stub code from pyis
Also removed @abstractmethod decorators from codecs stub
* add back @abstractmethod
2016-07-22 11:10:13 -07:00
alvarocaceres and Matthias Kramm
f7b35bc8be
Remove line continuations to help pytype parse ( #390 )
2016-07-22 10:55:42 -07:00
alvarocaceres and Matthias Kramm
e02332a787
Misc. changes to help pytype parse typeshed ( #382 )
2016-07-21 13:08:12 -07:00
alvarocaceres and Matthias Kramm
c1b12970f6
Change empty string literals to ellipsis ( #377 )
...
For pytype compatibility
2016-07-20 10:57:32 -07:00
alvarocaceres and Matthias Kramm
ac5916c170
Tweak version tests to help pytype parse them ( #374 )
2016-07-19 07:43:35 -07:00
Alvaro Caceres
67ccb1b450
revert unnecessary change to mypy_test from previous commit
2016-07-12 18:46:09 -05:00
alvarocaceres and Guido van Rossum
63cbe2dc3c
Refactor how test are run, add tests to exercise pytype (if installed) ( #353 )
2016-07-12 15:30:54 -07:00
Alvaro Caceres
122da1ca3f
Add Any for collections.pyi
2016-06-15 15:57:55 -05:00
Alvaro Caceres
84c76f8188
csv module: make reader() and writer() return types private and non-abstract
2016-06-15 14:12:06 -05:00
Alvaro Caceres
d0ac66f5f8
Use "..." for attribute values, instead of None, [], {}
2016-06-15 14:10:04 -05:00
Alvaro Caceres
5886a5dfcd
Fix signatures of call, check_call and check_output in subprocess
2016-06-15 13:34:02 -05:00