bpo-39683: 2to3 fix_exitfunc suggests duplicated import of atexit module by phsilva · Pull Request #18654 · python/cpython
Conversation
2to3 fix for sys.exitfunc adds multiple imports when sys.exitfunc
is present multiple times.
This patch adds a check for already existing 'import atexit' and
do not add multiple imports.
2to3 fix for sys.exitfunc adds multiple import when sys.exitfunc is present multiple times. This patch adds a check for already existing 'import atexit' and do not add multiple imports.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters