Re: Windows Debugging w/o MS

2007-05-24 Thread Christopher Anderson
> Debug builds are incompatible with release builds. You'll need to > build every binary extension in debug mode (assuming the original > authors don't provide debug builds). Right, and this is what I would like to avoid having to do. Thanks, Chris PS. Sorry for the duplicate olsongt -- http:/

Re: modifying values of List or Dictionary when iterating on them

2007-05-24 Thread Christopher Anderson
> d=dict(a=1, b=2, c=3) > for k, v in d.iteritems(): > d[k]=d[k]+1 You might as well do: d[k] = v + 1, like for the list. -- http://mail.python.org/mailman/listinfo/python-list

Windows Debugging w/o MS

2007-05-22 Thread Christopher Anderson
Hello all. I have a fairly fundamental question that I have been googling like crazy, but I can only seem to find really outdated or unreliable info: I am trying to build an extension module written in C++ on windows XP. I am trying to use only open-source tools, such as mingw. I'm using the Pytho