We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Originally reported by: BitBucket: andreasvc, GitHub: @andreasvc?
When unicode_literals is enabled, an error is reported that only strings are acceptable in __slots__:
__slots__
Invalid object "u'foo'" in __slots__, must contain only non empty strings (invalid-slots-object)
However, unicode strings in slots are acceptable in Python 2, and using unicode helps in writing code that is compatible in both Python 2 and 3.
The text was updated successfully, but these errors were encountered:
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
Fix a false positive with invalid-slots-objects and unicode strings. Closes issue #421.
Sorry, something went wrong.
feat: allow 'Collection.where(__name__, in, [hello, world])' (pylint-…
7d71244
…dev#501) Closes pylint-dev#421. Supersedes pylint-dev#496.
No branches or pull requests
Originally reported by: BitBucket: andreasvc, GitHub: @andreasvc?
When unicode_literals is enabled, an error is reported that only strings are acceptable in
__slots__
:However, unicode strings in slots are acceptable in Python 2, and using unicode helps in writing code that is compatible in both Python 2 and 3.
The text was updated successfully, but these errors were encountered: