Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

The problem lies here:

https://github.com/python/cpython/blob/f66d00fdd7e9a333accc6bf0e37173051aaa55d0/Parser/string_parser.c#L374-L389

The problem is that the strstr call will fail because the string containing the 
expression doesn't have the formatting part in it, so the offsets never get 
corrected.

----------
nosy: +lys.nikolaou

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44885>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to