Message81934
> Hmm, this fails on python2 too. Maybe re.ASCII is added for backward
> compatibility? Again, I'm not familiar with unicode, so I won't call
> remove_ascii_flag.patch as *fix*.
re.ASCII was added to many stdlib modules because I wanted to minimize
the potential for breakage when I converted the re library to use
unicode matching by default.
If it is desireable for strptime() and friends to match unicode digits
as well as pure-ASCII digits (which sounds like a reasonable request to
me), then re.ASCII can probably be dropped without any regret.
(py3k doesn't have to be 100% compatible with python2 :-)) |
|
| Date |
User |
Action |
Args |
| 2009-02-13 14:24:38 | pitrou | set | recipients:
+ pitrou, ocean-city, ezio.melotti |
| 2009-02-13 14:24:37 | pitrou | link | issue5239 messages |
| 2009-02-13 14:24:36 | pitrou | create | |
|