[Twisted-Python] XML-RPC: Why encapsulate in a list?

Itamar Shtull-Trauring itamar at itamarst.org
Sun Aug 24 09:45:03 EDT 2003

On Sat, 23 Aug 2003 21:57:07 -0700
Steve Freitas <sflist at ihonk.com> wrote:

> Why does my dictionary (ergo struct) get encapsulated in a list (ergo
> array)? What should I do if I just want to return a struct?

I can't reproduce this issue (twisted 1.0.7a5, python 2.2). Perhaps
there's a bug in your code somewhere - try with a simple test case and
see if it still happens? If it does, please add a bug report in our
issue tracker with minimal example code for the bug so we can fix it.

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting

More information about the Twisted-Python mailing list