Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1247

"FutureWarning: split() requires a non-empty pattern match" in shibokensupport.signature.parser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P5: Not important
    • None
    • 5.14.1
    • Shiboken
    • None
    • 719277aee248afe75abfac77414540827517ad3f (pyside/pyside-setup/5.14)

    Description

      I'm not sure how to reproduce this exactly - I got it when running the pytest-qt tests with Python 3.6 via tox -e py36-pyside2. Even with PYTHONWARNINGS=error I can't get it to give me a stacktrace...

      .../lib/python3.6/site-packages/shiboken2/files.dir/shibokensupport/signature/parser.py:97: FutureWarning: split() requires a non-empty pattern match.
        return [x.strip() for x in split(argstr) if x.strip() not in ("", ",")]
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ctismer Christian Tismer
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes