This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients barry, chrism, ncoghlan, pitrou, serhiy.storchaka
Date 2013-12-01.10:36:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385894175.2297.1.camel@fsol>
In-reply-to <1385862902.21.0.262884725829.issue19837@psf.upfronthosting.co.za>
Content
> The problem with adding new APIs with different names to the JSON
> module is that it breaks symmetry with other wire protocols. The
> quartet of module level load, loads, dump and dumps functions has
> become a de facto standard API for wire protocols.

Breaking symmetry is terribly less silly than having a second module
doing almost the same thing, though.

> The advantage of a separate "jsonb" module is that it becomes easy to
> say "json is the text transform that dumps and loads from a Unicode
> string, jsonb is the wire protocol that dumps and loads a UTF encoded
> byte sequence".

This is a terribly lousy design.
History
Date User Action Args
2013-12-01 10:36:17pitrousetrecipients: + pitrou, barry, chrism, ncoghlan, serhiy.storchaka
2013-12-01 10:36:17pitroulinkissue19837 messages
2013-12-01 10:36:17pitroucreate