Noticed this code, where file is neither a Python 3 built-in, nor imported:
|
dsource.write(file(ini_fname, 'wt')) |
This looks like a Python 2 left-over:
https://python.readthedocs.io/en/v2.7.2/library/functions.html#file
https://portingguide.readthedocs.io/en/latest/builtins.html#removed-file
Has doc/source/devel/register_me.py ever been run recently? Is it still useful?