-
Notifications
You must be signed in to change notification settings - Fork 133
Decide handling of unusual file names #736
Comments
It is actually one fix for this one and #597: file that has name that can't be a module can have name and be analyzed (including absolute imports). |
I'm not sure they're completely identical; I could have a file in some directory called |
If you do
|
Yes, I did some testing and things do seem to break. Though it looks like you can actually do For completion's sake, if you're curious:
|
#778 too: We should be handling files without |
Files that start with [0-9] also don't seem to be working..Keep getting the following prints: |
Unfortunately I am still getting errors
Any suggestions? |
I got the same problem |
I am having same problem on a Linux box:
|
Upgrading to latest stable solved the issue. |
Uh oh!
There was an error while loading. Please reload this page.
Technically file names are module names and names like
1.py
ora-b.py
are unimportable. Currently we fail withUnable to find document
message which is not informative.Options:
Related:
https://stackoverflow.com/questions/761519/is-it-ok-to-use-dashes-in-python-files-when-trying-to-import-them
The text was updated successfully, but these errors were encountered: