A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008067.html below:

[Python-Dev] A question for the Python Secret Police

[Python-Dev] A question for the Python Secret Police [Python-Dev] A question for the Python Secret PoliceJack Jansen jack@oratrix.nl
Wed, 09 Aug 2000 10:31:27 +0200
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/ ++++






RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4