Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

without the double star, the formating inject all the environment #5637

Merged
merged 1 commit into from
Jan 9, 2020

Commits on Jan 8, 2020

  1. without the double star, the formating inject all the environment

    variables as a gigantic string and the code fail wonderfully.
    
    export TOTO=foobar
    python
    
    >>> import os
    >>> print('{TOTO}'.format(**os.environ))
    foobar
    ochriste committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    1f2323d View commit details
    Browse the repository at this point in the history