[Yhc] Ctypes Snapshots

Andrew Wilkinson andrewjwilkinson at gmail.com
Fri Feb 9 08:52:11 EST 2007


I've commit a patch which should make it work now.

Cheers,
Andrew

On 2/9/07, Neil Mitchell <ndmitchell at gmail.com> wrote:
>
> Hi
>
> http://docs.python.org/lib/tarfile-objects.html
>
> extractall is new in Python 2.5.
>
> The extractall function is implemented as:
>
>
> https://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=104534&aid=1043890
>
> Could we copy that in somewhere, and use that one instead?
>
> Thanks
>
> Neil
>
>
> On 2/9/07, Malcolm Wallace <Malcolm.Wallace at cs.york.ac.uk> wrote:
> > "Andrew Wilkinson" <andrewjwilkinson at gmail.com> writes:
> >
> > > This morning I have committed a patch which removes the need to have
> > > subversion installed when building Yhc. If you don't have subversion
> it will
> > > detect this and download a snapshot of ctypes, if you do have
> subversion
> > > then nothing will change. This should fix bug #107.
> >
> > Thanks for this, but it doesn't seem to work for me (Python 2.3.3, scons
> > 0.96.1, MacOS 10.3.9)
> >
> >   Downloading Ctypes snapshot...
> >   Downloaded.
> >   AttributeError: 'TarFile' object has no attribute 'extractall':
> >     File "SConstruct", line 69:
> >       depends(env, ARGUMENTS, True)
> >     File "/Users/malcolm/Haskell/yhc/build/depends.py", line 44:
> >       tarfile.open("depends/ctypes-snapshot-20070206.tar.gz",
> "r:gz").extractall("depends")
> >
> > Regards,
> >     Malcolm
> > _______________________________________________
> > Yhc mailing list
> > Yhc at haskell.org
> > http://www.haskell.org/mailman/listinfo/yhc
> >
> _______________________________________________
> Yhc mailing list
> Yhc at haskell.org
> http://www.haskell.org/mailman/listinfo/yhc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/yhc/attachments/20070209/81c9bffe/attachment.htm


More information about the Yhc mailing list