from future import pass_function
mhrivnak at hrivnak.org
Thu Jul 26 23:20:32 CEST 2012
In case the rest of the email didn't make it obvious, everything you
quoted me on was sarcasm. I know those things can't be done, and I
explained why they can't and shouldn't be done.
On Thu, Jul 26, 2012 at 5:16 AM, Devin Jeanpierre
<jeanpierreda at gmail.com> wrote:
> On Thu, Jul 26, 2012 at 1:20 AM, Michael Hrivnak <mhrivnak at hrivnak.org> wrote:
>> If we want pass(), then why not break() and continue()? And also
>> def() and class()? for(), while(), if(), with(), we can make them all
>> callable objects!
> No, you actually can't.
> You omit the one control flow statement that could actually be turned
> into a function, raise. None of the rest could in Python (except
> class), and one of the rest couldn't in any language (def).
> -- Devin
More information about the Python-list