[issue10271] warnings.showwarning should allow any callable object

2011-07-20 Thread lekma
lekma added the comment: Thank you very much for your help -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10271] warnings.showwarning should allow any callable object

2011-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset eaefb34fc3a1 by Brett Cannon in branch 'default': Add Misc/NEWS entry and relevant doc change for issue 10271. http://hg.python.org/cpython/rev/eaefb34fc3a1 -- ___ Python tracker

[issue10271] warnings.showwarning should allow any callable object

2011-07-17 Thread Brett Cannon
Brett Cannon added the comment: Committed in 3.3. This cannot be backported as it widens the API and those could lead to subtle incompatibilities. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue10271] warnings.showwarning should allow any callable object

2011-07-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset aaced3dcb858 by Brett Cannon in branch 'default': Make warnings accept a callable for showwarnings instead of http://hg.python.org/cpython/rev/aaced3dcb858 -- nosy: +python-dev ___ Python tracker

[issue10271] warnings.showwarning should allow any callable object

2011-07-16 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10271] warnings.showwarning should allow any callable object

2011-05-20 Thread lekma
lekma added the comment: how should we go about that? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10271] warnings.showwarning should allow any callable object

2011-05-18 Thread R. David Murray
R. David Murray added the comment: Brett's been very busy with real life. Maybe someone else can commit this. -- nosy: +r.david.murray ___ Python tracker ___ __

[issue10271] warnings.showwarning should allow any callable object

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

[issue10271] warnings.showwarning should allow any callable object

2011-05-18 Thread lekma
lekma added the comment: Is there anything else I should be doing? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue10271] warnings.showwarning should allow any callable object

2011-04-17 Thread lekma
Changes by lekma : Added file: http://bugs.python.org/file21695/Issue10271.33.test.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue10271] warnings.showwarning should allow any callable object

2011-04-17 Thread lekma
lekma added the comment: - split the patch between the actual fix and the test - rewrote the test a little bit (I'm not sure it's even needed, hence the split) - rediff against 3.3 (should still apply cleanly on top of 3.2 (modulo offset)) -- versions: +Python 3.3 Added file: http://bug

[issue10271] warnings.showwarning should allow any callable object

2011-02-04 Thread Brett Cannon
Brett Cannon added the comment: Not for 3.2.0, no as it's such a minor "fix". Chance this can go into 3.2.1, though. Definitely for 3.3. -- ___ Python tracker ___ _

[issue10271] warnings.showwarning should allow any callable object

2011-02-04 Thread lekma
lekma added the comment: brett, is there any chance for this to make it in? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10271] warnings.showwarning should allow any callable object

2011-02-02 Thread lekma
Changes by lekma : -- keywords: +patch Added file: http://bugs.python.org/file20647/Issue10271.diff ___ Python tracker ___ ___ Python-

[issue10271] warnings.showwarning should allow any callable object

2010-10-31 Thread Brett Cannon
Changes by Brett Cannon : -- versions: -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10271] warnings.showwarning should allow any callable object

2010-10-31 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10271] warnings.showwarning should allow any callable object

2010-10-31 Thread lekma
New submission from lekma : Overriding warnings.showwarning() with a c/python module function (from a c/python module) doesn't work because warn_explicit() only allow PyFunction or PyMethod objects to be called (unfortunately c/python module functions are of type PyCFunction). Suggested chang