<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div>First, thank you to all the development community for this fabulous language (I'm french so my english is a bit...bad and basic). I'm quite new to programming and python is my first language.</div><div>As beginner I had problems to deal with all aliasing stuff (in-place changes or not...). So my suggestion is perhaps not to change this (altough I find it a bit opposite to the python sense...) but to have a real aliasing fonction:</div><div>-----------------------------</div><div>>>> a = 2</div><div>>>> b = alias("a")</div><div>>>> a = 'foo'</div><div>>>> b</div><div>'foo'</div><div>-----------------------------</div><div>b is always a, it doesn't point to the same data, it points to the pointer a itself ! The arg is a string because otherwise the interpreter would give the value as arg, not the pointer.</div><div>It could also be more complexe:</div><div>-----------------------------</div><div>>>> a = 3</div><div>>>> b = alias("(a*3)+2")</div><div>>>> b</div><div>11</div><div>>>> a = 5</div><div>>>> b</div><div>17</div><div>-----------------------------</div><div>Here I alias an expression (that's also why the arg must be a string). But I don't know if this last example is something good because a would have to stay a number (or generate an exception by calling b).</div><div>If a is destroyed, then calling b would generate an exception...I don't have enough experience in python programming to really know how work the garbage collector, so I don't know if a could be destroyed by it.</div><div><br></div><div>This is the end of my suggestion (I hope it wasn't already proposed, else...).</div><div><i>Amicalement</i>,</div><div>Peio</div></body></html>