Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensure that a module within a namespace package can be found by --pyargs #1597
See #1568 for the description of the test setup.
Unlike #1568, this PR does not attempt to emulate the import machinery to determine the filename of a package or directory, delegating instead most of the work to the
NB In case of a non-top-level module or package,
referenced this pull request
Jun 8, 2016
Appveyor caught a little problem with a test setup using PyPy on Windows: I'll fix that.
@nicoddemus I'll incorporate your feedback. The reason why that try-except clause is needed is that sometimes
I'll catch explicitly that exception and add a comment to explain why that is necessary.