Message199506
I accept hacks to speedup Python is the site module, but it becomes more surprising in the locale module. The issue #9548 proposes to a more generic solution for the locale module at startup.
-CONFIG_LINE = re.compile(r'^(?P<key>(\w|[-_])+)\s*=\s*(?P<value>.*)\s*$')
+CONFIG_LINE = None
If you set the constant to None, it's better to remove it completly (or make it private). It's a public variable, someone may try to read it. I don't know why it is public. |
|
Date |
User |
Action |
Args |
2013-10-11 21:19:53 | vstinner | set | recipients:
+ vstinner, barry, pitrou, christian.heimes |
2013-10-11 21:19:53 | vstinner | set | messageid: <1381526393.75.0.315767301888.issue19205@psf.upfronthosting.co.za> |
2013-10-11 21:19:53 | vstinner | link | issue19205 messages |
2013-10-11 21:19:53 | vstinner | create | |
|