Source code for itertools

Brian Curtin brian.curtin at gmail.com
Mon Aug 30 23:37:05 EDT 2010


On Mon, Aug 30, 2010 at 22:06, vsoler <vicente.soler at gmail.com> wrote:

> On 31 ago, 04:42, Paul Rubin <no.em... at nospam.invalid> wrote:
> > vsoler <vicente.so... at gmail.com> writes:
> > > I was expecting an itertools.py file, but I don't see it in your list.
> > >> ./python3.1-3.1.2+20100829/Modules/itertoolsmodule.c
> >
> > looks promising.  Lots of stdlib modules are written in C for speed or
> > access to system facilities.
>
> Lawrence, Paul,
>
> You seem to be running a utility I am not familiar with. Perhaps this
> is because I am using Windows, and most likely you are not.
>
> How could I have found the answer in a windows environment?
>
> Thank you very much
> --
> http://mail.python.org/mailman/listinfo/python-list
>

You need to checkout the source from svn (or pull from applicable hg
mirrors).

For example:
1. svn co http://svn.python.org/projects/python/branches/release31-maint
2. open Modules/itertoolsmodule.c

The C code for extension modules doesn't get distributed with the
installers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100830/3aef35fa/attachment-0001.html>


More information about the Python-list mailing list