An interesting python problem using Zope 2.7.3

ranjith g p ranjithgp at gmail.com
Sat Feb 5 05:53:23 EST 2005


Greetings!!!

I ran the following simple string commands in Linux + Python and the results are:

[root at localhost root]# python
Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> "<a>A"
'<a>A'
>>> "<a>A/"
'<a>A/'
>>> "A</>"
'A</>'
>>>


Now when the same is run from Zope273 + python + Linux or windows,
the results are,

1.  '<a>A'
2.   A/
3.  A    
 

respectively. Any suggestions?

thanx



More information about the Python-list mailing list