Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98459
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | yueyoum <yueyoum@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | how to copy PyObject * memory data to another memory address? |
| Date | Sat, 07 Nov 2015 21:23:51 +0800 |
| Lines | 6 |
| Message-ID | <mailman.134.1446997008.16136.python-list@python.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | base64 |
| X-Trace | news.uni-berlin.de aaEyNmm8iCO0EeTcFfIeOwMeIzoektfB7+Iyqt1HzTYA== |
| Return-Path | <yueyoum@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | UNSURE 0.230 |
| X-Spam-Level | ** |
| X-Spam-Evidence | '*H*': 0.62; '*S*': 0.08; 'python': 0.10; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject: * ': 0.16; 'memory': 0.17; 'to:name:python-list@python.org': 0.20; '(e.g.,': 0.27; 'host': 0.28; 'convert': 0.29; "i'm": 0.30; 'received:google.com': 0.35; 'received:209.85': 0.36; 'to:addr :python-list': 0.36; 'received:209': 0.38; 'received:209.85.220': 0.38; 'shared': 0.38; 'data': 0.39; 'to:addr:python.org': 0.40; '8bit%:100': 0.70; '8bit%:77': 0.84; 'received:103': 0.84; 'subject:address': 0.84; 'subjectcharset:us-ascii': 0.84; 'processes,': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:to:date:mime-version:message-id:content-type; bh=AKwWo1Dqn3bTi9UJMoZ29sDMjZ1IQj+OE44X8hnIhW0=; b=BLIA3vFQzOKqjM/Scgu0RK3S0tkCaemvqTIKBCzijLb/bMqpRLYNHLyxP4Kssa5gpZ 0eKmnvN8L0FyaZ0cTN5ta55s+TI1rmUAUuqx7Dv5D9y3N/ylzZufL3eDgZm7RCXXgpTR Zi93gxzqmrJpg44RCK9tokvFdzsGhF20h1GspoQ5J0bPYLNOaio1D7Kgu6pkoTkoxFNC hJh7Q0bqqdbA2YHSHMchRz5Z3WpsmE4yqQYAoGaaHz0OfgFsqq9eWAbA3Np9tMWd1SxW UFPTrkWlL0zkGZTM9bKLIjx9iavbKjBvt4r8Ywqeifvvchs0ka4QBEOnPRdfVvi7NG6E 7MWw== |
| X-Received | by 10.66.193.8 with SMTP id hk8mr26143483pac.15.1446902632786; Sat, 07 Nov 2015 05:23:52 -0800 (PST) |
| X-Priority | 3 |
| X-Mailman-Approved-At | Sun, 08 Nov 2015 10:36:47 -0500 |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.20+ |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:98459 |
Show key headers only | View raw
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
how to copy PyObject * memory data to another memory address? yueyoum <yueyoum@gmail.com> - 2015-11-07 21:23 +0800
csiph-web