René's URL Explorer Experiment


Title: Guard against jedi completion errors better · Issue #483 · bpython/bpython · GitHub

Open Graph Title: Guard against jedi completion errors better · Issue #483 · bpython/bpython

X Title: Guard against jedi completion errors better · Issue #483 · bpython/bpython

Description: bpython version 0.15.dev4 on top of Python 2.7.9 /Users/tomb/.virtualenvs/bpython/bin/python2.7 >>> >>> >>> >>> >>> class Foo(): ... return x + 1 Traceback (most recent call last): File "/Users/tomb/.virtualenvs/bpython/bin/bpython", lin...

Open Graph Description: bpython version 0.15.dev4 on top of Python 2.7.9 /Users/tomb/.virtualenvs/bpython/bin/python2.7 >>> >>> >>> >>> >>> class Foo(): ... return x + 1 Traceback (most recent call last): File "/Users/tom...

X Description: bpython version 0.15.dev4 on top of Python 2.7.9 /Users/tomb/.virtualenvs/bpython/bin/python2.7 >>> >>> >>> >>> >>> class Foo(): ... return x + 1 Traceb...

Opengraph URL: https://github.com/bpython/bpython/issues/483

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Guard against jedi completion errors better","articleBody":"```\nbpython version 0.15.dev4 on top of Python 2.7.9 /Users/tomb/.virtualenvs/bpython/bin/python2.7\n\u003e\u003e\u003e\n\u003e\u003e\u003e\n\u003e\u003e\u003e\n\u003e\u003e\u003e\n\u003e\u003e\u003e class Foo():\n...     return x + 1\nTraceback (most recent call last):\n  File \"/Users/tomb/.virtualenvs/bpython/bin/bpython\", line 9, in \u003cmodule\u003e\n    load_entry_point('bpython==0.15.dev4', 'console_scripts', 'bpython')()\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/curtsies.py\", line 79, in main\n    interactive=(not exec_args))\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/curtsies.py\", line 177, in mainloop\n    process_event(e)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/curtsies.py\", line 135, in process_event\n    repl.process_event(e)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py\", line 487, in process_event\n    return self.process_key_event(e)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py\", line 563, in process_key_event\n    self.cursor_offset = len(self.current_line)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py\", line 1344, in _set_cursor_offset\n    self.update_completion()\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py\", line 877, in update_completion\n    self.list_win_visible = BpythonRepl.complete(self, tab)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/repl.py\", line 606, in complete\n    history=self.history)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/autocomplete.py\", line 455, in get_completer_bpython\n    return get_completer(BPYTHON_COMPLETER, cursor_offset, line, **kwargs)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/autocomplete.py\", line 434, in get_completer\n    cursor_offset, line, **kwargs)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/autocomplete.py\", line 409, in matches\n    history=history)\n  File \"/Users/tomb/Dropbox/code/bpython/bpython/autocomplete.py\", line 369, in matches\n    completions = script.completions()\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/api/__init__.py\", line 155, in completions\n    user_stmt = self._parser.user_stmt_with_whitespace()\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/cache.py\", line 139, in wrapper\n    result = func(self)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/user_context.py\", line 226, in user_stmt_with_whitespace\n    user_stmt = self.user_stmt()\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/cache.py\", line 139, in wrapper\n    result = func(self)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/user_context.py\", line 216, in user_stmt\n    module = self.module()\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/user_context.py\", line 255, in module\n    return self._parser().module\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/cache.py\", line 139, in wrapper\n    result = func(self)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/user_context.py\", line 209, in _parser\n    parser = FastParser(self._source, self._path)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/fast.py\", line 65, in __call__\n    p = super(CachedFastParser, self).__call__(source, module_path)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/fast.py\", line 199, in __init__\n    self._parse(code)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/fast.py\", line 302, in _parse\n    line_offset, nodes, not is_first)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/fast.py\", line 367, in _get_parser\n    top_module=self.module, no_docstr=no_docstr)\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/__init__.py\", line 59, in __init__\n    self._parse()\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/__init__.py\", line 567, in _parse\n    func.statements.append(pr.KeywordStatement(tok_str, s,\n  File \"/Users/tomb/.virtualenvs/bpython/lib/python2.7/site-packages/jedi/parser/fast.py\", line 38, in __getattr__\n    return getattr(self.parsers[0].module, name)\nIndexError: list index out of range\n```\n","author":{"url":"https://github.com/thomasballinger","@type":"Person","name":"thomasballinger"},"datePublished":"2015-02-17T19:58:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/483/bpython/issues/483"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ed9e77a0-3145-68ac-f9bb-1aa5e45627b5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB472:31EA40:2DC56E:3D34EB:6969D3F3
html-safe-nonce235558a1e44355ec28e0c682a48c13e8ba6d4c3cfb3b56bad123c76dda3f3daa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDcyOjMxRUE0MDoyREM1NkU6M0QzNEVCOjY5NjlEM0YzIiwidmlzaXRvcl9pZCI6IjcxMDk5NjU0NDcxMjg3OTgxOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1c459799bdef2fba735ffd6fa3808852ffa5fff4ebb87643572d8039db2fef31
hovercard-subject-tagissue:57973483
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/bpython/bpython/483/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c07c2883692aeb4eb3dd37f113ff01b9bef1413d133892825dd1ad785a7efffb/bpython/bpython/issues/483
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c07c2883692aeb4eb3dd37f113ff01b9bef1413d133892825dd1ad785a7efffb/bpython/bpython/issues/483
og:image:altbpython version 0.15.dev4 on top of Python 2.7.9 /Users/tomb/.virtualenvs/bpython/bin/python2.7 >>> >>> >>> >>> >>> class Foo(): ... return x + 1 Traceback (most recent call last): File "/Users/tom...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamethomasballinger
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/bpython/bpython git https://github.com/bpython/bpython.git
octolytics-dimension-user_id8071396
octolytics-dimension-user_loginbpython
octolytics-dimension-repository_id21508865
octolytics-dimension-repository_nwobpython/bpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21508865
octolytics-dimension-repository_network_root_nwobpython/bpython
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/bpython/bpython/issues/483#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbpython%2Fbpython%2Fissues%2F483
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbpython%2Fbpython%2Fissues%2F483
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=bpython%2Fbpython
Reloadhttps://github.com/bpython/bpython/issues/483
Reloadhttps://github.com/bpython/bpython/issues/483
Reloadhttps://github.com/bpython/bpython/issues/483
bpython https://github.com/bpython
bpythonhttps://github.com/bpython/bpython
Please reload this pagehttps://github.com/bpython/bpython/issues/483
Notifications https://github.com/login?return_to=%2Fbpython%2Fbpython
Fork 252 https://github.com/login?return_to=%2Fbpython%2Fbpython
Star 2.8k https://github.com/login?return_to=%2Fbpython%2Fbpython
Code https://github.com/bpython/bpython
Issues 143 https://github.com/bpython/bpython/issues
Pull requests 4 https://github.com/bpython/bpython/pulls
Actions https://github.com/bpython/bpython/actions
Projects 0 https://github.com/bpython/bpython/projects
Wiki https://github.com/bpython/bpython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/bpython/bpython/security
Please reload this pagehttps://github.com/bpython/bpython/issues/483
Insights https://github.com/bpython/bpython/pulse
Code https://github.com/bpython/bpython
Issues https://github.com/bpython/bpython/issues
Pull requests https://github.com/bpython/bpython/pulls
Actions https://github.com/bpython/bpython/actions
Projects https://github.com/bpython/bpython/projects
Wiki https://github.com/bpython/bpython/wiki
Security https://github.com/bpython/bpython/security
Insights https://github.com/bpython/bpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/bpython/bpython/issues/483
New issuehttps://github.com/login?return_to=https://github.com/bpython/bpython/issues/483
Guard against jedi completion errors betterhttps://github.com/bpython/bpython/issues/483#top
https://github.com/thomasballinger
https://github.com/thomasballinger
thomasballingerhttps://github.com/thomasballinger
on Feb 17, 2015https://github.com/bpython/bpython/issues/483#issue-57973483
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.