[issue14417] dict RuntimeError workaround

Antoine Pitrou report at bugs.python.org
Sun Apr 1 12:10:09 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> But the sleep(0.1) forces a thread switch so I consider that still
> cheating -- nobody in their right mind would consider calling sleep()
> inside __hash__.

Well, cheating is fair game when trying to test borderline cases, isn't
it?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14417>
_______________________________________


More information about the Python-bugs-list mailing list