The AST source parser has issues when running under Python 3 code I think due to the fact that None is now a keyword in Python3. This means it doesn't "see" the None and returns a syntax error. e.g. the following:
parser.add_argument('-o', '--outfile', dest='outfile', default=None, type=str, help='Filename for output')
...gives a syntax error for missing value...
parser.add_argument('-o', '--outfile', dest='outfile', default=, type=str, help='Filename for output')
The AST source parser has issues when running under Python 3 code I think due to the fact that
None
is now a keyword in Python3. This means it doesn't "see" theNone
and returns a syntax error. e.g. the following:...gives a syntax error for missing value...