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 fgregg
Recipients fgregg
Date 2018-06-16.02:35:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529116515.27.0.56676864532.issue33874@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry there was a typo in the first example block:

It should be

>>> {}.keys() & []
set()
>>> set() & []
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for &: 'set' and 'list'

>>> set() & [] does **not** return set() it raises a TypeError
History
Date User Action Args
2018-06-16 02:35:15fgreggsetrecipients: + fgregg
2018-06-16 02:35:15fgreggsetmessageid: <1529116515.27.0.56676864532.issue33874@psf.upfronthosting.co.za>
2018-06-16 02:35:15fgregglinkissue33874 messages
2018-06-16 02:35:15fgreggcreate