Invitation to connect on LinkedIn

2009-09-12 Thread suhail shaik
LinkedIn suhail shaik requested to add you as a connection on LinkedIn: -- Jaime, I'd like to add you to my professional network on LinkedIn. - suhail Accept invitation from suhail shaik http://www.linkedin.com/e/I2LlXdLlWUhFABKmxVOlgGLlWUhF

Re: Which version of python I should use if I just start programming in python?

2009-09-12 Thread John Nagle
Kee Nethery wrote: I am in 2.x because the IDE I am using does not support stepping through my code when in 3.x. As soon as the IDE I use supports debugging in 3.x, I'm moving up to 3.x. I would prefer to be in 3.x because all the inconsistencies of how you do things in 2.x make it harder tha

Re: Declaring array of Variables ?

2009-09-12 Thread Lie Ryan
Lennyboi wrote: Can I declare an array of variables in python like in C int p[10]; I looked everywhere, but I don't find any mention of it. p = [] -- http://mail.python.org/mailman/listinfo/python-list

Re: Declaring array of Variables ?

2009-09-12 Thread Chris Rebert
On Sat, Sep 12, 2009 at 9:51 PM, Lennyboi wrote: > Can I declare an array of variables in python like in C > > int p[10]; > > I looked everywhere, but I don't find any mention of it. Python doesn't have C-like variable declarations, and it does not have arrays of static length. The closest you ca

Re: Finite state machine in python

2009-09-12 Thread CTO
On Sep 12, 4:39 pm, Peng Yu wrote: > Hi, > > I have see some discussion on the implementation of finite state > machine in python. Can somebody point to me the best way in implenting > an FSM in python? > > http://code.activestate.com/recipes/146262/ > > Regards, > Peng I wrote an example of how

Declaring array of Variables ?

2009-09-12 Thread Lennyboi
Can I declare an array of variables in python like in C int p[10]; I looked everywhere, but I don't find any mention of it. Thanks, Lenny -- http://mail.python.org/mailman/listinfo/python-list

Re: How to define a function with an empty body?

2009-09-12 Thread Mel
Peng Yu wrote: > Hi, > > I want to define a function without anything in it body. In C++, I can > do something like the following because I can use "{}" to denote an > empty function body. Since python use indentation, I am not sure how > to do it. Can somebody let me know how to do it in python?

Re: How to define a function with an empty body?

2009-09-12 Thread Chris Rebert
On Sat, Sep 12, 2009 at 8:37 PM, Peng Yu wrote: > Hi, > > I want to define a function without anything in it body. In C++, I can > do something like the following because I can use "{}" to denote an > empty function body. Since python use indentation, I am not sure how > to do it. Can somebody let

How to define a function with an empty body?

2009-09-12 Thread Peng Yu
Hi, I want to define a function without anything in it body. In C++, I can do something like the following because I can use "{}" to denote an empty function body. Since python use indentation, I am not sure how to do it. Can somebody let me know how to do it in python? void f() { } Regards, Pen

Re: list as an instance attribute

2009-09-12 Thread Chris Rebert
Cheers, Chris -- http://blog.rebertia.com On Sat, Sep 12, 2009 at 8:22 PM, André wrote: > On Sep 12, 11:48 pm, Daniel Luis dos Santos > wrote: >> Hello, >> >> I have an object definition : >> >> class primitive: >> >>         def __init__(self) >>                 self.name = "" >>            

Re: Which version of python I should use if I just start programming in python?

2009-09-12 Thread Kee Nethery
I am in 2.x because the IDE I am using does not support stepping through my code when in 3.x. As soon as the IDE I use supports debugging in 3.x, I'm moving up to 3.x. I would prefer to be in 3.x because all the inconsistencies of how you do things in 2.x make it harder than it needs to be

Re: list as an instance attribute

2009-09-12 Thread André
On Sep 12, 11:48 pm, Daniel Luis dos Santos wrote: > Hello, > > I have an object definition : > > class primitive: > >         def __init__(self) >                 self.name = "" >                 self.transforms = [] > >         def copy(self, copyName) > >                 copy = self.copyInterna

list as an instance attribute

2009-09-12 Thread Daniel Luis dos Santos
Hello, I have an object definition : class primitive: def __init__(self) self.name = "" self.transforms = [] def copy(self, copyName) copy = self.copyInternalState(copyName) # method defined elsewhere in derived class if se

Re: Finite state machine in python

2009-09-12 Thread Tim Chase
I have see some discussion on the implementation of finite state machine in python. Can somebody point to me the best way in implenting an FSM in python? To offer a "best way" requires knowing more about what you're trying to accomplish. Are you looking for just some fixed states? are you lo

Re: platform-specific overrides of functions and class methods (expanding on imputils demo code)

2009-09-12 Thread Aahz
In article , Terry Reedy wrote: >lkcl wrote: >> On Aug 21, 12:58 am, a...@pythoncraft.com (Aahz) wrote: >>> In article >>> <77715735-2668-43e7-95da-c91d175b3...@z31g2000yqd.googlegroups.com>, >>> lkcl wrote: if somebody would like to add this to the python bugtracker, as a contr

Re: Which version of python I should use if I just start programming in python?

2009-09-12 Thread Terry Reedy
Peng Yu wrote: On Sep 12, 4:10 pm, Terry Reedy wrote: Peng Yu wrote: Hi, I just start python programming. That is, I don't have any legacy code. I notice that there are different versions of python. I would guess that older version of python has the more libraries than newer versions. But the

Re: Podcast catcher in Python

2009-09-12 Thread Someone Something
C shouldn't be very hard. You just get the url of the file you want to connect to, then just use the normal connect sequence and read the file and print it out to the UNIX shell, then at the unix shell, just pipe it to an MP3. Or you could just do it with FILE *. On Sat, Sep 12, 2009 at 4:37 PM, Ch

Re: string interpolation mystery in Python 2.6

2009-09-12 Thread Alan G Isaac
On 9/11/2009 9:42 PM, Steven D'Aprano wrote: However, I must admit I'm perplexed why the original example is calling __unicode__() in the first place! Given the line: raise self.severe('Problems with "%s" directive path:\n%s: %s.' % (self.name, error.__class__.__name__, error)) it looks to

Re: Where regexs listed for Python language's tokenizer/lexer?

2009-09-12 Thread Robert Kern
Dennis Lee Bieber wrote: On Fri, 11 Sep 2009 23:10:39 -0700 (PDT), Chris Seberino declaimed the following in gmane.comp.python.general: Where regexs listed for Python language's tokenizer/lexer? If I'm not mistaken, the grammar is not sufficient to specify the language you also need to sp

Re: Which version of python I should use if I just start programming in python?

2009-09-12 Thread Peng Yu
On Sep 12, 4:10 pm, Terry Reedy wrote: > Peng Yu wrote: > > Hi, > > > I just start python programming. That is, I don't have any legacy > > code. I notice that there are different versions of python. I would > > guess that older version of python has the more libraries than newer > > versions. But

Re: Which version of python I should use if I just start programming in python?

2009-09-12 Thread r
On Sep 12, 3:47 pm, Peng Yu wrote: > Hi, > > I just start python programming. That is, I don't have any legacy > code. I notice that there are different versions of python. I would > guess that older version of python has the more libraries than newer > versions. But the code developed in newer ve

Re: Question regarding handling of Unicode data in Devnagari

2009-09-12 Thread Mark Tolonen
"joy99" wrote in message news:fade868b-6a69-4b74-a8e8-9c28a1617...@p10g2000prm.googlegroups.com... Dear Group, As per the standard posted by the UNICODE for the Devnagari script used for Hindi and some other languages of India, we have a standard set, like from the range of 0900-097F. Where,

Re: Where regexs listed for Python language's tokenizer/lexer?

2009-09-12 Thread Duncan Booth
Paul McGuire wrote: > On Sep 12, 1:10 am, Chris Seberino wrote: >> Where regexs listed for Python language's tokenizer/lexer? >> >> If I'm not mistaken, the grammar is not sufficient to specify the >> language >> you also need to specify the regexs that define the tokens >> right?..where is

Re: Which version of python I should use if I just start programming in python?

2009-09-12 Thread Terry Reedy
Peng Yu wrote: Hi, I just start python programming. That is, I don't have any legacy code. I notice that there are different versions of python. I would guess that older version of python has the more libraries than newer versions. But the code developed in newer versions might be better support

Re: Where regexs listed for Python language's tokenizer/lexer?

