Considering trailing slashes a string escape seems to have been removed for other string types when merging Python 2 and 3 syntaxes.
I'm currently working on an MR for hynek/vim-python-pep8-indent to properly ignore braces in byte strings https://github.com/hynek/vim-python-pep8-indent/pull/68. Unfortunately python-syntax marking all trailing \ as a type of string is causing problems with correct indenting.
Outside of that, I don't think all trailing \ should be considered pythonBytesEscape when they are not inside a pythonBytes.
Considering trailing slashes a string escape seems to have been removed for other string types when merging Python 2 and 3 syntaxes.
I'm currently working on an MR for hynek/vim-python-pep8-indent to properly ignore braces in byte strings https://github.com/hynek/vim-python-pep8-indent/pull/68. Unfortunately python-syntax marking all trailing \ as a type of string is causing problems with correct indenting.
Outside of that, I don't think all trailing \ should be considered pythonBytesEscape when they are not inside a pythonBytes.