Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Christian Tismer Newsgroups: comp.lang.python.announce Subject: The Signature Module for PySide2 Date: Thu, 21 Sep 2017 15:19:46 +0200 Lines: 72 Approved: python-announce-list@python.org Message-ID: References: <7e9b66f7-186c-0eb7-e572-f747c870895f@stackless.com> Reply-To: python-list@python.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="G9A1Mx3NOfQXx2celttNk3MCdgcGe6uWx" X-Trace: news.uni-berlin.de e/7mCkuFltijSALucTtHMgan0qlSYHMbHJc35oScOh2g== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'skip:p 60': 0.05; 'url:github': 0.05; 'defaults': 0.07; 'python': 0.09; '173': 0.09; 'filename:fname piece:signature': 0.09; 'gpg': 0.09; 'tismer': 0.09; '2.7': 0.11; '776': 0.16; 'annotations,': 0.16; 'content- type:application/pgp-signature': 0.16; 'content- type:multipart/signed': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'from:addr:stackless.com': 0.16; 'from:addr:tismer': 0.16; 'from:name:christian tismer': 0.16; 'message-id:@stackless.com': 0.16; 'received:stackless.com': 0.16; 'subject:Module': 0.16; 'url:stackless': 0.16; 'url:tree': 0.16; 'attribute': 0.18; '>>>': 0.18; 'url:io': 0.23; 'module': 0.23; 'cheers': 0.24; 'header:User-Agent:1': 0.27; '+49': 0.27; 'example': 0.28; 'feature': 0.28; 'chris': 0.31; 'print': 0.31; 'values.': 0.33; 'skip:_ 10': 0.34; 'up.': 0.34; 'there': 0.37; 'christian': 0.38; 'received:de': 0.38; 'proto:https': 0.39; 'to:addr:python.org': 0.39; 'received:io': 0.39; 'received:psf.io': 0.39; 'info': 0.39; 'subject:for': 0.40; 'received:ams1.psf.io': 0.40; 'received:mail1.ams1.psf.io': 0.40; 'content-type:multipart/mixed': 0.60; 'url:5': 0.64; 'further': 0.65; 'received:176': 0.66; 'subject:The': 0.67; 'header:Reply- To:1': 0.68; 'phone': 0.68; 'to:addr:python-announce-list': 0.72; 'reply-to:no real name:2**0': 0.72; '3.4': 0.84; 'received:176.9': 0.84; 'received:176.9.65': 0.84; 'reply-to:addr:python.org': 0.84 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 X-Mailman-Approved-At: Thu, 21 Sep 2017 11:08:36 -0400 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <7e9b66f7-186c-0eb7-e572-f747c870895f@stackless.com> Xref: csiph.com comp.lang.python.announce:2633 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --G9A1Mx3NOfQXx2celttNk3MCdgcGe6uWx Content-Type: multipart/mixed; boundary="oNDbJ2xj76Wt4UJ0784fSTAIqB9haATTU"; protected-headers="v1" From: Christian Tismer Reply-To: python-list@python.org To: python-announce-list@python.org Message-ID: <7e9b66f7-186c-0eb7-e572-f747c870895f@stackless.com> Subject: The Signature Module for PySide2 --oNDbJ2xj76Wt4UJ0784fSTAIqB9haATTU Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi friends, there is the new signature module for PySide2. It adds the __signature__ attribute to all PySide2 functions and constructors. Example usage: >>> PySide2.QtWidgets.QGraphicsAnchorLayout.addAnchors.__signature__ >>> PySide2.QtWidgets.QGraphicsAnchorLayout.__signature__ will print all annotations, defaults and return values. The feature supports Python 2.7 and Python 3.4 and up. See further info at https://bugreports.qt.io/browse/PYSIDE-510 https://github.com/pyside/pyside2-setup/blob/5.6/sources/shiboken2/libshi= boken/signature.cpp https://github.com/pyside/pyside2-setup/tree/5.6/sources/pyside2/PySide2/= support/signature Cheers -- Chris --=20 Christian Tismer :^) tismer@stackless.com Software Consulting : http://www.stackless.com/ Karl-Liebknecht-Str. 121 : https://github.com/PySide 14482 Potsdam : GPG key -> 0xFB7BEE0E phone +49 173 24 18 776 fax +49 (30) 700143-0023 --oNDbJ2xj76Wt4UJ0784fSTAIqB9haATTU-- --G9A1Mx3NOfQXx2celttNk3MCdgcGe6uWx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJZw7xzAAoJEOcwEVD7e+4O0pEIALGarjjIzih/AgSPUxR1LVRf htaNiOI8blcZca6u1Zo1iCbo1+Da+eHe6mzMWg/IYmrf0mT5ftshlwA1eR86CSyo l8j4U+kcfc4ls8M6+WWIc2WYi4K5IIAjT33YuvD2tapI0b1yPjHY42TLtL+v4YOi QoDlGSvv3ZcabR6zN9N45K07/9m5/A0BQ/keZVG/4XhAP4wScJn7JTLxgMUqT6QZ E3eB0W56TEhwiqLx7rSN0CsUl9nxG524VNq9M0s0QC21VbYNsPaALdkdWMeHkegZ zfZorBeC+aATrpWtrB9NNDdz/sQRTtdMX1lPzLHh26G+/hzWv8dPzzQAa+f1Fnw= =CPLo -----END PGP SIGNATURE----- --G9A1Mx3NOfQXx2celttNk3MCdgcGe6uWx--