This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients py.user, scoder
Date 2019-09-10.16:09:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568131794.86.0.658384922702.issue28237@roundup.psfhosted.org>
In-reply-to
Content
Arguably, writing out "b'x'" as attribute name instead of raising an exception isn't ideal. However, OTOH, I think it's reasonable to accept anything that is serialisable as a string, not just strings. That makes it difficult to draw a line.

In any case, it's ok for ElementTree to not allow bytes in general.

I'll close this issue, because I don't think it's worth being called a bug.
History
Date User Action Args
2019-09-10 16:09:54scodersetrecipients: + scoder, py.user
2019-09-10 16:09:54scodersetmessageid: <1568131794.86.0.658384922702.issue28237@roundup.psfhosted.org>
2019-09-10 16:09:54scoderlinkissue28237 messages
2019-09-10 16:09:54scodercreate