copy on write

2012-01-13 Thread Eduardo Suarez-Santana
I wonder whether this is normal behaviour. I would expect equal sign to copy values from right to left. However, it seems there is a copy-on-write mechanism that is not working. Anyone can explain and provide a working example? Thanks, -Eduardo $ python Python 2.7.2 (default, Oct 31 2011, 11

Re: copy on write

2012-01-13 Thread Eduardo Suarez-Santana
El 13/01/12 11:33, Eduardo Suarez-Santana escribió: I wonder whether this is normal behaviour. Even simpler: $ python Python 2.7.2 (default, Oct 31 2011, 11:54:55) [GCC 4.5.3] on linux2 Type "help", "copyright", "credits" or "license" for more inform

Re: newbie, help with pythonpath

2005-03-04 Thread Eduardo Suarez
ath.append('/usr/local/pygtkglext-1.0.1/lib/python2.3/site-packages/gtk -2.0/gtk') >>> import gtk.gtkgl Traceback (most recent call last): File "", line 1, in ? ImportError: No module named gtkgl >>> sys.path.append('/usr/local/pygtkglext-1.0.1/lib/pyth

newbie, help with pythonpath

2005-03-03 Thread Eduardo Suarez
Hi all, In order not to make a mess my system, i have installed a packaged called pygtkglext in /usr/local/pygtkglext instead of /usr/local (using the --prefix in ./configure). Hence, i have the directories /usr/local/pygtkglext-1.0.1/lib/python2.3/site-packages/gtk-2.0/gtk/gtkgl /usr/local/pygt