Message 280758 - Python tracker
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 ;-)