divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00224
[Bug 950369] Re: Detect broken string templates that will raise ValueError when interpolated
** Summary changed:
- It would be nice to detect string templates that will break when interpolated
+ Detect broken string templates that will raise ValueError when interpolated
--
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Pyflakes.
https://bugs.launchpad.net/bugs/950369
Title:
Detect broken string templates that will raise ValueError when
interpolated
Status in Pyflakes:
New
Bug description:
For example, code like this will break:
>>> "%(foo)" % {"foo": "bar"}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: incomplete format
It'd be awesome if Pyflakes told me about that kind of issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyflakes/+bug/950369/+subscriptions
References