Ezio Melotti added the comment: #17441 also has a discussion about regex caching that might be relevant. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18562> _______________________________________