Alex Ezell wrote:
> I am working on building a SOAP client. Unfortunately, one of the
> methods the SOAP server provides is named "import." The SOAP server is
> written in PHP.
>
> So, my problem is that Python really doesn't like me using the word
> "import" to call the SOAP method. 
This seems unfortunate and too restrictive, to not allow keywords to be 
used for other purposes, when the context makes it clear that its use is 
not as a keyword.

PL/I works that way: one may code
if if = then then
  then = else
else
  else = if

Not that that is recommended coding style.

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to