René's URL Explorer Experiment


Title: Docstrings for builtin methods are not parsed correctly · Issue #627 · microsoft/vscode-python · GitHub

Open Graph Title: Docstrings for builtin methods are not parsed correctly · Issue #627 · microsoft/vscode-python

X Title: Docstrings for builtin methods are not parsed correctly · Issue #627 · microsoft/vscode-python

Description: Environment data VS Code version: 1.19.2 Python Extension version: 0.9.1 Python Version: 3.6 (64-bit) OS and version: Windows 7 (6.1.7601) Actual behavior Docstring for builtin method pow() is parsed as markdown, resulting in the followi...

Open Graph Description: Environment data VS Code version: 1.19.2 Python Extension version: 0.9.1 Python Version: 3.6 (64-bit) OS and version: Windows 7 (6.1.7601) Actual behavior Docstring for builtin method pow() is pars...

X Description: Environment data VS Code version: 1.19.2 Python Extension version: 0.9.1 Python Version: 3.6 (64-bit) OS and version: Windows 7 (6.1.7601) Actual behavior Docstring for builtin method pow() is pars...

Opengraph URL: https://github.com/microsoft/vscode-python/issues/627

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Docstrings for builtin methods are not parsed correctly","articleBody":"## Environment data\r\nVS Code version:  1.19.2\r\nPython Extension version:  0.9.1\r\nPython Version:   3.6 (64-bit)\r\nOS and version:    Windows 7 (6.1.7601)\r\n\r\n## Actual behavior\r\nDocstring for builtin method `pow()` is parsed as markdown, resulting in the following (note the bold text):\r\n> Equivalent to x**y (with two arguments) or x**y % z (with three arguments)\r\n> Some types, such as ints, are able to use a more efficient algorithm when invoked using the three argument form.\r\n\r\n![actual behavior screenshot](https://github.com/cmccandless/legendary-palm-tree/blob/master/vscode-python-docstring-incorrect.PNG?raw=true \"actual behavior\")\r\n\r\n\r\n## Expected  behavior\r\nDocstring for builtin method `pow()` should appear as (no bold text:\r\n> Equivalent to x\\*\\*y (with two arguments) or x\\*\\*y % z (with three arguments)\r\n> Some types, such as ints, are able to use a more efficient algorithm when invoked using the three argument form.\r\n\r\n## Steps to reproduce:  \r\n-  Install Python extension in VSCode\r\n-  Create new Python file `test.py` in VSCode \r\n-  In `test.py`, type \"pow(10, 2)\"\r\n-  Hover mouse over \"pow\" to show docstring\r\n\r\n## Logs\r\nOutput from ```Python``` output panel  \r\n```\r\n##########Linting Output - flake8##########\r\n```   \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n*N/A*\r\n","author":{"url":"https://github.com/cmccandless","@type":"Person","name":"cmccandless"},"datePublished":"2018-01-25T16:29:43Z","url":"https://github.com/microsoft/vscode-python/issues/627"}

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:2733be23-40b2-ba04-7602-81f62dcfd270
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8FC4:3BB680:1210DD:17D9FC:6AFE2FFE
html-safe-nonce9f1ad8f6e8156334731abb56a9163d570b1d7710b82e8be0d57205d288a3862b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkM0OjNCQjY4MDoxMjEwREQ6MTdEOUZDOjZBRkUyRkZFIiwidmlzaXRvcl9pZCI6IjQxMzczNDQyMTg1Mjk5MzUzNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac174bd6821f8d3ea8da2ef38e4a8ac973e580f7dc3bd37284909d0a09e2c3463a
hovercard-subject-tagissue:291632252
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/microsoft/vscode-python/627/issue_layout
twitter:imagehttps://opengraph.githubassets.com/569941bfab96b1fce4539702ce1e6dbca3e094318b2fa38767a6a453882adb5a/microsoft/vscode-python/issues/627
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/569941bfab96b1fce4539702ce1e6dbca3e094318b2fa38767a6a453882adb5a/microsoft/vscode-python/issues/627
og:image:altEnvironment data VS Code version: 1.19.2 Python Extension version: 0.9.1 Python Version: 3.6 (64-bit) OS and version: Windows 7 (6.1.7601) Actual behavior Docstring for builtin method pow() is pars...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecmccandless
hostnamegithub.com
expected-hostnamegithub.com
Noned70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id106462765
octolytics-dimension-repository_nwomicrosoft/vscode-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id49946255
octolytics-dimension-repository_parent_nwoDonJayamanne/pythonVSCode
octolytics-dimension-repository_network_root_id49946255
octolytics-dimension-repository_network_root_nwoDonJayamanne/pythonVSCode
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
releaseccb88d9c92abe69245b429398c8a57ae87070c7c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/627#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F627
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%2Fmicrosoft%2Fvscode-python%2Fissues%2F627
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=microsoft%2Fvscode-python
Reloadhttps://github.com/microsoft/vscode-python/issues/627
Reloadhttps://github.com/microsoft/vscode-python/issues/627
Reloadhttps://github.com/microsoft/vscode-python/issues/627
microsofthttps://github.com/microsoft
vscode-pythonhttps://github.com/microsoft/vscode-python
Codehttps://github.com/microsoft/vscode-python
Issues344 (344)https://github.com/microsoft/vscode-python/issues
Pull requests54 (54)https://github.com/microsoft/vscode-python/pulls
Discussionshttps://github.com/microsoft/vscode-python/discussions
Actionshttps://github.com/microsoft/vscode-python/actions
Wikihttps://github.com/microsoft/vscode-python/wiki
Security and quality2 (2)https://github.com/microsoft/vscode-python/security
Insightshttps://github.com/microsoft/vscode-python/insights
https://github.com/microsoft/vscode-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/627
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/627
Docstrings for builtin methods are not parsed correctlyhttps://github.com/microsoft/vscode-python/issues/627#top
https://github.com/MikhailArkhipov
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.https://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-intellisense%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
February 2018https://github.com/microsoft/vscode-python/milestone/3
https://github.com/cmccandless
Corey McCandless (cmccandless)https://github.com/cmccandless
on Jan 25, 2018https://github.com/microsoft/vscode-python/issues/627#issue-291632252
https://github.com/cmccandless/legendary-palm-tree/blob/master/vscode-python-docstring-incorrect.PNG?raw=true
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Jan 26, 2018https://github.com/microsoft/vscode-python/issues/627#event-1444184455
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.https://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-intellisense%22
awaiting 2-PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%202-PR%22
on Jan 26, 2018https://github.com/microsoft/vscode-python/issues/627#event-1444185302
https://github.com/segevfiner
Segev Finer (segevfiner)https://github.com/segevfiner
on Jan 31, 2018https://github.com/microsoft/vscode-python/issues/627#issuecomment-362106336
src/client/providers/itemInfoSource.ts#highlightCodehttps://github.com/Microsoft/vscode-python/blob/d596beba519127be6c8fa68908b8767211c62c01/src/client/providers/itemInfoSource.ts#L170-L229
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
February 2018https://github.com/microsoft/vscode-python/milestone/3
on Feb 1, 2018https://github.com/microsoft/vscode-python/issues/627#event-1453908531
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 5, 2018https://github.com/microsoft/vscode-python/issues/627#issuecomment-363202639
#692https://github.com/microsoft/vscode-python/issues/692
https://github.com/DonJayamanne
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Feb 6, 2018https://github.com/microsoft/vscode-python/issues/627#issuecomment-363491323
#716https://github.com/microsoft/vscode-python/issues/716
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 9, 2018https://github.com/microsoft/vscode-python/issues/627#event-1465736982
Improve tooltip display (#725)https://github.com/microsoft/vscode-python/commit/7d936929b9db781522a6ab04f264f1cca2995166
#725https://github.com/microsoft/vscode-python/pull/725
7d93692https://github.com/microsoft/vscode-python/commit/7d936929b9db781522a6ab04f264f1cca2995166
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 9, 2018https://github.com/microsoft/vscode-python/issues/627#issuecomment-364290534
7d93692https://github.com/microsoft/vscode-python/commit/7d936929b9db781522a6ab04f264f1cca2995166
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 9, 2018https://github.com/microsoft/vscode-python/issues/627#event-1465737354
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 9, 2018https://github.com/microsoft/vscode-python/issues/627#event-1467643389
Limit Jedi RAM consumption (#744)https://github.com/microsoft/vscode-python/commit/adcf71685a0b54c49f88e856d1b9fe50ef1f1883
#744https://github.com/microsoft/vscode-python/pull/744
adcf716https://github.com/microsoft/vscode-python/commit/adcf71685a0b54c49f88e856d1b9fe50ef1f1883
Update Jedi to 0.11.1 (#762)https://github.com/microsoft/vscode-python/commit/601546884d8e23bb941eb955b697b02f2426e675
#762https://github.com/microsoft/vscode-python/pull/762
6015468https://github.com/microsoft/vscode-python/commit/601546884d8e23bb941eb955b697b02f2426e675
Jedi 0.11 parser + test fixes (#777)https://github.com/microsoft/vscode-python/commit/5ccb9cdd62fba6619a6ac2d3bdfe45725238da9c
#777https://github.com/microsoft/vscode-python/pull/777
5ccb9cdhttps://github.com/microsoft/vscode-python/commit/5ccb9cdd62fba6619a6ac2d3bdfe45725238da9c
Improves linting behavior per #722 (#792)https://github.com/microsoft/vscode-python/commit/18be595b774d6f6d79e31b608bcd682b40ddbcbc
#722https://github.com/microsoft/vscode-python/issues/722
#792https://github.com/microsoft/vscode-python/pull/792
18be595https://github.com/microsoft/vscode-python/commit/18be595b774d6f6d79e31b608bcd682b40ddbcbc
Brett Cannon (brettcannon)https://github.com/brettcannon
closed-fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-fixed%22
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/627#event-1485472241
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
closed-verified fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-verified%20fixed%22
closed-fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-fixed%22
on Feb 27, 2018https://github.com/microsoft/vscode-python/issues/627#event-1495520246
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Mar 2, 2018https://github.com/microsoft/vscode-python/issues/627#event-1502177908
Fix backslash escape, multiple linters output, .pyenv/versions folder…https://github.com/microsoft/vscode-python/commit/29a0caea60354ac24232bc038d1f5af23db29732
29a0caehttps://github.com/microsoft/vscode-python/commit/29a0caea60354ac24232bc038d1f5af23db29732
Disable pylint print statement flag + fix venv detection (#954)https://github.com/microsoft/vscode-python/commit/77f3612fd01fb076a8fd1e786cc711a710cbe6a1
#954https://github.com/microsoft/vscode-python/pull/954
77f3612https://github.com/microsoft/vscode-python/commit/77f3612fd01fb076a8fd1e786cc711a710cbe6a1
Change how we offer to install/disable linters (#973)https://github.com/microsoft/vscode-python/commit/563f11d0f87f7b5877a2c5c327c048c479b801f3
#973https://github.com/microsoft/vscode-python/pull/973
563f11dhttps://github.com/microsoft/vscode-python/commit/563f11d0f87f7b5877a2c5c327c048c479b801f3
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Mar 20, 2018https://github.com/microsoft/vscode-python/issues/627#event-1532189164
Add missing operators in tokenizer, handle end-of-comment completion …https://github.com/microsoft/vscode-python/commit/287fd8bf28fb46b74bd78db3c289f8e4349cef12
287fd8bhttps://github.com/microsoft/vscode-python/commit/287fd8bf28fb46b74bd78db3c289f8e4349cef12
lockhttps://github.com/apps/lock
on Jul 12, 2018https://github.com/microsoft/vscode-python/issues/627#event-1729233382
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/627
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/627
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.https://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-intellisense%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
February 2018https://github.com/microsoft/vscode-python/milestone/3
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.