Python tidbits
Wednesday, May 21st, 2008During work on client bindings for AT-SPI this week python managed to surprise me in a couple of ways.
Lambda doesn’t work as I think it should.
lambda x: del(x) results in a syntax error. This is clearly stated in the python language reference: lambda_form ::= “lambda” [parameter_list]: expression The del statement is not an expression; unsurprisingly […]