This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients asvetlov, docs@python, dorosch, remi.lapeyre, serhiy.storchaka, sir-sigurd
Date 2021-07-02.21:03:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625259820.47.0.675246438182.issue39759@roundup.psfhosted.org>
In-reply-to
Content
It is not so uncommon to write:

    foo_rate = float(os.getenv("FOO_RATE", default_foo_rate))

where default_foo_rate is float.

In any case the default value for the default parameter is not a string.
History
Date User Action Args
2021-07-02 21:03:40serhiy.storchakasetrecipients: + serhiy.storchaka, asvetlov, docs@python, sir-sigurd, remi.lapeyre, dorosch
2021-07-02 21:03:40serhiy.storchakasetmessageid: <1625259820.47.0.675246438182.issue39759@roundup.psfhosted.org>
2021-07-02 21:03:40serhiy.storchakalinkissue39759 messages
2021-07-02 21:03:40serhiy.storchakacreate