Skip to content

__file__ returns differnet filenames #363

Description

@HahnloserR

when a jython script runs for the first time, file returns the source filename.

while running the script another time, file returns the name of the bytecode file.

Shouldn't it return the sourcefilename all the time? Is there a parameter to change the behaviour?

The behaviour seems to be changed with the update from V2.7.2 to V2.74.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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