Re: [Python-Dev] Mercurial migration: help needed
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 can work for you. Once we are all playing in the same ballpark > I think we should be able to make good progress. Sounds good to me. Cheers, Dirkjan -- http://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Mercurial migration: help needed
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 would work on this; Mark, when do you have time for this? Then I could set apart some time for it as well. Have stalled a bit on the fine-grained branch processing, hope to move that forward tomorrow. Cheers, Dirkjan -- http://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] PEP 384: Defining a Stable ABI
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, for exactly the kind of core data structures that you're talking about locking down. But that's just a high-level view, I might be wrong. Cheers, Dirkjan -- http://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] PEP 384: Defining a Stable ABI
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 > - pydebug.h > - symtable.h > - token.h > - traceback.h What kind of effect does this have on optimization efforts, for example all the stuff done by Antoine Pitrou over the last few months, and the first few results from unladen? Will it mean we won't get to the good optimizations until 4.0? Or does it just mean unladen swallow takes longer to come back to trunk (until 4.0) and every extension author who wants to be compatible with it will basically have the same burden as now? Cheers, Dirkjan -- http://mail.python.org/mailman/listinfo/python-list
Creating dict from keys and values
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? TIA, Dirkjan -- http://mail.python.org/mailman/listinfo/python-list
Re: Tibia 0.1 DOM-based website editor
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 permissions to 755 - Renamed to tibia.cgi ... 500 Internal Server Error. I don't have a lot of experience with CGI, though, so any help would be welcome. Regards, Dirkjan -- http://mail.python.org/mailman/listinfo/python-list