The Python Oracle

Python: Different results when using PyCharm and IDLE/python

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Track title: CC B Schuberts Piano Sonata No 16 D

--

Chapters
00:00 Question
01:50 Accepted answer (Score 5)
03:25 Answer 2 (Score 3)
04:39 Answer 3 (Score 0)
05:36 Thank you

--

Full question
https://stackoverflow.com/questions/3699...

Question links:
["is" operator behaves unexpectedly with integers]: https://stackoverflow.com/questions/3063...
["is" and "id" in Python 3.5]: https://stackoverflow.com/questions/3602...

Accepted answer links:
[LOAD_CONST]: https://docs.python.org/2/library/dis.ht...
[@AniMenon]: https://stackoverflow.com/a/37001556/582...

Answer 2 links:
[is operator]: http://docs.python.org/2/reference/expre...

Answer 3 links:
[reference]: https://stackoverflow.com/a/36026586/214...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #python3x #integer #pycharm #pythonidle

#avk47