More ideas: - Write a decorator from scratch. Any decorator. (e.g. caching a.k.a memoization) - Slots and what they're good for - Metaclasses' __new__ and what it's good for, maybe even write something with it - Multiple inheritance from 2 classes with the same attribute name - how does Python resolve it? - Bound vs. unbound methods - What's inheritance good for in Python? This is a big differentiator between dynamic-typing-thinking and static-typing-thinking. It should be obvious to them that they don't subclass for polymorphism. - GIL - IDEs or lack thereof - how would you do "X" in a Python project? (Rename method, finding usages, etc.) It's not the precise answers that are important, but the fact that the person have their effective ways of doing it.
On Mon, Jul 20, 2009 at 8:17 PM, Imri Goldberg <[email protected]> wrote: > 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 ---- > > > > -- Check out my blog: http://orip.org --~--~---------~--~----~------------~-------~--~----~ 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
