Python as a community is plagued by massive amounts of wheel-reinvention. The infamous web framework proliferation problem is just the most egregious example.Why is Python “blessed” with so much reinvention? Because it’s often cheaper to rewrite...
What rolls down stairs Alone or in pairs;Rolls over your neighbor’s dog?What’s great for a snack And fits on your back? It’s log, log, log!– Ren & StimpyIt’s good to see that other people are experimenting with alternative logging systems for...
PEP 342 – Coroutines via Enhanced Generators. The name pretty much says it all. This is syntactical support for doing in a “forwards” way, what Twisted does in a “backwards” way, what Stackless Python does by reimplementing the Python interpreter...
Well, less than two weeks after I speculated on how a dirt-simple CPAN clone might be constructed, it’s ready to use for everything but scripts. Installing a Python package can now as simple as typing (say) “easy_install SQLObject”, and boom, you’re...
Okay, maybe that’s a bit bold. But the new EasyInstall command-line tool can take any number of distutils source package URLs (or local filenames), download them, build them, and install them with or without a .pth file. Better yet, you can also...
It seems that CPAN clones are in the air of late. Yesterday, Ian Bicking posted a comment here that he was working on an automated download facility, and today, there was a Planet Python post about Uraga, a CPAN clone some other folks are working on...
Well, I finally managed to squeeze out a few cycles to work on Python Eggs, which I’d left virtually untouched since the work Bob Ippolito and I did on them at Pycon. The net result is that this weekend I finished the core dependency resolution...
Major update to generic functions in CVS: Well, I finally did it. I finally nailed that O(n^2) inequality algorithm, and now only a handful of less-frequently-used criteria types show nonlinear behavior. Before the change, it took almost 2 seconds...
Wow. Almost two weeks since PyCon, and one week since my last post. Lots of interesting stuff going on. On Friday, I’m off to Las Vegas with my wife for the International Lingerie Show. No, not that kind of lingerie show; it’s a trade show, where...
Master Foo and the Ten Thousand Lines
Well, it’s actually a little more than halfway through the actual conference, but things have a sort of halfway feel for me. Today I did my presentation on generic functions, and I think I did okay. A small crowd of people gathered outside...
I just skimmed the PyCon 2005 presentations and papers, and it was interesting to see a few that present ideas that could also be implemented using simple generic functions. For example, Zope 3’s subscription adapters are something you could do...