René's URL Explorer Experiment


Title: Real error location not shown · Issue #107 · skogsbaer/write-your-python-program · GitHub

Open Graph Title: Real error location not shown · Issue #107 · skogsbaer/write-your-python-program

X Title: Real error location not shown · Issue #107 · skogsbaer/write-your-python-program

Description: Here is testcase test-data/testTypesDict4.py: from wypp import * def foo(d: dict[str, Callable[[], str]]) -> list[str]: d['x'] = lambda: 'x' # ok res = [] for k, f in d.items(): res.append(f()) return res def bar(d: dict[str, Callable[[]...

Open Graph Description: Here is testcase test-data/testTypesDict4.py: from wypp import * def foo(d: dict[str, Callable[[], str]]) -> list[str]: d['x'] = lambda: 'x' # ok res = [] for k, f in d.items(): res.append(f()) ret...

X Description: Here is testcase test-data/testTypesDict4.py: from wypp import * def foo(d: dict[str, Callable[[], str]]) -> list[str]: d['x'] = lambda: 'x' # ok res = [] for k, f in d.items(): ...

Opengraph URL: https://github.com/skogsbaer/write-your-python-program/issues/107

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Real error location not shown","articleBody":"Here is testcase `test-data/testTypesDict4.py`:\r\n```python\r\nfrom wypp import *\r\n\r\ndef foo(d: dict[str, Callable[[], str]]) -> list[str]:\r\n    d['x'] = lambda: 'x' # ok\r\n    res = []\r\n    for k, f in d.items():\r\n        res.append(f())\r\n    return res\r\n\r\ndef bar(d: dict[str, Callable[[], str]]) -> list[str]:\r\n    return foo(d)\r\n\r\nfunc = lambda: 42\r\nbar({'y': func})  # error\r\n```\r\n\r\nThe real error location is not shown. The output is:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"test-data/testTypesDict4.py\", line 14, in \u003cmodule>\r\n    bar({'y': func})  # error\r\n  File \"test-data/testTypesDict4.py\", line 11, in bar\r\n    return foo(d)\r\n  File \"test-data/testTypesDict4.py\", line 7, in foo\r\n    res.append(f())\r\nWyppTypeError: dict is not a dict[str, Callable[[], str]]\r\ngiven:    {'y': \u003cfunction \u003clambda> at 0x10b94d090>, 'x': \u003cuntypy.impl.callable.TypedCallable object at 0x10b9a2dd0>}\r\nexpected: value of type dict[str, Callable[[], str]]\r\n\r\ncontext: foo(d: dict[str, Callable[[], str]]) -> list[str]\r\n                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\ndeclared at: test-data/testTypesDict4.py:3\r\ncaused by: test-data/testTypesDict4.py:11\r\n  |     return foo(d)\r\n```\r\n","author":{"url":"https://github.com/skogsbaer","@type":"Person","name":"skogsbaer"},"datePublished":"2022-05-09T09:26:00Z","url":"https://github.com/skogsbaer/write-your-python-program/issues/107"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:04ea155b-248c-9618-bb56-f671130de3e3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE8F0:3B9226:46296E:5E7F73:6B00A525
html-safe-nonce2a3bcd5ae7d20708b3e48bf1b61d67cb8ba0a1c2e63f294ec3a954465cae24ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEYwOjNCOTIyNjo0NjI5NkU6NUU3RjczOjZCMDBBNTI1IiwidmlzaXRvcl9pZCI6IjQ3NTk5MzU4ODMxMTk5OTQxNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbe330f0db5e589f541d4f652e4182c215367833e6aedef0b9f9316144c723ecf
hovercard-subject-tagissue:1229430912
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/skogsbaer/write-your-python-program/107/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d15f646b75731537ad3eded83cc8dfe22341fd358910791cd38ea5244b89d9bc/skogsbaer/write-your-python-program/issues/107
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d15f646b75731537ad3eded83cc8dfe22341fd358910791cd38ea5244b89d9bc/skogsbaer/write-your-python-program/issues/107
og:image:altHere is testcase test-data/testTypesDict4.py: from wypp import * def foo(d: dict[str, Callable[[], str]]) -> list[str]: d['x'] = lambda: 'x' # ok res = [] for k, f in d.items(): res.append(f()) ret...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskogsbaer
hostnamegithub.com
expected-hostnamegithub.com
None455b493e3402a3a3a06beac5d20bb7db3da060808b220aa48d6a7eca7c59863a
turbo-cache-controlno-preview
go-importgithub.com/skogsbaer/write-your-python-program git https://github.com/skogsbaer/write-your-python-program.git
octolytics-dimension-user_id567524
octolytics-dimension-user_loginskogsbaer
octolytics-dimension-repository_id295649345
octolytics-dimension-repository_nwoskogsbaer/write-your-python-program
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id295649345
octolytics-dimension-repository_network_root_nwoskogsbaer/write-your-python-program
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
release2f575159976167242d488c0b062eb355c4e198b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/skogsbaer/write-your-python-program/issues/107#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fskogsbaer%2Fwrite-your-python-program%2Fissues%2F107
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%2Fskogsbaer%2Fwrite-your-python-program%2Fissues%2F107
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=skogsbaer%2Fwrite-your-python-program
Reloadhttps://github.com/skogsbaer/write-your-python-program/issues/107
Reloadhttps://github.com/skogsbaer/write-your-python-program/issues/107
Reloadhttps://github.com/skogsbaer/write-your-python-program/issues/107
skogsbaerhttps://github.com/skogsbaer
write-your-python-programhttps://github.com/skogsbaer/write-your-python-program
Codehttps://github.com/skogsbaer/write-your-python-program
Issues9 (9)https://github.com/skogsbaer/write-your-python-program/issues
Pull requestshttps://github.com/skogsbaer/write-your-python-program/pulls
Actionshttps://github.com/skogsbaer/write-your-python-program/actions
Projectshttps://github.com/skogsbaer/write-your-python-program/projects
Security and qualityhttps://github.com/skogsbaer/write-your-python-program/security
Insightshttps://github.com/skogsbaer/write-your-python-program/pulse
https://github.com/skogsbaer/write-your-python-program
New issuehttps://github.com/login?return_to=https://github.com/skogsbaer/write-your-python-program/issues/107
New issuehttps://github.com/login?return_to=https://github.com/skogsbaer/write-your-python-program/issues/107
Real error location not shownhttps://github.com/skogsbaer/write-your-python-program/issues/107#top
https://github.com/skogsbaer
skogsbaerhttps://github.com/skogsbaer
on May 9, 2022https://github.com/skogsbaer/write-your-python-program/issues/107#issue-1229430912
Sign up for freehttps://github.com/signup?return_to=https://github.com/skogsbaer/write-your-python-program/issues/107
Sign in to commenthttps://github.com/login?return_to=https://github.com/skogsbaer/write-your-python-program/issues/107
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.