Pyste bug? Using Wrapper with member functions and --pyste-ns
Hello, I just noticed that when using the Pyste Wrapper call to create a member function wrapper, it places the wrapper definition code outside of the specified (--pyste-ns=) namespace, but the generated module code looks for it in the namespace. This doesn't seem to happen with normal functions, just members. -- Dan Haffey
Hi Dan, Dan Haffey wrote:
Hello,
I just noticed that when using the Pyste Wrapper call to create a member function wrapper, it places the wrapper definition code outside of the specified (--pyste-ns=) namespace, but the generated module code looks for it in the namespace. This doesn't seem to happen with normal functions, just members.
Really sorry for not responding earlier. I somehow missed your message. I will fix this bug shortly in CVS. Best Regards, Bruno.
Dan Haffey wrote:
Hello,
I just noticed that when using the Pyste Wrapper call to create a member function wrapper, it places the wrapper definition code outside of the specified (--pyste-ns=) namespace, but the generated module code looks for it in the namespace. This doesn't seem to happen with normal functions, just members.
Fixed. Thanks Dan! Regards, Nicodemus.
participants (2)
-
Dan Haffey -
Nicodemus