Is there any point in src/python/swig/random.i?  I don't see that it's used
anywhere, and it messes up trying to use the official python random module:

% m5.debug -i empty.py
[...]
M5 Interactive Console
>>> import random
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/usr/lib/python2.6/random.py", line 71, in <module>
    class Random(_random.Random):
AttributeError: 'module' object has no attribute 'Random'


This works fine if I get rid of the SwigSource('random.i') line in the
appropriate SConscript.

Steve
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to