Re: help on handle... methods

wwwjfy <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
On Wed, Feb 10, 2010 at 17:32, Catonano <[email protected]> wrote:

> Dear wwwjfy,
>
> 2010/2/9 wwwjfy <[email protected]>
>
>
>> Hi,
>>    1. You can find it in handleEndHeaders, which decides to call method
>> 'handleStatus_' + status if the method exists.
>>    2.3. These two method are called in method rawDataReceived in class
>> HTTPClient, which is HTTPPageDownloader's parent.
>>
>>    I think you can grep all source files of twisted to find most answers
>> if you don't know where is one method called. :)
>>
>>
> Thank you so much for your help. I found those methods and even verified
> that I would have found them with grep ;-)
>
> Now, since you made me feel embarassed  ;-)  , I want to write a few words
> about why I didn't try myself in the first place.
>
> I self learned with the Squeak Smalltalk, when I was 17. Then I used to
> work in Java, but with VisualAge, that was a Smalltalk IDE applied to Java.
>
> So now I am spoiled, I expect to be able to find parent classes with all
> their methods arranged in a nice GUI with the methods represented as bullets
> that, if clicked, make appear the method code in a frame.
>
> In Smalltalk code pieces weren't even written in files.
>
> Grep really didn't come to my mind :-(
>
> Now that you lighted this bulb to me, I am flabbergasted at how the code
> editing situation sucks, outside of my Smalltalk enchanted world.
>
> I found these methods, but I can't see which class they belong to, I have
> to scroll to the class definition, then scroll back to where I were, but I
> tend to get lost in the process.
>
> Now I'm trying to draw the classes tree I'm interested in on a paper with a
> pencil.
>
> I mean, how is this possible ? Do you people really work this way ?
>
> I don't think there is a perfect way to find where methods like these are
called, unless the IDE is clever enough.
Sometimes I suffered from it.
Maybe it the cost of the flexible. ;)

> Thanks, anyhow, for your help.
> Bye
> Catonano
>
> ---
>> wwwjfy
>>
>> _______________________________________________
>> Twisted-web mailing list
>> [email protected]
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>>
>>
>
>
> --
> La difesa più sicura contro il male è l'estremo individualismo,
> l'originalità di pensiero, la stravaganza, perfino, se volete,
> l'eccentricità… Il male va matto per la solidarietà.
>
> Less than one di Joseph Brodsky
>
> _______________________________________________
> Twisted-web mailing list
> [email protected]
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>
>

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
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.