Changeset 471
- Timestamp:
- Mon Jun 16 11:27:03 2008
- Files:
-
- branches/crypt/hooks/hook-email.message.py (added)
- branches/crypt/iu.py (modified) (diff)
- branches/crypt/doc/CHANGES.txt (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
branches/crypt/iu.py
r461 r471 322 322 if threaded: 323 323 self._acquire() 324 mod = _sys_modules_get(fqname, UNTRIED) 325 if mod is UNTRIED: 326 try: 324 try: 325 mod = _sys_modules_get(fqname, UNTRIED) 326 if mod is UNTRIED: 327 327 mod = _self_doimport(nm, ctx, fqname) 328 except Exception, e: 329 print "FIXME: _self_doimport %r" % e, 330 print " nm='%s' ctx='%s' fqname='%s'" % (nm, ctx, fqname) 331 if threaded: 332 self._release() 333 raise 334 if threaded: 335 self._release() 328 finally: 329 if threaded: 330 self._release() 336 331 if mod: 337 332 ctx = fqname … … 372 367 try: 373 368 mod = self.doimport(nm, ctx, ctx+'.'+nm) 374 except Exception, e: 375 print "FIXME: self.doimport Exception", e 376 if threaded: 377 self._release() 369 finally: 370 if threaded: 371 self._release() 378 372 #print "importHook done with %s %s %s (case 3)" % (name, globals['__name__'], fromlist) 379 373 return bottommod -
branches/crypt/doc/CHANGES.txt
r463 r471 10 10 2.5 version) 11 11 + Add import hooks per SQLAlchemy (thanks to Greg Copeland) 12 + Add import hooks for email in Python 2.5 (though it does not support 13 the old-style Python 2.4 syntax with Python 2.5). 12 14 + Add import hook for gadfly. 13 15 + Improve import hooks for PyGTK (thanks to Marco Bonifazi and foxx).