2009-09-12 Thread Paul McGuire
On Sep 12, 1:10 am, Chris Seberino wrote: > Where regexs listed for Python language's tokenizer/lexer? > > If I'm not mistaken, the grammar is not sufficient to specify the > language > you also need to specify the regexs that define the tokens > right?..where is that? I think the OP is askin

Which version of python I should use if I just start programming in python?

2009-09-12 Thread Peng Yu
Hi, I just start python programming. That is, I don't have any legacy code. I notice that there are different versions of python. I would guess that older version of python has the more libraries than newer versions. But the code developed in newer versions might be better supported in the future.

Re: Podcast catcher in Python

2009-09-12 Thread Chuck
On Sep 11, 9:54 pm, Chris Rebert wrote: > On Fri, Sep 11, 2009 at 7:43 PM, Chuck wrote: > > Does anyone know how I should read/download the mp3 file, and how I > > should write/save it so that I can play it on a media player such as > > Windoze media player?  Excuse my ignorance, but I am a compl

Finite state machine in python

2009-09-12 Thread Peng Yu
Hi, I have see some discussion on the implementation of finite state machine in python. Can somebody point to me the best way in implenting an FSM in python? http://code.activestate.com/recipes/146262/ Regards, Peng -- http://mail.python.org/mailman/listinfo/python-list

Re: is there a "strawberry python"?

2009-09-12 Thread Daniel Fetchinson
> the reason I like strawberry perl is that I don't need to have admin right > to install it. i can just unzip it and start the game. > i am wondering if there is something similar in python community. > > any insight will be appreciated! As far as I remember there are python installations on USB

Re: Programming ideas?

2009-09-12 Thread Daniel Fetchinson
> I know you've probably had this question a million and one times but here it > is again. I'm intermediate at C, pretty good at Java (though I really don't > want to program in this), okay at perl and I've just learned python. But, I > have no more ideas to write programs/scripts for! Any ideas wi

Re: CPU usage while reading a named pipe

2009-09-12 Thread Miguel P
On Sep 12, 2:54 pm, Ned Deily wrote: > In article > , >  Miguel P wrote: > > > > > I've been working on parsing (tailing) a named pipe which is the > > syslog output of the traffic for a rather busy haproxy instance. It's > > a fair bit of traffic (upto 3k hits/s per server), but I am finding > >

Re: Question regarding handling of Unicode data in Devnagari

2009-09-12 Thread Stephen Hansen
> > As per the standard posted by the UNICODE for the Devnagari script > used for Hindi and some other languages of India, we have a standard > set, like from the range of 0900-097F. > Where, we have numbers for each character: > like 0904 for Devnagari letter short a, etc. > Now, if write a progra

Re: CPU usage while reading a named pipe

2009-09-12 Thread Ned Deily
In article , Miguel P wrote: > I've been working on parsing (tailing) a named pipe which is the > syslog output of the traffic for a rather busy haproxy instance. It's > a fair bit of traffic (upto 3k hits/s per server), but I am finding > that simply tailing the file in python, without any pro

Re: Project euler no. 3

2009-09-12 Thread Dave Angel
Kee Nethery wrote: in checkPrime what do you return when "x" is less than 2? On Sep 12, 2009, at 8:46 AM, Someone Something wrote: But, I'm returning true or false right? On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: Someone Something wrote: Project euler (in case you don't know: projecte

Re: Question regarding handling of Unicode data in Devnagari

2009-09-12 Thread MRAB
joy99 wrote: Dear Group, As per the standard posted by the UNICODE for the Devnagari script used for Hindi and some other languages of India, we have a standard set, like from the range of 0900-097F. Where, we have numbers for each character: like 0904 for Devnagari letter short a, etc. Now, if

Question regarding handling of Unicode data in Devnagari

2009-09-12 Thread joy99
Dear Group, As per the standard posted by the UNICODE for the Devnagari script used for Hindi and some other languages of India, we have a standard set, like from the range of 0900-097F. Where, we have numbers for each character: like 0904 for Devnagari letter short a, etc. Now, if write a program

Re: CPU usage while reading a named pipe

2009-09-12 Thread MRAB
Miguel P wrote: Hey everyone, I've been working on parsing (tailing) a named pipe which is the syslog output of the traffic for a rather busy haproxy instance. It's a fair bit of traffic (upto 3k hits/s per server), but I am finding that simply tailing the file in python, without any processing

Re: Project euler no. 3

2009-09-12 Thread Someone Something
Anyone? On Sat, Sep 12, 2009 at 11:46 AM, Someone Something wrote: > But, I'm returning true or false right? > > On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: > >> Someone Something wrote: >> >>> Project euler (in case you don't know: projecteuler.net < >>> http://projecteuler.net>) >>> >>> I'm

Re: Problem with the inclusion of new files like lxml, django, numpy, etc.

2009-09-12 Thread joy99
On Sep 11, 10:19 pm, Robert Kern wrote: > On 2009-09-11 11:39 AM,joy99wrote: > > > > > > > Dear Group, > > > I am trying to download the following files, > > a) lxml, > > b) numpy, > > c) scipy, and > > d) django. > > > I am trying to include them in C\python26\Lib > > > But they are giving error

