This is helpful for debugging, since automatic bytes to str conversion is not available yet. It is also possible to debug with GDB by breaking on __Pyx_AddTraceback (with Python GDB pretty printers enabled).
(*xs)
| 184 | |
| 185 | |
| 186 | def _print(*xs): |
| 187 | """ |
| 188 | This is helpful for debugging, since automatic bytes to str conversion is |
| 189 | not available yet. It is also possible to debug with GDB by breaking on |
| 190 | __Pyx_AddTraceback (with Python GDB pretty printers enabled). |
| 191 | """ |
| 192 | parts = [] |
| 193 | for s in xs: |
| 194 | if not isinstance(s, (bytes, str)): |
| 195 | s = str(s) |
| 196 | parts.append(_s(s)) |
| 197 | sys.stderr.write(' '.join(parts) + '\n') |
| 198 | |
| 199 | |
| 200 | def iter_keys(prefix): |
nothing calls this directly
no test coverage detected