-
Notifications
You must be signed in to change notification settings - Fork 197
Python: Renaming "file" module #1275
Description
I'm increasingly disliking the naming of the "file" submodule in the Python script libraries. This is a builtin in Python; so not only does it light up in syntax highlighting, it also requires the use of "#pylint: disable=redefined-builtin" wherever it is imported. I'd like to rename this before 3.0_RC3, since that's where the pylint tests become a part of the master branch and so having good conformity out of the gate would be preferable.
I was thinking filesys or fsys could work. fs might be too short, and clash with the fsl module. filesystem is a little too verbose for my liking, given in some instances it's used quite regularly. Other suggestions welcome.
I suppose included in here would be: Whether the contents of the file and path submodules should be merged together (was initially suggested in #898); keeping them split made the interface more like the C++ code, but if file is renamed then merging them may make more sense.