[Zope-CMF] String exceptions

2011-02-25 Thread Godefroid Chapelle
Hi,

Python2.6 has deprecated string exceptions.

However, I find about 15 string exceptions in CMF 2.2

I guess this is just something that was forgotten.

Can we consider this as a critical issue for next release ?

Regards
-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] String exceptions

2011-02-25 Thread Laurence Rowe
On 25 February 2011 10:53, Godefroid Chapelle got...@bubblenet.be wrote:
 Hi,

 Python2.6 has deprecated string exceptions.

 However, I find about 15 string exceptions in CMF 2.2

 I guess this is just something that was forgotten.

 Can we consider this as a critical issue for next release ?

It certainly seems worth updating these, but I wouldn't consider it critical.

Laurence
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] String exceptions

2011-02-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/25/2011 05:53 AM, Godefroid Chapelle wrote:

 Python2.6 has deprecated string exceptions.
 
 However, I find about 15 string exceptions in CMF 2.2
 
 I guess this is just something that was forgotten.
 
 Can we consider this as a critical issue for next release ?

Critial is not the right urgency for fixing deprecation warnings:
nothing breaks, there is no security hole, etc.

That being saie:  you've done the hard work (finding them): just go
ahead and check the fix in.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1nt8kACgkQ+gerLs4ltQ60cwCg2jOKaHLLrK3Wgdyf8zGnrSwt
4nAAnRDREjktOos4M1V9OeKSy+5MAsuF
=xLje
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] String exceptions

2011-02-25 Thread Laurence Rowe
On 25 February 2011 14:08, Tres Seaver tsea...@palladion.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 02/25/2011 05:53 AM, Godefroid Chapelle wrote:

 Python2.6 has deprecated string exceptions.

 However, I find about 15 string exceptions in CMF 2.2

 I guess this is just something that was forgotten.

 Can we consider this as a critical issue for next release ?

 Critial is not the right urgency for fixing deprecation warnings:
 nothing breaks, there is no security hole, etc.

 That being saie:  you've done the hard work (finding them): just go
 ahead and check the fix in.

As mentioned on the zope-dev list, string exceptions were actually
removed int Python 2.6. I still don't think it's critical though, it
just raises a TypeError now instead of a string exception.

Laurence
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] String exceptions

2011-02-25 Thread Godefroid Chapelle
Le 25/02/11 15:23, Laurence Rowe a écrit :
 As mentioned on the zope-dev list, string exceptions were actually
 removed int Python 2.6. I still don't think it's critical though, it
 just raises a TypeError now instead of a string exception.

 Laurence

Right, they are not critical. I once again spoke before thinking deep 
enough.

-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests