Commit 08a1e10e authored by Guido van Rossum's avatar Guido van Rossum

Excise the sets module. SF #1500611 by Collin Winter.

parent f3ca075b
......@@ -109,7 +109,6 @@ LIBFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
lib/libplatform.tex \
lib/libfpectl.tex \
lib/libgc.tex \
lib/libsets.tex \
lib/libweakref.tex \
lib/libinspect.tex \
lib/libpydoc.tex \
......
......@@ -104,7 +104,6 @@ and how to embed it in other applications.
\input{libheapq}
\input{libbisect}
\input{libarray}
\input{libsets}
\input{libsched}
\input{libmutex}
\input{libqueue}
......
This diff is collapsed.
......@@ -1334,16 +1334,6 @@ Note, the non-operator versions of the \method{update()},
\method{intersection_update()}, \method{difference_update()}, and
\method{symmetric_difference_update()} methods will accept any iterable
as an argument.
The design of the set types was based on lessons learned from the
\module{sets} module.
\begin{seealso}
\seelink{comparison-to-builtin-set.html}
{Comparison to the built-in set types}
{Differences between the \module{sets} module and the
built-in set types.}
\end{seealso}
\section{Mapping Types --- \class{dict} \label{typesmapping}}
......
......@@ -2,7 +2,7 @@
# Copyright (C) 2005 Martin v. Lwis
# Licensed to PSF under a Contributor Agreement.
from _msi import *
import sets, os, string, re
import os, string, re
Win64=0
......@@ -184,7 +184,7 @@ class CAB:
def __init__(self, name):
self.name = name
self.files = []
self.filenames = sets.Set()
self.filenames = set()
self.index = 0
def gen_id(self, file):
......@@ -215,7 +215,7 @@ class CAB:
os.unlink(filename)
db.Commit()
_directories = sets.Set()
_directories = set()
class Directory:
def __init__(self, db, cab, basedir, physical, _logical, default, componentflags=None):
"""Create a new directory in the Directory table. There is a current component
......@@ -239,8 +239,8 @@ class Directory:
self.physical = physical
self.logical = logical
self.component = None
self.short_names = sets.Set()
self.ids = sets.Set()
self.short_names = set()
self.ids = set()
self.keyfiles = {}
self.componentflags = componentflags
if basedir:
......
This diff is collapsed.
......@@ -1723,7 +1723,6 @@ class LWPCookieTests(TestCase):
def test_main(verbose=None):
from test import test_sets
test_support.run_unittest(
DateTimeTests,
HeaderTests,
......
......@@ -1451,7 +1451,6 @@ class TestVariousIteratorArgs(unittest.TestCase):
#==============================================================================
def test_main(verbose=None):
from test import test_sets
test_classes = (
TestSet,
TestSetSubclass,
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment