Nicolas Dumazet nicd...@gmail.com 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 layer).
Exactly
Nicolas Dumazet nicd...@gmail.com 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
Nicolas Dumazet nicd...@gmail.com 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
Nicolas Dumazet nicd...@gmail.com 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'] = ' '
_oldheaderinit(self, *args
Changes by Nicolas Dumazet nicd...@gmail.com:
--
nosy: +nicdumz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list
Nicolas Dumazet nicd...@gmail.com 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
New submission from Nicolas Dumazet nicd...@gmail.com:
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
New submission from Nicolas Dumazet nicd...@gmail.com:
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
New submission from Nicolas Dumazet nicd...@gmail.com:
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
Nicolas Dumazet nicd...@gmail.com 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: +nicdumz
Nicolas Dumazet nicd...@gmail.com 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 rep...@bugs.python.org
http
Nicolas Dumazet nicd...@gmail.com 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
New submission from Nicolas Dumazet nicd...@gmail.com:
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
Changes by Nicolas Dumazet nicd...@gmail.com:
--
nosy: +nicdumz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5154
___
___
Python-bugs-list
14 matches
Mail list logo