[issue26836] Add memfd_create to os module

2019-06-05 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset b496c2672131ea51a55b5a414aeda271562f18d3 by Victor Stinner (Miss 
Islington (bot)) in branch '3.8':
bpo-26836: Document os.memfd_create() name parameter (GH-13838) (GH-13839)
https://github.com/python/cpython/commit/b496c2672131ea51a55b5a414aeda271562f18d3


--

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-06-05 Thread miss-islington


Change by miss-islington :


--
pull_requests: +13717
pull_request: https://github.com/python/cpython/pull/13839

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-06-05 Thread miss-islington


miss-islington  added the comment:


New changeset ccf0efbb21f6bbf6efd5f8cb560fed11079ce1a2 by Miss Islington (bot) 
(Victor Stinner) in branch 'master':
bpo-26836: Document os.memfd_create() name parameter (GH-13838)
https://github.com/python/cpython/commit/ccf0efbb21f6bbf6efd5f8cb560fed11079ce1a2


--

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-06-05 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +13716
pull_request: https://github.com/python/cpython/pull/13838

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-06-05 Thread Christian Heimes


Christian Heimes  added the comment:

Yes, the feature is implemented and buildbots are green.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-06-05 Thread STINNER Victor


STINNER Victor  added the comment:

It seems like this issue can now be closed, no?

--
nosy: +vstinner

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-06-02 Thread Pierre Glaser


Pierre Glaser  added the comment:

>From a quick skim at the man page of memfd_create, this looks promising.

--

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-31 Thread Antoine Pitrou


Antoine Pitrou  added the comment:

Davin, Pierre, it looks like this could simplify lifetime management of shared 
memory pools, what do you think?

--
nosy: +davin, pierreglaser, pitrou

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-30 Thread Jeroen Demeyer


Jeroen Demeyer  added the comment:

Testsuite breakage: https://bugs.python.org/issue37098

--
nosy: +jdemeyer

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset e70bfa95e6f0c98b9906f306f24d71f8b7689f87 by Miss Islington (bot) 
(Zackery Spytz) in branch 'master':
bpo-26836: Add ifdefs for all MFD_HUGE* constants (GH-13666)
https://github.com/python/cpython/commit/e70bfa95e6f0c98b9906f306f24d71f8b7689f87


--
nosy: +miss-islington

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-29 Thread Zackery Spytz


Change by Zackery Spytz :


--
pull_requests: +13556
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/13666

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-29 Thread Christian Heimes


Christian Heimes  added the comment:

https://buildbot.python.org/all/#builders/99/builds/2738 is failing because 
some HUGE TLB constants are not defined on Gentoo.

--
stage: patch review -> needs patch

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-29 Thread Christian Heimes


Christian Heimes  added the comment:


New changeset 43fdbd2729cb7cdbb5afb5d16352f6604859e564 by Christian Heimes 
(Zackery Spytz) in branch 'master':
bpo-26836: Add os.memfd_create() (#13567)
https://github.com/python/cpython/commit/43fdbd2729cb7cdbb5afb5d16352f6604859e564


--

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-25 Thread Zackery Spytz


Change by Zackery Spytz :


--
nosy: +ZackerySpytz
versions: +Python 3.8 -Python 3.6

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2019-05-25 Thread Zackery Spytz


Change by Zackery Spytz :


--
keywords: +patch
pull_requests: +13477
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/13567

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2016-06-16 Thread Pedro Lacerda

Pedro Lacerda added the comment:

Maybe useful at mmapmodule.c replacing

/* SVR4 method to map anonymous memory is to open /dev/zero */
fd = devzero = _Py_open("/dev/zero", O_RDWR);

tagname is unused at UNIX version of new_mmap_object() so if provided something 
like could be added for Linux only
fd = memfd_create(tagname, O_RDWR);

--
nosy: +Pedro Lacerda

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2016-06-12 Thread Christian Heimes

Changes by Christian Heimes :


--
assignee: christian.heimes -> 

___
Python tracker 

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



[issue26836] Add memfd_create to os module

2016-04-24 Thread Christian Heimes

New submission from Christian Heimes:

Add memfd_create() and constants MFD_ALLOW_SEALING, MFD_CLOEXEC to the os 
module. A glibc wrapper for memfd_create() is not available yet but the 
interface has been standardized.

http://man7.org/linux/man-pages/man2/memfd_create.2.html
https://dvdhrm.wordpress.com/tag/memfd/

--
assignee: christian.heimes
components: Extension Modules
messages: 264109
nosy: christian.heimes
priority: normal
severity: normal
stage: needs patch
status: open
title: Add memfd_create to os module
type: enhancement
versions: Python 3.6

___
Python tracker 

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