Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-33440: Defer imports in pathlib to reduce its import time.#6820

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
agfor wants to merge2 commits intopython:mainfromagfor:pathlib_defer_imports

Conversation

@agfor
Copy link

@agforagfor commentedMay 14, 2018
edited
Loading


defmake_uri(self,path):
# Under Windows, file URIs use the UTF-8 encoding.
fromurllib.parseimportquote_from_bytesasurlquote_from_bytes

Choose a reason for hiding this comment

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

What is the reason of the renaming?

Copy link
Member

Choose a reason for hiding this comment

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

there is no reason, you are right but this is just a copy. Now he could remove the renaming.

@matrixise
Copy link
Member

@serhiy-storchaka I can't merge this PR, if you want to merge it, let's go! ;-)

@serhiy-storchaka
Copy link
Member

I don't know whether this change is worth merging.

@matrixise
Copy link
Member

ok thanks for your feedback@serhiy-storchaka

@csabellacsabella requested a review fromncoghlanMay 22, 2019 10:19
@csabellacsabella requested review fromncoghlan andpitrou and removed request forncoghlan andpitrouFebruary 7, 2020 11:28
Copy link
Member

@pitroupitrou left a comment
edited
Loading

Choose a reason for hiding this comment

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

Sorry, it looks like this review took a long delay for a simple change. This looks good to me on the principle but you need to do two things:

  • merge / rebase your changes on git master
  • add a NEWS entry for the change (you can useblurb-it orblurb)

Also, would be nice if you posted import benchmark numbers for the change.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phraseI have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@csabella
Copy link
Contributor

@agfor, please take a look at the review comments from pitrou. Thanks!

@AlexWaygoodAlexWaygood added the performancePerformance or resource usage labelApr 11, 2022
@AlexWaygood
Copy link
Member

I'm closing this PR, since it has been 2 years and@pitrou's review comments have still not been addressed.

@agfor: if you're still interested in working on this issue, please feel free to continue discussing it at#77621 and/or submit a new PR 🙂

@iritkatrieliritkatriel added 3.12only security fixes and removed 3.12only security fixes labelsSep 7, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka left review comments

@pitroupitroupitrou requested changes

@matrixisematrixisematrixise approved these changes

@ncoghlanncoghlanAwaiting requested review from ncoghlan

Assignees

No one assigned

Labels

awaiting changesperformancePerformance or resource usage

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

9 participants

@agfor@matrixise@serhiy-storchaka@bedevere-bot@csabella@AlexWaygood@pitrou@iritkatriel@the-knights-who-say-ni

[8]ページ先頭

©2009-2025 Movatter.jp