New submission from Gregory P. Smith <g...@krypto.org>:

Lib/email/*.py are fond of using

EMPTYSTRING = ''

and within the code:

    EMPTYSTRING.join(...)

instead of just writing:

    ''.join(...)

They should just do the latter.  It'll avoid a name lookup and look less silly 
to people reading the code.  ;)

----------
messages: 159974
nosy: gregory.p.smith
priority: low
severity: normal
status: open
title: Lib/email/*.py use an EMPTYSTRING global instead of ''
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14726>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to