Issue1917

classification
Title: No ctypes.c_char
Type: behaviour Severity: normal
Components: Library Versions: Jython 2.7
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, dahlia, fwierzbicki, zyasoft
Priority: normal Keywords: patch

Created on 2012-06-11.01:15:35 by dahlia, last changed 2015-05-04.16:08:41 by zyasoft.

Files
File name Uploaded Description Edit Remove
2be1bb9cece3-Add_ctypes_c_char__Fixes__1917.patch dahlia, 2012-06-12.13:10:11 Patch that implements ctypes.c_char
c_char_test.7z dahlia, 2012-06-12.13:12:24 Test of the patch 2be1bb9cece3
Messages
msg7200 (view) Author: Hong Minhee (dahlia) Date: 2012-06-11.01:15:35
ctypes.c_char is missing.

>>> import ctypes
>>> ctypes.c_char
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'c_char'
msg7204 (view) Author: Hong Minhee (dahlia) Date: 2012-06-12.13:10:10
I wrote a patch that implements ctypes.c_char.  Can anyone review this patch?
msg7205 (view) Author: Hong Minhee (dahlia) Date: 2012-06-12.13:12:24
Attach a small test for it.
msg7382 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2012-08-10.21:26:14
Hong: thanks for the patch and test! I will try to look after the 2.5.3 final cycle.
msg8428 (view) Author: Jim Baker (zyasoft) Date: 2014-05-17.20:15:35
In #2148 I propose removing incomplete ctypes support in favor of CFFI
msg10015 (view) Author: Jim Baker (zyasoft) Date: 2015-05-04.16:08:41
We plan to finally resolve by using JyNI, see #2148 - this moves this dependency out of Jython core however
History
Date User Action Args
2015-05-04 16:08:41zyasoftsetmessages: + msg10015
2014-05-17 20:15:35zyasoftsetnosy: + zyasoft
messages: + msg8428
2013-02-20 00:32:08fwierzbickisetversions: + Jython 2.7, - 2.7a2
2012-08-10 21:26:14fwierzbickisetpriority: normal
nosy: + fwierzbicki
messages: + msg7382
2012-06-12 13:12:24dahliasetfiles: + c_char_test.7z
messages: + msg7205
2012-06-12 13:10:12dahliasetfiles: + 2be1bb9cece3-Add_ctypes_c_char__Fixes__1917.patch
keywords: + patch
messages: + msg7204
2012-06-11 03:10:36Arfreversetnosy: + Arfrever
2012-06-11 01:15:35dahliacreate