Re: Slices by length

2025-10-08 Thread meowxiik via Python-list
> Which brings to mind a possible alternate syntax: s[x::n] This would AFAIK collide with the the x[a:b:c] syntax, which already means something, the c is the size of a step M On 8 October 2025 16:22:46 CEST, [email protected]

Confusing behavior of PYTHONWARNINGS

2023-09-17 Thread Meowxiik via Python-list
Hello, For the third time I am trying to work with `PYTHONWARNINGS` filter, and for the third time I am having a terrible time. I'd like to seek your assistance, I have a few questions: **Question 1:** Does the environment variable only matter at python interpreter startup time? If I set the