Re: Can synopsis (be made to) follow Python impo rts?

Eric Hopper <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
On Wed, Dec 22, 2004 at 12:58:00PM -0800, Nathaniel Smith wrote:
> On Wed, Dec 22, 2004 at 08:14:18AM -0800, Eric Hopper wrote:
> > Callgraphs are a little trickier, but I bet it's still possible.
> > Python's scoping rules are very simple and straightforward.  And while
> > you can do some very weird things with executing things in odd scopes,
> > the most common cases are easy to deal with.
> 
> What really breaks this is method calls; unless the object in question
> was constructed a few lines before, you have no idea where a method
> call is actually going... and method calls in Python are, obviously,
> quite common.

You're right.  :-( Though, actually, many methods for user-defined
classes have unique names.  :-) But it's still a huge pain.  I knew it
would be, but I couldn't think of what made it that way, and had to
resort to the scoping thing.

Have fun (if at all possible),
-- 
"It does me no injury for my neighbor to say there are twenty gods or no God.
It neither picks my pocket nor breaks my leg."  --- Thomas Jefferson
"Go to Heaven for the climate, Hell for the company."  -- Mark Twain
-- Eric Hopper ([email protected]  http://www.omnifarious.org/~hopper) --
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBynJNjtsvlOwvazYRAqudAKCWW6h8iFPDjeFp/ArmK9fiQ0LHTwCglsDH
QXxBXZuILG7Wpfe0hX3aU90=
=aSv6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.