summaryrefslogtreecommitdiffstats
path: root/Tools/pynche
Commit message (Collapse)AuthorAgeFilesLines
* Remove code commented for more than 10 years (GH-16965)Victor Stinner2019-10-281-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-081-2/+6
| | | | They now return NotImplemented for unsupported type of the other operand.
* bpo-29762: More use "raise from None". (#569)Serhiy Storchaka2017-04-051-3/+3
| | | This hides unwanted implementation details from tracebacks.
* #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-3/+3
| | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* Removed unintentional trailing spaces in text files.Serhiy Storchaka2015-03-291-7/+7
|
* Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-3/+1
| | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-1/+1
|
* Fix import.Georg Brandl2010-10-261-2/+2
|
* Make the Pynche tool work with Python 3.Georg Brandl2010-08-028-28/+32
|
* More 2to3 fixes in the Tools directory. Fixes #2893.Georg Brandl2008-05-163-11/+11
|
* Merged revisions 60990-61002 via svnmerge fromChristian Heimes2008-02-232-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r60990 | eric.smith | 2008-02-23 17:05:26 +0100 (Sat, 23 Feb 2008) | 1 line Removed duplicate Py_CHARMASK define. It's already defined in Python.h. ........ r60991 | andrew.kuchling | 2008-02-23 17:23:05 +0100 (Sat, 23 Feb 2008) | 4 lines #1330538: Improve comparison of xmlrpclib.DateTime and datetime instances. Remove automatic handling of datetime.date and datetime.time. This breaks backward compatibility, but python-dev discussion was strongly against this automatic conversion; see the bug for a link. ........ r60994 | andrew.kuchling | 2008-02-23 17:39:43 +0100 (Sat, 23 Feb 2008) | 1 line #835521: Add index entries for various pickle-protocol methods and attributes ........ r60995 | andrew.kuchling | 2008-02-23 18:10:46 +0100 (Sat, 23 Feb 2008) | 2 lines #1433694: minidom's .normalize() failed to set .nextSibling for last element. Fix by Malte Helmert ........ r61000 | christian.heimes | 2008-02-23 18:40:11 +0100 (Sat, 23 Feb 2008) | 1 line Patch #2167 from calvin: Remove unused imports ........ r61001 | christian.heimes | 2008-02-23 18:42:31 +0100 (Sat, 23 Feb 2008) | 1 line Patch #1957: syslogmodule: Release GIL when calling syslog(3) ........ r61002 | christian.heimes | 2008-02-23 18:52:07 +0100 (Sat, 23 Feb 2008) | 2 lines Issue #2051 and patch from Alexander Belopolsky: Permission for pyc and pyo files are inherited from the py file. ........
* Convert some custom sort comparison functions to equivalent key functions.Raymond Hettinger2008-01-301-4/+1
|
* Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via ↵Georg Brandl2008-01-211-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r60151 | christian.heimes | 2008-01-21 14:11:15 +0100 (Mon, 21 Jan 2008) | 1 line A bunch of header files were not listed as dependencies for object files. Changes to files like Parser/parser.h weren't picked up by make. ........ r60152 | georg.brandl | 2008-01-21 15:16:46 +0100 (Mon, 21 Jan 2008) | 3 lines #1087741: make mmap.mmap the type of mmap objects, not a factory function. Allow it to be subclassed. ........ r60153 | georg.brandl | 2008-01-21 15:18:14 +0100 (Mon, 21 Jan 2008) | 2 lines mmap is an extension module. ........ r60154 | georg.brandl | 2008-01-21 17:28:13 +0100 (Mon, 21 Jan 2008) | 2 lines Fix example. ........ r60155 | georg.brandl | 2008-01-21 17:34:07 +0100 (Mon, 21 Jan 2008) | 2 lines #1555501: document plistlib and move it to the general library. ........ r60156 | georg.brandl | 2008-01-21 17:36:00 +0100 (Mon, 21 Jan 2008) | 2 lines Add a stub for bundlebuilder documentation. ........ r60157 | georg.brandl | 2008-01-21 17:46:58 +0100 (Mon, 21 Jan 2008) | 2 lines Removing bundlebuilder docs again -- it's not to be used anymore (see #779825). ........ r60158 | georg.brandl | 2008-01-21 17:51:51 +0100 (Mon, 21 Jan 2008) | 2 lines #997912: acknowledge nested scopes in tutorial. ........ r60159 | vinay.sajip | 2008-01-21 18:02:26 +0100 (Mon, 21 Jan 2008) | 1 line Fix: #1836: Off-by-one bug in TimedRotatingFileHandler rollover calculation. Patch thanks to Kathryn M. Kowalski. ........ r60161 | georg.brandl | 2008-01-21 18:13:03 +0100 (Mon, 21 Jan 2008) | 2 lines Adapt pydoc to new doc URLs. ........ r60162 | georg.brandl | 2008-01-21 18:17:00 +0100 (Mon, 21 Jan 2008) | 2 lines Fix old link. ........ r60163 | georg.brandl | 2008-01-21 18:22:06 +0100 (Mon, 21 Jan 2008) | 2 lines #1726198: replace while 1: fp.readline() with file iteration. ........ r60164 | georg.brandl | 2008-01-21 18:29:23 +0100 (Mon, 21 Jan 2008) | 2 lines Clarify $ behavior in re docstring. #1631394. ........ r60165 | vinay.sajip | 2008-01-21 18:39:22 +0100 (Mon, 21 Jan 2008) | 1 line Minor documentation change - hyperlink tidied up. ........ r60166 | georg.brandl | 2008-01-21 18:42:40 +0100 (Mon, 21 Jan 2008) | 2 lines #1530959: change distutils build dir for --with-pydebug python builds. ........ r60167 | vinay.sajip | 2008-01-21 19:16:05 +0100 (Mon, 21 Jan 2008) | 1 line Updated to include news on recent logging fixes and documentation changes. ........ r60168 | georg.brandl | 2008-01-21 19:35:49 +0100 (Mon, 21 Jan 2008) | 3 lines Issue #1882: when compiling code from a string, encoding cookies in the second line of code were not always recognized correctly. ........ r60170 | georg.brandl | 2008-01-21 19:36:51 +0100 (Mon, 21 Jan 2008) | 2 lines Add NEWS entry for #1882. ........ r60172 | georg.brandl | 2008-01-21 19:41:24 +0100 (Mon, 21 Jan 2008) | 2 lines Use original location of document, which has translations. ........ r60173 | walter.doerwald | 2008-01-21 21:18:04 +0100 (Mon, 21 Jan 2008) | 2 lines Follow PEP 8 in module docstring. ........ r60175 | georg.brandl | 2008-01-21 21:20:53 +0100 (Mon, 21 Jan 2008) | 2 lines Adapt to latest doctools refactoring. ........
* Convert print statements to function calls in Tools/.Collin Winter2007-08-033-17/+16
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-1/+1
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Remove apply()Neal Norwitz2006-03-171-1/+1
|
* Ported from 2.4 branch:Barry Warsaw2006-01-011-2/+2
| | | | Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
* Fix all wrong instances of "it's".Georg Brandl2005-07-222-2/+2
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-183-6/+6
|
* Patch #812378: Normalize white space.Martin v. Löwis2003-10-242-114/+114
|
* Fix for SF bug #780996, crash when no .pynche file exists and -dBarry Warsaw2003-09-031-2/+4
| | | | | | | | option is not given. If dbfile isn't given and can't be retrieved from the optionsdb, just initialize it to the first element in RGB_TXT. Backport candidate.
* FILETYPES: Newer XFree86 rgb.txt files use the key Xorg instead ofBarry Warsaw2002-10-211-67/+68
| | | | XConsortium. Now we can recognize these files!
* Some fixes based on feedback from Hans Petter Langtangen.Barry Warsaw2002-10-211-41/+44
| | | | | | | | | | | | | | build(): Fix the logic here for calculating fallbacks if the dbfile isn't parseable. main(): Fix the semantics for -d/--database; this should override any database value found in the .pynche file. Update some comments, and author contact info. Bump to v1.4 Whitespace normalization.
* Fix a typo, update (only one) style improvement, whitespaceBarry Warsaw2002-10-211-5/+5
| | | | normalization.
* Bump to version 1.3. Also document the new behavior of the chip widgets.Barry Warsaw2001-08-231-8/+17
|
* Bump to version 1.3Barry Warsaw2001-08-231-1/+1
|
* Implement some suggestions by Laura Creighton.Barry Warsaw2001-08-231-6/+28
| | | | | | | | | | | | | | | | | | | | | | | ChipWidget.__init__(): Added a message area just below the color name. Both the message and name widgets are now FLAT, DISABLED Entry widgets instead of Labels. This allows users to copy-n-paste the color names or color specs. Also, the contents of both widgets are now driven by StringVars. set_color(): This only sets the chip color; it does not set the name widgets. set_name(): New method which only sets the name widget contents. set_message(): New method which only sets the message widget contents. ChipViewer.update_yourself(): Set the color, name, and message for each chip as follows: the first line always contains the color spec in #rrggbb format. The second line will contain the color name, but slightly differently for each widget. For the Selected widget, if the color exactly matches the Nearest color, the name is shown, otherwise the message field will be empty. The name field of the Nearest widget will always contain the color name.
* Change the way hex type-ins are displayed. The old way was way tooBarry Warsaw2001-07-101-48/+53
| | | | | | | | fragile. Now the leading "0x" on hex numbers are displayed as labels and the type-in entry fields just accept the hex digits. Be sure to strip off the "0x" string when displaying hex values too. Also, de-string-module-ification, and other Python 2.x improvements.
* __init__(), save_views(): Catch ValueError along with IOError andBarry Warsaw2001-07-101-6/+7
| | | | | EOFError so any failures in unmarshalling are just ignored. Use print>> instead of sys.stderr.write().
* Update a comment.Barry Warsaw2001-07-101-2/+4
|
* __init__(): Use augmented assignments.Barry Warsaw2001-07-101-3/+5
|
* De-string-module-ification.Barry Warsaw2001-07-102-10/+11
|
* __version__: Bump to 1.2Barry Warsaw2001-07-101-6/+8
| | | | De-string-module-ification.
* __populate(): Use augmented assignments.Barry Warsaw2001-07-101-1/+1
|
* __delta(): Use augmented assignments.Barry Warsaw2001-07-101-6/+6
|
* De-string-module-ification and other Python 2.x improvements.Barry Warsaw2001-07-101-29/+18
|
* Update a comment.Barry Warsaw2001-07-101-1/+1
|
* Updated documentation, and bump the version number to 1.2.Barry Warsaw2001-07-101-10/+25
|
* update_yourself(): Removed unused local variable reported byBarry Warsaw2001-04-181-1/+0
| | | | PyChecker.
* __init__(): Removed unused local variable reported by PyChecker.Barry Warsaw2001-04-181-1/+0
|
* StripWidget.__init__(), update_yourself(): Removed some unused localBarry Warsaw2001-04-181-21/+20
| | | | | | | | 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.
* Helpwin.__init__(): Removed an unused local variable (via import)Barry Warsaw2001-04-181-1/+1
| | | | reported by PyChecker.
* Bump the version to 1.1Barry Warsaw2001-04-181-1/+1
|
* There have been a few new Python releases <wink> in the 2 years sinceBarry Warsaw2001-04-181-10/+7
| | | | | this tool was last touched! Update some of the introductory material and bump the version to 1.1.
* Special case around some of the nastier annoyances with the type-inBarry Warsaw2001-02-011-6/+25
| | | | | | | fields. You can now backspace out the 0 in 0x0, and you can clear the field when in decimal mode. There are still some oddities about typing into these fields, but it should be much less annoying. The real solution is to ditch the update-while-typing "feature".
* Move the "from Tkinter import *" out of the method and into the moduleBarry Warsaw2001-02-011-1/+2
| | | | | scope (still inside the __name__=='__main__' guard). Necessitated by recent addition of nested scopes.
* make_view_popups(): Catch import error which can occur if a viewer isBarry Warsaw1999-07-061-1/+7
| | | | | | dynamically imported when Pynche is running via askcolor out of a package. If the ImportError occurs, try again, prepending the package name and digging out the module.
* Use the much nicer tkFileDialog for loading color name database filesBarry Warsaw1999-04-271-5/+10
| | | | (thanks Fred!)
* Document that for askcolor(), databasefile and wantspec can now be setBarry Warsaw1999-04-271-2/+2
| | | | on every invocation, instead of just the first.
* askcolor(): databasefile and wantspec can now be set on everyBarry Warsaw1999-04-271-3/+13
| | | | invocation, instead of just the first.