Locale-Sensitive Python Methods
The Python programming language version 3 fully supports Unicode
and defines all String types as UTF-16. Python 2 defaults to Ascii so will
have more internationalization issues.
Potentially Locale-Sensitive I18n Methods
The following list of functions are considered potentially locale-sensitive
in the context of internationalized software development. For true internationalization, these methods should be updated to be locale-specific to the user.
Click on a function for more information:
bytearray()
bytes()
chr()
datetime()
datetime.combine()
datetime.fromisoformat()
datetime.fromtimestamp()
datetime.now()
datetime.strftime()
datetime.strptime()
datetime.time()
datetime.timetuple()
datetime.today()
datetime.tzname()
datetime.utcfromtimestamp()
datetime.utcnow()
datetime.utctimetuple()
Decimal()
Decimal.to_eng_string()
Decimal.to_sci_string()
float()
format()
list.sort()
locale.atof()
locale.atoi()
locale.currency()
locale.delocalize()
locale.format_string()
locale.getdefaultlocale()
locale.getlocale()
locale.setlocale()
locale.strcoll()
locale.strxfrm()
open()
ord()
re.findall()
re.finditer()
re.fullmatch()
re.match()
re.search()
re.split()
re.sub()
re.subn()
repr()
str()
string.capitalize()
string.casefold()
string.encode()
string.isalnum()
string.isalpha()
string.isascii()
string.islower()
string.istitle()
string.isupper()
string.join()
string.lower()
string.lstrip()
string.rstrip()
string.strip()
string.swapcase()
string.title()
string.upper()
time.asctime()
time.ctime()
time.localtime()
Locale-Sensitive Methods Table of Contents
|