[issue3026] mmap broken with large files on 64bit system

2008-07-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: this patch adds a digest_update function. digest_update calls EVP_DigestUpdate(..) with chunks of 16 MB size and also checks for signals. I didn't write any tests (as they will most probably annoy many people cause they would need much memory).

[issue3026] mmap broken with large files on 64bit system

2008-07-13 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: So would anybody like to contribute a patch? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3026] mmap broken with large files on 64bit system

2008-06-11 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: -> critical versions: +Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3026] mmap broken with large files on 64bit system

2008-06-06 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: the same bug also occurs when computing the md5 of a string larger than 2**32 ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3026] mmap broken with large files on 64bit system

2008-06-04 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I tested this with python 2.6 and can confirm the issue. The problem is that unsigned int isn't big enough to hold the size of the objects, but the size is downcasted to an unsigned int at several places in _hashopenssl.c. All of these occurence

[issue3026] mmap broken with large files on 64bit system

2008-06-04 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing li

[issue3026] mmap broken with large files on 64bit system

2008-06-01 Thread Matthew Mueller
Matthew Mueller <[EMAIL PROTECTED]> added the comment: Actually, I just realized that this might be a problem with md5 module instead. Either way, something is busted. ___ Python tracker <[EMAIL PROTECTED]> _

[issue3026] mmap broken with large files on 64bit system

2008-06-01 Thread Matthew Mueller
New submission from Matthew Mueller <[EMAIL PROTECTED]>: mmap on large files on 64 bit platforms in python >=2.5 returns some sort of garbage. In 2.4 it would just throw an exception. Now I get something like this (script runs md5.md5 on mmap object, and then runs os.system md5sum for compariso