• Brett Cannon's avatar
    Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use · a6473f9c
    Brett Cannon yazdı
    Lib/imp.py for imp.source_from_cache() instead of its own C version.
    
    Also change PyImport_ExecCodeModuleObject() to not infer the source
    path from the bytecode path like
    PyImport_ExecCodeModuleWithPathnames() does. This makes the function
    less magical.
    
    This also has the side-effect of removing all uses of MAXPATHLEN in
    Python/import.c which can cause failures on really long filenames.
    a6473f9c
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS 349 KB