richard boulton crxniebtartarusorg terry reedy wrote case builtin function cant work work guess talking fact instances get bound argument first parameter builtin yes haoyu talking suspect meant doesnt work rather work thats reason doesnt work 2x 30 extension function show difference perhaps swig needs revision 3x swig need update 30 precisely haoyu working dont think particular aspect extension functions changed 30 say problem haoyu trying solve working replace usage newinstancemethod described code snippets end email swig currently generates code python 2x makes heavy use newinstancemethod since new deprecated 30 need find replacement ill ask direct question recommended replacement newinstancemethod particular would recommended replacement following code snippet class testbaseobject proxy c testbase class unrelated code omitted pass _testtestbase_test c function _test dll module testbasetest newinstancemethod_testtestbase_testnonetestbase secondary question whether newinstancemethod ever right way swig working person originally wrote python backend swig isnt around far know dont knowledge reason code written way builtin callables also different respect parameter naming binding args keyword perhaps reduce confusion named functions manuals might helpful beginners yes richard _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom fri 08 aug 2008 033130 0100 python3000 binding builtin function class