Skip to content

Conversation

@icemac
Copy link
Member

@icemac icemac commented Sep 14, 2017

@icemac icemac requested a review from loechel September 14, 2017 09:40
@icemac icemac added the invalid label Sep 14, 2017
@icemac
Copy link
Member Author

icemac commented Sep 14, 2017

This is the wrong approach to solve the issue, as this is true:

SafeStr('foo')[0].__class__ == str

Any method called on a SafeStr which returns a string actually returns a str instance not a SafeStr instance. 😿

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants