[issue11470] Flag inappropriate uses of callable class attributes

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue11470] Flag inappropriate uses of callable class attributes

2014-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: This issue is referred to from #11455. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-l

[issue11470] Flag inappropriate uses of callable class attributes

2013-06-04 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11470] Flag inappropriate uses of callable class attributes

2013-02-25 Thread Ulrich Eckhardt
Changes by Ulrich Eckhardt : -- nosy: +eckhardt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11470] Flag inappropriate uses of callable class attributes

2011-07-13 Thread Eric Snow
Changes by Eric Snow : -- nosy: +ericsnow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue11470] Flag inappropriate uses of callable class attributes

2011-07-13 Thread Éric Araujo
Éric Araujo added the comment: Hi Thomas, could you give us a status update? Maybe I can help with tests or docs? -- ___ Python tracker ___ ___

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-17 Thread Thomas Wouters
Changes by Thomas Wouters : Removed file: http://bugs.python.org/file21088/nonmethod-warn-nongit.diff ___ Python tracker ___ ___ Python-bugs-l

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-17 Thread Thomas Wouters
Thomas Wouters added the comment: New version of the patch; instead of triggering at attribute *access*, this just checks when creating types and in type_setattro. It also makes the warning a newly added CompatibilityWarning. Also, instead of warning for all non-descriptors, it now only warns

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Guido van Rossum
Guido van Rossum added the comment: This should not reuse DeprecationWarning but instead introduce a different warning, e.g. CompatibilityWarning. -- nosy: +gvanrossum ___ Python tracker _

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Thomas Wouters
Changes by Thomas Wouters : Removed file: http://bugs.python.org/file21087/nonmethod-warn-nongit.diff ___ Python tracker ___ ___ Python-bugs-l

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Thomas Wouters
Changes by Thomas Wouters : Added file: http://bugs.python.org/file21088/nonmethod-warn-nongit.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Éric Araujo
Éric Araujo added the comment: Don’t forget to remove the comments in codecs that are made obsolete by your changes. -- nosy: +eric.araujo ___ Python tracker ___ __

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Thomas Wouters
Changes by Thomas Wouters : Removed file: http://bugs.python.org/file21085/nonmethod-warn.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Thomas Wouters
Changes by Thomas Wouters : Added file: http://bugs.python.org/file21087/nonmethod-warn-nongit.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Alex
Changes by Alex : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Thomas Wouters
New submission from Thomas Wouters : As discussed at the language summit at PyCon 2011, some code takes some liberties with setting class attributes to callable objects, like CFunctions, that (C)Python does not turn into methods. This is problematic because 1) CPython can't then turn that CFun