-
file x2.py
#!/usr/bin/env python2.6
import sys
import guppy
class Test(object):
__slots__ = ('a', 'b')
def __init__(self):
self.a = 1
self.b = 2
if __name__ == '__main__':
num = 500000
l = tuple(Test() for i in xrange(num))
h = guppy.hpy()
print h.heap()
./x2.py
Traceback (most recent call last):
File "./x2.py", line 16, in...
2009-09-05 16:50:51 UTC by nobody
-
When I try to inspect the heap after calling psyco.full(), I get an error. For example:
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import psyco, guppy
>>> x = 1
>>> psyco.full()
>>> guppy.hpy().heap()
Traceback (most recent call last):
File "", line 1, in ...
2009-09-04 17:59:08 UTC by nobody
-
svenil committed revision 80 to the Guppy Python Programming Environment SVN repository, changing 15 files.
2009-08-30 15:15:45 UTC by svenil
-
Hi
I forgot to add that I am under Winxp 64, python 2.6(32bit)
2009-08-02 07:52:17 UTC by nobody
-
Hi
This is what I am getting when I try to install
X:\Python\Py2_6\guppy-0.1.9>setup.py build
running build
running build_py
running build_ext
building 'guppy.sets.setsc' extension
error: Unable to find vcvarsall.bat.
2009-08-02 07:51:35 UTC by nobody