https://bugzilla.novell.com/show_bug.cgi?id=466997
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=466997#c27
--- Comment #27 from Peter Poeml 2009-01-26 07:13:07 MST ---
Well, your suggestion is not reallty a "fix". The problem is a regression in
Python, by all that we know so far.
The suggestion for a workaround notwithstanding - it is not the root of the
problem.
The larger implication is that the regression in Python will have the same
impact on similar applications, and this is what needs to be fixed.
Of course, a workaround in osc to change behaviour when running on Python could
be a worthwhile thought. However, you are probably not aware of the fact that
the mmap is there for a reason. It avoids the need to read the entire file to
be sent into memory. It is not a good idea to read huge files into memory,
because memory on most computer systems is quite limited.
Thus, a better workaround is needed.
I wondered if passing a file object might be a better idea than passing a mmap
object. But I think it would fail in the same way.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.