You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: astrofrog (Bitbucket: astrofrog, GitHub: astrofrog)
The constant PY34 is badly named: PY2 means Python 2, PY3 means Python 3, but PY34 will be True for Python 3.6 or Python 4.3, which will read weirdly in code.
I would therefore propose renaming PY34 to PY_GE_34, and introducing a new variable PY_GE_3 to mean sys.version_info[0] >= 3.
Originally reported by: astrofrog (Bitbucket: astrofrog, GitHub: astrofrog)
The constant
PY34
is badly named:PY2
means Python 2,PY3
means Python 3, butPY34
will beTrue
for Python 3.6 or Python 4.3, which will read weirdly in code.I would therefore propose renaming
PY34
toPY_GE_34
, and introducing a new variablePY_GE_3
to meansys.version_info[0] >= 3
.The text was updated successfully, but these errors were encountered: