Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.
Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.
Issue #22578: Added attributes to the re.error class.