On Thu, Jan 12, 2017 at 12:42:46AM -0600, Nick Timkovich <[email protected]> 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 <[email protected]> > 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/ [email protected] Programmers don't die, they just GOSUB without RETURN. _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
