homepage

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 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:28mark.dickinsonsetrecipients: + 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:28mark.dickinsonsetmessageid: <1263162988.07.0.679852483236.issue1943@psf.upfronthosting.co.za>
2010年01月10日 22:36:26mark.dickinsonlinkissue1943 messages
2010年01月10日 22:36:26mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /