Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
08a1e10e
Commit
08a1e10e
authored
Jan 10, 2007
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Excise the sets module. SF #1500611 by Collin Winter.
parent
f3ca075b
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5 additions
and
1713 deletions
+5
-1713
Doc/Makefile.deps
Doc/Makefile.deps
+0
-1
Doc/lib/lib.tex
Doc/lib/lib.tex
+0
-1
Doc/lib/libsets.tex
Doc/lib/libsets.tex
+0
-264
Doc/lib/libstdtypes.tex
Doc/lib/libstdtypes.tex
+0
-10
Lib/msilib/__init__.py
Lib/msilib/__init__.py
+5
-5
Lib/sets.py
Lib/sets.py
+0
-577
Lib/test/test_cookielib.py
Lib/test/test_cookielib.py
+0
-1
Lib/test/test_set.py
Lib/test/test_set.py
+0
-1
Lib/test/test_sets.py
Lib/test/test_sets.py
+0
-853
No files found.
Doc/Makefile.deps
View file @
08a1e10e
...
...
@@ -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
\
...
...
Doc/lib/lib.tex
View file @
08a1e10e
...
...
@@ -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
}
...
...
Doc/lib/libsets.tex
View file @
08a1e10e
This diff is collapsed.
Click to expand it.
Doc/lib/libstdtypes.tex
View file @
08a1e10e
...
...
@@ -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
}}
...
...
Lib/msilib/__init__.py
View file @
08a1e10e
...
...
@@ -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
=
set
s
.
Set
()
self
.
filenames
=
set
()
self
.
index
=
0
def
gen_id
(
self
,
file
):
...
...
@@ -215,7 +215,7 @@ class CAB:
os
.
unlink
(
filename
)
db
.
Commit
()
_directories
=
set
s
.
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
=
set
s
.
Set
()
self
.
ids
=
set
s
.
Set
()
self
.
short_names
=
set
()
self
.
ids
=
set
()
self
.
keyfiles
=
{}
self
.
componentflags
=
componentflags
if
basedir
:
...
...
Lib/sets.py
deleted
100644 → 0
View file @
f3ca075b
This diff is collapsed.
Click to expand it.
Lib/test/test_cookielib.py
View file @
08a1e10e
...
...
@@ -1723,7 +1723,6 @@ class LWPCookieTests(TestCase):
def test_main(verbose=None):
from test import test_sets
test_support.run_unittest(
DateTimeTests,
HeaderTests,
...
...
Lib/test/test_set.py
View file @
08a1e10e
...
...
@@ -1451,7 +1451,6 @@ class TestVariousIteratorArgs(unittest.TestCase):
#==============================================================================
def
test_main
(
verbose
=
None
):
from
test
import
test_sets
test_classes
=
(
TestSet
,
TestSetSubclass
,
...
...
Lib/test/test_sets.py
deleted
100644 → 0
View file @
f3ca075b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment