Message396879
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. |
|
Date |
User |
Action |
Args |
2021-07-02 21:03:40 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, asvetlov, docs@python, sir-sigurd, remi.lapeyre, dorosch |
2021-07-02 21:03:40 | serhiy.storchaka | set | messageid: <1625259820.47.0.675246438182.issue39759@roundup.psfhosted.org> |
2021-07-02 21:03:40 | serhiy.storchaka | link | issue39759 messages |
2021-07-02 21:03:40 | serhiy.storchaka | create | |
|