News for hackers. Stuff that matters.
Re:Things to use in Python 3 by DonaldPShimoda on Wednesday May 15, 2019 @12:47PM (#19921234)
Although not really what they were intended for, somebody used annotations to provide a macro system [0].

[0] https://tinkering.xyz/abusing-type-annotations/

Re:Things to use in Python 3 by z_mitchell on Wednesday May 15, 2019 @12:56PM (#19921356)
Author here. Be warned, this was just a proof of concept that I did because I thought it would be fun/weird/interesting!
Re:Things to use in Python 3 by neoncontrails on Friday May 17, 2019 @02:28PM (#19942229)
Oh my goodness. I've committed some naughty deeds with the ast module before, but this is truly, wonderfully, heinous. You push this idea so far that I wouldn't even recognize some of these examples as syntactically valid, let alone predict their effects. I'm awestruck and a little frightened of you.