• Jeremy Hylton's avatar
    Revise interface between ExportImport and Connection. · 90476555
    Jeremy Hylton authored
    The Connection class inherits from the ExportImport mixin, but they
    had an arm's length interaction.  Restructure the code to provide
    direct interaction via the _import attribute.
    
    Remove the more general onCommitCallback() method.  It was only used
    by ExportImport.
    
    A lot of cosmetic changes to ExportImport:
        - don't make local variables out of attribute lookups
        - avoid local variable names that shadow builtins
        - prefer isinstance() to type comparisons
        - prefer absolute imports to relative imports
    90476555
Connection.py 24.1 KB