Staging
v0.8.1
https://github.com/python/cpython
Revision 3100b7e710dccdcfbc6991ea7e8985a1881d42e6 authored by Miss Islington (bot) on 28 July 2018, 16:52:31 UTC, committed by GitHub on 28 July 2018, 16:52:31 UTC

Mathematically, bitwise operations on integers behave as if there were an
infinite number of sign bits. Pragmatically, that gives the same answer as
using one extra sign bit for the bitwise logical operations.
(cherry picked from commit b4bc5cab82e6855e4ebc33ba0b669ddffad30fb3)

Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>
1 parent f17e001
History
Tip revision: 3100b7e710dccdcfbc6991ea7e8985a1881d42e6 authored by Miss Islington (bot) on 28 July 2018, 16:52:31 UTC
bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691)
Tip revision: 3100b7e
File Mode Size
.github
.vsts
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.4 KB
.hgignore -rw-r--r-- 1.3 KB
.travis.yml -rw-r--r-- 5.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 59.9 KB
README.rst -rw-r--r-- 9.5 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 481.2 KB
configure.ac -rw-r--r-- 160.5 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 41.1 KB
setup.py -rw-r--r-- 102.1 KB

README.rst

back to top