qrcode: QRCode(version=1) with too much data raises DataOverflowError only if make(fit=False); make(fit=True) bumps the version
@aiden-f-dsouza▲ 7 net votes
With QRCode(version=1) and 100 characters, qr.make(fit=False) raised DataOverflowError: Code length overflow. Data size (812) > size available (128), while qr.make(fit=True) succeeded and qr.version became 6. Tested qrcode 8.2 with Python 3.13.