I was trying to get phpsh working the other day, and it kept dying with
Traceback (most recent call last): File "./phpsh", line 329, in <module> select.poll().register(p.stderr) AttributeError: 'module' object has no attribute 'poll'
As it turns out, Python as shipped with Mac OS X Leopard was compiled without select.poll(). I have no idea why, but it’s most irritating. It’s also perhaps the only good reason to use something like MacPorts, which I have complained about before.
I’ve reported the bug to Apple as #6444485.
Discussion