| ▲ | ruuda a day ago | |||||||||||||||||||||||||
> Python now uses UTF-8 as the default encoding, independent of the system’s environment. Nice, not specifying the encoding is one of the most common issues I need to point out in code reviews. | ||||||||||||||||||||||||||
| ▲ | franga2000 a day ago | parent | next [-] | |||||||||||||||||||||||||
You mean the coding= comment? Where are you shipping your code that that was actually a problem? I've never been on a project where we did that, let alone needed it. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | joshribakoff a day ago | parent | prev | next [-] | |||||||||||||||||||||||||
Have you considered reducing review noise by using static analysis? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | formerly_proven a day ago | parent | prev [-] | |||||||||||||||||||||||||
encode()/decode() have used UTF-8 as the default since Python 3.2 (soon, 15 years ago). This is about the default encoding for e.g. the "encoding" parameter of open(). | ||||||||||||||||||||||||||