head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.8 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.6 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.4 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2025.05.12.05.18.50; author ryoon; state Exp; branches; next ; commitid TXm4DdY941GUOzUF; desc @@ 1.1 log @devel/py-game_sdl2: Update to 2.1.0.8.3.7 * For games/py-renpy 8.3.7. @ text @$NetBSD$ --- src/pygame_sdl2/event.pyx.orig 2025-05-11 13:44:10.220009277 +0000 +++ src/pygame_sdl2/event.pyx @@@@ -332,7 +332,7 @@@@ cdef object get_events(kinds): The lock must be held when calling this function. """ - if isinstance(kinds, (int, long)): + if isinstance(kinds, int): kinds = [ kinds ] global event_queue @@@@ -459,7 +459,7 @@@@ def set_blocked(t=None): if t == None: for et in event_names.keys(): SDL_EventState(et, SDL_ENABLE) - elif isinstance(t, (int, long)): + elif isinstance(t, int): SDL_EventState(t, SDL_IGNORE) else: for et in t: @@@@ -469,7 +469,7 @@@@ def set_allowed(t=None): if t == None: for et in event_names.keys(): SDL_EventState(et, SDL_IGNORE) - elif isinstance(t, (int, long)): + elif isinstance(t, int): SDL_EventState(t, SDL_ENABLE) else: for et in t: @