This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients Bruce.Sherwood, asvetlov, mhuster, roger.serwy, taleinat, terry.reedy
Date 2012-04-15.21:22:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334524959.26.0.82967370313.issue8900@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for your review, Terry.

Popping from the end is not an implementation of rule 2. Calling event handlers is separate concept from binding/unbinding event handlers. The "doafterhandler" list contains bind/unbind requests that were made while calling event handlers. The doafterhandler "queue" should be FIFO, not LIFO.

Code note 1:

The running time of the algorithm is an important consideration. Your last suggestion for using a for-loop looks most appropriate, as you've said. Attached is a revised patch for it.

Code note 2:

The _ComplexBinder class may need refactoring, but that's a separate issue. I'm willing to review patches for that.
History
Date User Action Args
2012-04-15 21:22:39roger.serwysetrecipients: + roger.serwy, terry.reedy, taleinat, asvetlov, mhuster, Bruce.Sherwood
2012-04-15 21:22:39roger.serwysetmessageid: <1334524959.26.0.82967370313.issue8900@psf.upfronthosting.co.za>
2012-04-15 21:22:38roger.serwylinkissue8900 messages
2012-04-15 21:22:38roger.serwycreate