Re: Interesting Problem
- Posted by DerekParnell (admin) Apr 21, 2010
- 1397 views
mattlewis said...
This has been fixed in svn:3179. See ticket:152. Basically, since you're using a constant that is assigned via a function, the value of the constant isn't known at compile time, so the interpreter has to do some work at run time (the first time the switch is seen) to convert it into a real switch.
I'm glad you fixed this just now as I was about to start using this sort of construct in win32lib.