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
In [1]: importsmart_openNohandlerscouldbefoundforlogger"smart_open.ssh"
This is a bug: the library should not be logging anything at import-time. Logging is not configured yet at that time, and cannot be configured even in principle: configuring logging is up to the user, not the library.
Also (unrelated): the module lists me as the author, but I don't remember writing any of this code.
Strictly speaking, the comment at the top of the file lists you as the copyright owner, as required by the gensim contribution guidelines as opposed to the direct author of the code. If you like, I can add myself to the copyright statement to emphasize the joint copyright. The same thing goes for other modules.
Let me know how you'd like me to proceed with this.
* fix warning, fix#288
* include VERSION in package_data, fix#289
* fix#285, add special handling for question marks during url parsing
* add unit test, fix#47
I have a slight preference for including code author(s) as well (in addition to the copyright) in the header. This makes contacting authors in the future easier. More relevant in Gensim than here, TBH. But no big deal either way.
When importing the latest smart_open 1.8.1.
This is a bug: the library should not be logging anything at import-time. Logging is not configured yet at that time, and cannot be configured even in principle: configuring logging is up to the user, not the library.
The culprit seems to be here, introduced in #267:
https://github.com/RaRe-Technologies/smart_open/blob/master/smart_open/ssh.py#L33
We should be using
warnings.warn
instead.Also (unrelated): the module lists me as the author, but I don't remember writing any of this code.
The text was updated successfully, but these errors were encountered: