[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#186916: Updated pygame



Josselin Mouette <joss@debian.org> writes:

> Can you canfirm this works on alpha ?

This time, I got an exception from set_mode, so I guess mode_ok
is now working.

| Traceback (most recent call last):
|   File "/usr/games/solarwolf", line 176, in ?
|     if __name__ == '__main__': main()
|   File "/usr/games/solarwolf", line 45, in main
|     exception_handler()
|   File "/usr/games/solarwolf", line 35, in main
|     main.main(sys.argv)
|   File "/usr/lib/games/solarwolf/main.py", line 18, in main
|     gamemain(args)
|   File "/usr/lib/games/solarwolf/main.py", line 31, in gamemain
|     gfx.initialize(size, full)
|   File "/usr/lib/games/solarwolf/gfx.py", line 26, in initialize
|     surface = pygame.display.set_mode(size, flags, depth)
| OverflowError: signed integer is greater than maximum

> Of course, this would have to be applied to set_mode as well,
> and maybe to other routines.

Indeed.  :-)

I wonder what this will do with Python longs, though.  If Python
code tries to use +2147483648L as flags on a 32-bit system, then
perhaps the C side should accept that as well.



Reply to: