Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 1a05e87ec75436d818f05a5dabcecaea67334cbd authored by Nick Coghlan on 19 August 2017, 06:59:38 UTC, committed by GitHub on 19 August 2017, 06:59:38 UTC
bpo-30721 added a "Did you mean ...?" suggestion to rshift TypeError messages that triggers when the LHS is a Python C function called "print". Since this custom error message is expected to be triggered primarily by attempts to use Python 2 print redirection syntax in Python 3, and is incredibly unlikely to be encountered otherwise, it is also being backported to the next 3.6 maintenance release. Initial patch by Sanyam Khurana.
1 parent b50e768
Tip revision: 1a05e87ec75436d818f05a5dabcecaea67334cbd authored by Nick Coghlan on 19 August 2017, 06:59:38 UTC
[3.6] bpo-31232: Backport custom print rshift message (GH-3155)
[3.6] bpo-31232: Backport custom print rshift message (GH-3155)
Tip revision: 1a05e87
File | Mode | Size |
---|---|---|
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
.bzrignore | -rw-r--r-- | 582 bytes |
.gitattributes | -rw-r--r-- | 798 bytes |
.gitignore | -rw-r--r-- | 1.3 KB |
.hgeol | -rw-r--r-- | 1.0 KB |
.hgignore | -rw-r--r-- | 1.3 KB |
.hgtags | -rw-r--r-- | 8.7 KB |
.travis.yml | -rw-r--r-- | 4.4 KB |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 58.0 KB |
README.rst | -rw-r--r-- | 9.1 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.2 KB |
config.sub | -rwxr-xr-x | 35.7 KB |
configure | -rwxr-xr-x | 473.4 KB |
configure.ac | -rw-r--r-- | 156.7 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 40.4 KB |
setup.py | -rw-r--r-- | 99.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...