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


Groups > comp.lang.python > #36359

Re: what’s the difference between socket.send() and socket.sendall() ?

References <mailman.216.1357558243.2939.python-list@python.org> <50eae991$0$30003$c3e8da3$5496439d@news.astraweb.com>
Date 2013-01-08 02:54 +1100
Subject Re: what’s the difference between socket.send() and socket.sendall() ?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.226.1357574091.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Jan 8, 2013 at 2:28 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> I
>   once was on a maths mailing list for about three years before I
>   realised that the most prolific and helpful person there was as
>   blind as a bat.

And that, I think, is what s/he would have most wanted: three years
(more, most likely) without any sort of special treatment. It's all
very well to talk about anti-discrimination laws, but on the internet,
nobody knows you're a bat, if I can mangle that expression without
offending people. We have some excellent people on a couple of MUDs
I'm on who are, similarly, blind and using screen-readers. Again, you
don't even know that that's the case until/unless a question comes out
about some piece of ASCII art (which there's a very VERY little of in
Threshold), or some client-specific question hints at the fact that
s/he is using one of the reader-friendly clients (which are fairly
ugly to the sighted).

As to the use of color for emphasis, though - I don't think the OP
used it like that. I've no idea what the significance of white-on-blue
words was, there; it completely eludes me. Maybe he was sending a
secret message in the color codes? In any case, Steven's eight reasons
are absolutely right; when HTML code isn't adding information, it
should be stripped, and when it is adding information, you risk a
large proportion of people not seeing it. So there's never a good time
to use HTML.

ChrisA

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


Thread

what’s the difference between socket.send() and socket.sendall() ? "iMath" <2281570025@qq.com> - 2013-01-07 18:35 +0800
  Re: what’s the difference between socket.send() and socket.sendall() ? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-01-07 14:17 +0100
  Re: what’s the difference between socket.send() and socket.sendall() ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-07 15:28 +0000
    Re: what’s the difference between socket.send() and socket.sendall() ? Chris Angelico <rosuav@gmail.com> - 2013-01-08 02:54 +1100

csiph-web