How to implement context managers using generators. The correct way to ask this without giving any hints is "What is the easiest way to implement a context manager?".Obviously, you have to know what context managers are.
Cheers, Imri On Mon, Jul 20, 2009 at 8:08 PM, Ori Peleg <[email protected]> wrote: > How to blanket-catch exceptions in Python < 3.0 (the SystemExit and > KeyboardInterrupt issue) > > On Mon, Jul 20, 2009 at 7:55 PM, Udi h Bauman <[email protected]>wrote: > >> Hi, >> >> I need help with some questionnaire (just if you can think of something >> from-the-top-of-your-head): >> I'm looking for a couple of really difficult questions on Python, such that >> "non-python-experts" have <10% chances of getting them right. Could be about >> advanced usages, or just some esoteric holes, that only someone who wondered >> in Python fields for enough years is likely to have fell into.. >> >> Any ideas? >> >> >> >> Thanks in advance! >> Udi >> >> >> >> > > > -- > Check out my blog: http://orip.org > > > > -- Imri Goldberg -------------------------------------- www.algorithm.co.il/blogs/ -------------------------------------- -- insert signature here ---- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyWeb-IL" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyweb-il?hl=en -~----------~----~----~----~------~----~------~--~---
_______________________________________________ Python-il mailing list [email protected] http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il
