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
The encoding parameter isn't mentioned in the documentation anywhere, so it isn't reasonable for the above to work. It would be helpful though to log a warning, or raise an exception specifying it is an invalid argument, or to have the parameter supported in the first place (if possible).
The text was updated successfully, but these errors were encountered:
Definitely a bug -- smart_openmust remain a drop-in replacement for open, for local filesystem usage.
Thanks for reporting.
@menshikh-iv we should be passing all extra (unknown) parameters straight to the underlying storage. I believe that's how smart_open always worked, so not sure what the current bug is due to.
This isn't a bug, but it can be slightly confusing -
Steps to reproduce
cp852.tsv.txt
The
encoding
parameter isn't mentioned in the documentation anywhere, so it isn't reasonable for the above to work. It would be helpful though to log a warning, or raise an exception specifying it is an invalid argument, or to have the parameter supported in the first place (if possible).The text was updated successfully, but these errors were encountered: