A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-May/111247.html below:

[Python-Dev] cpython (3.2): Avoid codec spelling issues by just using the utf-8 default.

[Python-Dev] cpython (3.2): Avoid codec spelling issues by just using the utf-8 default. [Python-Dev] cpython (3.2): Avoid codec spelling issues by just using the utf-8 default.Éric Araujo merwok at netwok.org
Fri May 6 19:42:11 CEST 2011
 Le 06/05/2011 00:52, Terry Reedy a écrit :
> On 5/5/2011 4:55 PM, Raymond Hettinger wrote:
>> Either way, the code is simpler by just using the default.
> I thought about this and decided that the purpose of having defaults 
> is
> so one does not have to always spell it out. So use it. Readers can
> always look it up and learn.

 Agreed.  I thought about something similar after Victor’s commit that 
 changed open(mode='rU') to use just 'r': Why not remove the mode 
 argument entirely when it is the default value?

 Regards
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4