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
Is there any interest in adding support for mutating methods on str objects? For example, s.lower() would be mutated to s.upper(), or s.strip() would be mutated to s. Of course, not all methods have a clear mutation (e.g. str.maketrans()) but I think enough of them do that even partial coverage could be useful.
The text was updated successfully, but these errors were encountered:
Interesting idea. I guess the problem would be to know if it's a str at all, but maybe just mutating method names with a dict would be 99% of the way and would be easy to add configuration for to test more stuff.
Is there any interest in adding support for mutating methods on str objects? For example,
s.lower()
would be mutated tos.upper()
, ors.strip()
would be mutated tos
. Of course, not all methods have a clear mutation (e.g.str.maketrans()
) but I think enough of them do that even partial coverage could be useful.The text was updated successfully, but these errors were encountered: