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
(make_option() is a factory function for creating Option instances;
currently it is an alias for the Option constructor. A future version of
optparse may split Option into several classes, and make_option() will
pick the right class to instantiate. Do not instantiate Option
directly.)
===============
However, make_option is not part of the function exported in the __all__
list of optparse. Strangely enough, this does not prevent to use
make_option() in regular python scripts, but it does not work when
packaging a python application, for example with pyinstaller.
The problem is also present in python 2.6
The fix is either to update the documentation to use Option() directly
or to add make_option to __all__
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: