Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 'Edit with IDLE' fails in one directory #124954

Open
terryjreedy opened this issue Oct 4, 2024 · 1 comment
Open

Windows 'Edit with IDLE' fails in one directory #124954

terryjreedy opened this issue Oct 4, 2024 · 1 comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes OS-windows type-bug An unexpected behavior, bug, or error

Comments

@terryjreedy
Copy link
Member

terryjreedy commented Oct 4, 2024

Bug report

f:\dev\3x>py -m idlelib f:/dev/tem/blank.py opens blank.py in IDLE. But in File Explorer, right click on blank.py and selection of `Edit with IDLE => Edit with IDLE 3.13 (64 bit) fails. Nothing happens. Same for 3.12 and 3.11.

Copy blank.py up to f:/tem and Edit with IDLE works. Neither directory has __init__ and __main__ defined. Looking at all tabs of the respective properties dialogs and the only difference I noted was the content file and bytes numbers. Context-menu opening works in another existing dir, with the two dunders defined.

If .../tem is renamed or copied (and - removed from the copy name), the command-line success and context-menu failure remain. It seems to be poisoned somehow. With a new subdirectory, F:/dev/temNew with blank.py copied into it, context-menu selection works.

@terryjreedy terryjreedy added type-bug An unexpected behavior, bug, or error OS-windows 3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Oct 4, 2024
@terryjreedy
Copy link
Member Author

terryjreedy commented Oct 4, 2024

I am pretty sure that this is not an idlelib issue, but I want to keep track of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes OS-windows type-bug An unexpected behavior, bug, or error
Projects
Status: No status
Development

No branches or pull requests

1 participant