-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
bpo-45847: Port _gdbm to PY_STDLIB_MOD (GH-29720) #29720
Conversation
Signed-off-by: Christian Heimes <christian@python.org>
d418618
to
f7e0372
Compare
[ndbm], [], | ||
[gdbm], [have_gdbm_dbmliborder=yes], | ||
[bdb], [], | ||
[with_dbmliborder=error] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd just put AC_MSG_ERROR
here, avoiding the AS_VAR_IF
below, but I'm fine with this variant as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it. For unknown reasons it does not work. I get a bunch of shell error messages when the error case is triggered.
as_save_IFS=$IFS | ||
IFS=: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, why do we save IFS
here? AFAICS, there's nothing touching it, but I may be mistaken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm saving and setting IFS here so the for loop uses :
as a field separator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, just found it in the man page. Learned something new today.
Signed-off-by: Christian Heimes christian@python.org
https://bugs.python.org/issue45847