TypeError: 'bool' object is not callable
on import on python 3.7 without typing_extensions
#178
Labels
bug
Something isn't working
🐛 Bug report
When running on
python<3.8
, where there is nottyping.final
withouttyping_extensions
installed, importingjsonargparse
produces theTypeError
.The problem is in the line above (44 in
optionals.py
), where fallback import returnsFalse
, which is definitely not callable.To reproduce
install jsonargparse on python 3.7 without any extras and import
Expected behavior
No
TypeError
Environment
pip install jsonargparse[all]
):pip install jsonargparse
The text was updated successfully, but these errors were encountered: