Overriding variables used by base classes

Ben Finney bignose-hates-spam at and-benfinney-does-too.id.au
Fri Nov 14 07:28:38 EST 2003


On 14 Nov 2003 04:17:58 -0800, Corey Lubin wrote:
> from original import *
> someGlobal=2

Your use of "global" and "from foo import *" belie an approach counter
to encapsulation and modularity.  What is it you're trying to achieve?

-- 
 \       "You know I could rent you out as a decoy for duck hunters?"  |
  `\                                                   -- Groucho Marx |
_o__)                                                                  |
Ben Finney <http://bignose.squidly.org/>




More information about the Python-list mailing list