Skip to content

Fix crash on Python 3.8 or lower - #24

Open
lucastnr wants to merge 1 commit into
ivnvxd:mainfrom
lucastnr:main
Open

Fix crash on Python 3.8 or lower#24
lucastnr wants to merge 1 commit into
ivnvxd:mainfrom
lucastnr:main

Conversation

@lucastnr

Copy link
Copy Markdown

This fixes #23.

I had to fix two things:

  1. Tuple typing is not available on Python <= 3.8
  2. get_version can return a tuple with None, but it was not included in the typing

This fixes the script for Python <= 3.8
@lucastnr lucastnr changed the title fix: Import tuple from typing and fix typing error Fix crash on Python 3.8 or lower Apr 17, 2025
@lucastnr

lucastnr commented Apr 17, 2025

Copy link
Copy Markdown
Author

I've created #25 (suggestion 1) and #24 (suggestion 2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash on Python <= 3.8

1 participant