Hi all. Finally managed to convince google to let me join the group...
Whats more, I have a question! I've been struggling to get the python
profiler to work using the 1.1 event loop style. It gives me a nice
little warning:
C:\Python25\lib\profile.py:310: RuntimeWarning: tp_compare didn't
return -1 or -2 for exception
which I don't really know what means, and then fails to profile
anything called by my update or draw methods, seeming to only show
initialisation code. Obviously this is not ideal, as the update and
draw code is the stuff I need to profile...
At the moment I'm doing:
import profile
profile.run('main()')
Is this correct? Is it a pyglet problem, or a me problem. Could it be
both?
Also, and slightly unrelated, there appears to be an issue with psyco
and pyglet. It seems that for some reason psyco.full() doesn't allow
any events to reach the window (threading issue?). psyco.background()
works, but full should be faster. I like faster. Any thoughts on this?
Might just be pysco's fault.
Thanks,
Tigga
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---