(original) (raw)
I love the 'x' mode open in recent versions of Python. I just discovered that lzma.open doesn't support it. It seems there's an elif that explicitly checks the modes allowed. I added�"x" and "xb" to the choices and now it seems to work as I would like.