This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gunnar.Eikman
Recipients Gunnar.Eikman, JTMoon79, docs@python, r.david.murray
Date 2012-04-23.14:42:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335192127.32.0.976609832348.issue10942@psf.upfronthosting.co.za>
In-reply-to
Content
I moved a working script from Ubuntu (Python 3.1.2) to Windows (Python 3.2.3) today.

Had to revise script. The tostring method returns a string on Linux (contradicts this issue), but bytes on Windows (as described in this issue)...

I used tostring with a single argument "tostring(theXml)"

Is there an explanation for this? I am not an advanced Python hacker...

Be careful when moving from one environment to another!
History
Date User Action Args
2012-04-23 14:42:07Gunnar.Eikmansetrecipients: + Gunnar.Eikman, r.david.murray, docs@python, JTMoon79
2012-04-23 14:42:07Gunnar.Eikmansetmessageid: <1335192127.32.0.976609832348.issue10942@psf.upfronthosting.co.za>
2012-04-23 14:42:06Gunnar.Eikmanlinkissue10942 messages
2012-04-23 14:42:06Gunnar.Eikmancreate