python-rope/rope — pull request #99 by Ferada (2014-12-10 15:44:08+00:00)
Title: Inlining variable into string constants

In the following example in all but the last three cases the variable `bar` is wrongly inlined into string constants:

def foo():
bar = 42

print("bar\
")

print('bar\
')

print(r"bar\
")

print(r'bar\
')

print(u"bar\
")

print(u'bar\
')

# correct
print("""bar\
""")

# correct
print(r"""bar\
""")

# correct
print(u"""bar\
""")