Openembedded Core Discussions
 help / color / mirror / Atom feed
* [Patch 0/1 V2] Update relocate_sdk.py to work with Python 2.4
@ 2013-10-16 15:44 Konrad Scherer
  2013-10-16 15:44 ` [PATCH] relocate_sdk.py: Allow script to work with Python 2.4 and 3 Konrad Scherer
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Scherer @ 2013-10-16 15:44 UTC (permalink / raw)
  To: openembedded-core

As a bootstrap script, relocate_sdk.py needs to support as many
versions of python as possible. Since python 2.4.3 is default python
on RedHat/CentOS 5.x, the recent updates to support python 3 broke
these platforms. This is the cleanest way I could find to support all
pythons 2.4 to 3. I have tested the patch on 2.4.3, 2.6.5, 2.7.3 and
3.2.3.

V2: Detect the system encoding before converting

---
Konrad Scherer, MTS, Linux Products Group, Wind River


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Patch 0/1 V3] Update relocate_sdk.py to work with Python 2.4
@ 2013-10-17 14:17 Konrad Scherer
  2013-10-17 14:17 ` [PATCH] relocate_sdk.py: Allow script to work with Python 2.4 and 3 Konrad Scherer
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Scherer @ 2013-10-17 14:17 UTC (permalink / raw)
  To: openembedded-core

As a bootstrap script, relocate_sdk.py needs to support as many
versions of python as possible. Since python 2.4.3 is default python
on RedHat/CentOS 5.x, the recent updates to support python 3 broke
these platforms. This is the cleanest way I could find to support all
pythons 2.4 to 3. I have tested the patch on 2.4.3, 2.6.5, 2.7.3 and
3.2.3.

V2: Detect the system encoding before converting

V3: Remove unneeded import codecs

---
Konrad Scherer, MTS, Linux Products Group, Wind River


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-17 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-16 15:44 [Patch 0/1 V2] Update relocate_sdk.py to work with Python 2.4 Konrad Scherer
2013-10-16 15:44 ` [PATCH] relocate_sdk.py: Allow script to work with Python 2.4 and 3 Konrad Scherer
2013-10-17  6:54   ` Laurentiu Palcu
2013-10-17  7:01     ` Laurentiu Palcu
  -- strict thread matches above, loose matches on Subject: below --
2013-10-17 14:17 [Patch 0/1 V3] Update relocate_sdk.py to work with Python 2.4 Konrad Scherer
2013-10-17 14:17 ` [PATCH] relocate_sdk.py: Allow script to work with Python 2.4 and 3 Konrad Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox