Message97555
| Author |
mark.dickinson |
| Recipients |
Rhamphoryncus, ajaksu2, amaury.forgeotdarc, benjamin.peterson, collinwinter, eric.smith, ezio.melotti, gvanrossum, jafo, jimjjewett, lemburg, mark.dickinson, orivej, pitrou, rhettinger, terry.reedy |
| Date |
2010年01月10日.22:36:26 |
| SpamBayes Score |
0.004341578 |
| Marked as misclassified |
No |
| Message-id |
<1263162988.07.0.679852483236.issue1943@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I find that the null termination for 8-bit strings makes low-level parsing operations (e.g., parsing a numeric string) safer and easier: for example, it makes skipping a series of digits with something like:
while (isdigit(*s)) ++s;
safe. I'd imagine that null terminated PyUNICODE arrays would have similar benefits. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年01月10日 22:36:28 | mark.dickinson | set | recipients:
+ mark.dickinson, lemburg, gvanrossum, collinwinter, rhettinger, terry.reedy, jafo, jimjjewett, amaury.forgeotdarc, Rhamphoryncus, pitrou, eric.smith, ajaksu2, benjamin.peterson, orivej, ezio.melotti |
| 2010年01月10日 22:36:28 | mark.dickinson | set | messageid: <1263162988.07.0.679852483236.issue1943@psf.upfronthosting.co.za> |
| 2010年01月10日 22:36:26 | mark.dickinson | link | issue1943 messages |
| 2010年01月10日 22:36:26 | mark.dickinson | create |
|