Loading ...
Sorry, an error occurred while loading the content.

Re: [json] Re: Universal Binary JSON Specification

Expand Messages
  • Patrick Maupin
    ... The best documentation I know of is in the source for the pickle and pickletools modules. You can find them, e.g. like this: $ python Python 2.6.4
    Message 1 of 76 , Sep 23, 2011
    • 0 Attachment
      On Fri, Sep 23, 2011 at 11:36 AM, John Cowan <cowan@...> wrote:

      > **
      >
      > Unfortunately, the various pickle formats are apparently not documented
      > anywhere that Google can find. Can you provide a pointer?
      >
      >
      The best documentation I know of is in the source for the pickle and
      pickletools modules. You can find them, e.g. like this:

      $ python
      Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
      [GCC 4.4.1] on linux2
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import pickle, pickletools
      >>> pickle.__file__[:-1]
      '/usr/lib/python2.6/pickle.py'
      >>> pickletools.__file__[:-1]
      '/usr/lib/python2.6/pickletools.py'
      >>>

      Regards,
      Pat


      [Non-text portions of this message have been removed]
    • Tatu Saloranta
      ... For what it is worth, I also consider support for only signed values a good thing. -+ Tatu +-
      Message 76 of 76 , Feb 20, 2012
      • 0 Attachment
        On Mon, Feb 20, 2012 at 9:42 AM, rkalla123 <rkalla@...> wrote:
        > Stephan,
        >
        > No problem; your feedback are still very applicable and much appreciated.
        >
        > The additional view-point on the signed/unsigned issue was exactly what I was hoping for. My primary goal has always been simplicity and I know at least from the Java world, going with unsigned values would have made the impl distinctly *not* simple (and an annoying API).
        >
        > So I am glad to get some validation there that I am not alienating every other language at the cost of Java.

        For what it is worth, I also consider support for only signed values a
        good thing.

        -+ Tatu +-
      Your message has been successfully submitted and would be delivered to recipients shortly.