STINNER Victor added the comment: Ethan Furman: "Does this mean we can put enum back in re?"
I checked manually: adding "import enum" to Lib/re.py has no more impact on "python_startup" benchmark. Guido van Rossum: "Honestly now the basic startup time is under control I am fine with restoring the re enum. We can optimize that later." I concur with Guido, so I reapplied Ethan's changeset. Enjoy readable str() on re flags ;-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28637> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com