Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

KeyError 'yy' when trying invoke help() #882

Closed
Labels
Milestone
@snimark

Description

@snimark

Forbpython 0.21, I merely open up the interpreter and typehelp(). As soon as I type the left parenthesis, it spits out theKeyError.

I am on a MacBook using Catalina and have installed bpython using homebrew.

 % bpython --versionbpython version 0.21 on top of Python 3.9.1 /usr/local/opt/python@3.9/bin/python3.9(C) 2008-2020 Bob Farrell, Andreas Stuehrk, Sebastian Ramacher, Thomas Ballinger, et al. See AUTHORS.rst for details.>>> helpTraceback (most recent call last):  File "/usr/local/Cellar/bpython/0.21/libexec/bin/bpython", line 8, in <module>    sys.exit(main())  File "/usr/local/Cellar/bpython/0.21/libexec/lib/python3.9/site-packages/bpython/curtsies.py", line 201, in main    exit_value = repl.mainloop(True, paste)  File "/usr/local/Cellar/bpython/0.21/libexec/lib/python3.9/site-packages/bpython/curtsies.py", line 118, in mainloop    self.process_event_and_paint(e)  File "/usr/local/Cellar/bpython/0.21/libexec/lib/python3.9/site-packages/bpython/curtsies.py", line 95, in process_event_and_paint    array, cursor_pos = self.paint()  File "/usr/local/Cellar/bpython/0.21/libexec/lib/python3.9/site-packages/bpython/curtsiesfrontend/repl.py", line 1644, in paint    infobox = paint.paint_infobox(  File "/usr/local/Cellar/bpython/0.21/libexec/lib/python3.9/site-packages/bpython/curtsiesfrontend/replpainter.py", line 201, in paint_infobox    formatted_argspec(funcprops, arg_pos, width, config)  File "/usr/local/Cellar/bpython/0.21/libexec/lib/python3.9/site-packages/bpython/curtsiesfrontend/replpainter.py", line 103, in formatted_argspec    punctuation_color = func_for_letter(config.color_scheme["punctuation"])  File "/usr/local/Cellar/bpython/0.21/libexec/lib/python3.9/site-packages/bpython/curtsiesfrontend/parse.py", line 32, in func_for_letter    return partial(fmtstr, fg=CNAMES[l.lower()], bold=l.isupper())KeyError: 'yy'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp