Closed cclauss closed 5 years ago
We don't need to be Python 2 compatible. Can you change it to just use range
instead?
Thanks for the PR. You're doing a great service fixing all these Python 3 issues!
This still remains...
./toolkit/proc/gen.py:192:36: F821 undefined name 'strw'
srvpgm_c_byval += '*(fool'+strw+'_t *)iNextVal(layout, '+stri+')'
^
This PR provides equivalent functionality on both Python 2 and Python 3.
flake8 testing of https://github.com/IBM/db2sock-ibmi on Python 3.7.1
$ flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
E901,E999,F821,F822,F823 are the "showstopper" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.
name
name
in__all__