'Intellisense' possible for Python?

Cameron Laird claird at lairds.com
Thu Dec 19 11:00:03 EST 2002


In article <3e012e56$1$1404$272ea4a1 at news.execpc.com>,
Greg Brunet <gbrunet at nospamsempersoft.com> wrote:
>Thanks for the response & points!
>
>"Peter Hansen" <peter at engcorp.com> wrote in message
>news:3E00F4F5.11997662 at engcorp.com...
>> The problem is not that Python doesn't "declare" its variables, so
>much
>> as that in Python, variables *do not have a type*.  The data/objects
>to
>> which variable names are bound do have type, but those types cannot be
>> known reliably until runtime, and in fact could change from one pass
>> through a given line of code to the next.
>
>Understood - in fact in VB Script, all variables are untyped (though
>they can be declared (without a type), which helps catch some errors).
>However, I would argue that for most code, a variable will keep the same
>type of information in each pass. (I would expect a loop counter to
>always contain an integer or a long each time that section of code is
>executed).  I realize that it's highly unlikely for Python to change and
>_require_ variable declaration, but it it allowed it, which seemed to be
>under consideration in the articles I found, then it would be possible
>to
			.
			.
			.
More reading of potential interest: <URL: http://
www.unixreview.com/documents/s=2426/uni1018986621203/0204h.htm >.
-- 

Cameron Laird <Cameron at Lairds.com>
Business:  http://www.Phaseit.net
Personal:  http://phaseit.net/claird/home.html



More information about the Python-list mailing list