You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Misleading error message when passing tuple of incorrect data type to ImageDraw methods #5939
An Error to be raised stating that the parameter xy is not a tuple of integers or some other apt description.
What actually happened?
A SystemError is raised with the message: SystemError: new style getargs format but argument is not a tuple despite the input being a tuple (albeit with incorrect contents).
Activity
radarhere commentedon Jan 8, 2022
Fair enough. I've created PR #5942 to resolve this, changing the error to
ValueError: incorrect coordinate type.