Stefan Krah <stefan-use...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14417> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com