{"action":"created","issue":{"url":"https://api.github.com/repos/pybind/pybind11/issues/982","repository_url":"https://api.github.com/repos/pybind/pybind11","labels_url":"https://api.github.com/repos/pybind/pybind11/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/pybind/pybind11/issues/982/comments","events_url":"https://api.github.com/repos/pybind/pybind11/issues/982/events","html_url":"https://github.com/pybind/pybind11/issues/982","id":248090421,"number":982,"title":"PyPy3 5.8.0 failures -- ","user":{"login":"DavidCallahan","id":3532841,"avatar_url":"https://avatars3.githubusercontent.com/u/3532841?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidCallahan","html_url":"https://github.com/DavidCallahan","followers_url":"https://api.github.com/users/DavidCallahan/followers","following_url":"https://api.github.com/users/DavidCallahan/following{/other_user}","gists_url":"https://api.github.com/users/DavidCallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidCallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidCallahan/subscriptions","organizations_url":"https://api.github.com/users/DavidCallahan/orgs","repos_url":"https://api.github.com/users/DavidCallahan/repos","events_url":"https://api.github.com/users/DavidCallahan/events{/privacy}","received_events_url":"https://api.github.com/users/DavidCallahan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-04T19:00:47Z","updated_at":"2018-03-22T18:22:02Z","closed_at":null,"author_association":"NONE","body":"\r\n## Issue description\r\n\r\ntest failures with PyPy 5.8.0\r\n\r\n## Reproducible example code\r\n\r\nUsing a recent \"portable\" PyPy distribution (https://github.com/squeaky-pl/portable-pypy) \r\n\r\n```\r\nPython 3.5.3 (a37ecfe5f142bc971a86d17305cc5d1d70abec64, Jun 08 2017, 19:43:54)\r\n[PyPy 5.8.0-beta0 with GCC 6.3.0]\r\n```\r\nRunning the tests fails with this error (which also happens in the 2.1 branch)\r\n\r\n```\r\n/home/dcallahan/projects/pybind11/include/pybind11/class_support.h: In function ‘PyObject* pybind11::detail::make_new_python_type(const pybind11::detail::type_record&)’:\r\n/home/dcallahan/projects/pybind11/include/pybind11/class_support.h:555:16: error: ‘struct _heaptypeobject’ has no member named ‘ht_qualname’\r\n     heap_type->ht_qualname = ht_qualname.release().ptr();\r\n```\r\nPyPy does not define this field. (from ```cpyext_opbject.h```) (which is also true in [their source](https://bitbucket.org/pypy/pypy/src/8c68d973f65bcd8df5074af3ba9031c440eec3c8/pypy/module/cpyext/parse/cpyext_object.h?at=default&fileviewer=file-view-default#cpyext_object.h-315))\r\n\r\n```\r\ntypedef struct _heaptypeobject {\r\n    PyTypeObject ht_type;\r\n    PyNumberMethods as_number;\r\n    PyMappingMethods as_mapping;\r\n    PySequenceMethods as_sequence;\r\n    PyBufferProcs as_buffer;\r\n    PyObject *ht_name, *ht_slots;\r\n} PyHeapTypeObject;\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pybind/pybind11/issues/comments/375409610","html_url":"https://github.com/pybind/pybind11/issues/982#issuecomment-375409610","issue_url":"https://api.github.com/repos/pybind/pybind11/issues/982","id":375409610,"user":{"login":"jagerman","id":4459524,"avatar_url":"https://avatars3.githubusercontent.com/u/4459524?v=4","gravatar_id":"","url":"https://api.github.com/users/jagerman","html_url":"https://github.com/jagerman","followers_url":"https://api.github.com/users/jagerman/followers","following_url":"https://api.github.com/users/jagerman/following{/other_user}","gists_url":"https://api.github.com/users/jagerman/gists{/gist_id}","starred_url":"https://api.github.com/users/jagerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagerman/subscriptions","organizations_url":"https://api.github.com/users/jagerman/orgs","repos_url":"https://api.github.com/users/jagerman/repos","events_url":"https://api.github.com/users/jagerman/events{/privacy}","received_events_url":"https://api.github.com/users/jagerman/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T18:22:02Z","updated_at":"2018-03-22T18:22:02Z","author_association":"MEMBER","body":"The `__qualname__` issue is probably a result if the ifdefs: I think we're doing something in the Python 3 path that we shouldn't be under PyPy3.  I just pushed the local work I'd done a few months ago to here: https://github.com/jagerman/pybind11/tree/pypy3\r\n\r\nFeel free to steal that and update/change it as necessary (it may need some updating to apply cleanly to current `master`)."}}
{"actor":{"display_login":"jagerman"}}