Xqt added a comment.
the exception is compiled twice:
for replacement in replacements:
print('--->', replacement.__dict__, regex)
replacement.compile(regex, flags) # <-- first time
precompile_exceptions(exceptions, regex, flags) # <-- second time
TASK DETAIL
https://phabricator.wikimedia.org/T299264
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, pywikibot-bugs-list, Aklapper, Mpaa, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]