I've been following through the threads. In theory, you don't need to
backport a fix. Because only people who are upgrading to a 3.0 kernel
are going to run into it.
python upstream still hasn't settled on whether they want to preserve
"linux2" because there isn't a significant update, or whether they
want to keep the documented "platform+major version" and break lots of
existing code.
I think the recommended fix is to actually use "import platform; ...?"
Anyway, I'm fine with this for now.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/24/2011 6:37 AM, Martin Pool wrote: /bugs.launchpad .net/bzr/ +bug/66336 Bug #394649 in Bazaar: readline( )" /bugs.launchpad .net/bzr/ +bug/394649 Bug #408814 in Bazaar: /bugs.launchpad .net/bzr/ +bug/408814 Bug /bugs.launchpad .net/bzr/ +bug/545185 Bug #644221 in /bugs.launchpad .net/bzr/ +bug/644221 Bug #804553 in /bugs.launchpad .net/bzr/ +bug/804553 /code.launchpad .net/~mbp/ bzr/trivial/ +merge/ 72659 'linux' ) should
> Martin Pool has proposed merging lp:~mbp/bzr/trivial into lp:bzr.
>
> Requested reviews: bzr-core (bzr-core) Related bugs: Bug #66336 in
> Bazaar: "Unportable test(1) construct"
> https:/
> "NameError raising error in ReadVFile.
> https:/
> "test_breakin known failure with "subprocess wasn't terminated, it
> had to be killed"" https:/
> #545185 in Bazaar: "Last character of path stripped in result
> message" https:/
> Bazaar: "bzr help bugs references an old now stale url for squid
> bugzilla" https:/
> Bazaar: ""version doesn't match" warning doesn't indicate bzr
> location" https:/
>
> For more details, see:
> https:/
>
> If the Python interpreter is compiled (not run) on a Linux 3.0
> kernel, it reports sys.platform == linux3.
>
> Apparently this is patched-around in Ubuntu (or maybe not, looking
> at the changelog.) At any rate saying .startswith(
> do for the next while.
merge: approve
I've been following through the threads. In theory, you don't need to
backport a fix. Because only people who are upgrading to a 3.0 kernel
are going to run into it.
python upstream still hasn't settled on whether they want to preserve
"linux2" because there isn't a significant update, or whether they
want to keep the documented "platform+major version" and break lots of
existing code.
I think the recommended fix is to actually use "import platform; ...?"
Anyway, I'm fine with this for now.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
UylQACgkQJdeBCY SNAANUaACdE095S sHMZNH5+ PGG69TH/ HgZ EtzS0hXG0KqcsNc +U
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk5
aIYAoKDGV0n9RWZ
=eOBq
-----END PGP SIGNATURE-----