[issue12957] mmap.resize changes memory address of mmap'd region

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12957] mmap.resize changes memory address of mmap'd region

2014-10-05 Thread Mark Lawrence

Mark Lawrence added the comment:

@Michael can you provide a patch to this effect?

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12957] mmap.resize changes memory address of mmap'd region

2013-07-07 Thread Christian Heimes

Changes by Christian Heimes :


--
stage:  -> needs patch
versions: +Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12957] mmap.resize changes memory address of mmap'd region

2011-09-10 Thread Alex Gaynor

Changes by Alex Gaynor :


--
nosy: +alex

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12957] mmap.resize changes memory address of mmap'd region

2011-09-10 Thread Michael Schurter

New submission from Michael Schurter :

Since mmap.resize uses MREMAP_MAYMOVE on Linux, it would be nice to warn users 
that pointers into their memory mapped regions will be invalid after resizes. 
Linux's manpage offers the following explanation:

"If the mapping is relocated, then absolute pointers into the old mapping 
location become invalid (offsets relative to the starting address of the 
mapping should be employed)."

Since the only way I know of to use pointers into mmaps from pure Python is to 
use ctypes..from_buffer(), perhaps clarification would be better in 
the ctypes docs.

--
assignee: docs@python
components: Documentation
files: killctypes.py
messages: 143845
nosy: docs@python, schmichael
priority: normal
severity: normal
status: open
title: mmap.resize changes memory address of mmap'd region
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file23126/killctypes.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com