Re: Possible constant assignment operators ":=" and "::=" for Python

2006-05-03 Thread tsaar2003
> are you sure you know how Python's object model work ? if you do, please > explain your proposal in terms of what needs to be changed, rather than in > terms of wishful thinking. No, I do not know. As stated in my first post, I am quite newbie in Python and miss a simple and intuitive mechanism

Re: Possible constant assignment operators ":=" and "::=" for Python

2006-05-03 Thread tsaar2003
Yes, I know that "constant" A will also be modified as the b[0] points to A. Obviously the [] should be marked as immutable, as A is declared to be constant thus immutable. If somebody tries to modify this immutable object an error would occur. When I further thought about this problem with consta

Re: Possible constant assignment operators ":=" and "::=" for Python

2006-05-02 Thread tsaar2003
Bruno Desthuilliers wrote: > [EMAIL PROTECTED] a écrit : > > Hi Pythonians, > > > > To begin with I'd like to apologize that I am not very experienced > > Python programmer so please forgive me if the following text does not > > make any sense. > > > > I have been missing constants in Python langua

Possible constant assignment operators ":=" and "::=" for Python

2006-04-28 Thread tsaar2003
Hi Pythonians, To begin with I'd like to apologize that I am not very experienced Python programmer so please forgive me if the following text does not make any sense. I have been missing constants in Python language. There are some workarounds available, for example the const-module. To me, this