Public bug reported:

python 3.5.3 as in Zesty cant handle delimiters in the replacement value
properly.

Example:
$ python3.5
>>> from string import Template
>>> Template("$foo $bar").substitute(foo="FOO", bar="$")

Expected result:
'FOO $'

Actual result:
error

This is a regression against at least xenial where this works as
expected.

** Affects: python3.5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: regression-release

** Tags added: regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1657318

Title:
  string.Template.substitute cant handle delimiter in replacement string

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1657318/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to