#256: something in 5c425ab4fa breaks bibsched
------------------------+---------------------------------------------------
  Reporter:  jblayloc   |       Owner:  bthiell    
      Type:  defect     |      Status:  closed     
  Priority:  major      |   Milestone:             
 Component:  *general*  |     Version:             
Resolution:  fixed      |    Keywords:  Invenio bug
------------------------+---------------------------------------------------

Comment (by rchyla):

 the interesting twist to this comes when python doesn't recognize one
 module as the module which was already imported

 {{{
 from somewhere import something
 #may not be the same module as
 import somewhere.something as something

 }}}

 people usually don't notice, until they use the modules as singletons and
 expect to get access to their objects as shared caches. these modules
 (under certain conditions) will have different id()

 it makes sense, when one thinks about the fact that modules are accessed
 from the global dictionary, which is local to each module and may contain
 same keys with different values (a problem of a different scope)

-- 
Ticket URL: <http://invenio-software.org/ticket/256#comment:6>
Invenio <http://invenio-software.org>

Reply via email to