On Thu Jun 07, 2007 at 12:54:29 +1000, Andrew Bennetts wrote: >Ben Leslie wrote: >> On Thu Jun 07, 2007 at 00:27:51 +1000, Andrew Bennetts wrote: >[...] >> > >> > new_file = os.fdopen(old_file.fileno(), old_file.mode, new_bufsize) >[...] >> >> Of course this only works if python is running on a POSIX-like >> operating system... but that isn't really going to be a problem >> for most people... ;) > >Well, even Windows is POSIX-like enough for this to work! So you're right, >it's >not going to be a problem for hardly anyone. :)
Yeah, Windows isn't a problem, just obscure research OSes without a POSIX interface, like Mungi ;) But like I said, that doesn't affect hardly anyone. B _______________________________________________ coders mailing list coders@slug.org.au http://lists.slug.org.au/listinfo/coders