Re: [Python-Dev] deprecating BaseException.message

2009-04-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Coghlan wrote: > Tres Seaver wrote: >> I don't think either of these classes should be subject to a deprecation >> warning for a feature they never used or depended on. > > Agreed. Could you raise a tracker issue for the spurious warnings? (I > b

Re: [Python-Dev] deprecating BaseException.message

2009-04-06 Thread Nick Coghlan
Tres Seaver wrote: > I don't think either of these classes should be subject to a deprecation > warning for a feature they never used or depended on. Agreed. Could you raise a tracker issue for the spurious warnings? (I believe we should be able to make the warning condition a bit smarter to elimi

Re: [Python-Dev] deprecating BaseException.message

2009-04-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brett Cannon wrote: > During the PyCon sprint I tried to make BaseException accept only a single > argument and bind it to BaseException.message . I was successful (see the > p3yk_no_args_on_exc branch), but it was very painful to pull off as anyone >

[Python-Dev] deprecating BaseException.message

2007-04-09 Thread Brett Cannon
During the PyCon sprint I tried to make BaseException accept only a single argument and bind it to BaseException.message . I was successful (see the p3yk_no_args_on_exc branch), but it was very painful to pull off as anyone who sat around me the last three days of the sprint will tell you as they