Nicolas Dumazet added the comment:
> It's the other end which decides to return ENOTCONN upon shutdown(SHUT_RD) on
> OS X, which is questionable
> (not sure it's against the BSD socket API, since shutdown(SHUT_RD) doesn't
> have any counterpart in the TCP laye
Nicolas Dumazet added the comment:
Hello,
1) Can you please avoid putting several statements in the same line?
2) wouldnt it be better to compute only once the contents of methods()? I'm not
sure that module-initialization time is okay for CPython, but at the very least
you can lazily
Changes by Nicolas Dumazet :
--
nosy: +nicdumz
___
Python tracker
<http://bugs.python.org/issue6715>
___
___
Python-bugs-list mailing list
Unsubscribe:
Nicolas Dumazet added the comment:
It seems that the fix is still not perfect.
At the moment ( r73906 ), if you try to build trunk using Python 2.6,
you get:
> python setup.py build
running build
running build_ext
Traceback (most recent call last):
File "setup.py", line 1901,
Nicolas Dumazet added the comment:
I'm including a patch which replaces send by sendall in the examples in
both socket and socketserver.
--
keywords: +patch
nosy: +nicdumz
Added file: http://bugs.python.org/file14776/socket.patch
___
Python tr
New submission from Nicolas Dumazet :
I had a bad time understanding what happens in Mac OS X after a shutdown
call: after calling shutdown(SH_WR) on side A, a corresponding
shutdown(SH_RD) on side B would raise a socket.error: socket is not
connected.
It is quite surprising when you are used to
New submission from Nicolas Dumazet :
README shows http://www.python.org/community/lists.html as an URL for
mailing list details, but it should be
http://www.python.org/community/lists/
Attaching a patch.
--
assignee: georg.brandl
components: Documentation
files: readme-url-mls.patch
New submission from Nicolas Dumazet :
test_distutils, test_zipfile, test_gzip and test_zimport are not
completely safe when zlib module is not available.
I've uploaded a patch on Rietveld which solves the issue here:
http://codereview.appspot.com/111041
Those are my first steps with Rie
Nicolas Dumazet added the comment:
Great, I don't know how I missed that bug.
It looks really similar to the patch I had written at
http://codereview.appspot.com/111041
So your patch looks correct to me, and does solve the issue locally.
--
nosy: +ni
Nicolas Dumazet added the comment:
Sure, I'd be happy to contribute a patch.
I uploaded a patch on Rietveld, at http://codereview.appspot.com/110078
Let me know how it looks.
--
___
Python tracker
<http://bugs.python.org/i
Changes by Nicolas Dumazet :
--
nosy: +nicdumz
___
Python tracker
<http://bugs.python.org/issue5154>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Nicolas Dumazet :
Hello!
gc.set_debug is provided to help debugging a leaking program. That tool
can be very useful indeed.
Debugging information, however, is written to sys.stderr, and there are
cases where this behavior can be a problem: chances are that stderr can
be
Nicolas Dumazet added the comment:
Hello folks.
(stumbling on this bug with Python2.7 release, noting that a few Mercurial
tests broke with 2.7)
I have no problem whatsoever with the fix itself (you know emails better than
me), but you broke backwards compatibility for
Nicolas Dumazet added the comment:
Sure, where was my head.
So, a simple patch like this one:
_oldheaderinit = email.Header.Header.__init__
def _unifiedheaderinit(self, *args, **kw):
# override continuation_ws
kw['continuation_ws'] = ' '
_oldheaderin
14 matches
Mail list logo