List Question
10 TechQA 2024-12-25 07:37:56Why does collections.OrderedDict use try and except to initialize variables?
648 views
Asked by taotao.li
Does Python automatically replace * 2 with << 1?
171 views
Asked by m9_psy
Fraction object doesn't have __int__ but int(Fraction(...)) still works
209 views
Asked by Ffisegydd
Why do Python emit STORE_SUBSTR when there's already an INPLACE_ADD?
122 views
Asked by satoru
Why does list ask about __len__?
2.7k views
Asked by wim
Python 3.4 multiprocessing Queue faster than Pipe, unexpected
4.1k views
Asked by Rui Botelho
Does Slicing `a` (e.g. `a[1:] == a[:-1]`) create copies of the `a`?
351 views
Asked by Adam Matan
Write a generator or return a generator?
159 views
Asked by Hyperboreus
Python swapping lists
21k views
Asked by Aswin Murugesh
Two instances of the same Python module?
6.1k views
Asked by reish