Re: [Zope-dev] Question about import code

2001-05-11 Thread Dieter Maurer
Shane Hathaway writes: Fred Wilson Horch wrote: Importing multiple objects simultaneously could result in a fair amount of confusion... Can you elaborate? When you import a folder, for example, it imports the folder and all objects in it. If there are some objects in the

Re: [Zope-dev] Question about import code

2001-05-10 Thread Shane Hathaway
Fred Wilson Horch wrote: The problem that happens on import is a KeyError on line 194 of this bit of code: lines 192-197 of lib/python/ZODB/ExportImport.py ooid=h[:8] if oids: oid=oids[ooid] if type(oid) is

Re: [Zope-dev] Question about import code

2001-05-10 Thread Fred Wilson Horch
Hi Shane, You wrote: Importing multiple objects simultaneously could result in a fair amount of confusion... Can you elaborate? When you import a folder, for example, it imports the folder and all objects in it. Why is it any different to import two unrelated objects? Would it be better

Re: [Zope-dev] Question about import code

2001-05-10 Thread Shane Hathaway
Fred Wilson Horch wrote: You wrote: Importing multiple objects simultaneously could result in a fair amount of confusion... Can you elaborate? When you import a folder, for example, it imports the folder and all objects in it. If there are some objects in the folder that have