René's URL Explorer Experiment


Title: SG-32061 Python3.7+ syntax by mathbou · Pull Request #303 · shotgunsoftware/python-api · GitHub

Open Graph Title: SG-32061 Python3.7+ syntax by mathbou · Pull Request #303 · shotgunsoftware/python-api

X Title: SG-32061 Python3.7+ syntax by mathbou · Pull Request #303 · shotgunsoftware/python-api

Description: Hi there, As asked #297 (comment) the #297 is now split in half. This part upgrade the syntax for py37+, mostly string formatting.

Open Graph Description: Hi there, As asked #297 (comment) the #297 is now split in half. This part upgrade the syntax for py37+, mostly string formatting.

X Description: Hi there, As asked #297 (comment) the #297 is now split in half. This part upgrade the syntax for py37+, mostly string formatting.

Opengraph URL: https://github.com/shotgunsoftware/python-api/pull/303

X: @github

direct link

Domain: patch-diff.githubusercontent.com

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:7c073bfe-635b-f00a-c058-ad1d957dcb16
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9AE:32B8DB:11A7575:18C6387:696FC768
html-safe-nonced5593fff8ea233ad67e9f1e4edc1afc41b71dc93b4b13b58e6259cc5d9d747fc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUFFOjMyQjhEQjoxMUE3NTc1OjE4QzYzODc6Njk2RkM3NjgiLCJ2aXNpdG9yX2lkIjoiMTE4ODkyNDU4NTEzMDU3NTcyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacaa8ba9f70dd76c37142dee6344edb1713a1af1b9fcd239f775c5905b1146b4ea
hovercard-subject-tagpull_request:1509227498
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/shotgunsoftware/python-api/303/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/53d6991f46726a6b5be40e455aa32d24baa9d9a9bb4b67e19dc4d359afe7ce32/shotgunsoftware/python-api/pull/303
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53d6991f46726a6b5be40e455aa32d24baa9d9a9bb4b67e19dc4d359afe7ce32/shotgunsoftware/python-api/pull/303
og:image:altHi there, As asked #297 (comment) the #297 is now split in half. This part upgrade the syntax for py37+, mostly string formatting.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemathbou
hostnamegithub.com
expected-hostnamegithub.com
None330ca0f04ee8ecef1da04306a0dd49293f64679ee9a4bd5eaf2e1272bfdcf145
turbo-cache-controlno-preview
go-importgithub.com/shotgunsoftware/python-api git https://github.com/shotgunsoftware/python-api.git
octolytics-dimension-user_id317894
octolytics-dimension-user_loginshotgunsoftware
octolytics-dimension-repository_id748742
octolytics-dimension-repository_nwoshotgunsoftware/python-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id748742
octolytics-dimension-repository_network_root_nwoshotgunsoftware/python-api
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
release816ad575e27a390de2e2089ebe75261d12de9b37
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshotgunsoftware%2Fpython-api%2Fpull%2F303
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshotgunsoftware%2Fpython-api%2Fpull%2F303
Sign up https://patch-diff.githubusercontent.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=shotgunsoftware%2Fpython-api
Reloadhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
Reloadhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
Reloadhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
shotgunsoftware https://patch-diff.githubusercontent.com/shotgunsoftware
python-apihttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fshotgunsoftware%2Fpython-api
Fork 204 https://patch-diff.githubusercontent.com/login?return_to=%2Fshotgunsoftware%2Fpython-api
Star 317 https://patch-diff.githubusercontent.com/login?return_to=%2Fshotgunsoftware%2Fpython-api
Code https://patch-diff.githubusercontent.com/shotgunsoftware/python-api
Issues 38 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/issues
Pull requests 14 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pulls
Actions https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/actions
Projects 0 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/projects
Models https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/models
Wiki https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/security
Please reload this pagehttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
Insights https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pulse
Code https://patch-diff.githubusercontent.com/shotgunsoftware/python-api
Issues https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/issues
Pull requests https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pulls
Actions https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/actions
Projects https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/projects
Models https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/models
Wiki https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/wiki
Security https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/security
Insights https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fshotgunsoftware%2Fpython-api%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fshotgunsoftware%2Fpython-api%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#issue-comment-box
mathbouhttps://patch-diff.githubusercontent.com/mathbou
shotgunsoftware:masterhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/tree/master
mathbou:feature/python3-syntaxhttps://patch-diff.githubusercontent.com/mathbou/python-api/tree/feature/python3-syntax
SG-32061 Python3.7+ syntax https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#top
mathbouhttps://patch-diff.githubusercontent.com/mathbou
shotgunsoftware:masterhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/tree/master
mathbou:feature/python3-syntaxhttps://patch-diff.githubusercontent.com/mathbou/python-api/tree/feature/python3-syntax
Conversation 1 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
Commits 10 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits
Checks 0 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/checks
Files changed https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/files
Please reload this pagehttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/mathbou
mathbouhttps://patch-diff.githubusercontent.com/mathbou
Sep 10, 2023https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#issue-1889251087
#297 (comment)https://github.com/shotgunsoftware/python-api/pull/297#issuecomment-1699098924
#297https://github.com/shotgunsoftware/python-api/pull/297
Please reload this pagehttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
September 10, 2023 17:10https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#commits-pushed-0cf6d8e
🐛 example_config: server_url should be empty to prevent CI tests failinghttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/0cf6d8e6c2e342aed172d767ff30aa551776df9b
0cf6d8ehttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/0cf6d8e6c2e342aed172d767ff30aa551776df9b
🐛 run_tests: variables are printed out instead of being nullhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/a846058005b8b70e0ffa81309348f9b506e524d6
a846058https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/a846058005b8b70e0ffa81309348f9b506e524d6
replace printf syntax with fstrings and str.format()https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/565b8f11051ed7b0be0018b47db2351b4d720f93
565b8f1https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/565b8f11051ed7b0be0018b47db2351b4d720f93
only HTTPError (inherit from ULRError) has read and headers attributeshttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/319dbed15fb1a806271cda03914523b67b9ad784
319dbedhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/319dbed15fb1a806271cda03914523b67b9ad784
shotgun: replace list comprehension with allhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/105649401f197f530069eda283309e7133596c0e
1056494https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/105649401f197f530069eda283309e7133596c0e
shotgun: update docstringhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/24b17e13633e9e0e6b3ab1b17eb0ff7ddefe30a8
24b17e1https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/24b17e13633e9e0e6b3ab1b17eb0ff7ddefe30a8
py3.7+ syntaxhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/606b17295eea865e9c2eb240b69cc35937b1d3c3
606b172https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/606b17295eea865e9c2eb240b69cc35937b1d3c3
fix formattinghttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/75b6c590ecd57fb88b51d65a2d9f111a831da5e0
75b6c59https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/75b6c590ecd57fb88b51d65a2d9f111a831da5e0
py3.7+ syntaxhttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/0c6fa4e92b1cda0dfe74a16d81dd5f9d42d29597
0c6fa4ehttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/0c6fa4e92b1cda0dfe74a16d81dd5f9d42d29597
rm py2 httplib2https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/daa5368a7221566ffba9073bd9256d0440392915
daa5368https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303/commits/daa5368a7221566ffba9073bd9256d0440392915
https://patch-diff.githubusercontent.com/mathbou
mathbouhttps://patch-diff.githubusercontent.com/mathbou
Sep 10, 2023 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#ref-pullrequest-1860282689
SG-32061 Python3.7+ Syntax #297 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/297
https://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
carlos-villavicencio-adskhttps://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
Sep 11, 2023https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#event-10334953799
https://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
carlos-villavicencio-adskhttps://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
Drop Python 2 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/issues?q=state%3Aopen%20label%3A%22Drop%20Python%202%22
Jan 29, 2024https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#event-11631780207
https://patch-diff.githubusercontent.com/mathbou
mathbouhttps://patch-diff.githubusercontent.com/mathbou
Aug 27, 2024 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#ref-pullrequest-2404132554
SG-29997 - FIRST PHASE Python2 removing #352 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/352
https://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
carlos-villavicencio-adskhttps://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
Nov 6, 2025https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#issuecomment-3499079117
Please reload this pagehttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
https://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
carlos-villavicencio-adskhttps://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
Nov 6, 2025https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303#event-20769659138
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshotgunsoftware%2Fpython-api%2Fpull%2F303
Drop Python 2 https://patch-diff.githubusercontent.com/shotgunsoftware/python-api/issues?q=state%3Aopen%20label%3A%22Drop%20Python%202%22
Please reload this pagehttps://patch-diff.githubusercontent.com/shotgunsoftware/python-api/pull/303
https://patch-diff.githubusercontent.com/mathbou
https://patch-diff.githubusercontent.com/carlos-villavicencio-adsk
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.