This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author David.Edelsohn
Recipients David.Edelsohn, serhiy.storchaka, vstinner
Date 2014-07-13.18:53:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405277583.71.0.713570859614.issue21951@psf.upfronthosting.co.za>
In-reply-to
Content
> Is following test passed?

>         check((1,), '1')

That test succeeds.

> Is CPython crashes when change signature of testfunc?

--- a/Lib/test/test_tcl.py      Sat Jul 12 18:26:03 2014 +0300
+++ b/Lib/test/test_tcl.py      Sun Jul 13 19:21:55 2014 +0300
@@ -416,7 +416,7 @@
 
     def test_user_command(self):
         result = None
-        def testfunc(arg):
+        def testfunc(arg=None, *args):
             nonlocal result
             result = arg
             return arg

This change does not have any effect on the original failure. The assertion failure and crash continues to occur.
History
Date User Action Args
2014-07-13 18:53:03David.Edelsohnsetrecipients: + David.Edelsohn, vstinner, serhiy.storchaka
2014-07-13 18:53:03David.Edelsohnsetmessageid: <1405277583.71.0.713570859614.issue21951@psf.upfronthosting.co.za>
2014-07-13 18:53:03David.Edelsohnlinkissue21951 messages
2014-07-13 18:53:03David.Edelsohncreate