Re: PR #3389 (in devel) concludes work on handling options

2023-06-17 Thread Edward K. Ream
On Sat, Jun 17, 2023 at 1:13 AM Viktor Ransmayr wrote: I tested the 'leo-editor:devel' branch again in a Fedora 37 VM. > > Running Leo's unit tests reports one error: > Thanks for this report. I have modified the unit test so it fails on my machine. I'll fix this issue next. Edward -- You

Re: PR #3389 (in devel) concludes work on handling options

2023-06-17 Thread Viktor Ransmayr
Hello Edward, Edward K. Ream schrieb am Freitag, 16. Juni 2023 um 23:37:42 UTC+2: PR #3389 defines four simple helper functions in leoGlobals.py. Imo these four functions do more than the entire argparse module. They are simpler, easier and

Re: PR #3389 (in devel) concludes work on handling options

2023-06-16 Thread Edward K. Ream
On Friday, June 16, 2023 at 9:32:42 PM UTC-5 Félix wrote: devel fails this single test on windows (not sure if related or if its a real problem) : The test works for me with python 3.11 on Windows. I have no idea how it could fail for you. Edward -- You received this message because you

Re: PR #3389 (in devel) concludes work on handling options

2023-06-16 Thread Félix
devel fails this single test on windows (not sure if related or if its a real problem) : ./leo/unittests/core/test_leoImport.py::TestLeoImport::test_recursive_import Failed: 'path: ekr-mypy2/mypy' != 'path: mypy' - path: ekr-mypy2/mypy + path: mypy File "C:\Python311\Lib\unittest\case.py",

PR #3389 (in devel) concludes work on handling options

2023-06-16 Thread Edward K. Ream
PR #3389 defines four simple helper functions in leoGlobals.py. Imo these four functions do more than the entire argparse module. They are simpler, easier and more flexible. Thanks again to Thomas for his careful reading of the code. Edward