Skip to content

Clarify concern with str.format & untrusted input#3

Merged
vstinner merged 1 commit into
vstinner:masterfrom
ncoghlan:patch-1
May 25, 2017
Merged

Clarify concern with str.format & untrusted input#3
vstinner merged 1 commit into
vstinner:masterfrom
ncoghlan:patch-1

Conversation

@ncoghlan
Copy link
Copy Markdown
Contributor

The formatting concern raised in Armin Ronacher's article isn't
related to the new f-string feature (as that only works with literals),
but rather to do with calling the format() or format_map() methods
on a user supplied string, and giving that string access to an object
that exposes one or more Python functions as attributes.

The formatting concern raised in Armin Ronacher's article isn't
related to the new f-string feature (as that only works with literals),
but rather to do with calling the `format()` or `format_map()` methods
on a user supplied string, and giving that string access to an object
that exposes one or more Python functions as attributes.
@vstinner vstinner merged commit cdf3700 into vstinner:master May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants