[issue2764] c_char doesn't implement py3k buffer interface
Thomas Heller [EMAIL PROTECTED] added the comment: The test has already been fixed and reenabled in rev 65849. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2764 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2764] c_char doesn't implement py3k buffer interface
Benjamin Peterson [EMAIL PROTECTED] added the comment: Ping -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2764 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2764] c_char doesn't implement py3k buffer interface
Antoine Pitrou [EMAIL PROTECTED] added the comment: Thomas, the bytes object is not broken anymore with respect to the buffer API, but it depends which buffer API you are talking about :-) I hope it is the new, 3.0 one. -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2764 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2764] c_char doesn't implement py3k buffer interface
Thomas Heller [EMAIL PROTECTED] added the comment: Thanks for your efforts, Christian. This test needs an object which implements the readonly buffer interface. Unfortunately the bytes object that I would like to use is broken: http://bugs.python.org/issue2538 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2764 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2764] c_char doesn't implement py3k buffer interface
New submission from Christian Heimes [EMAIL PROTECTED]: I'm currently merging changes from trunk to 3.0. One unit test is failing: test test_ctypes failed -- Traceback (most recent call last): File Lib/ctypes/test/test_frombuffer.py, line 67, in test_from_buffer_copy x = (c_char * 16).from_buffer_copy(a * 16) TypeError: expected an object with a buffer interface -- assignee: theller components: ctypes messages: 66252 nosy: christian.heimes, theller priority: critical severity: normal status: open title: c_char doesn't implement py3k buffer interface type: behavior versions: Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2764 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com