A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-list/2001-April/084610.html below:

Class Variable Question

Class Variable Question Class Variable QuestionAlex Martelli aleaxit at yahoo.com
Tue Apr 10 08:21:55 EDT 2001
"Ken Seehof" <kens at sightreader.com> wrote in message
news:mailman.986858653.28960.python-list at python.org...
"""
This is interesting in that I often want to do the exact opposite in
C++.  That is, I want to add extra data to an existing object,
especially when this is -not- intended by the author of the original
code, who neglected to add in a "void *pUserData" for me.
"""

It happens (oh *Lord* does it ever).  When it does, of course,
one kludges it up with a mapping from the external objects to
one's own extensions (bleah -- but better than falling into the
trap of forking the externally-supplied 'external objects',
even if you do have sources for them... maintenance becomes
a nightmare when you do fall into that trap).


Alex




More information about the Python-list mailing list

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