DerekSelander / LLDB

A collection of LLDB aliases/regexes and Python scripts to aid in your debugging sessions
GNU General Public License v2.0
1.77k stars 198 forks source link

2 to 3 compat fixes #23

Closed zcutlip closed 4 years ago

zcutlip commented 4 years ago

Created a compat module where you can put python 2/3 compatibility glue.

This especially useful for one-line command script invocations that can't have complicated compatibility logic. So now you can do:

command script "from compat import unichr; do_stuff(unichr(32))"