- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | aixtools@gmail.com |
|---|---|
| Recipients | Michael.Felt, aixtools@gmail.com, ericvw, martin.panter |
| Date | 2016-08-21.17:15:59 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <611ed5a4-2582-b862-17d9-4bee2c3f2639@gmail.com> |
| In-reply-to | <1471481024.97.0.223027195692.issue27643@psf.upfronthosting.co.za> |
| Content |
|---|
I'll get to this asap. Have to install a new "clean" environment aka a new virtual machine. On 18-Aug-16 02:43, Martin Panter wrote: > Martin Panter added the comment: > > Michael, byref() is just a helper for passing an object’s address to a C function. Calling func(byref(b), ...) in Python is equivalent to the C code > > unpack_bitfields(&b, ...) > > I still think the root problem is in unpack_bitfields(). When compiled with XLC, your experiments confirm that it always returns unsigned values, and with GCC, it returns signed values. > > It looks like you can detect XLC with the __IBMC__ and __xlC__ macros (not sure if there is a practical difference). So perhaps we can fix this with > > #ifndef __xlC__ > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue27643> > _______________________________________ |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-08-21 17:15:59 | aixtools@gmail.com | set | recipients: + aixtools@gmail.com, ericvw, martin.panter, Michael.Felt |
| 2016-08-21 17:15:59 | aixtools@gmail.com | link | issue27643 messages |
| 2016-08-21 17:15:59 | aixtools@gmail.com | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
