2000-07-31 16:20:31 -04:00
|
|
|
|
PEP: 218
|
|
|
|
|
Title: Adding a Built-In Set Object Type
|
|
|
|
|
Version: $Revision$
|
|
|
|
|
Author: gvwilson@nevex.com (Greg Wilson)
|
|
|
|
|
Status: Draft
|
2000-08-23 01:51:13 -04:00
|
|
|
|
Type: Standards Track
|
|
|
|
|
Python-Version: 2.1
|
2000-07-31 16:20:31 -04:00
|
|
|
|
Created: 31-Jul-2000
|
|
|
|
|
Post-History:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Abstract
|
|
|
|
|
|
|
|
|
|
Sets are a fundamental mathematical structure, and are commonly
|
|
|
|
|
used to both specify and implement programs. Sets are often
|
|
|
|
|
implemented as dictionaries with "don't care" values, but this
|
|
|
|
|
leaves the meaning of intersection, union, difference, and other
|
|
|
|
|
basic operations are ambiguous. This PEP therefore proposes
|
|
|
|
|
syntax and semantics for a concrete, built-in set type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: indented-text
|
|
|
|
|
indent-tabs-mode: nil
|
|
|
|
|
End:
|