Fix memoryview iter in whats_left.py#4255
Conversation
|
Hold on, I might have completely misread this and the error is something different. |
memoryview has no __iter__ and instead relies on the __getitem__ iteration.
|
Hi @tekknolagi and thanks for the PR. You probably ran this with Python 3.9 which did not have a dedicated iterator. It might make sense to add a check in |
|
Oh! I can pivot to doing that instead. |
|
@DimitrisJim should we be advertising for Python 3.11, or is it too early to do that? |
|
Hey! Couldn't say with certainty, after we update some libs to 3.11 it might make sense. |
|
I see what you were trying to do here (fix the cron job for whatsleft.py?). In that case, this could be solved easily by specifying that python 3.10 be used for the job (see the |
memoryviewhas no__iter__