On Jun 28, 2006, at 8:12 AM, Diez B. Roggisch wrote:

> I doubt that is doable - there is no way (except maybe from entering
> trace-mode and monitor the modules dictionary, so make that an  
> "easy way" and
> "doable but difficult") to get the order of declarations. And it  
> would still
> require the user to rearange things - not very convenient.

I believe that it is actually possible to get the line numbers of  
objects (at least in CPython). I used this myself with something I  
was doing at one point... gather up the line numbers and sort by that.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to