strange behaviour of colon within string

Wolodja Wentland wentland at
Mon Oct 19 15:07:44 CEST 2009

On Mon, Oct 19, 2009 at 05:44 -0700, khany wrote:
> i am relatively new to python and i am trying to convert a php app i
> have over to it using googleapps.


> anyway here is the problem. i poll ebay API which has in its XML "<?
> xml version="1.0" encoding="utf-8"?><findItemsAdvancedRequest
> xmlns="">  .... "

> however it fails to create the string UNLESS i remove the colon (:) in
> the http section. i tried to substitute it with chr(58) but it errors
> the same without showing why. does anyone know what i am doing wrong?
> is this peculiar to googleapps?

Could you please elaborate on "fails to create the string", preferably
in the form of a traceback. It might also help us if we knew what
behaviour you expected or what do you mean by "i remove the colon" .

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 853 bytes
Desc: Digital signature
URL: <>

More information about the Python-list mailing list