Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33091

Re: Format specification mini-language for list joining

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Format specification mini-language for list joining
References <92ada057-5a72-4186-bd22-4ccb600b8e45@googlegroups.com>
Date 2012-11-10 08:51 -0800
Message-ID <7xwqxt765m.fsf@ruckus.brouhaha.com> (permalink)
Organization Nightsong/Fort GNOX

Show all headers | View raw


Tobia Conforto <tobia.conforto@gmail.com> writes:
> Now, as much as I appreciate the heritage of Lisp, I won't deny than
> its format string mini-language is EVIL. ... Still, this is the
> grand^n-father of Python's format strings...

Without having yet read the rest of your post carefully, I wonder the
particular historical point above is correct.  Python's format strings
are pretty much the same as C's format strings, which go back to the
beginnings of C in the 1970's, maybe even to some forerunner of C, like
maybe FOCAL or something like that.  It's possible that Common Lisp's
format strings came from some earlier Lisp, but Common Lisp itself was a
1980's thing.  Maybe some Lisp historian would know.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Format specification mini-language for list joining Tobia Conforto <tobia.conforto@gmail.com> - 2012-11-10 02:26 -0800
  Re: Format specification mini-language for list joining Paul Rubin <no.email@nospam.invalid> - 2012-11-10 08:51 -0800
    Re: Format specification mini-language for list joining Kwpolska <kwpolska@gmail.com> - 2012-11-10 18:13 +0100
      Re: Format specification mini-language for list joining Tobia Conforto <tobia.conforto@gmail.com> - 2012-11-10 13:11 -0800
      Re: Format specification mini-language for list joining Tobia Conforto <tobia.conforto@gmail.com> - 2012-11-10 13:11 -0800
  Re: Format specification mini-language for list joining Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-11-10 16:55 +0000

csiph-web