bad kCFTaggedObjectID_Integer definition ?
- Dominant language
- Python
- Stars
- 192
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/kivy/pyobjus/blob/master/pyobjus/pyobjus_conversions.pxi#L188
defines it as (3 << 1) + 1
while all references i seem to find defines it as (1 << 1) + 1
http://www.crest.iu.edu/projects/conceptcpp/docs/html-ext/CGObjCMac_8cpp_source.html#l01623
http://bou.io/talks/TaggedPointersTests.html#4
##
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7064670-bad-kcftaggedobjectid_integer-definition?utm_campaign=plugin&utm_content=tracker%2F77137&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77137&utm_medium=issues&utm_source=github).
Contributor guide
No contributing guide indexed for this repository
Research direction
Open pyobjus/pyobjus_conversions.pxi at line 188 and compare the kCFTaggedObjectID_Integer definition with the two linked reference implementations. Check how the constant is used in nearby conversion code, then correct the definition if the references confirm the discrepancy and verify that the resulting value matches the intended tagged-pointer behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100