Gerhard Hagerer
96123f8474
Added Lock.locked() method stub ( #633 )
...
https://docs.python.org/3/library/asyncio-sync.html#asyncio.Lock.locked
2016-10-26 07:17:59 -07:00
Matthias Kramm
b0eae4bf46
allow to use RLock in type annotations ( #595 )
2016-10-10 16:52:47 -07:00
Alvaro Caceres
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
674fe2b59f
Add threading.Condition.notifyAll ( #587 )
...
Documented in py2, undocumented in py3
2016-10-06 14:14:08 -07:00
Guido van Rossum
1e1694276c
Oops, should use ... not None.
2016-08-02 11:06:52 -07:00
Guido van Rossum
2bb6856456
Change local to type Any and add link to mypy bug.
2016-08-02 10:59:11 -07:00
Guido van Rossum
9debde04e9
Make type of threading.locals more lenient.
2016-08-02 09:39:00 -07:00
Valérian Rousset
ee02a8a968
Improve threading ( #403 )
...
* initial stubgen
* comment everything
* 17.1.0 done
* 17.1.1 done
* 17.1.2 done
* 17.1.3 done
* 17.1.4 done
* 17.1.5 done
* reorder __enter__, __exit__
* 17.1.6 done
* 17.1.7 done
* 17.1.8 done
* 17.1.9 done
* cleanup, py3 done
* py2 begin, comment everything
* 16.2.0 done
* 16.2.1 done
* 16.2.2 done
* 16.2.3 done
* 16.2.4 done
* 16.2.5 done
* 16.2.6 done
* 16.2.7 done
* cleanup, py2 done
* remove old threading stubs
* use --strict-optional
* improve Condition.wait_for
* remove type ignore
2016-08-01 14:31:57 -07:00