[issue36700] base64 has old references that should be updated

2019-04-23 Thread Paul Hoffman
Paul Hoffman added the comment: We can update the references without supporting every mode given in the new document. It is common for people to support RFC X without supporting every possible option of RFC X. Having said that, I think adding extended hex makes good sense, if possible

[issue36700] base64 has old references that should be updated

2019-04-22 Thread Paul Hoffman
New submission from Paul Hoffman : The documentation for base64 library has an RFC that is obsolete. -- assignee: docs@python components: Documentation messages: 340668 nosy: docs@python, paulehoffman priority: normal pull_requests: 12839 severity: normal status: open title: base64 has

[issue30588] Missing documentation for codecs.escape_decode

2018-10-06 Thread Paul Hoffman
Paul Hoffman added the comment: Bumping this thread a bit. It appears that this "internal" function is being talked about out in the real world. I came across it in a recent blog post, saw that it wasn't in the official documentation, and went looking here. I propose that i

[issue33147] Update references for RFC 3548 to RFC 4648

2018-03-26 Thread Paul Hoffman
Paul Hoffman added the comment: I signed the contributor agreement form on 2017-06-23 -- ___ Python tracker <https://bugs.python.org/issue33147> ___ ___ Pytho

[issue33147] Update references for RFC 3548 to RFC 4648

2018-03-26 Thread Paul Hoffman
New submission from Paul Hoffman : serhiy-storchaka asked me to open an issue about whether Python implements RFC 4648. As far as I can tell it does, correctly, for the parts of RFC 4648 covered in the doc. My PR was about simply updating a reference to an RFC that was made obsolete

[issue11734] Add half-float (16-bit) support to struct module

2013-04-23 Thread Paul Hoffman
Paul Hoffman added the comment: I *think* what you are saying is that there will be no float16 type, but the result of struct.unpack('eorwhatever', packed_stuff)[0] will be the same as struct.unpack('f', packed_stuff)[0], yes? If so, that's what I wanted. I don'

[issue11734] Add half-float (16-bit) support to struct module

2013-04-23 Thread Paul Hoffman
Paul Hoffman added the comment: Mark: >I don't see how math.isnan or math.isinf would be affected: we're not >proposing to make a float16 Python type, so math.isnan would never encounter a >float16 value. I was assuming that this proposal would also make this part of class

[issue11734] Add half-float (16-bit) support to struct module

2013-04-22 Thread Paul Hoffman
Paul Hoffman added the comment: Just another voice for seeing this put in a deployed version of Python. Half-precision floats are becoming more common in applications. Question: does adding this affect math.isnan and math.isinf? -- nosy: +paulehoffman

[issue3132] implement PEP 3118 struct changes

2013-04-22 Thread Paul Hoffman
Paul Hoffman added the comment: Whoops, never mind. Thanks for the pointer to 11734. -- ___ Python tracker <http://bugs.python.org/issue3132> ___ ___ Python-bug

[issue3132] implement PEP 3118 struct changes

2013-04-22 Thread Paul Hoffman
Paul Hoffman added the comment: Following up on http://mail.python.org/pipermail/python-ideas/2011-March/009656.html, I would like to request that struct also handle half-precision floats directly. It's a short change, and half-precision floats are becoming much more popular in applica