[Python-Dev] A question for the Python Secret Police (original) (raw)
Jack Jansen jack@oratrix.nl
Wed, 09 Aug 2000 10:31:27 +0200
- Previous message: [Python-Dev] Lockstep iteration - eureka!
- Next message: [Python-Dev] A question for the Python Secret Police
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A question for the Python Secret Police (or P. Inquisition, or whoever else:-).
Is the following morally allowed:
package1/mod.py: class Foo: def method1(self): ...
package2/mod.py: from package1.mod import *
class Foo(Foo): def method2(self): ...
(The background is that the modules are machine-generated and contain AppleEvent classes. There's a large set of standard classes, such as Standard_Suite, and applications can signal that they implement Standard_Suite with a couple of extensions to it. So, in the Application-X Standard_Suite I'd like to import everything from the standard Standard_Suite and override/add those methods that are specific to Application X)
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | ++++ see http://www.xs4all.nl/~tank/ ++++
- Previous message: [Python-Dev] Lockstep iteration - eureka!
- Next message: [Python-Dev] A question for the Python Secret Police
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]