gp1313 / iep

Automatically exported from code.google.com/p/iep
0 stars 0 forks source link

magic commands (ls, cd) hide variables #158

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start iep
2. type:

ls = 33
ls

What is the expected output? What do you see instead?
I think that, if ls is defined in python, it should have precedence over the 
magic command 'ls' which shows the directory contents. Similar for cd and the 
others. Obviously, after 'del ls', the magic command should work again

What version of the product are you using? On what operating system?
iep 3.1 in pyzo

Original issue reported on code.google.com by gijsvano...@gmail.com on 25 Jan 2013 at 10:37

GoogleCodeExporter commented 8 years ago
Indeed, such behavior would more closely match for instance the hiding of 
builtin functions.

Original comment by almar.klein@gmail.com on 25 Jan 2013 at 1:11

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 502e946bb660.

Original comment by almar.klein@gmail.com on 25 Jan 2013 at 1:28