By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,001 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,001 IT Pros & Developers. It's quick & easy.

python object model diagram

P: n/a

anyone out there know where i might find a python object model diagram?

cheers.

-a
--
================================================== =============================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze. --Nagarjuna
================================================== =============================

Sep 9 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Ara.T.Howard wrote:

anyone out there know where i might find a python object model diagram?


Python is a programming language; they don't have object model diagrams.

Or maybe you're referring to the Python *source* code? That's in C,
which isn't object oriented and wouldn't have an object model diagram
either.

What is it you really want?

-Peter
Sep 9 '05 #2

P: n/a
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html
http://www.jython.org/docs/javadoc/overview-tree.html

, there's pictures of method resolution order in Python Nutshell, (but
I don't think that's what he's looking for.)

Ara.T.Howard wrote:
anyone out there know where i might find a python object model diagram?


Sep 10 '05 #3

P: n/a

I think he's looking for diagrams of the batteries-included modules and
classes.
My guess is that he thinks there's a set of "framework" classes that is a
lot deeper and class-ier than it is, similar to what you'd find in C++, C#,
Java, etc.

So, OP - who won the guessing game :)

m

"gene tani" <ge*******@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html
http://www.jython.org/docs/javadoc/overview-tree.html

, there's pictures of method resolution order in Python Nutshell, (but
I don't think that's what he's looking for.)

Ara.T.Howard wrote:
anyone out there know where i might find a python object model diagram?

Sep 10 '05 #4

P: n/a
On Fri, 9 Sep 2005, gene tani wrote:
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html
this is along the lines of what i was asking alright.
http://www.jython.org/docs/javadoc/overview-tree.html


can one assume this hierarchy maps well to the actual python/c one? i'd
imagine it's close at least...

thanks for the links!

regards.

-a
--
================================================== =============================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze. --Nagarjuna
================================================== =============================

Sep 10 '05 #5

P: n/a
gene tani wrote:
I think he's looking for tidy pictures of how metaclasses and
descriptors interact with your classes and instances at compile- &
runtime, something like that (which I haven't seen)

There's pictures of the class hierarchy for C and j-python:

http://www.brpreiss.com/books/opus7/html/page114.html


Hmm... isn't that just a diagram of one guy's set of classes (Bruce, who
wrote a book about data structures apparently), not of anything
particularly specific to Python. For example, standard Python certainly
doesn't have any class called MultisetAsLinkedList.

But you could be right that he's looking for a class hierarchy diagram.
If so, the question is still "of what classes?".

-Peter
Sep 10 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.