Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctools.py throws error when executing python with -OO optimization level #396

Closed
gojomo opened this issue Dec 3, 2019 · 0 comments · Fixed by #406
Closed

doctools.py throws error when executing python with -OO optimization level #396

gojomo opened this issue Dec 3, 2019 · 0 comments · Fixed by #406

Comments

@gojomo
Copy link
Contributor

gojomo commented Dec 3, 2019

See report misdirected against gensim for full details:

piskvorky/gensim#2680

(extract_kwargs() shouldn't count on a docstring being present to be parsed, because -OO pre-strips even docstrings that were in original source.)

@gojomo gojomo changed the title doctools.py throws error when executing Python with -OO doctools.py throws error when executing python with -OO optimization level Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant