Issue 20203: ArgumentClinic: support middle optional argument (original) (raw)

Issue20203

Created on 2014-01-09 08:03 by rmsr, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg207731 - (view) Author: Ryan Smith-Roberts (rmsr) * Date: 2014-01-09 08:03
socket.sendto is apparently even weirder than addch or range: the optional argument is in the *middle*. Attempting this configuration gets me: Function sendto has an unsupported group configuration. (Unexpected state 5) An expected unexpected configuration? :)
msg207815 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2014-01-10 01:42
Oh . socket.sendto can't currently be converted to Argument Clinic. There's legacy, and then there's the cruelty that only 1993-style argument parsing can inflict. (socket.sendto's argument parsing was checked in in revision ac3c80abbf43 from 1993 by Guido.) I'll keep it in mind for the future, but it's really pretty twisted.
History
Date User Action Args
2022-04-11 14:57:56 admin set github: 64402
2014-01-10 01:42:36 larry set status: open -> closedmessages: +
2014-01-09 08:03:20 rmsr create