Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620220 - sys-apps/pkgcore-0.9.4[python_targets_python3.5] pquery errors when called - TypeError: 'NoneType' object is not callable
Summary: sys-apps/pkgcore-0.9.4[python_targets_python3.5] pquery errors when called - ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-30 20:21 UTC by Alessandro Barbieri
Modified: 2017-09-21 19:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
info (info,14.38 KB, text/plain)
2017-05-30 20:21 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-05-30 20:21:15 UTC
running pquery with python3.5 (python3.4 and python2.7 works)
for example pquery pkgcore
gives me

sys-apps/pkgcore-0.9.4
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fb7b57ec1e0>
Traceback (most recent call last):
  File "/usr/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fb7b493fea0>
Traceback (most recent call last):
  File "/usr/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Comment 1 Alessandro Barbieri 2017-05-30 20:21:45 UTC
Created attachment 474716 [details]
info

info
Comment 2 Tim Harder gentoo-dev 2017-05-31 12:13:22 UTC
I think this is an upstream python bug that has been fixed but hasn't made it into releases yet, see https://bugs.python.org/issue29519.

Assigning to the python team to see if anyone wants to apply the patch locally for us, otherwise feel free to close the bug as UPSTREAM or whatever.
Comment 3 Tim Harder gentoo-dev 2017-09-21 19:05:19 UTC
This should be fixed now that 3.5.4 is in the tree, if not please reopen.