Lysandros Nikolaou <lisandros...@gmail.com> added the comment:

I propose to go with the first approach. I really like that and I can see us 
using it in various place in the future. It's basically a positive lookahead 
with a cut, but the extra feature that it raises a SyntaxError, right?

I'll have a look at the PR now.

----------

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

Reply via email to