[New-bugs-announce] [issue27028] BasicInterpolation issue with %()

Mehrzad Irani report at bugs.python.org
Sun May 15 11:00:49 EDT 2016


New submission from Mehrzad Irani:

The below code works fine with ExtendedInterpolation; however with BasicInterpolation it _url fails with invalid variable reference.

The INI file:
[DEFAULT]
domain=abc.labs.com

[machine-details]
compilation_machine=abc1
compilation_machine_url=%(compilation_machine).%(domain)
compilation_machine_url2=${compilation_machine}.${domain}

Python Version:
Python 3.5.1

Environment:
Arch Linux

----------
components: Library (Lib)
files: bg.py
messages: 265617
nosy: i.mehrzad
priority: normal
severity: normal
status: open
title: BasicInterpolation issue with %()
type: compile error
versions: Python 3.5
Added file: http://bugs.python.org/file42859/bg.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27028>
_______________________________________


More information about the New-bugs-announce mailing list