Nick Coghlan <ncogh...@gmail.com> added the comment:

There's a compatibility problem with changing the AIX distutils platform prefix 
from aix to AIX: any existing code that does 
"distutils.get_platform().startswith('aix')" will break. (There isn't any code 
in the standard library that does that, it all checks sys.platform() instead, 
but it's a reasonable assumption that there's going to be code in the wild that 
does a prefix check on the distutils API output).

So I think we'll want to make the distinction between the two formats based on 
the number of hyphens they contain, rather than changing the prefix.

I *haven't* made that change directly to the PR myself, as I want to give you a 
chance to consider the question first, but I do think it's a required 
compatibility improvement before we move ahead with this.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38021>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to