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.
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.
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.
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.
I'm saving and setting IFS here so the for loop uses : as a field separator.
There was a problem hiding this comment.
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