René's URL Explorer Experiment


Title: Positional-only parameters with python 3.10.7 (and numpy) (fixed in 0.981) · Issue #13627 · python/mypy · GitHub

Open Graph Title: Positional-only parameters with python 3.10.7 (and numpy) (fixed in 0.981) · Issue #13627 · python/mypy

X Title: Positional-only parameters with python 3.10.7 (and numpy) (fixed in 0.981) · Issue #13627 · python/mypy

Description: Bug Report After upgrading to python 3.10.7 from 3.10.6 mypy is reporting errors on numpy .pyi files when positional only parameters syntax is present. This error should only get triggered when using versions of python older than 3.8. Af...

Open Graph Description: Bug Report After upgrading to python 3.10.7 from 3.10.6 mypy is reporting errors on numpy .pyi files when positional only parameters syntax is present. This error should only get triggered when usi...

X Description: Bug Report After upgrading to python 3.10.7 from 3.10.6 mypy is reporting errors on numpy .pyi files when positional only parameters syntax is present. This error should only get triggered when usi...

Opengraph URL: https://github.com/python/mypy/issues/13627

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Positional-only parameters with python 3.10.7 (and numpy) (fixed in 0.981)","articleBody":"\r\n**Bug Report**\r\n\r\nAfter upgrading to python 3.10.7 from 3.10.6 mypy is reporting errors on numpy .pyi files when positional only parameters syntax is present. This error should only get triggered when using versions of python older than 3.8. After rolling back to python 3.10.6 no errors are being reported.\r\n\r\n**To Reproduce**\r\n\r\n(Write your steps here:)\r\n\r\n1. `mypy something_using_numpy.py`\r\n\r\n**Expected Behavior**\r\n\r\nIt should pass without any problem\r\n\r\n**Actual Behavior**\r\n\r\n```\r\n/Users/stephane/.pyenv/versions/3.10.7/lib/python3.10/site-packages/numpy/__init__.pyi:636:48: error: Positional-only parameters are only supported in Python 3.8 and greater  [syntax]\r\nFound 1 error in 1 file (errors prevented further checking)\r\n```\r\n\r\n**Your Environment**\r\n\r\n- mypy==0.971\r\n- Mypy command-line flags: none\r\n- Mypy configuration options:\r\n```\r\npython_version=3.10\r\nsqlite_cache=True\r\nnamespace_packages=True\r\nignore_missing_imports=True\r\nfollow_imports=silent\r\nshow_column_numbers=True\r\ncheck_untyped_defs=True\r\nshow_error_codes=True\r\n```\r\n- Python 3.10.7 (3.10.6 is working fine).\r\n- macOS 12.5.1, Apple CPU\r\n- numpy==1.23.2\r\n","author":{"url":"https://github.com/sodul","@type":"Person","name":"sodul"},"datePublished":"2022-09-08T10:51:46Z","url":"https://github.com/python/mypy/issues/13627"}

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:0e8ab56d-bbb2-8480-2954-133c0329c2f5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA79A:1E3154:52395D:6E90C6:6B002FD0
html-safe-nonce22876628381c8acafc80b74f58823650f3a6d4ffeaad7a6b4d29225c84b385ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzlBOjFFMzE1NDo1MjM5NUQ6NkU5MEM2OjZCMDAyRkQwIiwidmlzaXRvcl9pZCI6IjY1MTIwNDQwODc1OTg2NTc0ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac68a7ae765a46562c5927e6c0c576967eb12be398932e7e82dcf6d91c669e2c2f
hovercard-subject-tagissue:1366039971
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/python/mypy/13627/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9758670751cbde03514279d10276e909458c75a3e3be8ad355d921eed92fd9bb/python/mypy/issues/13627
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9758670751cbde03514279d10276e909458c75a3e3be8ad355d921eed92fd9bb/python/mypy/issues/13627
og:image:altBug Report After upgrading to python 3.10.7 from 3.10.6 mypy is reporting errors on numpy .pyi files when positional only parameters syntax is present. This error should only get triggered when usi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesodul
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/13627#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F13627
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%2Fpython%2Fmypy%2Fissues%2F13627
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=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/13627
Reloadhttps://github.com/python/mypy/issues/13627
Reloadhttps://github.com/python/mypy/issues/13627
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/13627
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/13627
Positional-only parameters with python 3.10.7 (and numpy) (fixed in 0.981)https://github.com/python/mypy/issues/13627#top
ImperialCollegeLondon/virtual_ecosystem#110https://github.com/ImperialCollegeLondon/virtual_ecosystem/pull/110
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/sodul
sodulhttps://github.com/sodul
on Sep 8, 2022https://github.com/python/mypy/issues/13627#issue-1366039971
Nexthttps://github.com/python/mypy/issues/13627?timeline_page=1
sodulhttps://github.com/sodul
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
on Sep 8, 2022https://github.com/python/mypy/issues/13627#event-7346541234
https://github.com/michael-k
michael-khttps://github.com/michael-k
on Sep 8, 2022https://github.com/python/mypy/issues/13627#issuecomment-1240559724
https://github.com/python/cpython/blob/v3.10.7/Misc/NEWS.d/3.10.7.rsthttps://github.com/python/cpython/blob/v3.10.7/Misc/NEWS.d/3.10.7.rst
ast.parse allows positional-only params with old feature_version cpython#94996https://github.com/python/cpython/issues/94996
gh-94996: Disallow parsing pos only param with feature_version < (3, 8) cpython#94997https://github.com/python/cpython/pull/94997
[3.10] gh-94996: Disallow parsing pos only params with feature_version < (3, 8) cpython#95935https://github.com/python/cpython/pull/95935
https://github.com/michael-k
michael-khttps://github.com/michael-k
on Sep 8, 2022https://github.com/python/mypy/issues/13627#issuecomment-1240582303
#13500https://github.com/python/mypy/pull/13500
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on Sep 8, 2022https://github.com/python/mypy/issues/13627#issuecomment-1240907370
AlexWaygoodhttps://github.com/AlexWaygood
not plannedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Sep 8, 2022https://github.com/python/mypy/issues/13627#event-7349192190
hauntsaninjahttps://github.com/hauntsaninja
on Sep 9, 2022https://github.com/python/mypy/issues/13627#event-7354318878
hauntsaninjahttps://github.com/hauntsaninja
on Sep 9, 2022https://github.com/python/mypy/issues/13627#event-7358577040
nsmith-https://github.com/nsmith-
on Sep 13, 2022https://github.com/python/mypy/issues/13627#event-7377614639
Pin formatting CI python versionhttps://github.com/cms-nanoAOD/correctionlib/commit/c5d7e8865b3add4b25b3ec58e57c8ad3f39cc33d
c5d7e88https://github.com/cms-nanoAOD/correctionlib/commit/c5d7e8865b3add4b25b3ec58e57c8ad3f39cc33d
https://github.com/atugushev
atugushevhttps://github.com/atugushev
on Sep 13, 2022https://github.com/python/mypy/issues/13627#issuecomment-1245611148
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on Sep 13, 2022https://github.com/python/mypy/issues/13627#issuecomment-1245613842
nsmith-https://github.com/nsmith-
on Sep 13, 2022https://github.com/python/mypy/issues/13627#event-7379033340
Try alternative xxhash implementation (#148)https://github.com/cms-nanoAOD/correctionlib/commit/34fd5fb3be7acf29bbcff50a3abd27fc07c0886e
#148https://github.com/cms-nanoAOD/correctionlib/pull/148
34fd5fbhttps://github.com/cms-nanoAOD/correctionlib/commit/34fd5fb3be7acf29bbcff50a3abd27fc07c0886e
dalcinlhttps://github.com/dalcinl
on Sep 15, 2022https://github.com/python/mypy/issues/13627#event-7395080320
test: Temporary workaround for python/mypy#13627https://github.com/mpi4py/mpi4py/commit/17390ec04b4ade4856e843ce009d4a95d85de9d1
python/mypy#13627https://github.com/python/mypy/issues/13627
17390echttps://github.com/mpi4py/mpi4py/commit/17390ec04b4ade4856e843ce009d4a95d85de9d1
test: Temporary workaround for python/mypy#13627https://github.com/mpi4py/mpi4py/commit/770b1a4e5c7d51b1748fe27b78b5e296bf471acf
python/mypy#13627https://github.com/python/mypy/issues/13627
770b1a4https://github.com/mpi4py/mpi4py/commit/770b1a4e5c7d51b1748fe27b78b5e296bf471acf
simonwhttps://github.com/simonw
on Sep 15, 2022https://github.com/python/mypy/issues/13627#event-7398099191
Pin to Python 3.10.6 for the momenthttps://github.com/MischaU8/sqlite-utils/commit/d5db749480aaf8518e611ff55da186cadf6c63bc
d5db749https://github.com/MischaU8/sqlite-utils/commit/d5db749480aaf8518e611ff55da186cadf6c63bc
khaeruhttps://github.com/khaeru
on Sep 15, 2022https://github.com/python/mypy/issues/13627#event-7398225782
Work around python/mypy#13627https://github.com/khaeru/sdmx/commit/39740fe3f9e59d998699b41df2cc524325991bfd
python/mypy#13627https://github.com/python/mypy/issues/13627
39740fehttps://github.com/khaeru/sdmx/commit/39740fe3f9e59d998699b41df2cc524325991bfd
whitphxhttps://github.com/whitphx
on Oct 2, 2022https://github.com/python/mypy/issues/13627#event-7501427370
Update mypy due to python/mypy#13627https://github.com/whitphx/stlite/commit/c60da47c4379658865243ace1c65d71dd61280bf
python/mypy#13627https://github.com/python/mypy/issues/13627
c60da47https://github.com/whitphx/stlite/commit/c60da47c4379658865243ace1c65d71dd61280bf
fix/rename kernel package (#305)https://github.com/whitphx/stlite/commit/637c24eb6f983c0ad1d21f6c0475e119b8a9896d
#305https://github.com/whitphx/stlite/pull/305
637c24ehttps://github.com/whitphx/stlite/commit/637c24eb6f983c0ad1d21f6c0475e119b8a9896d
Arista-Jenkinshttps://github.com/Arista-Jenkins
on Oct 5, 2022https://github.com/python/mypy/issues/13627#event-7524295479
Dockerfile: Update mypy to latest releasehttps://github.com/aristanetworks/cloudvision-python/commit/4ad5a285878095b2dcc9607ca05f154a815da31e
4ad5a28https://github.com/aristanetworks/cloudvision-python/commit/4ad5a285878095b2dcc9607ca05f154a815da31e
astropenguinhttps://github.com/astropenguin
on Oct 5, 2022https://github.com/python/mypy/issues/13627#event-7524502460
#100 Unpin patch version of Python 3.10 (python/mypy#13627)https://github.com/astropenguin/pandas-dataclasses/commit/4053b01ea17de80d430957e16b92e3cc347e9f24
#100https://github.com/astropenguin/pandas-dataclasses/issues/100
python/mypy#13627https://github.com/python/mypy/issues/13627
4053b01https://github.com/astropenguin/pandas-dataclasses/commit/4053b01ea17de80d430957e16b92e3cc347e9f24
Iain-Shttps://github.com/Iain-S
on Oct 7, 2022https://github.com/python/mypy/issues/13627#event-7544143068
Update dependencieshttps://github.com/Iain-S/sentry-bot/commit/41d554f2583bf336e0f2a91ea1f6250ce8545f71
41d554fhttps://github.com/Iain-S/sentry-bot/commit/41d554f2583bf336e0f2a91ea1f6250ce8545f71
Update dependencieshttps://github.com/Iain-S/sentry-bot/commit/41d76377dd0a7193947e4f0c55fdafbf611d1665
41d7637https://github.com/Iain-S/sentry-bot/commit/41d76377dd0a7193947e4f0c55fdafbf611d1665
calpatersonhttps://github.com/calpaterson
on Oct 8, 2022https://github.com/python/mypy/issues/13627#event-7548118995
Deal with a type issue (and solve another)https://github.com/calpaterson/csvbase/commit/f1a42e53a43c8baa157925ccf09b5b95406e4356
f1a42e5https://github.com/calpaterson/csvbase/commit/f1a42e53a43c8baa157925ccf09b5b95406e4356
dalcinlhttps://github.com/dalcinl
on Oct 10, 2022https://github.com/python/mypy/issues/13627#event-7556686537
type: Update after resolution of python/mypy#13627https://github.com/mpi4py/mpi4py/commit/aafd3ec507db40f6d7b37138b84840433f2338d0
python/mypy#13627https://github.com/python/mypy/issues/13627
aafd3echttps://github.com/mpi4py/mpi4py/commit/aafd3ec507db40f6d7b37138b84840433f2338d0
type: Update after resolution of python/mypy#13627https://github.com/mpi4py/mpi4py/commit/7e02759a68a017f49257a78c886a0bdf65077759
python/mypy#13627https://github.com/python/mypy/issues/13627
7e02759https://github.com/mpi4py/mpi4py/commit/7e02759a68a017f49257a78c886a0bdf65077759
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Oct 13, 2022https://github.com/python/mypy/issues/13627#issuecomment-1278185109
pythonhttps://github.com/python
on Oct 13, 2022https://github.com/python/mypy/issues/13627#event-7585138886
hauntsaninjahttps://github.com/hauntsaninja
on Oct 30, 2022https://github.com/python/mypy/issues/13627#event-7699850843
bengsparkshttps://github.com/bengsparks
on Nov 6, 2022https://github.com/python/mypy/issues/13627#event-7747940548
Update dependencieshttps://github.com/multidim-typeinf4py/dynamic-pytypes/commit/d39cfa1440e58276aa80ce99ce0a327ea50aa79b
d39cfa1https://github.com/multidim-typeinf4py/dynamic-pytypes/commit/d39cfa1440e58276aa80ce99ce0a327ea50aa79b
frankhhttps://github.com/frankh
on Feb 22, 2023https://github.com/python/mypy/issues/13627#event-8580153423
Update mypy to 0.981 for 3.10.7 compatibilityhttps://github.com/PostHog/posthog/commit/d69d7705b10e21fb3967389b3eb6e6445154ff81
d69d770https://github.com/PostHog/posthog/commit/d69d7705b10e21fb3967389b3eb6e6445154ff81
hazzadoushttps://github.com/hazzadous
on Feb 24, 2023https://github.com/python/mypy/issues/13627#event-8599716820
chore: Python 3.10 (#14360)https://github.com/PostHog/posthog/commit/0dfc549f9606903c5eb4783927d0cdc99d7c4f59
#14360https://github.com/PostHog/posthog/pull/14360
0dfc549https://github.com/PostHog/posthog/commit/0dfc549f9606903c5eb4783927d0cdc99d7c4f59
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/13627
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/13627
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
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.