1. 12 Feb, 2013 2 commits
  2. 13 Dec, 2012 2 commits
  3. 11 Dec, 2012 1 commit
  4. 26 Oct, 2012 1 commit
  5. 27 Sep, 2012 2 commits
  6. 25 Sep, 2012 1 commit
  7. 23 Jul, 2012 2 commits
  8. 17 Jul, 2012 1 commit
  9. 17 May, 2012 2 commits
  10. 11 May, 2012 1 commit
  11. 19 Jan, 2012 2 commits
  12. 12 Jan, 2012 1 commit
  13. 09 Nov, 2011 4 commits
  14. 13 Aug, 2011 6 commits
  15. 05 Aug, 2011 1 commit
  16. 02 Aug, 2011 1 commit
    • Patrick Mezard's avatar
      Fix module imports with demandimport · 1ba3a648cd20
      Patrick Mezard authored
      demandimport behaves unexpectedly when you write something like:
      
        try:
            from foo.bar import someclass
        except ImportError:
            # do something else
      
      If foo.bar does exist but does not contain "someclass", demandimport returns a
      lazy module object instead of raising ImportError. The solution is to force the
      non-module symbols to be loaded by accessing them like:
      
        try:
            import foo.bar
            someclass = foo.bar.someclass
        except (ImportError, AttributeError):
            # do something else
      1ba3a648cd20
  17. 23 Jul, 2011 1 commit
  18. 11 May, 2011 3 commits
  19. 09 May, 2011 1 commit
  20. 15 Feb, 2011 2 commits
  21. 14 Feb, 2011 2 commits
  22. 17 Nov, 2010 1 commit