Feature or enhancement
Proposal:
Currently, the pprint module imports dataclasses for its is_dataclass function within the _format method of the PrettyPrinter class here. This can be refactored into a module-level lazy import.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Feature or enhancement
Proposal:
Currently, the
pprintmodule importsdataclassesfor itsis_dataclassfunction within the_formatmethod of thePrettyPrinterclass here. This can be refactored into a module-level lazy import.Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response