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 akira
Recipients akira
Date 2014-07-29.21:28:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406669299.88.0.807816572925.issue22101@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for standard types says [1]:

  clear() and copy() are included for consistency with the interfaces of
  mutable containers that don’t support slicing operations (such as dict
  and set)

  New in version 3.3: clear() and copy() methods.

[1] https://docs.python.org/3.4/library/stdtypes.html#immutable-sequence-types

but collections.abc documentation mentions only clear() method.

I've uploaded a patch that implements Set.copy() method, mentions it in
Set's documentation, and adds a sanity test.
History
Date User Action Args
2014-07-29 21:28:19akirasetrecipients: + akira
2014-07-29 21:28:19akirasetmessageid: <1406669299.88.0.807816572925.issue22101@psf.upfronthosting.co.za>
2014-07-29 21:28:19akiralinkissue22101 messages
2014-07-29 21:28:19akiracreate