René's URL Explorer Experiment


Title: Defer importing `devtools` in `sitecustomize.py`. by kalekundert · Pull Request #49 · samuelcolvin/python-devtools · GitHub

Open Graph Title: Defer importing `devtools` in `sitecustomize.py`. by kalekundert · Pull Request #49 · samuelcolvin/python-devtools

X Title: Defer importing `devtools` in `sitecustomize.py`. by kalekundert · Pull Request #49 · samuelcolvin/python-devtools

Description: Dev tools for python. Contribute to samuelcolvin/python-devtools development by creating an account on GitHub.

Open Graph Description: It's convenient to be able to use debug() as if it were a builtin function, but importing devtools directly in sitecustomize.py is a pretty significant performance hit for every invocation of p...

X Description: It's convenient to be able to use debug() as if it were a builtin function, but importing devtools directly in sitecustomize.py is a pretty significant performance hit for every invocation ...

Opengraph URL: https://github.com/samuelcolvin/python-devtools/pull/49

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bf21c6e5-ba28-d879-a745-c85bb57cdbe6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8F2:CF689:2B33A7:3CEB25:6AEC8C55
html-safe-nonceb046f9cae3767945c6f8239c2de60b88ae6e56e327e1968b74f457cf31ef1a94
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEYyOkNGNjg5OjJCMzNBNzozQ0VCMjU6NkFFQzhDNTUiLCJ2aXNpdG9yX2lkIjoiNzQzNDI5MTI4MTQ3NzMzNTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7f2f67544476451d2a91eb4738513882729c3432162286cddbb989b92900575f
hovercard-subject-tagpull_request:404525522
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/samuelcolvin/python-devtools/49/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/44063c915b78fedf962b8c090460417faa6c84a6c5868ea405b164b591bbac47/samuelcolvin/python-devtools/pull/49
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/44063c915b78fedf962b8c090460417faa6c84a6c5868ea405b164b591bbac47/samuelcolvin/python-devtools/pull/49
og:image:altIt's convenient to be able to use debug() as if it were a builtin function, but importing devtools directly in sitecustomize.py is a pretty significant performance hit for every invocation of p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekalekundert
hostnamegithub.com
expected-hostnamegithub.com
None26bdb3ff26085e4fc3d7d7950cb19f1b9bfae9c69df5a67265a726db29abae83
turbo-cache-controlno-cache
go-importgithub.com/samuelcolvin/python-devtools git https://github.com/samuelcolvin/python-devtools.git
octolytics-dimension-user_id4039449
octolytics-dimension-user_loginsamuelcolvin
octolytics-dimension-repository_id100870674
octolytics-dimension-repository_nwosamuelcolvin/python-devtools
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id100870674
octolytics-dimension-repository_network_root_nwosamuelcolvin/python-devtools
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release98682a3e5441e65adda7d53d2c3051ef13e73c48
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/samuelcolvin/python-devtools/pull/49#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsamuelcolvin%2Fpython-devtools%2Fpull%2F49
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsamuelcolvin%2Fpython-devtools%2Fpull%2F49
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=samuelcolvin%2Fpython-devtools
Reloadhttps://github.com/samuelcolvin/python-devtools/pull/49
Reloadhttps://github.com/samuelcolvin/python-devtools/pull/49
Reloadhttps://github.com/samuelcolvin/python-devtools/pull/49
samuelcolvinhttps://github.com/samuelcolvin
python-devtoolshttps://github.com/samuelcolvin/python-devtools
Codehttps://github.com/samuelcolvin/python-devtools
Issues21 (21)https://github.com/samuelcolvin/python-devtools/issues
Pull requests8 (8)https://github.com/samuelcolvin/python-devtools/pulls
Actionshttps://github.com/samuelcolvin/python-devtools/actions
Security and qualityhttps://github.com/samuelcolvin/python-devtools/security
Insightshttps://github.com/samuelcolvin/python-devtools/pulse
https://github.com/samuelcolvin/python-devtools
kalekunderthttps://github.com/kalekundert
samuelcolvin:masterhttps://github.com/samuelcolvin/python-devtools/tree/master
kalekundert:masterhttps://github.com/kalekundert/python-devtools/tree/master
Conversationhttps://github.com/samuelcolvin/python-devtools/pull/49
Commits4 (4)https://github.com/samuelcolvin/python-devtools/pull/49/commits
Checkshttps://github.com/samuelcolvin/python-devtools/pull/49/checks
Files changedhttps://github.com/samuelcolvin/python-devtools/pull/49/files
Defer importing devtools in sitecustomize.py.https://github.com/samuelcolvin/python-devtools/pull/49#top
kalekunderthttps://github.com/kalekundert
samuelcolvin:masterhttps://github.com/samuelcolvin/python-devtools/tree/master
kalekundert:masterhttps://github.com/kalekundert/python-devtools/tree/master
https://github.com/kalekundert
kalekunderthttps://github.com/kalekundert
Apr 16, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issue-601234913
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
kalekunderthttps://github.com/kalekundert
April 16, 2020 12:03https://github.com/samuelcolvin/python-devtools/pull/49#commits-pushed-c984a87
https://github.com/kalekundert
Defer importing devtools in sitecustomize.py.https://github.com/samuelcolvin/python-devtools/pull/49/commits/c984a87d7ed8314cd6fdc06c1488ff63cad2edd9
c984a87https://github.com/samuelcolvin/python-devtools/pull/49/commits/c984a87d7ed8314cd6fdc06c1488ff63cad2edd9
https://github.com/kalekundert
Add parentheses.https://github.com/samuelcolvin/python-devtools/pull/49/commits/9294134e375da809b1f622e45bc6de645481b824
9294134https://github.com/samuelcolvin/python-devtools/pull/49/commits/9294134e375da809b1f622e45bc6de645481b824
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Apr 16, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-614764287
Codecovhttps://codecov.io/gh/samuelcolvin/python-devtools/pull/49?src=pr&el=h1
#49https://codecov.io/gh/samuelcolvin/python-devtools/pull/49?src=pr&el=desc
masterhttps://codecov.io/gh/samuelcolvin/python-devtools/commit/7482e87dcb2dab47884a7908211859e1af4e09e3&el=desc
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
Apr 18, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-615866375
herehttps://python-devtools.helpmanual.io/#other-debug-tools
pydantic/pydantic#1127https://github.com/pydantic/pydantic/issues/1127
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
Apr 18, 2020 https://github.com/samuelcolvin/python-devtools/pull/49#ref-pullrequest-602457751
attempt to improve import time #50 https://github.com/samuelcolvin/python-devtools/pull/50
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
Apr 18, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-615868915
#50https://github.com/samuelcolvin/python-devtools/pull/50
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/kalekundert
Allow lazy access to debug.timer(), debug.breakpoint(), etc.https://github.com/samuelcolvin/python-devtools/pull/49/commits/f6d114c378af270f08b2accebd6862ffe4ea32a2
f6d114chttps://github.com/samuelcolvin/python-devtools/pull/49/commits/f6d114c378af270f08b2accebd6862ffe4ea32a2
https://github.com/kalekundert
kalekunderthttps://github.com/kalekundert
Apr 18, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-615874605
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
Apr 18, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-615898889
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/kalekundert
Update example in docs.https://github.com/samuelcolvin/python-devtools/pull/49/commits/b17735059233cc426fee5d5961fea91e100a942a
b177350https://github.com/samuelcolvin/python-devtools/pull/49/commits/b17735059233cc426fee5d5961fea91e100a942a
https://github.com/kalekundert
kalekunderthttps://github.com/kalekundert
Apr 18, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-615902362
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
May 29, 2020https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-635932732
#50https://github.com/samuelcolvin/python-devtools/pull/50
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
May 29, 2020https://github.com/samuelcolvin/python-devtools/pull/49#event-3386867374
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
Sep 5, 2021 https://github.com/samuelcolvin/python-devtools/pull/49#ref-pullrequest-988084143
Trying to fix tests on windows #93 https://github.com/samuelcolvin/python-devtools/pull/93
https://github.com/alexmojaki
alexmojakihttps://github.com/alexmojaki
Sep 5, 2021https://github.com/samuelcolvin/python-devtools/pull/49#issuecomment-913164507
https://github.com/alexmojaki/birdseye/blob/master/birdseye/__init__.pyhttps://github.com/alexmojaki/birdseye/blob/master/birdseye/__init__.py
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.co/hiddenchars
https://github.com/samuelcolvin/python-devtools/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsamuelcolvin%2Fpython-devtools%2Fpull%2F49
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
Please reload this pagehttps://github.com/samuelcolvin/python-devtools/pull/49
https://github.com/kalekundert
https://github.com/samuelcolvin
https://github.com/alexmojaki
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.