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
IDLE hangs when passing invalid command line args (directory(ies) instead of file(s)) #47823
Comments
Passing a single directory as a command line argument can make IDLE hang. The attached patch discards filenames that failed to load, so in the end |
Idle has changed a bit since the initial message, so it no longer hangs |
Please refer to msg89022. |
I can confirm that using "idle -e <dir>" still causes a hang on Windows using 3.2.2 and on Ubuntu using 2.7.1 and 3.2 The given patch fixes the problem on those platforms. |
New changeset 01404295138d by Andrew Svetlov in branch 'default': |
Fixed. Thanks to Guilherme Polo and Roger Serwy. |
New changeset a95b19b3b4cd by Andrew Svetlov in branch '3.2': New changeset cdcd1f7f0882 by Andrew Svetlov in branch 'default': |
New changeset a9be863e5734 by Andrew Svetlov in branch '2.7': |
Backported to 3.2 and 2.7 |
Thanks for applying. |
Will do in next time. |
3-22 00:26
The default branch (3.3) is a superset of 3.2: all bug fixes are in both branches, and new features are in 3.3 only. We’ve chosen the simplest way to achieve that with Mercurial: we commit to 3.2 and merge into default. This ensures that no fix committed to one version is forgotten in the other, and also automates the file merging. That’s just it. |
(Edited for typos, ignore the “3-22 00:26” that comes from I don’t know where) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: