Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.028 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python': 0.09; 'received:localnet': 0.09; 'subject:()': 0.09; 'undocumented': 0.09; 'surprising': 0.16; 'bit': 0.21; 'header:User-Agent:1': 0.26; 'to:addr:python-list': 0.33; 'too.': 0.35; 'but': 0.36; 'charset:us-ascii': 0.36; 'being': 0.37; 'object': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'mentioned': 0.63 X-RZG-AUTH: :O2MIc0epdfgAjoV+frHI3UhxNCLBO5P+YS73lHhJYRD2uAuzaM+5N8MTovT1I3ul X-RZG-CLASS-ID: mo00 From: Wolfgang Rohdewald To: python-list@python.org Subject: QVariant.toPyObject() Date: Fri, 20 Jul 2012 11:50:01 +0200 User-Agent: KMail/4.9 beta2 (Linux/3.2.0-26-generic; KDE/4.8.90; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY shortcircuit=no autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on i5 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342777803 news.xs4all.nl 6862 [2001:888:2000:d::a6]:52245 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25689 toPyObject() is mentioned but undocumented at http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qvariant.html#toPyObject without it being documented, I find it a bit surprising that toPyObject() can return a QString. Of course QString is a python object but then QVariant is too. -- Wolfgang