Author TarkaSteve
Recipients TarkaSteve, jnoller, roudkerk
Date 2008-09-12.00:13:20
SpamBayes Score 0.00200498
Marked as misclassified No
Message-id <1221178403.05.0.507988966141.issue3831@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Jesse,

The use-case I had is mind is enabling asyncronous (i.e. select() style)
notification of data being available on the queue, which is more elegant
(and efficient) than polling with get().  Example code showing how this
works with GTK is available here:

http://haltcondition.net/?p=2319

I understand wanting to keep the API simple, however the underlying
posix-level file-descriptors for pipes and connections are already
exposed via fileno(); the actual API change would just be a matter of
changing '_reader' and '_writer' to 'reader' and 'writer' (implicitly
guaranteeing their consistency).

Would it help if I attached a patch showing the proposed change to the
module?  I realise the API is frozen now but it would be nice to have
this further down the line.
History
Date User Action Args
2008-09-12 00:13:23TarkaStevesetrecipients: + TarkaSteve, roudkerk, jnoller
2008-09-12 00:13:23TarkaStevesetmessageid: <1221178403.05.0.507988966141.issue3831@psf.upfronthosting.co.za>
2008-09-12 00:13:22TarkaStevelinkissue3831 messages
2008-09-12 00:13:20TarkaStevecreate