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 gvanrossum
Recipients gvanrossum
Date 2013-08-09.23:48:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
From glyph (in a particularly snarky mood):

P.S.: I realize that this isn't really within the scope of this message, but as I was reviewing Future's documentation while writing it, I realized what Future.running() does.  Wow.  What a completely pointless bug magnet.  Why does this method even exist?  It seems like the only possible use would be to introduce look-before-you-leap bugs into concurrent code, like 'if not my_future.running(): my_future.cancel()'.  If it were for tracking the state of long-running Future operations for UI purposes or something, then 'my_future.add_start_callback(callback)' would be a much more useful interface, which at least has a hope of being used correctly.  Independently of the rest of stuff in this message, it would be great if that could be deprecated and removed.

Despite the snarkiness, he does have a point.  Perhaps it was copied mindlessly from Java?
Date User Action Args
2013-08-09 23:48:38gvanrossumsetrecipients: + gvanrossum
2013-08-09 23:48:38gvanrossumsetmessageid: <>
2013-08-09 23:48:38gvanrossumlinkissue18699 messages
2013-08-09 23:48:37gvanrossumcreate