[issue15944] memoryviews and ctypes
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.python.org/issue15944> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14902] test_logging failed
Yuriy Syrovetskiy added the comment: And datetime.datetime.now().tzinfo is always None. -- ___ Python tracker <http://bugs.python.org/issue14902> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14902] test_logging failed
Yuriy Syrovetskiy added the comment: @vinay.sajip My time.timezone is -14400. What is yours? -- ___ Python tracker <http://bugs.python.org/issue14902> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14902] test_logging failed
Yuriy Syrovetskiy added the comment: My local timezone is Europe/Moscow, UTC+4, no daylight saving since 2011. -- ___ Python tracker <http://bugs.python.org/issue14902> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14902] test_logging failed
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') AssertionError: '1993-04-21 09:03:00,123' != '1993-04-21 08:03:00,123' - 1993-04-21 09:03:00,123 ? ^ + 1993-04-21 08:03:00,123 ? ^ -- components: Tests messages: 161523 nosy: cblp priority: normal severity: normal status: open title: test_logging failed type: compile error versions: Python 3.3 ___ Python tracker <http://bugs.python.org/issue14902> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14855] IPv6 support for logging.handlers
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), '1993-04-21 08:03:00,123') AssertionError: '1993-04-21 09:03:00,123' != '1993-04-21 08:03:00,123' - 1993-04-21 09:03:00,123 ? ^ + 1993-04-21 08:03:00,123 ? ^ Or should it go to the separate ticket? -- ___ Python tracker <http://bugs.python.org/issue14855> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14855] IPv6 support for logging.handlers
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 file: http://bugs.python.org/file25680/mywork2.patch ___ Python tracker <http://bugs.python.org/issue14855> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14855] IPv6 support for logging.handlers
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/issue14855> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14855] IPv6 support for logging.handlers
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.org/issue14855> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14855] IPv6 support for logging.handlers
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, because I just eliminate lack of implementation of already documented feature. Please help to write tests. I worked on the 3.2 branch, because the default branch has broken test_logging. -- components: Library (Lib) files: mywork.patch keywords: patch messages: 161101 nosy: cblp, vinay.sajip priority: normal severity: normal status: open title: IPv6 support for logging.handlers type: enhancement versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file25635/mywork.patch ___ Python tracker <http://bugs.python.org/issue14855> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com