[issue40570] len(platform.uname()) has changed in Python 3.9

2020-05-08 Thread David Tucker


New submission from David Tucker :

https://github.com/python/cpython/commit/518835f3354d6672e61c9f52348c1e4a2533ea00#diff-47c8e5750258a08a6dd9de3e9c3774acL741-R804

That diff changed len(platform.uname()) to 5 (from 6).

I noticed because we have some code that checks for 6 strs (arguably 
unnecessary),
but I can also think of contrived examples that would break (e.g. 
platform.uname()[-3]).
Interestingly, platform.uname()[5] still works.

Was this effect intentional?

--
components: Library (Lib)
messages: 368459
nosy: tucked
priority: normal
severity: normal
status: open
title: len(platform.uname()) has changed in Python 3.9
type: behavior
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue40570>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40570] len(platform.uname()) has changed in Python 3.9

2020-05-08 Thread David Tucker


Change by David Tucker :


--
keywords: +patch
pull_requests: +19320
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20009

___
Python tracker 
<https://bugs.python.org/issue40570>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43465] ./configure --help describes what --with-ensurepip does poorly

2021-03-10 Thread David Tucker


Change by David Tucker :


--
nosy: +tucked

___
Python tracker 
<https://bugs.python.org/issue43465>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com