<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/66356>66356</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            AttributeError when using Pdb in lldb's script interpreter
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lldb,
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          DavidSpickett
      </td>
    </tr>
</table>

<pre>
    This was originally reported by LambdaKnight on Discord.

```
>>> import pdb
>>> pdb.set_trace(
Traceback (most recent call last):
  File "<console>", line 1, in <module>
 File "/usr/lib64/python3.6/pdb.py", line 1585, in set_trace
 Pdb().set_trace(sys._getframe().f_back)
  File "/usr/lib64/python3.6/pdb.py", line 156, in __init__
 readline.set_completer_delims(' \t\n`@#$%^&*()=+[{]}\\|;:\'",<>?')
AttributeError: module 'lldb_editline' has no attribute 'set_completer_delims'
```

I think this is because our readline replacement `lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp` is too minimal. It would be great if this could be fixed so we can recommend Pdb as the go to for debugging anything Python related in lldb.

Stubbing out the method is the first step, then figuring out what it's supposed to do.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUlE9v4zgPxj-NciHGcOQ_SQ4-tEkNFO97GGznHkgWY2srS4ZEN5tvv6CdtOhgLgsYiixK9O8hH0WlZHuP2IjqWVSnjZppCLE5qQ9r3ibbvSPRRgdza34NNsFVJQjR9tYr524QcQqR0IC-wf_VqI36n7f9QBA8nGzqQjSZyE8if7qPdX5_1tfiZX3AjpwIJqN_j0xGZwnpTFF1KOR-jf_iN626dxByP4ZEELFDT9Ap58CpREIeRHH_LEBrHYKQUhTHLvgUHHJ6KYU8grMeYcsz60EUxzGYeY2vhz_PynZOUcjWWV2XQrbTjYbgi6zmudHZdPuWsdpX96Rf_GvGn0azEnn4pizdUnbukS5RjXiPX84skrX8L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