New submission from Yuriy Syrovetskiy :
IPv4 operations may fail on IPv6 systems, and vice versa. So we have to create
sockets with the proper address family.
Maybe this behaviour could be incapsulated in socket object, but didn't find a
good way to do it.
No documentation changed, beca
Yuriy Syrovetskiy added the comment:
More correct description: IPv4 operations may fail on IPv6 systems, and vice
versa; so we have to detect the proper address family before creating a socket.
--
___
Python tracker
<http://bugs.python.
Yuriy Syrovetskiy added the comment:
On my computer, connect() on a UDP socket always finishes successfully. What's
wrong?
I tried that C example from man getaddrinfo(3).
--
___
Python tracker
<http://bugs.python.org/is
Yuriy Syrovetskiy added the comment:
Can the datagramHandler.host change during execution? If so, the address family
of the socket can change. So, we should create a socket for every new message.
Check my patch #2.
Also I extended socket.create_connection to support UDP.
--
Added
Yuriy Syrovetskiy added the comment:
test_logging is not broken, but just fails.
test test_logging failed -- Traceback (most recent call last):
File "/home/cblp/my/cpython_default/Lib/test/test_logging.py", line 2903, in
test_time
self.assertEqual(f.formatTime(r), '1
New submission from Yuriy Syrovetskiy :
rev 152c78b94e41
test test_logging failed -- Traceback (most recent call last):
File "/home/cblp/my/cpython_default/Lib/test/test_logging.py", line 2903, in
test_time
self.assertEqual(f.formatTime(r), '1993-04-21 08:03:00,123
Yuriy Syrovetskiy added the comment:
My local timezone is Europe/Moscow, UTC+4, no daylight saving since 2011.
--
___
Python tracker
<http://bugs.python.org/issue14
Yuriy Syrovetskiy added the comment:
@vinay.sajip
My time.timezone is -14400. What is yours?
--
___
Python tracker
<http://bugs.python.org/issue14902>
___
___
Yuriy Syrovetskiy added the comment:
And datetime.datetime.now().tzinfo is always None.
--
___
Python tracker
<http://bugs.python.org/issue14902>
___
___
Pytho
Yuriy Syrovetskiy added the comment:
You don't need `raw=True`, `.cast('b')` already must do this. But
unfortunately, is is not implemented yet.
--
nosy: +cblp
___
Python tracker
<http://bugs.pyt
10 matches
Mail list logo