Re: Current Devel Branch Fails To Start Using Python 3.9

2024-04-25 Thread Edward K. Ream
On Wednesday, April 24, 2024 at 11:33:19 AM UTC-5 Edward K. Ream wrote: > PR #3885 ...moves *from typing import TypeAlias* into the range of *if TYPE_CHECKING*: ... > Even if the import fails, only mypy will be affected. At worst, mypy's type

Re: Current Devel Branch Fails To Start Using Python 3.9

2024-04-24 Thread Edward K. Ream
On Wednesday, April 24, 2024 at 10:02:34 AM UTC-5 Edward K. Ream wrote: Thanks for this report, Thomas. See #3884 . I'll fix this immediately. PR #3885 contains an elegant fix. The PR

Re: Current Devel Branch Fails To Start Using Python 3.9

2024-04-24 Thread Thomas Passin
Lucky I've still got Python 3.9 on my machine! On Wednesday, April 24, 2024 at 11:02:34 AM UTC-4 Edward K. Ream wrote: > On Wed, Apr 24, 2024 at 9:30 AM Thomas Passin wrote: > >> py -3.9 -m leo.core.runLeo >> ... >>from leo.core import leoVim >> File "C:\Tom\git\leo-editor\leo\core\leoVim

Re: Current Devel Branch Fails To Start Using Python 3.9

2024-04-24 Thread Edward K. Ream
On Wed, Apr 24, 2024 at 9:30 AM Thomas Passin wrote: > py -3.9 -m leo.core.runLeo > ... >from leo.core import leoVim > File "C:\Tom\git\leo-editor\leo\core\leoVim.py", line 25, in > from typing import Any, TypeAlias, TYPE_CHECKING > ImportError: cannot import name 'TypeAlias' from 'typ

Current Devel Branch Fails To Start Using Python 3.9

2024-04-24 Thread Thomas Passin
py -3.9 -m leo.core.runLeo ... from leo.core import leoVim File "C:\Tom\git\leo-editor\leo\core\leoVim.py", line 25, in from typing import Any, TypeAlias, TYPE_CHECKING ImportError: cannot import name 'TypeAlias' from 'typing' (C:\Program Files\Python39\lib\typing.py) This changeset do