Re: [Metakit] Mk4py behavioral questions [was Re: Mk4Py bug?]

2003-09-17 Thread Jean-Claude Wippler
Gordon McMillan wrote: On 17 Sep 2003 at 1:25, Nicholas Riley wrote: [...] I'm working under the assumption that, given a database, you'd prefer it to generate an error rather than discard data. Not at all. When working with GUI forms, I often use a form dict which may well have extra state I

Re: [Metakit] Mk4py behavioral questions [was Re: Mk4Py bug?]

2003-09-17 Thread Niki Spahiev
Nicholas Riley wrote: - If the object is a sequence, get the property item corresponding to the index. If there are more elements in the sequence than properties, silently discard the remainder of the elements. (Should this change?) Currently this sequence check is broken for

Re: [Metakit] Mk4py behavioral questions [was Re: Mk4Py bug?]

2003-09-17 Thread Gordon McMillan
On 17 Sep 2003 at 8:42, Nicholas Riley wrote: ... What about the others - view.append(1) and view.append('abcdefg') (where you have fewer than 7 properties)? I'm not happy that those act as they do. view.append() (that is, no arg or None) should definitely work (it's the common idiom for

Re: [Metakit] Mk4py behavioral questions [was Re: Mk4Py bug?]

2003-09-17 Thread Brian Kelley
It looks the formatting got a little confused: you can download the code from here: http://jura.wi.mit.edu/people/kelley/ or directly http://jura.wi.mit.edu/people/kelley/metawrap.py -- Brian Kelley [EMAIL PROTECTED] Whitehead Institute for Biomedical Research