[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Life with PyGame
> Traceback (most recent call last):
> File "pygalife.py", line 123, in ?
> main()
> File "pygalife.py", line 112, in main
> white = 2 ** screen.get_bitsize() - 1
> OverflowError: integer exponentiation
So, here's a patch. Just add an L after the 2:
white = 2L ** screen.get_bitsize() - 1
--
"I was wondering if there's any kind of definitive nickname for Perl
programmers, the way we call ourselves Pythonistas?" - Aahz Maruch
"Masochists." - Daniel Klein
Nicola Larosa - nico@tekNico.net
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org