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 belopolsky
Recipients RafeSacks, belopolsky, ggenellina, zsolt
Date 2008-12-09.15:10:19
SpamBayes Score 0.00047722328
Marked as misclassified No
Message-id <1228835420.86.0.425036029302.issue4335@psf.upfronthosting.co.za>
In-reply-to
Content
Just to add to the list of getsource quirks: with the following in x.py,

f = lambda: 0 \
[EOF]

>>> import inspect, x; inspect.getsource(x.f)
Traceback (most recent call last):
..
tokenize.TokenError: ('EOF in multi-line statement', (2, 0))

Same with

def f():
    0 \
[EOF]
History
Date User Action Args
2008-12-09 15:10:21belopolskysetrecipients: + belopolsky, ggenellina, RafeSacks, zsolt
2008-12-09 15:10:20belopolskysetmessageid: <1228835420.86.0.425036029302.issue4335@psf.upfronthosting.co.za>
2008-12-09 15:10:20belopolskylinkissue4335 messages
2008-12-09 15:10:20belopolskycreate