Issue 22284: decimal module contains less symbols when the _decimal module is missing (original) (raw)

While investigation issue #22283, I noticed that when the _decimal is present, the decimal looses its all attribute. dir(decimal) contains 5 more symbols than decimal.all: {'ConversionSyntax', 'DecimalTuple', 'DivisionImpossible', 'DivisionUndefined', 'InvalidContext'}

These symbols should be added to decimal.all, or _decimal should also have a all attribute.