Different behaviour of regexp in 3.6.0b2

Serhiy Storchaka storchaka at gmail.com
Sat Oct 15 04:00:24 EDT 2016


On 14.10.16 19:15, Chris Angelico wrote:
> I wasn't specifically aware that the re module was doing the same
> thing, but it'll be from the same purpose and goal. The idea is that,
> for instance, Windows path names in non-raw string literals will no
> longer behave differently based on whether the path is "my_user" or
> "the_other_user". Definite improvement.

The re module emitted deprecation warnings in 3.5. In 3.6 warnings 
become errors. The idea is that this allows to add new special sequences 
(like \p{...} or \R) in future.





More information about the Python-list mailing list