Skip to content

Fixes issue #41 with a reference to f-strings to address issue #41#42

Open
blaisep wants to merge 1 commit into
amontalenti:masterfrom
blaisep:issue/41
Open

Fixes issue #41 with a reference to f-strings to address issue #41#42
blaisep wants to merge 1 commit into
amontalenti:masterfrom
blaisep:issue/41

Conversation

@blaisep
Copy link
Copy Markdown

@blaisep blaisep commented Sep 6, 2019

@amontalenti , I hope this saves you some time...

F-strings are new in Python 3.6 You may find them easier to compose and to read f"result: {value:{width}.{precision}}". The tradeoffs are localization and security. Python executes f-strings, so they present an additional attack surface: avoid including user-generated data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants