-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Fix issue #23497 #23498
base: master
Are you sure you want to change the base?
PR: Fix issue #23497 #23498
Conversation
Hello @Social-Mean! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2025-01-17 11:51:49 UTC |
This PR is a supplement to #23444 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Social-Mean, quick feedback for your about your proposed solution.
# Avoid conflicts with `--connect-to-kernel` option. See issue #23497 | ||
# for more information. | ||
if connection_file is not None: | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will prevent opening the project passed through the command line, which would seem like an error to users. So, I don't think this is the right solution.
Instead, I propose to add a method to the IPython console called _handle_connect_to_kernel_cli
that would receive connection_file
and could be called after open_project
below.
Description of Changes
Issue(s) Resolved
Fixes #23497
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: @Social-Mean