Skip to content

NaNs completely deadlock draw.line #3412

Open
@Starbuck5

Description

@Starbuck5
import math
import pygame

pygame.init()

surf = pygame.Surface((500,500))

print("Starting")

pygame.draw.line(surf, "black", (0, 0), (math.nan, 100))

print("Done!")

This test script makes pygame-ce completely unresponsive, it can't even be CTRL-Ced.

I haven't looked into other draw functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intendeddrawpygame.draw

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions