Description
The PySide2 QSpinBox widget does not honor the wrapping setting at INT32_MAX and INT32_MIN so it is not possible to step up from 0x7fffffff or down from 0x8000000 as it was in PySide.
import sys from PySide2.QtWidgets import * def main(): app = QApplication(sys.argv) window = QSpinBox() window.setMaximum(0x7fffffff) window.setValue(0x7fffffff) window.setMinimum(-0x80000000) window.setWrapping(True) window.show() sys.exit(app.exec_()) if __name__ == '__main__': main()