Message250598
| 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 | <1442198580.25.0.346158237509.issue24965@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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
(d[b'key
^
SyntaxError: EOL while scanning string literal
>>> rf"key={d[b'key\x00']}" # Corrected
'key=value'
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-09-14 02:43:00 | martin.panter | set | recipients: + martin.panter, barry, eric.smith, python-dev, yselivanov, JelleZijlstra, elvis |
| 2015-09-14 02:43:00 | martin.panter | set | messageid: <1442198580.25.0.346158237509.issue24965@psf.upfronthosting.co.za> |
| 2015-09-14 02:43:00 | martin.panter | link | issue24965 messages |
| 2015-09-14 02:42:59 | martin.panter | create | |