New issue 2051: PyPy 'super' object has no attribute ....
https://bitbucket.org/pypy/pypy/issue/2051/pypy-super-object-has-no-attribute

LEI WANG:

I thinks this is a bug with PyPy. Initially, my codes works very well with 
Python3 compiler. However when I run the my codes by pypy:

<code>
super(matrixArrayLists, self).clear()
</code>the super class is type object 'list' 

</code>
Wangs-MacBook-Pro:PyMatrix wangyi$ /Users/wangyi/pypy3-2.4.0-osx64/bin/pypy3 
matrixArray.py 
Traceback (most recent call last):
  File "matrixArray.py", line 1840, in <module>
    [['300', '301', '302'], ['310', '311', '312'], ['320', '321', '322']]
  File "matrixArray.py", line 1643, in __init__
    super(matrixArrayNum, self).__init__(*args, **hints)
  File "matrixArray.py", line 404, in __init__
    self.setUp( args[0], self.r, self.c, self.ori_mem )
  File "matrixArray.py", line 777, in setUp
    self.clear()
  File "matrixArray.py", line 763, in clear
    super(matrixArrayLists, self).clear()
<span style="font-color:red">AttributeError: 'super' object has no attribute 
'clear'</span>
</code>

Can anybody show me how to resolve this annoying problem.

B.T.W, I am new to pypy and want to use pip3 install some packages like 
statistics in MacOS. The issue is no latest 'pip3' available for my curl, where 
those available are too old for python2. 

Is there anyone show me how to use curl -O http to download 'pip3' AND use PyPy 
+ pip3 to install new packages to Pypy compiler?


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to