Skip to content

PR: Rename utils.py to _utils.py to make it private#431

Merged
dalthviz merged 1 commit intospyder-ide:masterfrom
StSav012:make_utils_private
Jul 4, 2023
Merged

PR: Rename utils.py to _utils.py to make it private#431
dalthviz merged 1 commit intospyder-ide:masterfrom
StSav012:make_utils_private

Conversation

@StSav012
Copy link
Copy Markdown
Contributor

@StSav012 StSav012 commented May 17, 2023

Following the #422 (comment), I renamed utils.py.

As for renaming the _wrap_missing_optional_dep_error function, I'm unsure. It's only usage is in the getattr_missing_optional_dep function, which is in the same file and immediately follows the former. The underscore conveniently emphasizes that the _wrap_missing_optional_dep_error function is not used outside the file. I'd rather stick to @DaelonSuzuka's decision.

@ccordoba12 ccordoba12 changed the title PR: Rename utils.py_utils.py to make it private PR: Rename utils.py to _utils.py to make it private May 18, 2023
Copy link
Copy Markdown
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @StSav012 ! LGTM 👍

@dalthviz dalthviz added this to the v2.4.0 milestone May 18, 2023
@StSav012
Copy link
Copy Markdown
Contributor Author

StSav012 commented Jul 4, 2023

Please forgive me for being impatient, but it's been 45 days since last activity here. The change I propose is trivial. I understand that everyone's busy with the work they're paid for.

I have another PR (about Q*.exec()) almost ready, but it will conflict with this one. In a little more than a week, I'm going on vacation for 4 weeks, and I'd like to submit the next PR before that. I sincerely believe that someone might find the next PR useful.

@dalthviz
Copy link
Copy Markdown
Member

dalthviz commented Jul 4, 2023

Sorry @StSav012 ! This fall through the cracks 😅 Merging!

@dalthviz dalthviz merged commit 1749f6c into spyder-ide:master Jul 4, 2023
@StSav012 StSav012 deleted the make_utils_private branch July 5, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants