Also updates calls in collections, doctest, enum, and typing modules to use _getframemodulename first when available.