Skip to content

Autodoc may overwrite where functions and classes with different case exist #2024

@jnothman

Description

@jnothman

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions