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 vstinner
Recipients benjamin.peterson, ezio.melotti, lemburg, pitrou, serhiy.storchaka, vstinner
Date 2016-09-02.12:09:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472818154.49.0.427751602863.issue16334@psf.upfronthosting.co.za>
In-reply-to
Content
I rebased faster_unicode_escape_4.patch and made tiny changes:

* Rename WRITECHAR macro to WRITE_ASCII_CHAR()
* Add WRITE_CHAR() macro to avoid "goto writechar;"
* Drop the "store" label: use WRITE_CHAR() macro instead, expect that getcode() only returns valid unicode characters (<= MAX_UNICODE)
* For \UHHHHHHHH format: since MAX_UNICODE is 0x10ffff, hardcode the first two digits as 0, and add an assertion on MAX_UNICODE value
* PEP 7: add {...} on if/else blocks
History
Date User Action Args
2016-09-02 12:09:15vstinnersetrecipients: + vstinner, lemburg, pitrou, benjamin.peterson, ezio.melotti, serhiy.storchaka
2016-09-02 12:09:14vstinnersetmessageid: <1472818154.49.0.427751602863.issue16334@psf.upfronthosting.co.za>
2016-09-02 12:09:14vstinnerlinkissue16334 messages
2016-09-02 12:09:14vstinnercreate