Skip to content

File Explorer broken on Python 3.9 #300

Closed

Description

@gdementen

Given that Python 3.9 is EOL, I am unsure I will fix it, even though it is trivial to fix. If I release a new version of the editor before we moved all our colleagues to Python 3.13 (or 14), I should fix it, otherwise, it is not worth it.

The problem is in the type annotation (str | int is not supported on 3.9), so only removing it is enough.

    def get_file_info(p: Path) -> tuple[str, str, str, str|int]:
TypeError: unsupported operand type(s) for |: 'type' and 'type'

Activity

  1. added this to the 0.36 milestone on Dec 21, 2025
  2. modified the milestones: 0.36, 0.35.1 on Mar 3, 2026
  3. self-assigned this
    on Mar 20, 2026
  4. added 2 commits that reference this issue on Mar 20, 2026
    ecf7876
    8832906
  5. added a commit that references this issue on Mar 26, 2026
    75255fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions