It's possible to have a function and a class in the same module whose names differ only in their case. In fact, scikit-learn includes a few:
sklearn.cluster.DBSCAN vs sklearn.cluster.dbscan
sklearn.covariance.OAS vs sklearn.covariance.OAS
sklearn.decomposition.FastICA vs sklearn.decomposition.fastica
Corresponding files are generated by autodoc and the handling of their different is system dependent: they may be overwritten, or may be distinguished by the OS/filesystem. Is it possible to identify such lowercase duplicates and munge the filenames to avoid conflict?