This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients barry, christian.heimes, pitrou, vstinner
Date 2013-10-11.21:19:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381526393.75.0.315767301888.issue19205@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-10-11 21:19:53vstinnersetrecipients: + vstinner, barry, pitrou, christian.heimes
2013-10-11 21:19:53vstinnersetmessageid: <1381526393.75.0.315767301888.issue19205@psf.upfronthosting.co.za>
2013-10-11 21:19:53vstinnerlinkissue19205 messages
2013-10-11 21:19:53vstinnercreate