There's a nice list here:<p><a href="https://github.com/cosmologicon/pywat" rel="nofollow">https://github.com/cosmologicon/pywat</a><p>Here's another one. Compare "x = 256; y = 256; x is y" with "x = 257" (enter) "y = 257" (enter) "x is y" with "x = 257; y = 257; x is y". It makes a difference whether x and y are assigned on the same line or not. From here:<p><a href="http://glasnt.com/blog/2016/05/28/on-language-oddities.html" rel="nofollow">http://glasnt.com/blog/2016/05/28/on-language-oddities.html</a>
My favorite quirk was deprecated.<p>Python 2.x<p>def function(a, (b, c)):
# pattern extract matches a strictly two-elements<p>Python 3.x<p>def function(a, b_c):
# not as clean, nor as expressive