Message341273
!d sounds good and makes teaching easier. Adding additional symbol sort of clutters the experience in f'{name!!}'. I think it will be a good thing to have it in 3.8 since it serves one of the common things in debugging f'name = {name}' and perhaps it could be expanded out of f-strings after feedback.
Rust also introduced similar feature with https://doc.rust-lang.org/beta/std/macro.dbg.html and received very positive feedback . This will be a very exciting thing to look forward in 3.8 :) |
|
Date |
User |
Action |
Args |
2019-05-02 15:18:56 | xtreak | set | recipients:
+ xtreak, gregory.p.smith, eric.smith, steven.daprano, dirn |
2019-05-02 15:18:56 | xtreak | set | messageid: <1556810336.26.0.54291114141.issue36774@roundup.psfhosted.org> |
2019-05-02 15:18:56 | xtreak | link | issue36774 messages |
2019-05-02 15:18:56 | xtreak | create | |
|