diff --git a/build/pkgs/configure/checksums.ini b/build/pkgs/configure/checksums.ini index 69415aafab8..30d9c677d1b 100644 --- a/build/pkgs/configure/checksums.ini +++ b/build/pkgs/configure/checksums.ini @@ -1,3 +1,3 @@ tarball=configure-VERSION.tar.gz -sha1=e162e0f52da5eca0c01ddf4831edcea1acd72033 -sha256=2033521228294e134368d69457d6e582706e84ff10bf3d6d0a57a2a4afad0a8b +sha1=c5a690b2f18f494343af073afd671f4a3de15f67 +sha256=a8471f7b347e18f9b85298a475fe6c5653d6cfa528b4e47f392f6e21c78628c9 diff --git a/build/pkgs/configure/package-version.txt b/build/pkgs/configure/package-version.txt index 2a5e3433ccb..c3aa016f909 100644 --- a/build/pkgs/configure/package-version.txt +++ b/build/pkgs/configure/package-version.txt @@ -1 +1 @@ -b178c10a7401b381b8ed2daab5aaf026436452c9 +f89675ff33c44c10ee50de55a94f7125104d7967 diff --git a/src/doc/en/tutorial/afterword.rst b/src/doc/en/tutorial/afterword.rst index 84dd2891b71..390e67bac07 100644 --- a/src/doc/en/tutorial/afterword.rst +++ b/src/doc/en/tutorial/afterword.rst @@ -107,10 +107,8 @@ behaves differently from Python in several ways. 10 - **Integer division:** The Python expression ``2/3`` does not - behave the way mathematicians might expect. In Python2, if ``m`` and - ``n`` are ints, then ``m/n`` is also an int, namely the quotient of ``m`` - divided by ``n``. Therefore ``2/3=0``. In Python3, ``2/3`` returns the - floating point number ``0.6666...``. In both Python2 and Python3, ``//`` + behave the way mathematicians might expect: ``2/3`` returns the + floating point number ``0.6666...``. Note that ``//`` is the Euclidean division and ``2//3`` returns ``0``. We deal with this in the Sage interpreter, by wrapping integer @@ -125,16 +123,11 @@ behaves differently from Python in several ways. Rational Field sage: 2//3 0 - sage: int(2)/int(3) # not tested, python2 - 0 - **Long integers:** Python has native support for arbitrary precision integers, in addition to C-int's. These are significantly - slower than what GMP provides, and have the property that they - print with an ``L`` at the end to distinguish them from int's (and - this won't change any time soon). Sage implements arbitrary - precision integers using the GMP C-library, and these print without - an ``L``. + slower than what GMP provides. Sage implements arbitrary + precision integers using the GMP C-library. Rather than modifying the Python interpreter (as some people have