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 <[EMAIL PROTECTED]> wrote:
"Andrew Wilkinson" <[EMAIL PROTECTED]> 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
[email protected]
http://www.haskell.org/mailman/listinfo/yhc

_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/yhc

Reply via email to