News for hackers. Stuff that matters.
Re:Fstrings.wtf by elternal_love on Saturday July 19, 2025 @03:27PM (#44618534)
Oh am I writing python code for some years this should be fun ... oh. Oh I see. Hmm. Ok, just give it to me: are they turing complete yet or do we need to wait for 3.14?
Re:Fstrings.wtf by zahlman on Saturday July 19, 2025 @06:07PM (#44619872)
They've been Turing-complete since they were introduced:

  $ py3.6
  >>> def arbitrary_code(): pass
  ... 
  >>> f"{exec('arbitrary_code()')}"
  'None'
  >>>