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
When source is list of data that contains byte string, calling repr(source) can take forever to generate the string representation of source, and it's wasteful. So it should be avoided.
Instead check if the source has __name__ attribute and use it if that's available. Otherwise use type().__name__.
The text was updated successfully, but these errors were encountered:
When source is list of data that contains byte string, calling
repr(source)
can take forever to generate the string representation of source, and it's wasteful. So it should be avoided.Instead check if the source has
__name__
attribute and use it if that's available. Otherwise usetype().__name__
.The text was updated successfully, but these errors were encountered: