Two changes:
- add awarning about reconfiguring after Slackware96 fix - add reference to Jim F's ExtensionClass module
This commit is contained in:
parent
b3928d2ffd
commit
8651d27e0a
10
Misc/FAQ
10
Misc/FAQ
|
@ -790,6 +790,10 @@ so that the following links are setup:
|
|||
/lib/libdl.so -> /lib/libdl.so.1
|
||||
/lib/libdl.so.1 -> /lib/libdl.so.1.7.14
|
||||
|
||||
You may have to rerun the configure script, after rm'ing the
|
||||
config.cache file, before you attempt to rebuild python after this
|
||||
fix.
|
||||
|
||||
3.13. Q: Trouble when making modules shared on Linux.
|
||||
|
||||
A. This happens when you have built Python for static linking and then
|
||||
|
@ -930,6 +934,12 @@ wrapper around a built-in object, e.g. (for dictionaries):
|
|||
def values(self): return self.data.values()
|
||||
def has_key(self, key): return self.data.has_key(key)
|
||||
|
||||
A2. See Jim Fulton's ExtensionClass for an example of a mechanism
|
||||
which allows you to have superclasses which you can inherit from in
|
||||
Python -- that way you can have some methods from a C superclass (call
|
||||
it a mixin) and some methods from either a Python superclass or your
|
||||
subclass. See <URL:http://www.digicool.com/papers/ExtensionClass.html>.
|
||||
|
||||
4.3. Q. Is there a curses/termcap package for Python?
|
||||
|
||||
A. Yes -- Lance Ellinghaus has written a module that interfaces to
|
||||
|
|
Loading…
Reference in New Issue