Re: [Python-Dev] switching on -3 from within a program?

2008-09-17 Thread Anthon van der Neut
Hi Nick, I am aware of that (but others might not, so you are right to point this out). I did follow both Christian's and Benjamin's suggestions. The implementation at the mod_wsgi C level, which is before any module loading is more permanent, but the ctypes trick doesn't require an apache2 resta

[Python-Dev] switching on -3 from within a program?

2008-09-16 Thread Anthon van der Neut
With a minor modification to the Makefile I was able to get mod_wsgi v2.3 to work with python2.6rc1. I promptly got a warning in my apache log files on the depcrecated use of 'sha' in the paste's cookie module, good! And easily fixed. After that I was looking for a way to switch on the -3 warnings

Re: [Python-Dev] Proposal: add odict to collections

2008-09-01 Thread Anthon van der Neut
Sorry to pipe in so late, but this is actually the default behaviour of my C implementation (which I call KIO (Key Insertion Order), there is an option to change this to KVIO (Key (or) Value Insertion Order), which moves the pair to the end. Anthon Armin Ronacher wrote: > Steven D'Aprano pearwoo

[Python-Dev] what license for a module derived from Objects/dictobjec.c

2007-10-12 Thread Anthon van der Neut
I would like to get some advice on which license to include/refer to in my setup.py (and probably the source files). This is for an extension module that is clearly (for the knowledgeable) derived from Python's Objects/dictobject.c and Include/dictobject.h. I first of all don't want to infringe