This took a while to figure out ;)
I'm using the weave module from http://scipy.org,
it allows freely embedding C/C++ into Python for
performance gains which can be most impressive.
Oddly, after making calls to weave.inline() I
find that my WebKit servlet's self._transaction,
self._response, and self._session variables are
changed. Calls to i.e. self.session().value('X')
give exceptions as:
Page.py line 99
self._session = self._transaction.session()
AttributeError: 'NoneType' object has no attribute 'session'
I fixed this by the following hack to save/restore
the transaction, session, and response variables:
transaction = self._transaction
session = self._session
request = self._request
[call to weave.inline() as shown above]
self._request = request
self._session = session
self._transaction = transaction
This works fine. Anyone have any suggestions?
James Phillips
http://zunzun.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss