[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-07 Thread Håkan Lövdahl

Håkan Lövdahl added the comment:

Here is a suggestion for a patch. It adds the missing matmul and has a small 
test for it.

--
keywords: +patch
nosy: +Håkan Lövdahl
Added file: http://bugs.python.org/file38368/issue23581.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23568] unittest.mock.MagicMock doesn't support __rdivmod__

2015-03-07 Thread Håkan Lövdahl

Håkan Lövdahl added the comment:

I wrote a small patch and a test for it. Tested it on Python 3.5 and it worked.

--
keywords: +patch
nosy: +Håkan Lövdahl
Added file: http://bugs.python.org/file38373/issue23568.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23568
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21800] Implement RFC 6855 (IMAP Support for UTF-8) in imaplib.

2015-03-07 Thread Håkan Lövdahl

Changes by Håkan Lövdahl hlovd...@gmail.com:


--
nosy: +Håkan Lövdahl

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21800
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16462] smtpd should return greeting

2015-03-07 Thread Håkan Lövdahl

Changes by Håkan Lövdahl hlovd...@gmail.com:


--
nosy: +Håkan Lövdahl

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16462
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22753] urllib2 localnet Changed test to lookup IP-address of localhost

2014-11-03 Thread Håkan Lövdahl

Håkan Lövdahl added the comment:

Yes, I can confirm that changing 'URL' to be 'http://127.0.0.1' works. I think 
that would be a solution to this.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22753] urllib2 localnet Changed test to lookup IP-address of localhost

2014-10-28 Thread Håkan Lövdahl

New submission from Håkan Lövdahl:

Running this test gave me an error: 
./python -m test -v test_urllib2_localnet

==
ERROR: test_proxy_qop_auth_works (test.test_urllib2_localnet.ProxyAuthTests)
--
Traceback (most recent call last):
  File /home/hakan/kod/cpython/cpython/Lib/urllib/request.py, line 1182, in 
do_open
h.request(req.get_method(), req.selector, req.data, headers)
  File /home/hakan/kod/cpython/cpython/Lib/http/client.py, line 1154, in 
request
self._send_request(method, url, body, headers)
  File /home/hakan/kod/cpython/cpython/Lib/http/client.py, line 1192, in 
_send_request
self.endheaders(body)
  File /home/hakan/kod/cpython/cpython/Lib/http/client.py, line 1150, in 
endheaders
self._send_output(message_body)
  File /home/hakan/kod/cpython/cpython/Lib/http/client.py, line 988, in 
_send_output
self.send(msg)
  File /home/hakan/kod/cpython/cpython/Lib/http/client.py, line 923, in send
self.connect()
  File /home/hakan/kod/cpython/cpython/Lib/http/client.py, line 900, in 
connect
self.timeout, self.source_address)
  File /home/hakan/kod/cpython/cpython/Lib/socket.py, line 710, in 
create_connection
raise err
  File /home/hakan/kod/cpython/cpython/Lib/socket.py, line 701, in 
create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

Changing localhost to 127.0.0.1 made the test pass. My friend puppet made a 
patch for it so it looks up the IP-address.

--
components: Tests
messages: 230156
nosy: hakan
priority: normal
severity: normal
status: open
title: urllib2 localnet Changed test to lookup IP-address of localhost
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22753] urllib2 localnet Changed test to lookup IP-address of localhost

2014-10-28 Thread Håkan Lövdahl

Changes by Håkan Lövdahl ha...@llsdata.fi:


--
keywords: +patch
Added file: http://bugs.python.org/file37053/issue_22753.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22753] urllib2 localnet Changed test to lookup IP-address of localhost

2014-10-28 Thread Håkan Lövdahl

Håkan Lövdahl added the comment:

Ubuntu Linux 12.04
64bit

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22753
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com