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 martin.panter
Recipients JelleZijlstra, barry, elvis, eric.smith, martin.panter, python-dev, yselivanov
Date 2015-09-14.02:42:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Regarding the null terminator, I was mainly smoke testing your code. :) Maybe it would be too hard to support properly. Although I could imagine someone doing things like this:

>>> d = {b"key\x00": "value"}
>>> f"key={d[b'key\x00']}"  # Oops, escape code at wrong level
  File "<fstring>", line 1
SyntaxError: EOL while scanning string literal
>>> rf"key={d[b'key\x00']}"  # Corrected

I also finished quickly reading over the C code, with a couple more review comments. But I am not familiar with the files involved to thoroughly review.
Date User Action Args
2015-09-14 02:43:00martin.pantersetrecipients: + martin.panter, barry, eric.smith, python-dev, yselivanov, JelleZijlstra, elvis
2015-09-14 02:43:00martin.pantersetmessageid: <>
2015-09-14 02:43:00martin.panterlinkissue24965 messages
2015-09-14 02:42:59martin.pantercreate