[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: Docstrings considered too complicated

Ed Keith

3/3/2010 6:01:00 PM

--- On Wed, 3/3/10, D'Arcy J.M. Cain wrote:

> They needed a way to tell where the end of the information
> was.  Why
> they used ^Z (SUB - Substitute) instead of ^C (ETX - End of
> TeXt) or
> even ^D (EOT - End Of Transmission) is anyone's guess.

That has always puzzled me to. ETX and EOT were well established, why no use one of them? I'd love to know what they were thinking.

-EdK

Ed Keith
e_d_k@yahoo.com

Blog: edkeith.blogspot.com



2 Answers

Richard Brodie

3/3/2010 6:29:00 PM

0


"Ed Keith" <e_d_k@yahoo.com> wrote in message
news:mailman.215.1267639293.23598.python-list@python.org...


> That has always puzzled me to. ETX and EOT were well established,
> why no use one of them? I'd love to know what they were thinking.

It goes back to ancient PDP operating systems, so may well
predate Unix, depending which exact OS was the first to use it.





Gregory Ewing

3/4/2010 10:09:00 AM

0

Richard Brodie wrote:

> It goes back to ancient PDP operating systems, so may well
> predate Unix, depending which exact OS was the first to use it.

Yes, I think it was used in RT-11, which also had
block-oriented disk files.

There were two kinds of devices in RT-11, character
and block, and the APIs for dealing with them were
quite different. They hadn't fully got their heads
around the concept of "device independent I/O" in
those days, although they were trying.

--
Greg