I've found myself using a Python gotcha as a feature.
I've got a budding mail filter program which keeps rule state in a
little class instance. Slightly paraphrased:
class RuleState(object):
def __init__(self, M, maildb_path, maildirs={}):
[...]
self.maildirs
On Thu, Apr 12, 2012 at 7:35 PM, Cameron Simpson c...@zip.com.au wrote:
I've found myself using a Python gotcha as a feature.
I've got a budding mail filter program which keeps rule state in a
little class instance. Slightly paraphrased:
class RuleState(object):
def __init__(self,
On 12Apr2012 19:43, Chris Angelico ros...@gmail.com wrote:
| On Thu, Apr 12, 2012 at 7:35 PM, Cameron Simpson c...@zip.com.au wrote:
| I've found myself using a Python gotcha as a feature.
| I've got a budding mail filter program which keeps rule state in a
| little class instance. Slightly
On 12/04/2012 10:35, Cameron Simpson wrote:
I've found myself using a Python gotcha as a feature.
Have a look at Peter Inglesby's lightning talk from a
recent London Python Dojo:
http://inglesp.github.com/2012/03/24/mutable-default-arguments.html
TJG
--
On Thu, Apr 12, 2012 at 7:15 AM, Tim Golden m...@timgolden.me.uk wrote:
On 12/04/2012 10:35, Cameron Simpson wrote:
I've found myself using a Python gotcha as a feature.
Have a look at Peter Inglesby's lightning talk from a
recent London Python Dojo:
Cameron Simpson wrote:
I've found myself using a Python gotcha as a feature.
I've got a budding mail filter program which keeps rule state in a
little class instance. Slightly paraphrased:
class RuleState(object):
def __init__(self, M, maildb_path, maildirs={}):
[...]
On 04/12/2012 10:35 AM, Cameron Simpson wrote:
I've found myself using a Python gotcha as a feature.
I've got a budding mail filter program which keeps rule state in a
little class instance. Slightly paraphrased:
class RuleState(object):
def __init__(self, M, maildb_path,
On Thursday, April 12, 2012 10:40:47 AM Tim Golden did opine:
On 12/04/2012 10:35, Cameron Simpson wrote:
I've found myself using a Python gotcha as a feature.
Tim: your setup of using the CC: line for every thing with a blank To:
line is landing your posts in my spam folder. Do you have
On 12Apr2012 10:44, gene heskett ghesk...@wdtv.com wrote:
| On Thursday, April 12, 2012 10:40:47 AM Tim Golden did opine:
| On 12/04/2012 10:35, Cameron Simpson wrote:
| I've found myself using a Python gotcha as a feature.
|
| Tim: your setup of using the CC: line for every thing with a
out of the office and exiled to
China.
If I found out some five FOOLISH PATSIES, Immigrants under mental or
social imbalance were planning a STUPID and IDIOTIC operation, I would
confront them with courtesy. I would tell them that this is a foolish
act. That I, a white FBI officer am doing
higher than those
of NIXON. Long time ago, when FBI had a competent and PATRIOTIC chief,
he was able to get the NIXON BASTARD out of the office and exiled to
China.
If I found out some five FOOLISH PATSIES, Immigrants under mental or
social imbalance were planning a STUPID and IDIOTIC operation, I
11 matches
Mail list logo