Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find_sources: deal more robustly with filenames with periods #9835

Closed
wants to merge 1 commit into from

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Dec 23, 2020

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
@hauntsaninja hauntsaninja changed the title find_sources: deal more robustly against filenames with periods find_sources: deal more robustly with filenames with periods Dec 23, 2020
@hauntsaninja
Copy link
Collaborator Author

hauntsaninja commented Dec 24, 2020

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 free to 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