[issue14417] dict RuntimeError workaround
Stefan Krah
report at bugs.python.org
Sun Apr 1 14:59:58 CEST 2012
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
OK, here's a version with a low switch interval. Of course it's also
contrived, but it works.
Generally I'd appreciate the RuntimeError, since it's a hint that
something needs to be rewritten in an application.
It might be a problem if this started to occur sporadically in a
production app under a high system load. But I haven't managed to
trigger the exception just by increasing the system load. I always
had to use the same low switch interval.
----------
Added file: http://bugs.python.org/file25089/hammer_dict_switchinterval.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14417>
_______________________________________
More information about the Python-bugs-list
mailing list