Message183298
I understand the reasoning behind the feature, and the will to be unicode-compliant, but I think this might still break a lot of code (though it may never be detected).
I understand that isdecimal() is the safe way, because anything that is a decimal (Nd) can be translated to an integer by int() ; however, what is the recommended way to get something that isnumeric() into an int?
unicodedata.normalize('NFKD', num) or unicodedata.normalize('NFKC', num)?
Maybe str could have a method that does this, or methods performing exclusively on ascii values?
Sorry for the noise, I did not find issue 10557 when I searched. |
|
Date |
User |
Action |
Args |
2013-03-01 22:15:36 | mathieui | set | recipients:
+ mathieui, lemburg, rhettinger, mark.dickinson, eric.smith, ezio.melotti, r.david.murray, flox |
2013-03-01 22:15:36 | mathieui | set | messageid: <1362176136.01.0.815888153412.issue17331@psf.upfronthosting.co.za> |
2013-03-01 22:15:35 | mathieui | link | issue17331 messages |
2013-03-01 22:15:35 | mathieui | create | |
|