On 25 June 2012 15:36, holger krekel <hol...@merlinux.eu> wrote: > On Mon, Jun 25, 2012 at 16:09 +0200, Ronny Pfannschmidt wrote: >> given the nature of the problem, >> i think its wrong to go for terminal width there, >> instead we should serialize the exponations, >> and render them on the master. >> >> that way we could also have other ways of display more nicely. > > It's indeed true that a frontend-independent format that can be > rendered on the master would be nice ... um, html? (not sure it's a joke).
Not sure that would cover all situations, py.io.saferepr() would somehow have to serialise the full thing (which might be simply too much data) and the other side would have to then notice this and somehow figure out the right argument for the maxsize argument of saferepr. I'm sure there's a way of encoding all that but that but it's a lot of complexity and still won't solve the too much serialised data problem. Floris -- Debian GNU/Linux -- The Power of Freedom www.debian.org | www.gnu.org | www.kernel.org _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev