homepage

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 kristjan.jonsson
Recipients ezio.melotti, kristjan.jonsson, mark.dickinson, meador.inge, pitrou, progrper, rhettinger, terry.reedy, vstinner
Date 2012年04月15日.19:47:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334519243.04.0.145541792569.issue14507@psf.upfronthosting.co.za>
In-reply-to
Content
> There are other crashers we choose to ignore (involving gc.getreferrers, > bytecode hacks, ctypes, etc). I think this should go in that category
> and I would be happy to add a note to that effect in the docs for tertools.
Yes, including my previous example with repr()
a = None
for i in range(100000):
 a = {1: a}
repr(a)
This is a case where care has been taken for lists, tuples, but not dicts. If we want to fix repr, the recursion checking shoudl probably go into PyObject_repr(). I'm not advocating for a fix, Just pointing out yet another way you can construct objects so that accessnig them will cause a crash.
History
Date User Action Args
2012年04月15日 19:47:23kristjan.jonssonsetrecipients: + kristjan.jonsson, rhettinger, terry.reedy, mark.dickinson, pitrou, vstinner, ezio.melotti, meador.inge, progrper
2012年04月15日 19:47:23kristjan.jonssonsetmessageid: <1334519243.04.0.145541792569.issue14507@psf.upfronthosting.co.za>
2012年04月15日 19:47:22kristjan.jonssonlinkissue14507 messages
2012年04月15日 19:47:22kristjan.jonssoncreate

AltStyle によって変換されたページ (->オリジナル) /