integer copy
Stephen Tucker
stephen_tucker at sil.org
Fri Oct 20 05:09:28 EDT 2017
ast,
For what it's worth,
After
a = 5
b = 5
afloat = float(a)
bfloat = float(b)
afloat is bfloat
returns False.
Stephen Tucker.
On Fri, Oct 20, 2017 at 9:58 AM, ast <nomail at com.invalid> wrote:
>
> "ast" <nomail at com.invalid> a écrit dans le message de
> news:59e9b419$0$3602$426a74cc at news.free.fr...
>
> Neither works for large integers which is
> even more disturbing
>
> a = 6555443
>
> b = copy.copy(a)
> a is b
>
> True
> --
> https://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list