Author bup
Recipients bup
Date 2017-05-18.20:57:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
k = 'k'
del [k]

That deletes the variable k from the local scope (even though it *looks* like it's trying to delete a list containing 1 element which is equivalent to the variable k).

But if using list literals to delete groups of objects is valid, then why not set literals?

del {k}
raises SyntaxError: can't delete literal

The better option imo would be to only allow tuples when del-ing groups of objects, but if list literals are allowed then set literals should be as well.
Date User Action Args
2017-05-18 20:57:29bupsetrecipients: + bup
2017-05-18 20:57:29bupsetmessageid: <>
2017-05-18 20:57:29buplinkissue30402 messages
2017-05-18 20:57:29bupcreate