-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugIssues that represent errors in the codeIssues that represent errors in the code
Description
What is your problem?
Call a Python method via py-dot
does not work with --compile=full
flag.
How to reproduce your problem?
Run the following MeTTa code with MeTTaLog with --compile=full
flag
;; Compare two string in lexical order
(: String.lt (-> String String Bool))
(= (String.lt $x $y) ((py-dot $x __lt__ (-> String String Bool)) $y))
;; Test String.lt
!(String.lt "abc" "def")
What should you normal expect?
[True]
What do you get instead?
[(<method-wrapper '__lt__' of str object at 0x7fbb27ed47b0> "def")]
What else do you have to say?
- Tested on revision 225d221.
Metadata
Metadata
Assignees
Labels
bugIssues that represent errors in the codeIssues that represent errors in the code