Matthew Barnett added the comment:

The patch "issue1075356.patch" is my attempt to fix this bug.

'PyArg_ParseTuple', etc, eventually call 'convertsimple'. What this patch does 
is to insert some code at the start of 'convertsimple' that checks whether the 
argument is a weakref proxy and, if it is, fetch the object to which the proxy 
refers. From then on it's working with the true argument, so it'll work just 
like would have done if it been given the proxied object itself originally.

----------
keywords: +patch
nosy: +mrabarnett
versions: +Python 3.3
Added file: http://bugs.python.org/file28370/issue1075356.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1075356>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to