Re: Project euler no. 3

2009-09-12 Thread Kee Nethery
in checkPrime what do you return when "x" is less than 2? On Sep 12, 2009, at 8:46 AM, Someone Something wrote: But, I'm returning true or false right? On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: Someone Something wrote: Project euler (in case you don't know: projecteuler.net

Re: Project euler no. 3

2009-09-12 Thread MRAB
Someone Something wrote: But, I'm returning true or false right? No. If you don't explicitly return a value then None will be returned. On Sat, Sep 12, 2009 at 11:32 AM, MRAB > wrote: Someone Something wrote: Project euler (in case you don't kn

Re: ImageFont family mojibake

2009-09-12 Thread Donn
On Saturday 12 September 2009 17:30:19 garabik- news-2005...@kassiopeia.juls.savba.sk wrote: > apt-get install unicode > unicode 0100.. Nice tip, thanks. > if you see a lot of accented letters (and not squares or question marks), > you can be sure I see the accented chars -- so now I am more cert

Re: Writing a thread-safe class

2009-09-12 Thread sturlamolden
On 12 Sep, 15:54, Timothy Madden wrote: > I find that hard to believe, but I will look into it. Carl Banks is correct. There is a mutex called "the global interpreter lock" that takes care of this. You can have multiple threads running, but access to the Python interpreter is serialized. --

Re: Project euler no. 3

2009-09-12 Thread Someone Something
But, I'm returning true or false right? On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: > Someone Something wrote: > >> Project euler (in case you don't know: projecteuler.net < >> http://projecteuler.net>) >> >> I'm trying to do the third one and here's my current code: >> >> 1 def checkPrime (x

Re: ImageFont family mojibake

2009-09-12 Thread garabik-news-2005-05
Donn wrote: > On Saturday 12 September 2009 07:55:14 Lie Ryan wrote: >> > f=ImageFont.truetype("FGTshgyo.TTF",1,encoding="utf-8") >> > print f.font.family >> > '?s' >> Are you sure that your terminal (Command Prompt/bash/IDLE/etc) supports >> utf-8 and that it is properly set up to display

Re: Project euler no. 3

2009-09-12 Thread MRAB
Someone Something wrote: Project euler (in case you don't know: projecteuler.net ) I'm trying to do the third one and here's my current code: 1 def checkPrime (x): 2 factors=2; 3 while factors<=x: 4 if x==factors: 5 return True;

Project euler no. 3

2009-09-12 Thread Someone Something
Project euler (in case you don't know: projecteuler.net) I'm trying to do the third one and here's my current code: 1 def checkPrime (x): 2 factors=2; 3 while factors<=x: 4 if x==factors: 5 return True; 6 elif x%factors==0: 7 return Fa

Re: Programming ideas?

2009-09-12 Thread Dave Angel
Someone Something wrote: I know you've probably had this question a million and one times but here it is again. I'm intermediate at C, pretty good at Java (though I really don't want to program in this), okay at perl and I've just learned python. But, I have no more ideas to write programs/script

Re: Creating a local variable scope.

2009-09-12 Thread Daniel Stutzbach
On Sat, Sep 12, 2009 at 10:02 AM, Ethan Furman wrote: > That's probably why he called it as: > with do_nothing() as *imaginary*_local_scope: >... >del spam, eggs, imaginary_local_scope > > and then as the last item deleted all the variables, except the one he > wanted to keep. > You're a

is there a "strawberry python"?

2009-09-12 Thread Wensui Liu
the reason I like strawberry perl is that I don't need to have admin right to install it. i can just unzip it and start the game. i am wondering if there is something similar in python community. any insight will be appreciated! -- == WenSui Liu Blog : statcompute.s

CPU usage while reading a named pipe

2009-09-12 Thread Miguel P
Hey everyone, I've been working on parsing (tailing) a named pipe which is the syslog output of the traffic for a rather busy haproxy instance. It's a fair bit of traffic (upto 3k hits/s per server), but I am finding that simply tailing the file in python, without any processing, is taking up 15%

Re: Variables vs attributes

2009-09-12 Thread Steven D'Aprano
On Sat, 12 Sep 2009 00:39:17 -0700, Miles Kaufmann wrote: > On Apr 17, 2009, at 8:56 PM, Steven D'Aprano wrote: >> If an integer variable is an integer, and a string variable is a >> string, >> and float variable is a float, and a list variable is a list (there's a >> pattern here), shouldn't a cl

Re: Creating a local variable scope.

2009-09-12 Thread Ethan Furman
Daniel Stutzbach wrote: On Fri, Sep 11, 2009 at 8:29 PM, Steven D'Aprano > wrote: (4) Create a "do nothing" context manager allowing you to visually indent the block, but otherwise have no effect: "with" doesn't create a new scope. Th

Re: Modifying a row in a textfile

2009-09-12 Thread Dave Angel
Jorgen Grahn wrote: On Tue, 08 Sep 2009 14:21:59 +0200, Diez B. Roggisch wrote: Olli Virta wrote: Hi! I got a textfile made out of database records. Is there an easy way to modify rows in that file in case you have to take away some items here and there from each rows. for l

Re: Programming ideas?

2009-09-12 Thread exarkun
On 02:30 pm, fordhai...@gmail.com wrote: Thanks a lot! Also, can someone suggest some ideas for a medium sized or small sized project? Here are some things you could do to contribute to an existing project: http://bit.ly/easy-twisted-tickets Jean-Paul -- http://mail.python.org/mailman/listi

Re: Programming ideas?

2009-09-12 Thread Someone Something
Thanks a lot! Also, can someone suggest some ideas for a medium sized or small sized project? On Sat, Sep 12, 2009 at 10:25 AM, Mark Tolonen > wrote: > > "Someone Something" wrote in message > news:e196a4050909120713m76592252r9e89fb24fdaae...@mail.gmail.com... > > I know you've probably had t

Re: Programming ideas?

2009-09-12 Thread Mark Tolonen
"Someone Something" wrote in message news:e196a4050909120713m76592252r9e89fb24fdaae...@mail.gmail.com... I know you've probably had this question a million and one times but here it is again. I'm intermediate at C, pretty good at Java (though I really don't want to program in this), okay at p

Programming ideas?

2009-09-12 Thread Someone Something
I know you've probably had this question a million and one times but here it is again. I'm intermediate at C, pretty good at Java (though I really don't want to program in this), okay at perl and I've just learned python. But, I have no more ideas to write programs/scripts for! Any ideas will be he

Re: PyWin editor modification

2009-09-12 Thread Mark Tolonen
"C or L Smith" wrote in message news:0bfe194edbb6410cb3b319cdda601...@kisc.edu.np... The PyWin editor that comes with the Windows distribution is a great little workhorse. If you have used it you perhaps notice how it intelligently works with spaces and indentation, e.g. after typing the wor

Re: Writing a thread-safe class

2009-09-12 Thread Timothy Madden
Carl Banks wrote: [...] You are not correct. Dictionary operation (like getting and setting items) are atomic and limited to one thread at a time, thus thread- safe. > (In fact, in CPython only one thread can execute Python code at a time, in most cases. This is called the Global Interpreter

Re: Modifying a row in a textfile

2009-09-12 Thread Jorgen Grahn
On Tue, 08 Sep 2009 14:21:59 +0200, Diez B. Roggisch wrote: > Olli Virta wrote: > >> Hi! >> >> I got a textfile made out of database records. Is there an easy way to >> modify rows in that file in case you have to take away some items here >> and there from each rows. > > for line in inf.readlin

Re: Distutils - can user designate install directory for windows installer?

2009-09-12 Thread Jorgen Grahn
On Wed, 09 Sep 2009 09:10:38 +1000, Mark Hammond wrote: > On 9/09/2009 1:57 AM, Timothy W. Grove wrote: >> I have successfully built a windows installer for my python program >> using distutils, (python setup.py bdist_wininst), but is there a way to >> do it that will allow a user ('user' == 'boss

Re: Creating a local variable scope.

2009-09-12 Thread Daniel Stutzbach
On Fri, Sep 11, 2009 at 8:29 PM, Steven D'Aprano < st...@remove-this-cybersource.com.au> wrote: > (4) Create a "do nothing" context manager allowing you to visually indent > the block, but otherwise have no effect: > "with" doesn't create a new scope. Observe: Python 2.6.2 (r262:71600, Apr 15 2

Re: how to return value from button clicked by python

2009-09-12 Thread Hendrik van Rooyen
On Saturday 12 September 2009 06:57:26 Tim Roberts wrote: > chen tao wrote: > > I have several buttons, I want to realize: when I click first > >button, the button will call a function, and the function should > >return some parameter value, because I need this value for the other > >buttons.

Re: Dataflow programming in Python

2009-09-12 Thread Anh Hai Trinh
> Does it have any advantage to generator comprehension? > > import re > mm = mapmethod('strip')        # Is mapmethod something in the stdlib? > pat = re.compile('[Pp]attern') > result = (mm(line) for line in open('log') if pat.search(line)) > > which is also lazy Generator expression accomplishe

Re: Creating a local variable scope.

2009-09-12 Thread Jorgen Grahn
On Fri, 11 Sep 2009 19:07:55 -0700 (PDT), Bearophile wrote: ... > No need to add other things to the > language as the OP suggests. He didn't suggest that (although he did give examples from other languages). Personally ... yes, I sometimes feel like the OP, but usually if I want that kind of s

Re: Python C/API Problem

2009-09-12 Thread Gianfranco Murador
Ok, I solved the previous error changing the second argument , but i have another question. Does PyNode_Compile function store the object code in the file passed as argument? And it will be execute by python? I mean, it works if i type 'python prova.pyc'? Thank. -- http://mail.python.org/mailman/l

Re: Mapping in python? Transforming shapefile so that basemap can read them?

2009-09-12 Thread Andrew MacIntyre
C Barr Leigh wrote: I'm trying to get started with plotting maps in python. I need to read "shape files" (.shp) and make maps. There seem to be many efforts but none is complete? I'm looking for suggestions and troubleshooting. The basemap package is obviously at an impressive stage and comes wi

Re: ImageFont family mojibake

2009-09-12 Thread Donn
On Saturday 12 September 2009 07:55:14 Lie Ryan wrote: > > f=ImageFont.truetype("FGTshgyo.TTF",1,encoding="utf-8") > > print f.font.family > > '?s' > Are you sure that your terminal (Command Prompt/bash/IDLE/etc) supports > utf-8 and that it is properly set up to display utf-8? Fairly sure.

PyWin editor modification

2009-09-12 Thread C or L Smith
The PyWin editor that comes with the Windows distribution is a great little workhorse. If you have used it you perhaps notice how it intelligently works with spaces and indentation, e.g. after typing the word 'pass' and pressing enter it dedents one level as you would probably desire. It also st

Re: string interpolation mystery in Python 2.6

2009-09-12 Thread Vlastimil Brom
2009/9/12 Steven D'Aprano : > On Fri, 11 Sep 2009 15:19:05 -0700, Chris Rebert wrote: > >> Sounds like IOError or one of its ancestors defines both __str__() and >> __unicode__ () special methods but has them produce different output. > > > That's what it looks like to me too, which I wouldn't call

Re: Python C/API Problem

2009-09-12 Thread Gianfranco Murador
Yes, i've done some debugging and the error is on PyParser_SimpleParseString(..) call. I'll try to change the second arguments.. Thank to all. -- http://mail.python.org/mailman/listinfo/python-list

Re: Variables vs attributes

2009-09-12 Thread Miles Kaufmann
On Apr 17, 2009, at 8:56 PM, Steven D'Aprano wrote: If an integer variable is an integer, and a string variable is a string, and float variable is a float, and a list variable is a list (there's a pattern here), shouldn't a class variable be a class and an instance variable be an instance? I