Skip to content

pythonic-start-process crashes when starting in a directory that shadows a stdlib module name #23

Open
@glyph

Description

@glyph

If I have a package with a src/foo/bar/site.py, and I use pythonic-start-process to start my interpreter while editing that file, it crashes because it shadows the built-in site module, even if there is properly a __init__.py file in that folder marking it as a package. There should be some heuristics to select an appropriate cwd, or at least an easy option to do so.

(This is derived from the behavior of the 'isortify' package, but perhaps they're using it improperly?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions