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 vstinner
Recipients jftuga, vstinner
Date 2015-08-20.22:39:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440110392.8.0.454668020916.issue24904@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure that it's a good idea to add a timeout to such algorithm. It can be very surprising to have a difference result depending on the system load (CPU usage of _other_ applications) and on the CPU performances.

If you really want this result, I would prefer to design the feature outside the Python stdlib. You might modify the stdlib to allow incremental computation.

About the patch itself, which kind of timer should be used? Monotonic clock? System clock? Process time (CPU time)?

Maybe we can optimize the code?
History
Date User Action Args
2015-08-20 22:39:52vstinnersetrecipients: + vstinner, jftuga
2015-08-20 22:39:52vstinnersetmessageid: <1440110392.8.0.454668020916.issue24904@psf.upfronthosting.co.za>
2015-08-20 22:39:52vstinnerlinkissue24904 messages
2015-08-20 22:39:52vstinnercreate