Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Dirkjan Ochtman
On Tue, Aug 18, 2009 at 13:32, Mark Hammond wrote: > I can make time, somewhat spasmodically, starting fairly soon.  Might I > suggest that as a first task I can resurrect my old stale patch, and you can > arrange to install win32text locally and start experimenting with how mixed > line-endings ca

Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Dirkjan Ochtman
On Tue, Aug 18, 2009 at 10:12, "Martin v. Löwis" wrote: > In this thread, I'd like to collect things that ought to be done > but where Dirkjan has indicated that he would prefer if somebody else > did it. I think the most important item here is currently the win32text stuff. Mark Hammond said he w

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread Dirkjan Ochtman
On Mon, May 18, 2009 at 12:07 AM, "Martin v. Löwis" wrote: > I fail to see the relationship, so: no effect that I can see. > > Why do you think that optimization efforts could be related to > the PEP 384 proposal? It would seem to me that optimizations are likely to require data structure changes

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-17 Thread Dirkjan Ochtman
On Sun, May 17, 2009 at 10:54 PM, "Martin v. Löwis" wrote: > Excluded Functions > -- > > Functions declared in the following header files are not part > of the ABI: > - cellobject.h > - classobject.h > - code.h > - frameobject.h > - funcobject.h > - genobject.h > - pyarena.h > - py

Creating dict from keys and values

2005-05-29 Thread Dirkjan Ochtman
Hi there, I'm looking for an intuitive way of creating a dict from what the dict.keys() and dict.values() will return (two lists). Currently, I'm using this code: > d = {} > for i in range(len(data)): > d[header[i]] = data[i] But this feels kind of inelegant. So: is there a better way?

Re: Tibia 0.1 DOM-based website editor

2004-12-10 Thread Dirkjan Ochtman
Stick the single tibia.tba file on your webserver (assuming Python is installed) and you're off and editing files in the same folder or below. Admins can edit any element; non-admins can edit any element for which admins give them permission. - Stuck in /var/www/localhost/cgi-bin/ - Changed permiss