spec: should octal escape sequences in string literals accept an "o" prefix? #30225
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
v2
A language change or incompatible library change
Milestone
This is a minor follow-up to #19308; I've started a new issue since that one is long, and this is a corner case.
In the String literals section, the spec says:
Given that we are moving towards using
0o
for octal integers, and given that hexadecimal escaping in string literals begins\x
, should string literals also accept a\o
prefix for octal bytes?I suspect that so few people use octal byte escape sequences in string literals that it's not worth changing for consistency, but I thought it worth making an explicit decision about.
cc @griesemer @rsc @ianlancetaylor
The text was updated successfully, but these errors were encountered: