Add a parameterized AMP argument type which can serialize and unserialize 0 or more of a specified type
[email protected] Tue, 17 Nov 2009 21:43:26 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from exarkun <[email protected]>: There's presently no argument type which supports several integers, or several strings. Strangely, there is an argument type for several dictionaries (`AmpList`). Supporting some other types would be nice. This might look something like `ListOf(String())`. `AmpList` might be expressed in terms of this as `ListOf(Dict())`, although there is presently no `Dict` argument type. I'm most immediately motivated to have such an argument type for #1784: code for that ticket smashes a list of strings together in one process and then splits it up again in another process. Supremely gross. I'm certain there are many other similar use cases, though. ---------- Type : enhancement Component: core Keywords : amp Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4116