Message292618
Currently the result of re.compile() with the re.LOCALE flag depends on the locale at compile time. The locale at matching time should be the same as the locale at compile time, otherwise the matching can work incorrectly. This complicates caching in module global functions and increase the chance of race condition.
Proposed patch makes re.compile() not depending on locale. Only the locale at matching time affects the result of matching.
This is more comprehensive solution of issue22410. |
|
Date |
User |
Action |
Args |
2017-04-30 05:21:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ezio.melotti, mrabarnett |
2017-04-30 05:21:39 | serhiy.storchaka | set | messageid: <1493529699.82.0.722013579131.issue30215@psf.upfronthosting.co.za> |
2017-04-30 05:21:39 | serhiy.storchaka | link | issue30215 messages |
2017-04-30 05:21:39 | serhiy.storchaka | create | |
|