Unusual behavior with rotor

Terry Reedy tjreedy at udel.edu
Wed Aug 21 05:01:35 CEST 2002

"Jeff Sykes" <jeff at cowz.com> wrote in message
news:3D62F701.E4DE1270 at cowz.com...
> I'm using rotor to encrypt some files. When I open and decrypt the
> files, they are being truncated. Not quite sure what's happening
> but here's a code snip from the class I'm using:

> Weird. Any ideas what's causing this?

Are you on Windows?  Can a rotored char become ^Z (dos/win end of file
If so, and open in (default?) text mode, you could get behavior


More information about the Python-list mailing list