We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since -OO removes docstrings, the module fails on import as shown in the following trace:
-OO
[...] from cloudpathlib import AnyPath, CloudPath File "/home/javier/.virtualenvs/WebsiteTopicClassifier/lib/python3.6/site-packages/cloudpathlib/__init__.py", line 3, in <module> from .anypath import AnyPath File "/home/javier/.virtualenvs/WebsiteTopicClassifier/lib/python3.6/site-packages/cloudpathlib/anypath.py", line 5, in <module> from .cloudpath import InvalidPrefixError, CloudPath File "/home/javier/.virtualenvs/WebsiteTopicClassifier/lib/python3.6/site-packages/cloudpathlib/cloudpath.py", line 136, in <module> class CloudPath(metaclass=CloudPathMeta): File "/home/javier/.virtualenvs/WebsiteTopicClassifier/lib/python3.6/site-packages/cloudpathlib/cloudpath.py", line 127, in __init__ docstring = getattr(Path, attr).__doc__ + " _(Docstring copied from pathlib.Path)_" TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
The text was updated successfully, but these errors were encountered:
Thanks @jruere. We'd accept a PR that adds a condition to the ones that we check ahead of failure to also check that __doc__ is not None:
__doc__
cloudpathlib/cloudpathlib/cloudpath.py
Lines 122 to 126 in 20b79c1
Sorry, something went wrong.
@jruere This is released now in version 0.10.0 on PyPI
Successfully merging a pull request may close this issue.
Since
-OO
removes docstrings, the module fails on import as shown in the following trace:The text was updated successfully, but these errors were encountered: