René's URL Explorer Experiment


Title: tests fail under python3.9: urllib.parse.unquote accepts bytes · Issue #541 · PythonCharmers/python-future · GitHub

Open Graph Title: tests fail under python3.9: urllib.parse.unquote accepts bytes · Issue #541 · PythonCharmers/python-future

X Title: tests fail under python3.9: urllib.parse.unquote accepts bytes · Issue #541 · PythonCharmers/python-future

Description: ________________________ UnquotingTests.test_unquoting _________________________ self = def test_unquoting(self): # Make sure unquoting of all ASCII values works...

Open Graph Description: ________________________ UnquotingTests.test_unquoting _________________________ self = def test_unquoting(self): # Make ...

X Description: ________________________ UnquotingTests.test_unquoting _________________________ self = <test_future.test_urllib_toplevel.UnquotingTests testMethod=test_unquoting> def test_unquoting(self): #...

Opengraph URL: https://github.com/PythonCharmers/python-future/issues/541

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tests fail under python3.9: urllib.parse.unquote accepts bytes","articleBody":"```\r\n________________________ UnquotingTests.test_unquoting _________________________\r\n\r\nself = \u003ctest_future.test_urllib_toplevel.UnquotingTests testMethod=test_unquoting\u003e\r\n\r\n    def test_unquoting(self):\r\n        # Make sure unquoting of all ASCII values works\r\n        escape_list = []\r\n        for num in range(128):\r\n            given = hexescape(chr(num))\r\n            expect = chr(num)\r\n            result = urllib_parse.unquote(given)\r\n            self.assertEqual(expect, result,\r\n                             \"using unquote(): %r != %r\" % (expect, result))\r\n            result = urllib_parse.unquote_plus(given)\r\n            self.assertEqual(expect, result,\r\n                             \"using unquote_plus(): %r != %r\" %\r\n                             (expect, result))\r\n            escape_list.append(given)\r\n        escape_string = ''.join(escape_list)\r\n        del escape_list\r\n        result = urllib_parse.unquote(escape_string)\r\n        self.assertEqual(result.count('%'), 1,\r\n                         \"using unquote(): not all characters escaped: \"\r\n                         \"%s\" % result)\r\n        self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, None)\r\n        self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, ())\r\n        with support.check_warnings(('', BytesWarning), quiet=True):\r\n\u003e           self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, bytes(b''))\r\nE           AssertionError: (\u003cclass 'TypeError'\u003e, \u003cclass 'AttributeError'\u003e) not raised by unquote\r\n\r\ntests/test_future/test_urllib_toplevel.py:785: AssertionError\r\n```\r\n\r\npython3.8:\r\n```pycon\r\n\u003e\u003e\u003e import urllib.parse\r\n\u003e\u003e\u003e urllib.parse.unquote(b'')\r\nTraceback (most recent call last):\r\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n  File \"/usr/lib64/python3.7/urllib/parse.py\", line 609, in unquote\r\n    if '%' not in string:\r\nTypeError: a bytes-like object is required, not 'str'\r\n```\r\n\r\npython3.9:\r\n```pycon\r\n\u003e\u003e\u003e import urllib.parse\r\n\u003e\u003e\u003e urllib.parse.unquote(b'')\r\n''\r\n```\r\n","author":{"url":"https://github.com/keszybz","@type":"Person","name":"keszybz"},"datePublished":"2020-02-03T21:47:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/541/python-future/issues/541"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:733ec317-a74c-0fc8-8583-3df81fd295a5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDC18:1071AE:106603A:15F58A1:6A5AA421
html-safe-noncea7f6d824a1f436cc3f83b637c515cb0f875dc9d2e8d981cfff9365d370ec2dd3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzE4OjEwNzFBRToxMDY2MDNBOjE1RjU4QTE6NkE1QUE0MjEiLCJ2aXNpdG9yX2lkIjoiNDA1NTY0MTU2Njc0ODUxNzQwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6901a1b2ba26241da26ace05ea7495c0377b00c25ff802b58a2a14ae959eb41f
hovercard-subject-tagissue:559354357
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PythonCharmers/python-future/541/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7aeb9db8624b4055cd8dca756c39f1043f493fa45ea552d3a63e4dca0cba4f77/PythonCharmers/python-future/issues/541
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7aeb9db8624b4055cd8dca756c39f1043f493fa45ea552d3a63e4dca0cba4f77/PythonCharmers/python-future/issues/541
og:image:alt________________________ UnquotingTests.test_unquoting _________________________ self = def test_unquoting(self): # Make ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekeszybz
hostnamegithub.com
expected-hostnamegithub.com
None17a57ee6ab03686731c491fccb57e6a97c066a29d7cdf1a7d83c46f5c56684fc
turbo-cache-controlno-preview
go-importgithub.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git
octolytics-dimension-user_id3365815
octolytics-dimension-user_loginPythonCharmers
octolytics-dimension-repository_id11403699
octolytics-dimension-repository_nwoPythonCharmers/python-future
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id11403699
octolytics-dimension-repository_network_root_nwoPythonCharmers/python-future
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
release5cb870aa6b86b87be75e23ca7caec54726a25af9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PythonCharmers/python-future/issues/541#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonCharmers%2Fpython-future%2Fissues%2F541
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonCharmers%2Fpython-future%2Fissues%2F541
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PythonCharmers%2Fpython-future
Reloadhttps://github.com/PythonCharmers/python-future/issues/541
Reloadhttps://github.com/PythonCharmers/python-future/issues/541
Reloadhttps://github.com/PythonCharmers/python-future/issues/541
Please reload this pagehttps://github.com/PythonCharmers/python-future/issues/541
PythonCharmers https://github.com/PythonCharmers
python-futurehttps://github.com/PythonCharmers/python-future
Notifications https://github.com/login?return_to=%2FPythonCharmers%2Fpython-future
Fork 295 https://github.com/login?return_to=%2FPythonCharmers%2Fpython-future
Star 1.2k https://github.com/login?return_to=%2FPythonCharmers%2Fpython-future
Code https://github.com/PythonCharmers/python-future
Issues 184 https://github.com/PythonCharmers/python-future/issues
Pull requests 5 https://github.com/PythonCharmers/python-future/pulls
Actions https://github.com/PythonCharmers/python-future/actions
Projects https://github.com/PythonCharmers/python-future/projects
Wiki https://github.com/PythonCharmers/python-future/wiki
Security and quality 0 https://github.com/PythonCharmers/python-future/security
Insights https://github.com/PythonCharmers/python-future/pulse
Code https://github.com/PythonCharmers/python-future
Issues https://github.com/PythonCharmers/python-future/issues
Pull requests https://github.com/PythonCharmers/python-future/pulls
Actions https://github.com/PythonCharmers/python-future/actions
Projects https://github.com/PythonCharmers/python-future/projects
Wiki https://github.com/PythonCharmers/python-future/wiki
Security and quality https://github.com/PythonCharmers/python-future/security
Insights https://github.com/PythonCharmers/python-future/pulse
#578https://github.com/PythonCharmers/python-future/pull/578
tests fail under python3.9: urllib.parse.unquote accepts byteshttps://github.com/PythonCharmers/python-future/issues/541#top
#578https://github.com/PythonCharmers/python-future/pull/578
https://github.com/keszybz
keszybzhttps://github.com/keszybz
on Feb 3, 2020https://github.com/PythonCharmers/python-future/issues/541#issue-559354357
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.