FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-118761: Always lazy import `warnings` in `threading` by hukkin · Pull Request #129428 · python/cpython · GitHub

/ cpython Public

gh-118761: Always lazy import warnings in threading - #129428

Merged
AA-Turner merged 2 commits into
python:mainfrom
hukkin:lazy-threading-warnings
Jan 29, 2025
Merged

gh-118761: Always lazy import warnings in threading#129428
AA-Turner merged 2 commits into
python:mainfrom
hukkin:lazy-threading-warnings

Conversation

hukkin commented Jan 29, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

threading seems to lazy import warnings in 8 locations, but also has a non-lazy import used in one location, rendering all the lazy imports useless.

This PR makes the one remaining non-lazy import also lazy.

AA-Turner merged commit 99ed302 into python:main Jan 29, 2025
hukkin deleted the lazy-threading-warnings branch January 29, 2025 17:34
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Feb 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL