A generator cycles around to a yield expression and waits, with a next or send triggering a next cycle. Use send if you want to pass in some data.
So why is next, a builtin, calling __next__, but yet there's no send calling __send__? I should Google up some discussions on that, as no doubt there are some. What I'm thinking: I don't think we'd want people overloading send, since it's so conceptually wired to yield, whereas __next__ (triggered by next) might be any useful idea of an iteration.
Next, a web form templating library, wtforms, allows macros, validators. But there's something changed in the design since three weeks ago that leaves this geek thinking maybe stay away for now.
Jason kicked off with some apologies for our lame swag, Argentina kicking our butts in the cool T-shirts department. I asked about just importing theirs, which are open source anyhoo, really like their look.
This other geek brought chantrelles, made some offers to share, got 'em on my radar, love those doodads. Others might beat me to 'em though, not that aggressive (or selfish, as the case may be -- got Buxton's already this year).
Speaking of Jim Buxton, I'm missing Wanderers tonight, this monthly Python meeting helping with professional development in a very niche area, a kind of workout I don't get at Pauling House, no offense.
Jason: robocop and unicorn is "a thing" right now, what the hell?
Flatland. Looks pretty cool, Jason's invention. Very schema-based, flexible, works with JSON somehow. Validation is agnostic as to where the data came from, maybe not a web form (maybe a database?).
The presentation on FormEncode (based on CherryPy) is by a geek who just moved to Portland from Peoria. We gave him a round of applause for stepping up to the plate on such short notice.
Two types of form libraries (looking at a slide): lightweight and heavyweight. Validation will never be as sexy as CouchDB or JQuery-UI. Hey, good to know what's sexy, eh? Thanks guy.
It's "beer o'clock"! Produce Row. I hung out with some Intel geeks, including Matt McCredie, talking about how to make Windows screen savers as a classroom activity, also marketing e.g. for the Core i7 (formerly Nehelam), the new CPU chip, officially releasing in about five days.