lazy load decimal (the db backends usually import it anyway)
lazy load pformat
Fixed #23660 -- Moved sort_dependencies to core.
lazy load HTMLParser
lazy load cgi
lazy load email and calendar