pyqver
pyqver copied to clipboard
Identify the minimum Python version required for a given script
Great tool! But it seems to assume that the user already knows whether the given code is based on python2 versus python3. It would be nice if it could detect...
F strings were added in Python 3.6 with PEP 498. These don't get detected. Sample program: ```python s = "hello world" print(f"{s}") ``` Expected output: `3.6` for the sample program...
At least, I'm pretty sure that relative imports are the only thing in common, across all modules producing the error below. ``` Traceback (most recent call last): File "/pyqver3.py", line...
Hi, I'd lake to package pyqver for Fedora, so I've added a setup.py and also removed the .py extension for the scripts, so that they can conform the usual CLI...
Hi, I'd like to package pyqver for Fedora (as there doesn't seem to be any other comparable tool in Fedora repositories at the moment). But looking through the source &...
Nice little tool, but total_seconds() only appeared in 2.7. decimal.Decimal() comparison with floats also became more liberal from 2.6 to 2.7. Going back to 2.6 forced me to compare Decimal()...