mattip has quit [Read error: Connection reset by peer]
mkoubaa has joined #hpy
mkoubaa2 has joined #hpy
dalley has joined #hpy
mattip has joined #hpy
dalley has quit [Ping timeout: 272 seconds]
dalley has joined #hpy
mkoubaa2 has quit [Ping timeout: 272 seconds]
mkoubaa has quit [Ping timeout: 272 seconds]
mattip has quit [Ping timeout: 264 seconds]
mattip has joined #hpy
DuToit has joined #hpy
<DuToit>
Hey everyone, I checked the amount of Pillow functions using tuples as arguments, as these are not currently supported. There's only 11 of them, but some important methods like filtering and editing individual pixels use tuples
DuToit has quit [Quit: Client closed]
<steve_s>
Do you mean that parse tuples using HPyArg_Parse? TBH it would seem reasonable to me to support that for use cases like when you want to "destruct" a tuple that you know/expect to contain a pair of integers. Doing that manually by parsing it as "O" and then extracting and converting the individual elements means quite some boiler-plate code and also if HPyArg_Parse was/could optionally be a context function, then lot more context calls