Am 21.03.2013 16:29, schrieb PJ Eby: > Very nice! I definitely would like to use this for setuptools, but I > actually want it for versions 2.3-2.5, which can't use requests or > urllib3 or anything like that. So I hacked on the code a bit and got > it to work (or at least got the __main__ stub to spit out a bunch of > data) with Python 2.3 and ctypes 1.0.2 (the last standalone release > for which Windows binaries are available). Would you like a patch? > > (Note: absolute_import, decorators, and the actual use of "with:" and > generator expressions had to go, but this doesn't change any API or > semantics as far as I can tell, just a bit of appearance here and > there, and the code still runs with 2.4, 2.5, 2.7, 3.1, and 3.2 that I > tried.)
Sure, send me your patch and I'll add it later. Feel free to include a copy of the code in setuptools if you like. I don't mind as long as it keeps our users happy. ;) Christian _______________________________________________ Catalog-SIG mailing list Catalog-SIG@python.org http://mail.python.org/mailman/listinfo/catalog-sig