beproudstandupcom / pyglet

Automatically exported from code.google.com/p/pyglet
0 stars 0 forks source link

pydoc on pyglet modules creates a context #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if pyglet didn't create a context just to display
documentation.

Original issue reported on code.google.com by r1chardj0n3s on 24 Jul 2007 at 1:12

GoogleCodeExporter commented 8 years ago
Um, it doesn't?

Original comment by Alex.Hol...@gmail.com on 25 Jul 2007 at 12:19

GoogleCodeExporter commented 8 years ago
OK, I was hasty in my assumption. It doesn't, but it does have a side-effect. In
particular, importing pyglet.window has a side-effect in that a Platform object 
is
created.

It'd be nice if importing modules didn't have side-effects.

Original comment by r1chardj0n3s on 26 Jul 2007 at 12:22

GoogleCodeExporter commented 8 years ago
OK, I'm still off the mark. Platform() does nothing. What the hell's causing the
application icon to appear in the dock then??!

Original comment by r1chardj0n3s on 26 Jul 2007 at 12:35

GoogleCodeExporter commented 8 years ago
Oh that.  pyglet/window/carbon/__init__.py, call to MacOS.WMAvailable().

Original comment by Alex.Hol...@gmail.com on 26 Jul 2007 at 12:48

GoogleCodeExporter commented 8 years ago
Fixed in r1067.

Original comment by Alex.Hol...@gmail.com on 26 Jul 2007 at 10:17