STINNER Victor added the comment:
Back to basis, patch 6:
* revert changes on indexgroup and groupindex types: I will fix this later,
once this issue is fixed
* pattern_richcompare() and pattern_hash() also uses pattern, but don't use
groups, indexgroup nor groupindex anymore
I removed the @cpython_only unit test and rewrote test_pattern_compare_bytes()
to make it easier to follow.
re.compile('abc', re.IGNORECASE) is different than re.compile('ABC',
re.IGNORECASE), but it's a deliberate choice to not test it. I consider that
the behaviour can change depending on the Python implementation and in a future
version.
----------
Added file: http://bugs.python.org/file45587/pattern_compare-6.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28727>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com