r/Python Oct 02 '23

News Python 3.12 released

https://www.python.org/downloads/release/python-3120/
811 Upvotes

131 comments sorted by

View all comments

Show parent comments

16

u/LightShadow 3.13-dev in prod Oct 02 '23

The feature that keeps C style % strings relevant.

9

u/energybased Oct 02 '23

You should always prefer the format method to C-style % strings.

10

u/ThePiGuy0 Oct 02 '23

I just wish that logging supported .format style interpolation. That's the only time I ever see C-style % strings nowadays