[Patches] [ python-Patches-572113 ] Remove import string in Tools/ directory

noreply@sourceforge.net noreply@sourceforge.net
Sat, 07 Sep 2002 21:57:03 -0700


Patches item #572113, was opened at 2002-06-21 10:52
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=572113&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
>Assigned to: Raymond Hettinger (rhettinger)
Summary: Remove import string in Tools/ directory

Initial Comment:
This patch replace string module functions with string
methods and removes the "import string" for the stuff
in the Tools directory. A few "import string"
statements are still remaining:

scripts/texi2html.py still uses string.ascii_letters,
string.digits, etc.

modulator/modulator.py still uses string.letters and
string.digits

freeze/win32.html still mentions the string module

idle/AutoExpand.py still uses string.ascii_letters and
string.digits

idle/CallTips.py still uses string.uppercase,
string.lowercase and string.digits

idle/PyShell.py still uses string.ascii_letters and
string.digits

idle/UndoDelegator.py still uses string.ascii_letters
and string.digits

idle/testcode.py still uses string.capwords()



----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-09-08 00:57

Message:
Logged In: YES 
user_id=6380

Good idea to give it a careful check. I'd suggest to let
Walter to check it in since he did the work though. Or you
two can race for it. :-)

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2002-09-08 00:53

Message:
Logged In: YES 
user_id=80475

Let me know if you want this done.  If so, I'll give it a 
second check (line-by-line) for errors.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=572113&group_id=5470