Skip to content

Fixing regression from #2858#2986

Merged
scoder merged 5 commits intocython:masterfrom
realead:annotate_fullc
Jun 7, 2019
Merged

Fixing regression from #2858#2986
scoder merged 5 commits intocython:masterfrom
realead:annotate_fullc

Conversation

@realead
Copy link
Contributor

@realead realead commented Jun 6, 2019

Unluckily my #2858 has introduced a regression for cythonize.py: in

cythonize -a foo.pyx

foo.pyx is interpreted as a value for option -a and not as source-file. The problem nargs='?' doesn't work well with positional arguments.

It would be possible to save the syntax --annotate fullc but at cost of adding more complexity, so I think it is easier to introduce new option --annotate-fullc instead, which corresponds to the old --annotate=fullc, as done in this PR.

@scoder scoder merged commit 70d7703 into cython:master Jun 7, 2019
@scoder scoder added this to the 3.0 milestone Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants