Re: Where is the collections module?

2007-07-22 Thread Calvin Spealman
Look in Modules/_collectionsmodule.c Pretty much any built-in module will be named thusly. On 7/22/07, Gordon Airporte [EMAIL PROTECTED] wrote: I was going to try tweaking defaultdict, but I can't for the life of me find where the collections module or its structures are defined. Python 2.5.

Re: Where is the collections module?

2007-07-22 Thread Carsten Haese
On Sun, 2007-07-22 at 14:24 -0400, Gordon Airporte wrote: I was going to try tweaking defaultdict, but I can't for the life of me find where the collections module or its structures are defined. Python 2.5. It's written in C. You'll find it in the Python2.5 source code at

Re: Where is the collections module?

2007-07-22 Thread Gordon Airporte
Gordon Airporte wrote: I was going to try tweaking defaultdict, but I can't for the life of me find where the collections module or its structures are defined. Python 2.5. Thanks all. I was expecting it in Python. Time to dust off my C :-P --

Re: Where is the collections module?

2007-07-22 Thread Jerry Hill
On 7/22/07, Gordon Airporte [EMAIL PROTECTED] wrote: Gordon Airporte wrote: I was going to try tweaking defaultdict, but I can't for the life of me find where the collections module or its structures are defined. Python 2.5. Thanks all. I was expecting it in Python. Time to dust off my C