Issue 1710352: Update locale.all - Python tracker (original) (raw)

jager:~ humberto$ python2.5

import locale locale.currency <function currency at 0x80ef0>

Here's the problem

from locale import * currency Traceback (most recent call last): File "", line 1, in NameError: name 'currency' is not defined

I'm sending two similar patches:

I did a simple test only to assure all names are right and it worked: for f in locale.all: getattr(locale, f)

Now you choose which patch is better. :)