Why is double-backslash required in Markdown to escape a $?

Why is double-backslash required in Markdown to escape a $?

A single backslash used to work, but when I upgraded my Python install, now I see that \$ doesn’t work and I have to use \\$.