Re: [Python-ideas] Add pop_callback to deque signature

2017-10-04 Thread Antoine Pitrou
On Wed, 4 Oct 2017 08:47:46 +0300 Serhiy Storchaka wrote: > 04.10.17 07:58, Nick Coghlan пише: > > For deque specifically, I like Steven D'Aprano's suggestion of a > > "__dropped__" or "__discard__" subclassing API that makes it > > straightforward to change the way that queue overruns are handled

Re: [Python-ideas] Add pop_callback to deque signature

2017-10-04 Thread Nick Coghlan
On 4 October 2017 at 15:47, Serhiy Storchaka wrote: > 04.10.17 07:58, Nick Coghlan пише: >> >> For deque specifically, I like Steven D'Aprano's suggestion of a >> "__dropped__" or "__discard__" subclassing API that makes it >> straightforward to change the way that queue overruns are handled >> (e