On Wednesday, August 13, 2014 6:34:50 AM UTC-7, Juan J. MartÃnez wrote: > > On 13/08/14 14:29, Raymond Liu wrote: > > An update. When I encountered the problem, I was using pyglet in IDLE. > > But when I typed the same code in PyCharm 3.4, it seems to have compiled > > just fine! So now I'm confused as to why IDLE throws problems with > > pyglet. Should pyglet not be used with IDLE??? > > Running the code inside IDLE may affect the way the libraries are loaded > by pyglet. There was a bug report from an user that had a similar > problem using a profiler, but it could be unrelated. > > You can write your code with any editor your want, but perhaps running > the code should happen outside it :) > > May be any other list member can comment further. > > In my (admittedly limited) experience over the years, IDLE has shown compatibility problems with several Python GUI packages. I stopped using IDLE for this reason long ago.
I do not know the exact reason for the compatibility problems that I saw. I expect that it has something to do with the fact that IDLE is built on TKinter, which is itself a GUI. So if you run a GUI under IDLE, you have two event handlers running concurrently. That sounds like trouble to me. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
