This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Optimise uuid platform detection
Type: performance Stage: resolved
Components: Library (Lib) Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: miss-islington, steve.dower
Priority: normal Keywords: patch

Created on 2020-07-21 20:41 by steve.dower, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 21586 merged steve.dower, 2020-07-21 20:46
PR 21589 merged miss-islington, 2020-07-21 23:16
PR 21591 merged steve.dower, 2020-07-22 00:11
Messages (4)
msg374079 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-07-21 20:41
The uuid module calls platform.system() multiple times, even when the result is known from sys.platform. We can avoid some of these.
msg374080 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-07-21 23:16
New changeset bf2f76ec0976c09de79c8827764f30e3b6fba776 by Steve Dower in branch 'master':
bpo-41364: Reduce import overhead of uuid module (GH-21586)
https://github.com/python/cpython/commit/bf2f76ec0976c09de79c8827764f30e3b6fba776
msg374081 - (view) Author: miss-islington (miss-islington) Date: 2020-07-22 00:09
New changeset 00466db22168579509fe6aa6cb47cdd89dfb9141 by Miss Islington (bot) in branch '3.9':
bpo-41364: Reduce import overhead of uuid module (GH-21586)
https://github.com/python/cpython/commit/00466db22168579509fe6aa6cb47cdd89dfb9141
msg374091 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-07-22 11:26
New changeset a18f22ab11a7bfb5ff3e74c737ca9e1bebe4abf9 by Steve Dower in branch '3.8':
bpo-41364: Reduce import overhead of uuid module (GH-21586)
https://github.com/python/cpython/commit/a18f22ab11a7bfb5ff3e74c737ca9e1bebe4abf9
History
Date User Action Args
2022-04-11 14:59:33adminsetgithub: 85536
2020-07-22 11:27:00steve.dowersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-07-22 11:26:41steve.dowersetmessages: + msg374091
2020-07-22 00:11:49steve.dowersetpull_requests: + pull_request20730
2020-07-22 00:09:36miss-islingtonsetmessages: + msg374081
2020-07-21 23:16:24miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request20729
2020-07-21 23:16:10steve.dowersetmessages: + msg374080
2020-07-21 20:46:47steve.dowersetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request20726
2020-07-21 20:41:32steve.dowercreate