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

python: malformed key names not rejected #2583

Open
markus2330 opened this Issue Apr 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@markus2330
Copy link
Contributor

markus2330 commented Apr 4, 2019

Steps to Reproduce the Problem

import kdb
k = kdb.Key("abc")
k.name="abc"

Expected Result

That for both ways to assign the key's name an exception is raised that "abc" is not a valid keyname.

Actual Result

k = kdb.Key("abc")
#> <kdb.Key; proxy of <Swig Object of type 'kdb::Key *' at 0x7f9ec38b2c90> >
k.name
#> ''
k.name="abc"
#> segfault

System Information

  • Elektra Version: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.