Maintainability (was Re: Stackless & String-processing)

Fred L. Drake fdrake at cnri.reston.va.us
Fri Jul 23 10:42:13 EDT 1999


Amit Patel writes:
 > Here's a gotcha with import *:
 > 
 > import re
 > from string import *  # Great whenever you're doing string processing
 > re.compile('abc')

Amit,
  This specific problem isn't present in the version in the CVS
repository; was it still a problem with the 1.5.2 release?  Looking
through string.py, I didn't see any other problems of unintentionally
exported symbols.


  -Fred

--
Fred L. Drake, Jr.	     <fdrake at acm.org>
Corporation for National Research Initiatives




More information about the Python-list mailing list