News for hackers. Stuff that matters.
Re:PyFormat – Practical examples of old and new style string... by gcr on Wednesday April 15, 2015 @06:24PM (#9384634)
In this case, 'a' isn't a local variable binding though.
Re:PyFormat – Practical examples of old and new style string... by pyre on Thursday April 16, 2015 @02:01AM (#9386110)
Right, but it's accessible in scope though. It's just a "gotcha" for that method that might be easy to overlook if you aren't paying attention (or if someone with less experience stumbles onto this 'trick' in production code).