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 ahrvoje
Recipients Filip Haglund, ahrvoje, ezio.melotti, r.david.murray
Date 2015-11-03.21:48:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446587307.39.0.53515888847.issue24663@psf.upfronthosting.co.za>
In-reply-to
Content
I use communication protocol based on Python literals and ast.literal_eval for deserialization. I'm avoiding sets because empty set value is not supported in a clean consistent manner on language level.

If I write repr(set()) i get 'set()', this should matter, maybe.

I know I can handle it as a special case, None for empty set, and close my eyes on fact that I lose None value reserved for some other cases. But this really is not a nice thing to do. Please reconsider...
History
Date User Action Args
2015-11-03 21:48:27ahrvojesetrecipients: + ahrvoje, ezio.melotti, r.david.murray, Filip Haglund
2015-11-03 21:48:27ahrvojesetmessageid: <1446587307.39.0.53515888847.issue24663@psf.upfronthosting.co.za>
2015-11-03 21:48:27ahrvojelinkissue24663 messages
2015-11-03 21:48:27ahrvojecreate