]> code.ossystems Code Review - openembedded-core.git/commit
python3: fix weakref spewing exceptions during interp finalization
authorMark Asselstine <mark.asselstine@windriver.com>
Fri, 14 Jul 2017 14:01:09 +0000 (10:01 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 11:36:35 +0000 (12:36 +0100)
commit8aaf09a916a2f66f1a6a79cbddf45390ecefde4f
treeb68c89415472697f31e7515fe5c6708f42f41231
parent14b41d6ad6f582a229b6bd62fc4eb17f615d1ad7
python3: fix weakref spewing exceptions during interp finalization

When py3 applications are exiting we often see errors similar to the
following:

Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fcb56b09400>
Traceback (most recent call last):
  File "/usr/lib64/python3.5/weakref.py", line 117, in remove
  TypeError: 'NoneType' object is not callable

After a quick search this was found to be a well reported issue
upstream and had an appropriate fix which is backported here.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.5.3.bb