<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#330033" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 10/29/2018 12:51 PM, Victor Stinner
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+3bQGFmcyA9PwxK+w7mBFmfPxCBTPm_+WUJ3rQ3jFf7-5k8fQ@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">Le lun. 29 oct. 2018 à 20:42, Serhiy Storchaka <a class="moz-txt-link-rfc2396E" href="mailto:storchaka@gmail.com"><storchaka@gmail.com></a> a écrit :
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">1. "pickle" or "serialize"?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
serialize

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">2. "can't", "Cannot", "can not" or "cannot"?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
cannot

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">3. "object" or "objects"?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
object

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">4. Use the "a" article or not?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
no: "cannot serialize xxx object" (but i'm not a native english
speaker, so don't trust me :-))</pre>
    </blockquote>
    <br>
    Cannot serialize an object of type 'XXX'<br>
    <br>
    <blockquote type="cite"
cite="mid:CA+3bQGFmcyA9PwxK+w7mBFmfPxCBTPm_+WUJ3rQ3jFf7-5k8fQ@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">5. Use quotes around type name or not?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Use repr() in Python, but use '%s' is C since it would be too complex
to write code to properly implement repr() (decode tp_name from UTF-8,
handle error, call repr, handle error, etc.).

To use repr() on tp_name, I would prefer to have a new formatter, see
the thread of last month.
<a class="moz-txt-link-freetext" href="https://mail.python.org/pipermail/python-dev/2018-September/155150.html">https://mail.python.org/pipermail/python-dev/2018-September/155150.html</a>

Victor
_______________________________________________
Python-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-Dev@python.org">Python-Dev@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/options/python-dev/v%2Bpython%40g.nevcal.com">https://mail.python.org/mailman/options/python-dev/v%2Bpython%40g.nevcal.com</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>