Skip to content

SyntaxError: multiple exception types must be parenthesized #3

Description

@alexjaw
~$ uv tool install talk-python-cli && talkpython episodes search "FastAPI"
Resolved 17 packages in 5ms
Installed 17 packages in 16ms
 + anyio==4.12.1
 + attrs==25.4.0
 + certifi==2026.1.4
 + cyclopts==4.5.2
 + docstring-parser==0.17.0
 + docutils==0.22.4
 + h11==0.16.0
 + httpcore==1.0.9
 + httpx==0.28.1
 + idna==3.11
 + markdown-it-py==4.0.0
 + mdurl==0.1.2
 + pygments==2.19.2
 + rich==14.3.2
 + rich-rst==1.3.2
 + talk-python-cli==0.2.0
 + typing-extensions==4.15.0
Installed 1 executable: talkpython
Traceback (most recent call last):
  File "/home/jawalex/.local/bin/talkpython", line 4, in <module>
    from talk_python_cli.app import main
  File "/home/jawalex/.local/share/uv/tools/talk-python-cli/lib/python3.12/site-packages/talk_python_cli/app.py", line 15, in <module>
    from talk_python_cli.formatting import console, display_json, print_error
  File "/home/jawalex/.local/share/uv/tools/talk-python-cli/lib/python3.12/site-packages/talk_python_cli/formatting.py", line 71
    except json.JSONDecodeError, TypeError:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions