Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98459 > unrolled thread
| Started by | yueyoum <yueyoum@gmail.com> |
|---|---|
| First post | 2015-11-07 21:23 +0800 |
| Last post | 2015-11-07 21:23 +0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
how to copy PyObject * memory data to another memory address? yueyoum <yueyoum@gmail.com> - 2015-11-07 21:23 +0800
| From | yueyoum <yueyoum@gmail.com> |
|---|---|
| Date | 2015-11-07 21:23 +0800 |
| Subject | how to copy PyObject * memory data to another memory address? |
| Message-ID | <mailman.134.1446997008.16136.python-list@python.org> |
I'm working on a C program that has Python embedded. The host program is multi processes, which communicate via shared memory (mmap). I create a Python object (e.g., PyDict_New) in one process. How can I copy this data to shared memory so that the other process can obtain this data and convert to Python Object? 发自网易邮箱大师
Back to top | Article view | comp.lang.python
csiph-web