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
Good find! Hasn't ever been a problem for me in production, but should definitely be fixed. I've earmarked a week at the end of this quarter to clean up some outstanding issues.. I'll put this one in that work block!
find
changes the content ofattrs
When using the
find
method on aSoup
object, the content ofattrs
is overwritten by the parameterattrs
infind
.Steps to reproduce the issue
Try the following:
The expected output will be the following, because we twice print the attributes of
a
:But instead you actually receive:
which is wrong.
Environment:
My current workaround is to save the attributes before I execute
find
.The text was updated successfully, but these errors were encountered: