Ned Deily <n...@acm.org> added the comment:

I think you're right that the casts are incorrect.  I think the existing cast 
ia a day one bug in Python 3.  The question is why hasn't it been a problem?  
That area needs fixing up since NSModuleForSymbol, NSLookupAndBindSymbol, and 
NSLibraryNameForModule are now deprecated interfaces.  Also, in the patch, 
shouldn't the wcsncpy be followed by a wcscpy(tmpbuffer, argv0_path) as well?

----------

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

Reply via email to