[issue7337] Add lossy queue to queue library module

2010-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think it would be better to put this in the ASPN recipes cookbook to let it mature and gather a following. Right now, it is not at all clear that this is the right thing to do. -- resolution: -> rejected status: open -> closed versions: -Pytho

[issue7337] Add lossy queue to queue library module

2009-11-18 Thread Ben Bass
Ben Bass added the comment: 'connectionless' is from how I see it as an analogy with UDP (vs TCP); why not just use a deque is primarily about having the same API - a client (getter) of the queue shouldn't know or care whether it is a 'lossy' queue or a normal queue. I guess most uses of a n

[issue7337] Add lossy queue to queue library module

2009-11-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm curious about your "many applications would benefit from 'connectionless' queues". What do you have in mind? Is there any reason those apps cannot use collections.deque() directly? -- assignee: -> rhettinger nosy: +rhettinger

[issue7337] Add lossy queue to queue library module

2009-11-17 Thread Ben Bass
New submission from Ben Bass : Many applications would benefit from 'connectionless' queues, i.e. they don't want to care whether anything is reading from the other end. Using current queue module classes this is not practical, because there is a choice between unbounded memory consumption or