The following forum message was posted by  at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4556254:

Hello,
There's an open unassigned bug regarding variable renaming:
https://sourceforge.net/tracker/index.php?func=detail&aid=3028882&group_id=85796
&atid=577329

The scenario is as follows:
[code]@decorate(name="name")
def func():
name = "name"
print(name)[/code]
Renaming the 'name' variable inside func() to 'name2' would result in the
following code:
[code]@decorate([b]name2[/b]=[b]"name2"[/b])
def func():
name2 = [b]"name2"[/b]
print(name2)[/code]
The code marked in bold should not have been changed during the rename.

This is a useful feature, I hope someone could take ownership of this.

Thanks,
Amnon

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to