Re: [pypy-dev] Scrapy fails in PyPy

2012-12-03 Thread Amaury Forgeot d'Arc
Hi, 2012/12/3 Joe Hillenbrand joehil...@gmail.com exceptions.TypeError: spider_opened() got 2 unexpected keyword arguments Could you modify a bit this spider_opened function, so that it accepts a **kwargs? Something like (not tested!): def spider_opened(self, spider, **kwargs):

[pypy-dev] PPC

2012-12-03 Thread Wiktor Mizdal
Which operating systems will support Pypy PowerPC backend? When it will appear? ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] PPC

2012-12-03 Thread David Edelsohn
On Mon, Dec 3, 2012 at 10:24 AM, Wiktor Mizdal wiktor8...@o2.pl wrote: Which operating systems will support Pypy PowerPC backend? PPC64 Linux. It probably could run on PPC64 FreeBSD as well. It could run on AIX, because it does not rely on a lot of system services, but the PyPy infrastructure

Re: [pypy-dev] PPC

2012-12-03 Thread Maciej Fijalkowski
On Mon, Dec 3, 2012 at 8:29 AM, David Edelsohn dje@gmail.com wrote: On Mon, Dec 3, 2012 at 10:24 AM, Wiktor Mizdal wiktor8...@o2.pl wrote: Which operating systems will support Pypy PowerPC backend? PPC64 Linux. It probably could run on PPC64 FreeBSD as well. It could run on AIX,

Re: [pypy-dev] Scrapy fails in PyPy

2012-12-03 Thread Armin Rigo
Hi, On Sun, Dec 2, 2012 at 4:09 PM, Joe Hillenbrand joehil...@gmail.com wrote: (...) response=response, request=request, spider=spider) (...) return receiver(*arguments, **named) exceptions.TypeError: response_received() got 4 unexpected keyword arguments No real clue,

Re: [pypy-dev] Scrapy fails in PyPy

2012-12-03 Thread Joe Hillenbrand
I've narrowed down the problem thanks to Amaury's suggestion. It looks like it is caused by some black magic to figure out what arguments a signal handler can accept. https://github.com/scrapy/scrapy/blob/0.16/scrapy/xlib/pydispatch/robustapply.py I haven't completely figured out what it is