[Python-ideas] Allow parentheses to be used with "with" block

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Feb 16 16:12:50 CET 2015


On 16/02/2015 15:05, Paul Moore wrote:
> On 16 February 2015 at 15:00, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>> On 16/02/2015 14:14, Chris Angelico wrote:
>>>
>>> On Tue, Feb 17, 2015 at 1:13 AM, Paul Moore <p.f.moore at gmail.com> wrote:
>>>>
>>>> It might be worth remembering that the original post was asking for an
>>>> alternative to backslashes *because the Google guidelines prohibit
>>>> them*. Surely the obvious answer is to change the Google guidelines?
>>>
>>> Even more so: The obvious answer is to *ignore* the Google guidelines :)
>>
>> In exactly the same way that I ignore PEP8?  We're only talking guides here,
>> not cast in stone must do or else.
>
> The point is that any proposal here to change Python's syntax probably
> needs a better justification than "the existing solution is prohibited
> by Google's guidelines" :-)
>
> Paul
>

This has already been debated.  Unless somebody comes up with something 
new that is (presumably) relatively simple to understand and hence to 
implement it ain't gonna happen.  Why google's guidelines come into the 
picture I neither know nor care.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Python-ideas mailing list