Skip to content

find_sources: deal more robustly with filenames with periods - #9835

Closed
hauntsaninja wants to merge 1 commit into
python:masterfrom
hauntsaninja:dot
Closed

find_sources: deal more robustly with filenames with periods#9835
hauntsaninja wants to merge 1 commit into
python:masterfrom
hauntsaninja:dot

Conversation

@hauntsaninja

@hauntsaninjahauntsaninja commented Dec 23, 2020

Copy link
Copy Markdown
Collaborator

Note that we deal with the possibility of parent_module containing a
period in _crawl_up_helper

Brought up in #9833

For context on the preexisting comment about invalid module names, see #9742 (comment)

Note that we deal with the possibility of parent_module containing a
period in _crawl_up_helper
Brought up in python#9833
@hauntsaninjahauntsaninja changed the title find_sources: deal more robustly against filenames with periodsfind_sources: deal more robustly with filenames with periodsDec 23, 2020
@hauntsaninja

hauntsaninja commented Dec 24, 2020

Copy link
Copy Markdown
CollaboratorAuthor

Actually, I don't really like this. If a user runs into the case where this causes trouble, they'll get a Duplicate module named "a.b" error with the two filenames.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@hauntsaninja