Alex Ellis
10a3e43a19
Queue stubs: Make LIFOQueue and PriorityQueue generic ( #1538 )
2017-08-10 20:15:43 -07:00
blokeley
c5479b11bb
Add private methods stubs to queue.Queue ( #1507 )
...
It is a common pattern to subclass queue.Queue and override the private methods _init, _get, _put and _qsize so they should have stubs.
2017-08-01 14:37:51 -07:00
macheins
ab5f196fca
Add maxsize attribute to Queue ( #1465 )
2017-07-04 08:40:17 -07:00
Max
c2e6a6f670
Add queue.Queue.empty() stub ( #1259 )
...
Fixes #1242 . Seems like one method was omitted by accident.
2017-05-10 18:39:56 -07:00
Jelle Zijlstra
349ff59f33
change empty bodies from "pass" to "..."
...
CONTRIBUTING.md says to prefer ... Not the most impactful change but fixing
these will allow us to lint for it in the future and get a consistent style.
2017-03-16 09:13:08 -07:00
Onno Kortmann
c4125739e5
The timeout argument to Queue.{get,put} may be None ( #682 )
...
Python 2 and 3.
2016-11-11 10:29:52 -08:00
Fabian Heredia Montiel
918eef43f7
Add some missing classes from queue in py3 ( #401 )
2016-07-26 07:41:56 -07:00
Max Payton
e8e82a7c73
Make Empty a subclass of Exception ( #266 )
2016-06-04 18:32:13 -07:00
Matthias Kramm
94c9ce8fd0
Consistently use '= ...' for optional parameters.
2015-11-09 13:55:02 -08:00
Matthias Kramm
337abed05a
add (overwrite with) mypy stubs, if available
2015-09-30 09:59:44 -07:00