On Sunday, September 16, 2012 3:01:11 PM UTC-5, Steven D'Aprano wrote:
> On Sun, 16 Sep 2012 11:38:15 -0700, Aaron Brady wrote:
> > Here is an example of some repetitive code.
> >
> > for view_meth in [ dict.items, dict.keys, dict.values ]:
> > dict0= dict( ( k, None ) for k in range( 10 ) )
On Sun, 16 Sep 2012 11:38:15 -0700, Aaron Brady wrote:
> Here is an example of some repetitive code.
>
> for view_meth in [ dict.items, dict.keys, dict.values ]:
> dict0= dict( ( k, None ) for k in range( 10 ) )
> iter0= iter( view_meth( dict0 ) )
> dict.__setitem__( dict0, 0,
On Sunday, September 16, 2012 2:42:09 AM UTC-5, Steven D'Aprano wrote:
> On Fri, 14 Sep 2012 19:59:29 -0700, Aaron Brady wrote:
>
>
>
> > Hello,
>
> >
>
> > I've developing a test script. There's a lot of repetition. I want to
>
> > introduce a strategy for approaching it, but I don't want
On 15/09/2012 03:59, Aaron Brady wrote:
Hello,
I've developing a test script. There's a lot of repetition. I want to
introduce a strategy for approaching it, but I don't want the program to be
discredited because of the test script. Therefore, I'd like to know what
people's reactions to an
On Fri, 14 Sep 2012 19:59:29 -0700, Aaron Brady wrote:
> Hello,
>
> I've developing a test script. There's a lot of repetition. I want to
> introduce a strategy for approaching it, but I don't want the program to
> be discredited because of the test script.
Test scripts should be simple enough
On Friday, September 14, 2012 10:32:47 PM UTC-5, David Hutto wrote:
> On Fri, Sep 14, 2012 at 11:26 PM, Dwight Hutto wrote:
>
> > On Fri, Sep 14, 2012 at 10:59 PM, Aaron Brady wrote:
>
> >> Hello,
>
> >>
>
> >> I've developing a test script. There's a lot of repetition. I want to
> >> intr
On Fri, Sep 14, 2012 at 11:26 PM, Dwight Hutto wrote:
> On Fri, Sep 14, 2012 at 10:59 PM, Aaron Brady wrote:
>> Hello,
>>
>> I've developing a test script. There's a lot of repetition. I want to
>> introduce a strategy for approaching it, but I don't want the program to be
>> discredited beca
On Fri, Sep 14, 2012 at 10:59 PM, Aaron Brady wrote:
> Hello,
>
> I've developing a test script. There's a lot of repetition. I want to
> introduce a strategy for approaching it, but I don't want the program to be
> discredited because of the test script. Therefore, I'd like to know what
> p