summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-10-28 21:35:31 (GMT)
committerGitHub <noreply@github.com>2019-10-28 21:35:31 (GMT)
commitae7aa4277437566b55aa6941d8d50cce35848ace (patch)
tree4525aaf52b503176adfdd2691575f06edf9fdf7b /Tools
parent0ac6137dd3d1e2c8f9558153ad63021f57e05e73 (diff)
downloadcpython-ae7aa4277437566b55aa6941d8d50cce35848ace.zip
cpython-ae7aa4277437566b55aa6941d8d50cce35848ace.tar.gz
cpython-ae7aa4277437566b55aa6941d8d50cce35848ace.tar.bz2
Remove code commented for more than 10 years (GH-16965)
test_urllib commented since 2007: commit d9880d07fc032884e8bd5cf3ac636d3a3778d5f7 Author: Facundo Batista <facundobatista@gmail.com> Date: Fri May 25 04:20:22 2007 +0000 Commenting out the tests until find out who can test them in one of the problematic enviroments. pynche code commented since 1998 and 2001: commit ef30092207e684bd3e74fe3d6172b97327a0a089 Author: Barry Warsaw <barry@python.org> Date: Tue Dec 15 01:04:38 1998 +0000 Added most of the mechanism to change the strips from color variations to color constants (i.e. red constant, green constant, blue constant). But I haven't hooked this up yet because the UI gets more crowded and the arrows don't reflect the correct values. Added "Go to Black" and "Go to White" buttons. commit 741eae0b3129c123ed4319d8d9e5b877b09aefa8 Author: Barry Warsaw <barry@python.org> Date: Wed Apr 18 03:51:55 2001 +0000 StripWidget.__init__(), update_yourself(): Removed some unused local variables reported by PyChecker. __togglegentype(): PyChecker accurately reported that the variable __gentypevar was unused -- actually this whole method is currently unused so comment it out.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/pynche/StripViewer.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/Tools/pynche/StripViewer.py b/Tools/pynche/StripViewer.py
index 2b0ede3..6914ca9 100644
--- a/Tools/pynche/StripViewer.py
+++ b/Tools/pynche/StripViewer.py
@@ -371,22 +371,6 @@ class StripViewer:
command=self.__togglehex)
hexbtn.grid(row=1, column=1, sticky=W)
- # XXX: ignore this feature for now; it doesn't work quite right yet
-
-## gentypevar = self.__gentypevar = IntVar()
-## self.__variations = Radiobutton(frame,
-## text='Variations',
-## variable=gentypevar,
-## value=0,
-## command=self.__togglegentype)
-## self.__variations.grid(row=0, column=1, sticky=W)
-## self.__constants = Radiobutton(frame,
-## text='Constants',
-## variable=gentypevar,
-## value=1,
-## command=self.__togglegentype)
-## self.__constants.grid(row=1, column=1, sticky=W)
-
# create the white button
whitebtn = Button(frame2,
text='White',
@@ -402,26 +386,6 @@ class StripViewer:
red, green, blue = self.__sb.current_rgb()
self.update_yourself(red, green, blue)
-## def __togglegentype(self, event=None):
-## which = self.__gentypevar.get()
-## if which == 0:
-## self.__reds.set(label='Red Variations',
-## generator=constant_cyan_generator)
-## self.__greens.set(label='Green Variations',
-## generator=constant_magenta_generator)
-## self.__blues.set(label='Blue Variations',
-## generator=constant_yellow_generator)
-## elif which == 1:
-## self.__reds.set(label='Red Constant',
-## generator=constant_red_generator)
-## self.__greens.set(label='Green Constant',
-## generator=constant_green_generator)
-## self.__blues.set(label='Blue Constant',
-## generator=constant_blue_generator)
-## else:
-## assert 0
-## self.__sb.update_views_current()
-
def __toblack(self, event=None):
self.__sb.update_views(0, 0, 0)