News for hackers. Stuff that matters.
Re:So Google's Gemini Doesn't Like Python Programming and Sa... by Thorrez on Sunday February 25, 2024 @05:43PM (#39505694)
This article seems to be confusing generators with decorators.

Disclosure: I work at Google but not on Gemini.

Re:So Google's Gemini Doesn't Like Python Programming and Sa... by ropans808 on Sunday February 25, 2024 @06:03PM (#39505855)
Seems like it - you can definitely cache python function results with decorators:

https://docs.python.org/3/library/functools.html#functools.l...