I think the solution is for everyone to rotate their widescreen monitors
90° into a really tall portrait mode. :)
On Thu, Feb 21, 2019, 11:44 AM Mike Miller
wrote:
>
> On 2/18/19 8:37 PM, Simon wrote:
> > I'd like to propose an update to PEP8. Indeed, the 80 characters per
> line
> > guideline
My linter is fine with a double indent after an 'if (A and'. I thought it
was in the standard.
(Pycharm's built-in pep-8 highlighter)
On Thu, Feb 21, 2019, 1:04 AM Christopher Barker On Wed, Feb 20, 2019 at 11:51 PM Lele Gaifax wrote:
>
>> that most annoys me is the "if" when the condition is
erve everything
> that represents the programmer's intention.
>
> ChrisA
> _______
> Python-ideas mailing list
> Python-ideas@python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/
ake a lot of care in the error
> > messages you give to the user. I write a LOT of them, very long, very
> > descriptive, and I have to either import textwrap or play the
> > concatenation game.
> >
> > Having a str.dedent() method would be nice, but the d prefix has the
> > huge advantage to be able to dedent on parsing, and hence be more
> > performant.
> >
> ___
> Python-ideas mailing list
> Python-ideas@python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
--
Paul Ferrell
pfl...@gmail.com
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
Is it such a natural extension to 'with', that it would immediately be
weird to find it missing in the future?
If the answer to either of those questions is 'no', then I absolutely
retract my idea.
On Tue, Jan 22, 2019 at 3:22 PM Steven D'Aprano wrote:
> On Tue, Jan
'try', and was pretty surprised
when I told him that the except part of the with wasn't actually valid
Python.
On Tue, Jan 22, 2019 at 2:30 PM Chris Angelico wrote:
> On Wed, Jan 23, 2019 at 7:11 AM Paul Ferrell wrote:
> > As a result, I would like to propose that the
use of an object, and the type of objects one tends to use in a 'with' are
prone to throwing exceptions. Other statements like it don't intrinsically
encapsulate the usage of an object.
On Tue, Jan 22, 2019 at 1:23 PM Calvin Spealman wrote:
>
>
> On Tue, Jan 22, 2019 at
22, 2019 at 1:31 PM Michael Selik wrote:
> On Tue, Jan 22, 2019, 12:11 PM Paul Ferrell
>> I see this as the natural evolution of what 'with' is all about -
>> replacing necessary try-finally blocks with something more elegant. We just
>> didn't include the 'ex
bout it
getting shot down - that's kind of the point here. I'm just pretty
strongly against to unnecessary syntactical additions to the language.
This though, I think I can except. It introduces no new concepts and
requires no special knowledge to use. There's no question abou