[docs] Bugs in Python a,b=-6,-6

Benedic Cater benedic.cater at innogen-pharma.com
Thu May 9 20:36:22 EDT 2019


Good day!

I think I found a bug? it's suppose to be True, am I right?
a,b = -5,-5
id(a) == id(b)
*True*

a,b = -6,-6
id(a) == id(b)
*False*

[image: image.png]

*Benedic P. Cater*
*IT MANAGER*

*InnoGen Pharmaceuticals, Inc.*
*No. 124-126 Sct. Dr. Lazcano St.,*
*Brgy, Sacred Heart, Quezon City*

*Tel No: (02) 410-46-13 upto 22 Loc.114*
*Mobile No: +639167588883*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20190510/0b59c0dc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 17701 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/docs/attachments/20190510/0b59c0dc/attachment-0001.png>


More information about the docs mailing list