Message241030
| Author |
serhiy.storchaka |
| Recipients |
larry, serhiy.storchaka, zach.ware |
| Date |
2015年04月14日.21:11:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1429045864.78.0.679014479701.issue23935@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The new API change looks doubtful for me. It is more verbose. And less readable. It makes harder to search in sources, because {'str', 'robuffer'} is the same as {'robuffer', 'str'}. If Argument Clinic would a tool with programmatic API, sets would make sense, but for now the main interface of Argument Clinic is text inclusions in C files.
If you want to convert the types parameter into a set, is it possible to continue to accept strings? Many user-friendly APIs accept either a sequence of string names or a string containing space-separated names. For example namedtuple, Enum. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年04月14日 21:11:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry, zach.ware |
| 2015年04月14日 21:11:04 | serhiy.storchaka | set | messageid: <1429045864.78.0.679014479701.issue23935@psf.upfronthosting.co.za> |
| 2015年04月14日 21:11:04 | serhiy.storchaka | link | issue23935 messages |
| 2015年04月14日 21:11:04 | serhiy.storchaka | create |
|