[Python-3000] iostack, second revision

Barry Warsaw barry at python.org
Mon Sep 11 13:35:51 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sep 10, 2006, at 1:53 PM, Anders J. Munch wrote:

> I say drop seek_cur and seek_end altogether, and keep only absolute
> seek.

I was just looking through some of our elf/dwarf parsing code and we  
use seek_cur quite a bit.  Not that it couldn't be rewritten to use  
absolute seek, but it's also not the most natural interface.  I'd opt  
for keeping those interfaces for binary files since there are use- 
cases where they are useful.

- -Barry


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRQVKGHEjvBPtnXfVAQL0GwP+KG8NflbbSoUxHLIkCyMd+NFj2fR1GAU5
dfu7cIc/oJpx25VxqgcDqM3IdKqp5CyJLG7AjtPXm8SuWGba3YmunHAcvnPPmP6Z
qdxAI8KD+Sf/imEuB7te29AUGlFteh+6IGKJKBMjxiXSjjqw2lwhDQphyhVPKuHp
3j+oly6uZ8E=
=/1N6
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list