-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow rb"" literals as an equivalent to br"" #57957
Comments
As mentioned in bpo-13744, it is not easy to remember that br"" is an allowed bytes literal but not rb"". Here is a patch to allow both forms. |
Updated patch with doc. |
On Jan 09, 2012, at 07:27 PM, Antoine Pitrou wrote:
Nicely done. +1 |
I would be happier if there was precedent for this with "ur" = "ru" in 2.x, which is not true. |
In my experience, raw unicode literals were very rare while raw bytes |
+1 for "raw bytes", which reads much nicer to me than "bytes raw". |
New changeset bbed36370b08 by Antoine Pitrou in branch 'default': |
Committed, thanks. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: