Re: [python-win32] PyIMAPIProp.GetPropList() and Py_None ref count

2015-08-25 Thread Nick Czeczulin
On 8/24/2015 2:10 AM, Mark Hammond wrote: On 13/08/2015 8:20 PM, Nick Czeczulin wrote: I noticed that every call to PyIMAPIProp.GetPropList() causes the ref count for Py_None to increase by one. Can someone comment on whether the following patch seems correct, or if more might be needed? At

Re: [python-win32] PyIMAPIProp.GetPropList() and Py_None ref count

2015-08-24 Thread Mark Hammond
On 13/08/2015 8:20 PM, Nick Czeczulin wrote: I noticed that every call to PyIMAPIProp.GetPropList() causes the ref count for Py_None to increase by one. Can someone comment on whether the following patch seems correct, or if more might be needed? At face value it looks wrong, but I'm not sure w