for / while else doesn't make sense

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Tue Jun 7 21:25:09 EDT 2016


On Wednesday, June 8, 2016 at 12:32:01 PM UTC+12, Ned Batchelder wrote:
> On Tuesday, June 7, 2016 at 6:07:23 PM UTC-4, Lawrence D’Oliveiro wrote:
> > On Tuesday, June 7, 2016 at 8:00:31 PM UTC+12, Marko Rauhamaa wrote:
> > > I understand you are hurt when your code is criticized bluntly. However,
> > > you *did* stick your head out.
> > 
> > Don’t worry, I am not the thin-skinned type.
> > 
> > > I, too, insist that every function/method must be visible at once in the
> > > editor window.
> > 
> > From subprocess.py in the Python 3.5 distribution:
> > 
> >     if _mswindows:
> >         #
> >         # Windows methods
> >         #
> >         def _get_handles(self, stdin, stdout, stderr):
> >             """Construct and return tuple with IO objects:
> > 
> >             ... 8< snip 8< ...
> > 
> >             errwrite = self._make_inheritable(errwrite)
> > 
> >             return (p2cread, p2cwrite,
> >                     c2pread, c2pwrite,
> >                     errread, errwrite)
> > 
> > Is that “visible at once” in your editor window?
> 
> Lawrence, Marko didn't write that function. Marko didn't claim that all
> functions fit in a window, just that he wants his to.

Given that he was (presumably) commenting on my code, naturally I understood his statement to apply to code that he had not written.


More information about the Python-list mailing list