Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '(at': 0.04; 'attribute': 0.07; 'responding': 0.07; 'assigning': 0.09; 'cursor': 0.09; 'instance.': 0.09; 'subject:question': 0.10; 'bug': 0.12; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'responses.': 0.16; 'subject:API': 0.16; 'subject:where': 0.16; 'sender:addr:gmail.com': 0.17; 'fix': 0.17; 'variable': 0.18; 'module': 0.19; 'appears': 0.22; 'skip': 0.24; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'testing': 0.29; 'message- id:@mail.gmail.com': 0.30; 'probably': 0.32; 'actual': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'server': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'eventually': 0.60; 'latest': 0.67; 'detecting': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=tRLafc3JjdlFxqezA1T3p9Yk9VCx6vCNHQuLn0Iqr+U=; b=yD2W3olbEo/eHV2gDrg0NMS9H6t0Db4lUT6kM7nkrSgvaw5IPagtcJxzrdj3KzXabF N8lCklXi/UQkpQJ9SqGOeVdbINLi0yYiBeR3w5DN8VJW35aD3xz60MxH8ozOf9BtsinN VLQqleOoUDh50MyhBKYDnhZNOx312M5Oz87hKfrxRxTxbK/QG61tJPibLmQoV4NMwnlD hFbgVOaENaYVlepWH4rgLqzk3j2MBJNEd8A4cAWgrj0wVC5zmQ2gVZF8DHPGiMYGqSL4 cI9atAsnTryWG2nIJ8v6Ma7bf/mIFb1J3JzbpjG0T8tlEg363vRS5K1bBCw5ICsrQRYs 2ZRQ== MIME-Version: 1.0 X-Received: by 10.50.47.231 with SMTP id g7mr2437896ign.8.1394723676220; Thu, 13 Mar 2014 08:14:36 -0700 (PDT) Sender: skip.montanaro@gmail.com In-Reply-To: References: Date: Thu, 13 Mar 2014 10:14:36 -0500 X-Google-Sender-Auth: dyw_RWw12_KuMN1Lr5XD5MHtwQ8 Subject: Re: DB API question - where is a stored procedure's return value? From: Skip Montanaro To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1394723684 news.xs4all.nl 2976 [2001:888:2000:d::a6]:47255 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68333 Thanks for the responses. We eventually figured out there appears to be a bug in the latest version of the python-sybase module (at least in 0.40, probably in 0.39 as well). It was actually detecting CS_STATUS_RESULT coming from the server and responding appropriately, however it was assigning the actual status result to a local variable instead of an attribute of the Cursor instance. Testing a fix now. Skip