lkml.org 
[lkml]   [2011]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Add a personality to report 2.6.x version numbers
From
On Mon, Aug 22, 2011 at 2:30 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:

> Details. Examples. Name the f&*cking names already. Shame them publicly.

A notable one is that Python now reports "linux3" from sys.platform();
which in turn can break things that were checking sys.platform() ==
"linux2".

https://bugzilla.mozilla.org/show_bug.cgi?id=664564

Seems pretty clear to me though it's a bug in the apps that are using
'==' instead of .startswith().


\
 
 \ /
  Last update: 2011-08-23 15:19    [W:0.385 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site