Re: [pypy-dev] Numpy on PyPy : cpyext

2017-03-03 Thread Singh, Yashwardhan
Hi Maciej, I have applied for clearance to publicly upload the code. I will upload it once I get the permission. Regards Yash -Original Message- From: Maciej Fijalkowski [mailto:fij...@gmail.com] Sent: Friday, March 3, 2017 4:41 AM To: Singh, Yashwardhan Cc: pypy-dev@python.org Subjec

Re: [pypy-dev] Disassembling methods called by LOOKUP_METHOD

2017-03-03 Thread Ryan Gonzalez
You can look at the source code for the objects (all located in pypy/objspace/std) and find the method implementations there. Here's append's (form pypy/objspace/std/listobject.py): def append(self, w_item): """L.append(object) -- append object to end""" self.strategy.append(

[pypy-dev] Disassembling methods called by LOOKUP_METHOD

2017-03-03 Thread Frank Wang
Hi, I'm trying to figure out the opcodes that the "append" function calls for arrays. When I use the dis tool, it just says that it looks up a method "append" using the LOOKUP_METHOD opcode. Is there a tool that allows me to disassemble built-in functions like "append", or what the best way to do

Re: [pypy-dev] Numpy on PyPy : cpyext

2017-03-03 Thread Maciej Fijalkowski
Hi Yash Is your software open source? I'm happy to check it out for you I think the c-level profiling for vmprof is relatively new, you would need to use pypy nightly in order to get that level of insight. Additionally, we're working on cpyext improvements *right now* stay tuned. If there is a g