Python 2.2.1 on Debian Linux also has this problem:
Python 2.2.1 (#1, Feb 28 2004, 00:52:10)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import quixote
>>> quixote.__version__
'0.6.1'
>>> t = 'hi'
>>> t += quixote.html.htmltext('there')
Traceback (most recent call last):
File "", line 1, in ?
TypeError: cannot concatenate 'str' and 'htmltext' objects
>>>
I don't have Python2.3 on my linux, so I can't confirm if it is a python thing,
but very likely...
Regards,
Alex
--- Evan LaForge wrote:
>
> % python
> Python 2.3.3 (#1, Feb 12 2004, 08:44:01)
> [GCC 2.95.4 20011002 (Debian prerelease)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import quixote
> >>> quixote.__version__
> '0.6.1'
> >>> t = 'hi'
> >>> t += quixote.html.htmltext('there')
> >>> t
>
>
> % python
> Python 2.2.1 (#2, May 28 2002, 10:43:30)
> [GCC 2.95.2 19991024 (release)] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import quixote
> >>> quixote.__version__
> '0.6.1'
> >>> t = 'hi'
> >>> t += quixote.html.htmltext('there')
> Traceback (most recent call last):
> File "", line 1, in ?
> TypeError: cannot concatenate 'str' and 'htmltext' objects
> >>>
>
> ... so it's either a SunOS / Linux thing, or, more likely, an older-python
> thing. Things have changed in how python does inplace operators, but I
> don't know exactly when. Can anyone else out there with an older python
> verify this?
>
> _______________________________________________
> Quixote-users mailing list
> Quixote-users@mems-exchange.org
> http://mail.mems-exchange.org/mailman/listinfo/quixote-users
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover