[issue12963] PyLong_AsSize_t returns (unsigned long)-1

Stefan Krah report at bugs.python.org
Mon Sep 12 14:13:46 CEST 2011


New submission from Stefan Krah <stefan-usenet at bytereef.org>:

In one of the error branches PyLong_AsSize_t() returns (unsigned long)-1
instead of (size_t)-1.

----------
components: Interpreter Core
files: pylong_as_size_t.diff
keywords: patch
messages: 143896
nosy: mark.dickinson, skrah
priority: normal
severity: normal
stage: patch review
status: open
title: PyLong_AsSize_t returns (unsigned long)-1
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file23130/pylong_as_size_t.diff

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


More information about the Python-bugs-list mailing list