ppperry added the comment: OverflowError is raised when one attempts to compile a string of 2**31 or more characters. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue25733> _______________________________________