Author eli.bendersky
Recipients eli.bendersky, flox, jcea, loewis
Date 2012-03-16.04:54:04
SpamBayes Score 1.10038e-08
Marked as misclassified No
Message-id <>
Martin, why do you think it's important for Element to support this? After all, this is XML, not an arbitrary tree. As such, the children of Element can only be other elements, and attribute values should be strings. Anything else will result in errors when attempting to write that Element into a real XML file. Semantically it doesn't make sense for the value of an attribute to be a list or any other container, for that matter.

In your sample code, if you attempt to dump or write L[0] before deleting it, you'll get an error.

Adding GC handling complicates the code (even if not by too much), and this complication should be justified. Can you see a valid use case where GC handling would be required?
Date User Action Args
2012-03-16 04:54:05eli.benderskysetrecipients: + eli.bendersky, loewis, jcea, flox
2012-03-16 04:54:05eli.benderskysetmessageid: <>
2012-03-16 04:54:05eli.benderskylinkissue14065 messages
2012-03-16 04:54:04eli.benderskycreate