Bus error when using mmap
Oleg Broytmann
phd at phd.pp.ru
Wed Sep 26 06:36:37 EDT 2001
On Wed, Sep 26, 2001 at 12:19:25PM +0200, Boyd Roberts wrote:
> > When trying to write beyond EOF (of original file) in mapping of mmap I
> > receive BUS ERROR. Interpreter just quits. While it is understandable,
> > maybe some safety checks could be done in mmap methods to prevent such
> > unstable behaviour?
>
> when i drive a car into a wall it crashes. could we move the walls?
It is virtual world. Python should not crash - it must notify the
programmer: "I've hit the wall". The programmer will then decide what to do
- move the wall, ride around it, etc.
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list