git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Give python a chance to find "backported" modules

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 18, 2005, 13:18 UTC
Message-ID
<Pine.LNX.4.63.0511181415380.28109@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<Pine.LNX.4.63.0511160331150.15130@wbgn013.biozentrum.uni-wuerzburg.de>
Hi,
On Wed, 16 Nov 2005, Johannes Schindelin wrote:
> python 2.2.1 is perfectly capable of executing git-merge-recursive,
Well, no.

Actually, my tests ran, but only because they were trivial, or next to it. In line 477 of git-merge-recursive.py, there is a reference to an __iter__ member of a list (the recs object). Python 2.2.1 does not know about that, but rather wants to do the iteration over the collection iter(recs). However, this does not work, as some of the contained objects have to be skipped.

So I bit the bullet, compiled Python 2.4.2, and it works. Sorry for the noise.

Ciao, Dscho

Previous: Johannes Schindelin
Message 4 of 4 in “Give python a chance to find "backported" modules”
  1. Give python a chance to find "backported" modulesJohannes Schindelin, Nov 16, 2005
  2. Junio C HamanoNov 16, 2005
  3. Johannes SchindelinNov 16, 2005
  4. Johannes SchindelinNov 18, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.