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

shiboken.wrapInstance raises OverflowError for large addresses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • 6.0
    • 1.2.x
    • Shiboken
    • Windows 7 64-bit, Python 2.6.4 64-bit, PySide 1.1.1 (compiled with Visual C++ 2008)

    Description

      If an address above 32 bits is passed to shiboken.wrapInstance, an OverflowError is raised.

      >>> from PySide import QtCore, shiboken
      >>>
      >>> shiboken.wrapInstance(0xFFFFFFFF, QtCore.QObject)
      <PySide.QtCore.QObject object at 0x0000000003EFB3C8>
      >>> shiboken.wrapInstance(0x100000000, QtCore.QObject)
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      OverflowError
      >>>

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              agibli Alon Gibli
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes