[New-bugs-announce] [issue14801] ssize_t where size_t expected

Peter Marheine report at bugs.python.org
Mon May 14 02:13:34 CEST 2012


New submission from Peter Marheine <taricorp at gmail.com>:

Cross-compiling the interpreter for a system without a definition for ssize_t fails in PyType_FromSpec (Object/typeobject.c:2380 in the 3.2.3 release, line 2409 in hg 6b8f34a1cb22).

It appears the type of len should be corrected to size_t to match the signatures of strlen and memcpy.  This fixes the compilation error.

----------
components: Interpreter Core
messages: 160585
nosy: tari
priority: normal
severity: normal
status: open
title: ssize_t where size_t expected
type: compile error
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14801>
_______________________________________


More information about the New-bugs-announce mailing list