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 loewis
Recipients georg.brandl, jcea, kristjan.jonsson, loewis, pitrou, sbt
Date 2012-06-23.12:29:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340454555.27.0.105662537292.issue15139@psf.upfronthosting.co.za>
In-reply-to
Content
I believe the patch is incorrect. It changes self._acquire_restore into a no-op, claiming that lock_acquire_condition will correctly restore the lock's state.

However, lock_acquire_condition may fail (e.g. if the timeout is not strictly positive), in which case the lock's case isn't properly restored.
History
Date User Action Args
2012-06-23 12:29:15loewissetrecipients: + loewis, georg.brandl, jcea, pitrou, kristjan.jonsson, sbt
2012-06-23 12:29:15loewissetmessageid: <1340454555.27.0.105662537292.issue15139@psf.upfronthosting.co.za>
2012-06-23 12:29:14loewislinkissue15139 messages
2012-06-23 12:29:14loewiscreate