News for hackers. Stuff that matters.
Re:Python decorators they don't tell you about by abhirag on Sunday January 07, 2018 @12:32PM (#16091663)
Not the OP but I think he was referring to the restrictions python puts on lambda expressions:

- they can only contain a single expression

- they cannot contain statements

Re:Python decorators they don't tell you about by Sohcahtoa82 on Monday January 08, 2018 @08:17PM (#16102620)
Python has lambdas that have multiple expressions and statements.

They're called functions.

Re:Python decorators they don't tell you about by yen223 on Tuesday January 09, 2018 @03:40AM (#16104536)
Python functions aren't anonymous
Re:Python decorators they don't tell you about by jmiserez on Sunday January 07, 2018 @02:20PM (#16092144)
For precondition checking, shouldn’t that suffice?
Re:Python decorators they don't tell you about by baq on Sunday January 07, 2018 @05:18PM (#16093058)
Depends on the precondition.