[Bug 345133] New: Python-Bindings: Calling function with None as argument failed
https://bugzilla.novell.com/show_bug.cgi?id=345133 Summary: Python-Bindings: Calling function with None as argument failed Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: juhliarik@novell.com ReportedBy: dfiser@novell.com QAContact: jsrain@novell.com Found By: --- It's not possible to call function with None as argument, but in YCP it's possible to call function with nil as argument. It's necessary to add something similar into python-bindings (to enable to use None in python as nil in YCP is the best solution). Example: //declaration of function in module global boolean Test(term a); //calling from python fail ycp.import_module("TestModule") ycp.TestModule.Test(None) //calling from ycp succeed import "TestModule"; TestModule::Test(nil); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=345133 User juhliarik@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=345133#c1 Jozef Uhliarik <juhliarik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Jozef Uhliarik <juhliarik@novell.com> 2007-12-05 01:57:33 MST --- The problem is solved in version 2.16.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com