Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query variable unified with string returns bytes instead of string #63

Open
joshi-sh opened this issue Sep 18, 2019 · 0 comments
Open
Milestone

Comments

@joshi-sh
Copy link

For the rule file

foo("bar", "baz").

And the query

for result in prolog.query('foo("bar", X)'):
    print(r['X'])

I get b'baz' and not 'baz', is there any way to get a string as the result?

@joshi-sh joshi-sh changed the title Query variable unified with string returns byts instead of string Query variable unified with string returns bytes instead of string Sep 18, 2019
@yuce yuce added this to the v0.3.3 milestone Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants