You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platform.linux_distribution() was added in 2.6 as an alias for
platform.dist(). However the documentation lists platform.dist() as an
alias for platform.linux_distribution() and there is no information that
the latter appered in 2.6 whereas the former exists since 2.4 I think.
Not sure what the fix is, but it should be documented properly with "..
versionadded:: 2.6".
platform.linux_distribution() was added in 2.6 as an alias for
platform.dist(). However the documentation lists platform.dist() as an
alias for platform.linux_distribution() and there is no information that
the latter appered in 2.6 whereas the former exists since 2.4 I think.
Not sure what the fix is, but it should be documented properly with "..
versionadded:: 2.6".
Note that dist() redirects to linux_distribution(), not the other
way around.
I'll add the versionadded tags and also clarify the dist() documentation:
it's missing a comment that full_distribution_name is set to false
when redirecting to linux_distribution().
Activity
mitsuhiko commentedon Feb 16, 2009
platform.linux_distribution() was added in 2.6 as an alias for
platform.dist(). However the documentation lists platform.dist() as an
alias for platform.linux_distribution() and there is no information that
the latter appered in 2.6 whereas the former exists since 2.4 I think.
Not sure what the fix is, but it should be documented properly with "..
versionadded:: 2.6".
malemburg commentedon Feb 17, 2009
On 2009-02-16 22:42, Armin Ronacher wrote:
Note that dist() redirects to linux_distribution(), not the other
way around.
I'll add the versionadded tags and also clarify the dist() documentation:
it's missing a comment that full_distribution_name is set to false
when redirecting to linux_distribution().
malemburg commentedon Feb 17, 2009
Fixed in r69717.