Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #84771
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <zoneofbattle@yahoo.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'init': 0.07; 'versions,': 0.07; 'function,': 0.09; 'here?': 0.09; 'python': 0.11; 'wrote': 0.14; '2.7.3': 0.16; 'appreciated!': 0.16; 'fine.': 0.16; 'subject:issue': 0.16; 'exception': 0.16; 'all.': 0.16; 'module': 0.19; 'trying': 0.19; 'alex': 0.19; 'to:name:python-list@python.org': 0.22; 'load': 0.23; '(see': 0.26; 'extension': 0.26; 'handling': 0.26; 'exceptions': 0.31; 'anyone': 0.31; 'run': 0.32; 'something': 0.35; 'c++': 0.36; 'module.': 0.36; 'thanks': 0.36; 'similar': 0.36; 'wrong': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'simple': 0.61; 'such': 0.63; 'happen': 0.63; 'content-type:application/octet- stream': 0.65; 'header:Reply-To:1': 0.67; 'received:98.138.229': 0.84; 'concluded': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1422467265; bh=XSO/Jd2QuRzi+iBHCCDor27iC2fpk+2PJ9tlNxfSJJA=; h=Date:From:Reply-To:To:Subject:From:Subject; b=hvis8MR3xtK9lPaz9/XUO6SZp3m2PYnW54ZDPwYJuA0f3UDwPddY2pOgcoIr+UJ2hFAGyHZwwC4cFjPcNc055tozxk2aKLIox6fJj6jxuNCRXRGCSaEYFneIq+BEc2UBlaweg0ToS6nHBIs2lOlwm9v/4pPdbLq9j0Yixtq8HqXdhQkZ+//20O4Rm8EHVC0pQOgdzzrghiutZpV9us3tJmp7pyR3tqIM6qDLqzD7kk+YP1B29xdQ0jOx6apAUHoWg6GDb38vTaBAhu3kKxLQ4C8nful9uguDGwp9ZEWAhfwdbEx8JOdEw7yGx3SXh2d4ocjBUmDXf0As1OcqJowpcw== |
| X-Yahoo-Newman-Property | ymail-4 |
| X-Yahoo-Newman-Id | 546093.86510.bm@omp1042.mail.ne1.yahoo.com |
| X-YMail-OSG | 0RiIVgoVM1myoEyaIPs7X5apeL8pIEc0yltPGD_f8JdmxNsuU5PE8XVaBsjGRai SaHmSnplfuGfBtOaH_ZzT_1aFy8LrhT79sMMZtdxOCskBsN_vQPOkLhpdRsRVynq7uVMtnvpPDwx uxE.tXhjKsELsHtwVbAoteuM0JR2K9DZZYNiBadZskDmvAjKPOh7teQ4T53AkolOtJ6y2X6el.35 xJvWYpT0yZqOglIbbrRWnDf7eGuA7pPqlEWmXFN7kCWu1_D3jIGc9g2ydFlPdjHvbNhjtGOjW14Y FAI5MHjSxJve0Dx9FQE0UFI47JRtgMkLbejvsT4N8Phy1s3dQWN3aey24sk8U1BRQBfDR.us5Aqq 2A0.p7nYcbCxa9zusYQkG6FRJA34iC70Id8sD9s91rnYZgE9pPgs0pwQ78cqbNGi_lYzDNz.4rn7 Wuj.EtZJiuUq_I287Oqi1I95N8QvD8T0_P.xbDN3Ct2jHpHJN245G6JU0VMptP3a8.Ra9QaVkfX8 rKMzATJOcURZwgh1ha9XdlFtNHHt_ |
| Date | Wed, 28 Jan 2015 17:44:52 +0000 (UTC) |
| From | Alex Potapenko <zoneofbattle@yahoo.com> |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | Python on armv7l router: C++ exceptions issue |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="----=_Part_1184247_2028472467.1422467092765" |
| X-Mailman-Approved-At | Wed, 28 Jan 2015 18:52:43 +0100 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | Alex Potapenko <zoneofbattle@yahoo.com> |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.18225.1422467564.18130.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1422467564 news.xs4all.nl 2903 [2001:888:2000:d::a6]:48183 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:84771 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I run Python on an arm-brcm-linux-uclibcgnueabi router. Python was cross-compiled using hndtools-arm-linux-2.6.36-uclibc-4.5.3 toolchain. While trying to use deluge, I realised that there's something wrong with handling C++ exceptions in C++ extension modules: they're not being caught at all. I tested whether C++ exception handling works on my system in general, and concluded it does work fine. I then wrote a simple C++ extension module with a try-catch block in the init function, that has a "throw 1" in the try section and a "catch (...)" section (see module.cpp), and I got "terminate called after throwing an instance of 'int'" when trying to load the module. Tested this with Python 2.7.9 and 3.4.2, however I had similar issues with other versions, such as 2.7.3 and 2.6.9. Does anyone happen to know what I can try here? Any help is greatly appreciated! Thanks in advance, Alex
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Python on armv7l router: C++ exceptions issue Alex Potapenko <zoneofbattle@yahoo.com> - 2015-01-28 17:44 +0000
csiph-web