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) \ ...@@ -109,7 +109,6 @@ LIBFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
lib/libplatform.tex \ lib/libplatform.tex \
lib/libfpectl.tex \ lib/libfpectl.tex \
lib/libgc.tex \ lib/libgc.tex \
lib/libsets.tex \
lib/libweakref.tex \ lib/libweakref.tex \
lib/libinspect.tex \ lib/libinspect.tex \
lib/libpydoc.tex \ lib/libpydoc.tex \
......
...@@ -104,7 +104,6 @@ and how to embed it in other applications. ...@@ -104,7 +104,6 @@ and how to embed it in other applications.
\input{libheapq} \input{libheapq}
\input{libbisect} \input{libbisect}
\input{libarray} \input{libarray}
\input{libsets}
\input{libsched} \input{libsched}
\input{libmutex} \input{libmutex}
\input{libqueue} \input{libqueue}
......
This diff is collapsed.
...@@ -1334,16 +1334,6 @@ Note, the non-operator versions of the \method{update()}, ...@@ -1334,16 +1334,6 @@ Note, the non-operator versions of the \method{update()},
\method{intersection_update()}, \method{difference_update()}, and \method{intersection_update()}, \method{difference_update()}, and
\method{symmetric_difference_update()} methods will accept any iterable \method{symmetric_difference_update()} methods will accept any iterable
as an argument. 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}} \section{Mapping Types --- \class{dict} \label{typesmapping}}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Copyright (C) 2005 Martin v. Lwis # Copyright (C) 2005 Martin v. Lwis
# Licensed to PSF under a Contributor Agreement. # Licensed to PSF under a Contributor Agreement.
from _msi import * from _msi import *
import sets, os, string, re import os, string, re
Win64=0 Win64=0
...@@ -184,7 +184,7 @@ class CAB: ...@@ -184,7 +184,7 @@ class CAB:
def __init__(self, name): def __init__(self, name):
self.name = name self.name = name
self.files = [] self.files = []
self.filenames = sets.Set() self.filenames = set()
self.index = 0 self.index = 0
def gen_id(self, file): def gen_id(self, file):
...@@ -215,7 +215,7 @@ class CAB: ...@@ -215,7 +215,7 @@ class CAB:
os.unlink(filename) os.unlink(filename)
db.Commit() db.Commit()
_directories = sets.Set() _directories = set()
class Directory: class Directory:
def __init__(self, db, cab, basedir, physical, _logical, default, componentflags=None): def __init__(self, db, cab, basedir, physical, _logical, default, componentflags=None):
"""Create a new directory in the Directory table. There is a current component """Create a new directory in the Directory table. There is a current component
...@@ -239,8 +239,8 @@ class Directory: ...@@ -239,8 +239,8 @@ class Directory:
self.physical = physical self.physical = physical
self.logical = logical self.logical = logical
self.component = None self.component = None
self.short_names = sets.Set() self.short_names = set()
self.ids = sets.Set() self.ids = set()
self.keyfiles = {} self.keyfiles = {}
self.componentflags = componentflags self.componentflags = componentflags
if basedir: if basedir:
......
This diff is collapsed.
...@@ -1723,7 +1723,6 @@ class LWPCookieTests(TestCase): ...@@ -1723,7 +1723,6 @@ class LWPCookieTests(TestCase):
def test_main(verbose=None): def test_main(verbose=None):
from test import test_sets
test_support.run_unittest( test_support.run_unittest(
DateTimeTests, DateTimeTests,
HeaderTests, HeaderTests,
......
...@@ -1451,7 +1451,6 @@ class TestVariousIteratorArgs(unittest.TestCase): ...@@ -1451,7 +1451,6 @@ class TestVariousIteratorArgs(unittest.TestCase):
#============================================================================== #==============================================================================
def test_main(verbose=None): def test_main(verbose=None):
from test import test_sets
test_classes = ( test_classes = (
TestSet, TestSet,
TestSetSubclass, 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