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
SL-18330: Use xml.etree.ElementTree.fromstring() when we can.
Apparently, wrapping an incoming bytes object in io.BytesIO and passing it to
xml.etree.ElementTree.parse() is slower than passing the bytes object directly
to fromstring(). Detect the BytesIO case and call fromstring() with contents.
0 commit comments