[Python-ideas] Things that won't change (proposed PEP)

Oleg Broytman phd at phdru.name
Thu Jan 12 02:04:38 EST 2017


On Thu, Jan 12, 2017 at 12:42:46AM -0600, Nick Timkovich <prometheus235 at gmail.com> wrote:
> Why mention sys.ps1 == '>>> ', is that some inside joke I'm unaware of?
> That is one of the easier things to modify (with a sitecustomize.py or
> whatever).

   With PYTHONSTARTUP.

> On Thu, Jan 12, 2017 at 12:03 AM, INADA Naoki <songofacandy at gmail.com>
> wrote:
> 
> > > Built-in functions
> > >
> > > ------------------
> > >
> > >
> > >
> > > Python is an object-oriented language, but it is not *purely*
> > >
> > > object-oriented. Not everything needs to be `a method of some object  <
> > http://steve-yegge.blogspot.com.au/2006/03/execution-in-
> > kingdom-of-nouns.html>`_,
> > >
> > > and functions have their advantages.  See the
> > >
> > > `FAQ <https://docs.python.org/3/faq/design.html#why-does-
> > python-use-methods-for-some-functionality-e-g-list-index-
> > but-functions-for-other-e-g-len-list>`_
> > >
> > > for more detail.
> > >
> >
> > I don't like this FAQ entry.  See this issue: https://bugs.python.org/
> > issue27671

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-ideas mailing list