Conversation
Yeah, stick to f-strings. The %-based formatting is a legacy feature they probably should have removed in Python 3 and f-strings are a fairly recent addition improving further on the past approaches. It's one of the issues with having a language that keeps evolving.
1
1
A huge portion of the standard library should be mostly avoided at this point, since there are much better third party libraries like requests that are essentially treated as the standard library. Inclusion in the standard library dooms a module to becoming out-of-date / archaic.
The customer I'm working for requires _only_ using python 3.6's base libs.
1
The requests and urllib3 would definitely be in the standard library if only the people involved didn't think it would be a terrible result for the modules. A major issue is that people get stuck with older Python versions, the release cycle is slow and it's hard to evolve.
2
Show replies


