Bug 199002
Summary: | Some objects report negative addresses | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ralf Ertzinger <redhat-bugzilla> | ||||
Component: | libxml2 | Assignee: | Daniel Veillard <veillard> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | katzj | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-12-14 15:49:47 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ralf Ertzinger
2006-07-15 15:28:01 UTC
This has been discussed extensively on the python-dev mailing list. http://mail.python.org/pipermail/python-dev/2005-February/051562.html http://codespeak.net/pipermail/pypy-dev/2004q4/001629.html To summarize, one should not assume id() returns a short int, so using "%x" is the wrong way to format the pointer's address. Reassigning the bug to libxml2, since it doesn't look like the upstream developers are willing to change id() in python 2.4. Bahh ... %X generating a negative string, you have to be a python maintainer to consider this sane, sigh ... Daniel Created attachment 143643 [details]
patch to make sure id() extraction is always positive
|