[code-quality] Implicit String Concatenation Threads

Ian Cordasco graffatcolmingov at gmail.com
Mon May 13 02:57:18 CEST 2013


On Sun, May 12, 2013 at 8:48 PM, Martin Pool <mbp at google.com> wrote:
>
> On 12 May 2013 04:24, Ian Cordasco <graffatcolmingov at gmail.com> wrote:
>>
>>
>> Mainly because it can cause confusing TypeErrors for the functions
>> taking a certain number of arguments. There are a few ideas floating
>> around that thread, one of which is that we (the code-quality tool
>> authors) provide warnings or errors when someone does:
>>
>>     foo('a' 'b')
>>
>> i.e., uses the implicit concatenation on a single line.
>
>
> +1

You might want to add that to the main discussion over on python-ideas
too. I think it is really the best solution, and we can all implement
it pretty easily at the moment.


More information about the code-quality mailing list