Opened 15 years ago

Closed 12 years ago

#2696 defect closed invalid (invalid)

amp.AmpList cannot serialize []

Reported by: Lacrymology Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author:

Description

AmpList cannot be used to return an empty list.

Change History (2)

comment:1 Changed 12 years ago by Jean-Paul Calderone

Resolution: invalid
Status: newclosed

This appears not to be true.

>>> arg = AmpList([('foo', String())])
>>> arg.toStringProto([], None)
''
>>> arg.fromStringProto('', None)
[]
>>> 

Please re-open if you can clarify.

comment:2 Changed 11 years ago by <automation>

Owner: Glyph deleted
Note: See TracTickets for help on using tickets.