Antoine Pitrou added the comment: A simple workaround is to bypass the cache when DEBUG is passed. See attached patch. (not sure this applies as a bug fix, but DEBUG probably isn't used in production anyway: the potential for breakage is low)
---------- keywords: +patch stage: test needed -> patch review versions: +Python 2.7, Python 3.3, Python 3.4 -Python 3.5 Added file: http://bugs.python.org/file33877/re_debug_cache.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20426> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com