On Tue, Nov 2, 2021 at 8:25 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 6. While configure.py thinks it knows what to do on AIX, it fails
> on AIX 7.1 and 7.2:
>
> Traceback (most recent call last):
> File "./configure.py", line 544, in <module>
> if platform.is_aix() and not platform.is_os400_pase():
> File "./configure.py", line 103, in is_os400_pase
> return self._platform == 'os400' or os.uname().sysname.startswith('OS400')
> AttributeError: 'tuple' object has no attribute 'sysname'
Yeah, the result type changed: os.uname()[0] works on python2 AND python3.