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 safe_unicode utility is very important in ensuring that bytes types are correctly cast to unicode but it does not safely cast all types to unicode as the name implies. We should come up with a more appropriate name.
The text was updated successfully, but these errors were encountered:
Thanks for filing this. I noticed the confusing name when reviewing a PR but I haven't managed to come up with a better name yet. It isn't 'safe' as there was an exception raised when using the built in unicode() was enough - what exactly does it do again?
The
safe_unicode
utility is very important in ensuring that bytes types are correctly cast to unicode but it does not safely cast all types to unicode as the name implies. We should come up with a more appropriate name.The text was updated successfully, but these errors were encountered: