Message11832

Author jeff.allen
Recipients akong, fwierzbicki, hongdatang, jeff.allen, pjenvey
Date 2018-03-18.07:07:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521356880.49.0.467229070634.issue1609@psf.upfronthosting.co.za>
In-reply-to
Content
Not reproduced in 2.7.2a1 (entered a line at a time), so I infer that Frank fixed this at some point.

Jython 2.7.2a1+ (default:d74f8c2cd56f, Feb 24 2018, 17:18:53)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_151
Type "help", "copyright", "credits" or "license" for more information.
>>> def entryExit(f):
...     def new_f():
...         print "Entering", f.__name__
...         f()
...         print "Exited", f.__name__
...     return new_f
...
>>> @entryExit
... def func1():
...     print "inside func1()"
...
>>> func1()
Entering func1
inside func1()
Exited func1
>>>
History
Date User Action Args
2018-03-18 07:08:00jeff.allensetmessageid: <1521356880.49.0.467229070634.issue1609@psf.upfronthosting.co.za>
2018-03-18 07:08:00jeff.allensetrecipients: + jeff.allen, fwierzbicki, pjenvey, akong, hongdatang
2018-03-18 07:08:00jeff.allenlinkissue1609 messages
2018-03-18 07:07:59jeff.allencreate