[issue22362] Warn about octal escapes > 0o377 in re

Serhiy Storchaka report at bugs.python.org
Fri Sep 12 18:29:26 CEST 2014


Serhiy Storchaka added the comment:

> By the way, you should also check for negative numbers.

Not in this case. You can't construct negative number from three octal digits.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22362>
_______________________________________


More information about the Python-bugs-list mailing list