[06:17:29] <craigkerstiens> so pypy/python3 could easily be done
[06:18:11] <aclark> CherryPy works in python3 IIRC
[06:19:44] <aclark> craigkerstiens: that plone stuff is quite a feat. people have been dancing around doing pip install plone for years without quite getting it right.
[06:20:10] <craigkerstiens> aclark: I was impressed to see it from day 1 of the launch actually
[07:15:59] <kennethreitz> I would have clalled it xzibit
[14:32:57] <MattBowen> anyone know if chameleon is smart about escaping non-structure text? It's looking like it is, because I"m passing through strings that have & in them to tal:content without structure, and it's not coming out &amp;
[14:33:10] <MattBowen> (which is what i'd expect it to do)
[14:35:35] <hazmat> MattBowen, yeah.. it does escape by default
[14:35:53] <hazmat> MattBowen, you need the 'structure:' directive to unescape if your using tal syntax
[14:35:57] <MattBowen> hazmat: right, what's weird to me is if I pass in something that's already escaped, it doesn't escape all the &'s again
[14:36:22] <hazmat> MattBowen, its wierd to you that it doesn't double escape?
[14:37:12] <MattBowen> hazmat: it is, it's jut not what I'd expect. Like, if I have tal:content="'Cats & Dogs'"
[14:37:27] <MattBowen> I'd expect it to see the & and say "need to escape that ot be "Cats &amp; Dogs"
[14:37:50] <barry> aclark: it always makes slogging through a bazillion bounce messages so much more enjoyable :)
[14:38:22] <hazmat> MattBowen, the escape impl is probably smart about not considering entities, instead of a simple string replace
[14:38:56] <MattBowen> hazmat: yeah, that's what it looks like. i was trying to find that documented somewhere, but for my purposes, I'll trust what i'm seeing
[14:39:32] <hazmat> heh barry you got a moment? i've been trying to track down a wierd problem with py2.7 only on precise and only on the buildd servers
[14:41:28] <hazmat> barry, so juju launches another python process as part of its test suite, to support dev environments we basically set pythonpath env for the new process to ":".join(sys.path) the problem is that python process seems to die.. the only output is
[14:41:29] <hazmat> Failure: juju.machine.errors.UnitDeploymentError: /usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
[14:46:41] <hazmat> so its argparse is in the stdlib as of 2.7 and we still have a separate argparse package
[14:47:36] <barry> hazmat: i do remember seeing it before but i don't remember the cause. :/ i think it doesn't come from python but from the import of pkg_resources
[14:47:53] <barry> (almost certainly also w/debian patch to use dist-packages)
[14:48:13] <barry> hazmat: i'd have to re-investigate. is that something you'd like some help with?
[14:48:29] <hazmat> barry, cool, i think i've got enough to go on, simple fix to avoid it is just don't have a dep python-argparse where python == 2.7