[issue2263] struct.pack() + numpy int raises SystemError

2017-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> third party stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ P

[issue2263] struct.pack() + numpy int raises SystemError

2015-07-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue2263] struct.pack() + numpy int raises SystemError

2014-01-07 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue2263] struct.pack() + numpy int raises SystemError

2013-07-16 Thread Yury V. Zaytsev
Yury V. Zaytsev added the comment: As noted in issue5476, I've submitted a pull request for NumPy: ttps://github.com/numpy/numpy/pull/3526 . I hope that this fixes this problem too: on Py2, I've added Py_TPFLAGS_INT_SUBCLASS, on Py3, NumPy doesn't inherit from int anymore, because it's not a

[issue2263] struct.pack() + numpy int raises SystemError

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue2263] struct.pack() + numpy int raises SystemError

2012-10-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: FYI Py_TPFLAGS_INT_SUBCLASS already not used in Python 3.x. -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue2263] struct.pack() + numpy int raises SystemError

2010-06-14 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue2263] struct.pack() + numpy int raises SystemError

2009-05-18 Thread engelbert gruber
engelbert gruber added the comment: issue5476 has a problem with timedelta(microseconds = int32(36)) interestingly 0 to 35 work , if the patch for this issue2263 is applied. -- ___ Python tracker _

[issue2263] struct.pack() + numpy int raises SystemError

2009-02-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, so Python has to improve its C-API documentation, and numpy to fix its int types :) -- assignee: -> georg.brandl components: +Documentation -Library (Lib) nosy: +georg.brandl, pitrou priority: -> normal versions: +Python 2.6, Python 3.0, Python 3.

[issue2263] struct.pack() + numpy int raises SystemError

2009-02-12 Thread engelbert gruber
engelbert gruber added the comment: Including Py_TPFLAGS_INT_SUBCLASS in numpy's BASEFLAGS cures this. This is an external problem then. But I could not find any reference to Py_TPFLAGS_*_SUBCLASS in the documentation, that is a python problem. ___ Python tra

[issue2263] struct.pack() + numpy int raises SystemError

2009-02-09 Thread engelbert gruber
engelbert gruber added the comment: in 2.7 svn _struct.c formatdef native_table[] = { {'B', sizeof(char), 0, nu_ubyte, np_ubyte}, formatdef bigendian_table[] {'B', 1, 0, nu_ubyte, bp_uint}, formatdef lilendian_table[] {'B', 1, 0,

[issue2263] struct.pack() + numpy int raises SystemError

2009-01-28 Thread engelbert gruber
engelbert gruber added the comment: on ubuntu 8.04, Python 2.7a0 (trunk:69044) and numpy 1.2.1 ("." is OK, "e" means SystemError) * signed always works, longlong also. * unsigned native works half of the time * unsigned little/big endian never works * the numpy type does seam to have any effect

[issue2263] struct.pack() + numpy int raises SystemError

2008-03-10 Thread Just van Rossum
New submission from Just van Rossum <[EMAIL PROTECTED]>: struct.pack() raises SystemError when fed a numpy integer in some cases. The following was run on MacOSX 10.4, little endian (I can only reproduce the error if I specify big endian for the struct format). Not sure if this could be a nump