This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ArgumentClinic: support middle optional argument
Type: enhancement Stage:
Components: Build Versions: Python 3.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: larry, rmsr
Priority: normal Keywords:

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 <expletive deleted>.

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:56adminsetgithub: 64402
2014-01-10 01:42:36larrysetstatus: open -> closed

messages: + msg207815
2014-01-09 08:03:20rmsrcreate