Re: python logging filters

2009-11-30 Thread Grimsqueaker
My logging behaves as I expect now and I have a better understanding of how the module functions. Thank you for taking the time to explain those points to me. :) On Nov 30, 4:10 pm, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: On Nov 30, 6:52 am, Grimsqueaker grimsqueake...@gmail.com wrote

Re: python logging filters

2009-11-30 Thread Grimsqueaker
My logging behaves as I expect now and I have a better understanding of how the module functions. Thank you for taking the time to explain those points to me. :) On Nov 30, 4:10 pm, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: On Nov 30, 6:52 am, Grimsqueaker grimsqueake...@gmail.com wrote

Re: python logging filters

2009-11-30 Thread Grimsqueaker
My logging behaves as I expect now and I have a better understanding of how the module functions. Thank you for taking the time to explain those points to me. :) On Nov 30, 4:10 pm, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: On Nov 30, 6:52 am, Grimsqueaker grimsqueake...@gmail.com wrote

Re: python logging filters

2009-11-29 Thread Grimsqueaker
On Nov 28, 11:26 am, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: On Nov 27, 1:11 pm, Grimsqueaker grimsqueake...@gmail.com wrote: When I add a Filter to a Handler, everything works as expected (ie. all messages sent from Loggers below the Filter's level are allowed through), but when I add

Re: python logging filters

2009-11-29 Thread Grimsqueaker
On Nov 30, 8:42 am, Grimsqueaker grimsqueake...@gmail.com wrote: On Nov 28, 11:26 am, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: On Nov 27, 1:11 pm, Grimsqueaker grimsqueake...@gmail.com wrote: When I add a Filter to a Handler, everything works as expected (ie. all messages sent from

Re: python logging filters

2009-11-29 Thread Grimsqueaker
On Nov 30, 8:42 am, Grimsqueaker grimsqueake...@gmail.com wrote: On Nov 28, 11:26 am, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: On Nov 27, 1:11 pm, Grimsqueaker grimsqueake...@gmail.com wrote: When I add a Filter to a Handler, everything works as expected (ie. all messages sent from

python logging filters

2009-11-27 Thread Grimsqueaker
I have found some strange behaviour when using the Python 2.6 logging module, maybe someone here can explain what's happening? When I add a Filter to a Handler, everything works as expected (ie. all messages sent from Loggers below the Filter's level are allowed through), but when I add the

counting using variable length string as base

2008-03-27 Thread Grimsqueaker
Hi, I'm fairly new to Python and to this list. I have a problem that is driving me insane, sorry if it seems simple to everyone, I've been fighting with it for a while. :)) I want to take a variable length string and use it as a base for counting, eg. given the string 'abc' the sequence would

Re: counting using variable length string as base

2008-03-27 Thread Grimsqueaker
That seems to give me the items in the list back in an iterator. Am I using it incorrectly? -- http://mail.python.org/mailman/listinfo/python-list

Re: counting using variable length string as base

2008-03-27 Thread Grimsqueaker
OK, got that. If I use: for x in string_cartesian_product('abc'): print x I get: a b c What am I not understanding? Thank you -- http://mail.python.org/mailman/listinfo/python-list