Add __note__
to BaseException
in Python 3.11
#6633
Merged
__note__
to BaseException
in Python 3.11
#6633