Skip to content

bpython creates .pyc files from directories ending in .py #237

@ikanobori

Description

@ikanobori

Terje Røsten emailed me this issue:

Hi Bob!

I got a report from a Fedora bpython user:

https://bugzilla.redhat.com/show_bug.cgi?id=823662

There is issue when current working directory has a directory
inside with a name which ends with .py.

To see the trouble, try this:

a) mkdir rain.py
b) bpython
c) in bpython: type "import rain"
d) quit (rain.pyc is now created)
e) bpython
c) press "anything"

Any idea on how to fix this?

Thanks in advance.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions