Newsgroups: comp.lang.python
From: Gareth.McCaug...@pobox.com (Gareth McCaughan)
Date: Sat, 12 Jan 2002 15:06:48 +0000
Local: Sat, Jan 12 2002 10:06 am
Subject: Re: Another Language Change for Debate
Tim Peters wrote: [I suggested the following:] > > class MyClass: > > This generalizes in an obvious way: > It's more that a gazillion "toy parser" tools out there (from Emacs class MyClass: By the way, if you define generator(x) to be the same def f(x) [generator]: after which f *is* a generator, not a function that returns The manic generalizer in me wants to add that if you have def f(x) [memoized,classmethod,ignoring_errors]: but I'm not sure whether that's elegant or gratuitous def memoized(f): def ignoring_errors(f): Note that "ignoring_errors" may be a misleading name, -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||