[issue46188] dictionary creation error

2021-12-28 Thread TobiasHT
New submission from TobiasHT : I was creating a dictionary when I noticed something weird. I had a function responsible for creating dictionary keys and then values were assigned to the keys in a for loop. The code goes a little like this: >>> def key_maker(n): ... if (n

[issue46175] Zero argument super() does not function properly inside generator expressions

2021-12-25 Thread TobiasHT
TobiasHT added the comment: I'm not so sure, but I think this characteristic was carried from python 2. I guess it's not well documented because they assumed that people would carry on the knowledge to python 3. To be on the safe side, I always pass the arguments to sup