Re: [Mailman-Users] suppress duplicate when posting addressedtolistand its alias name

2012-11-07 Thread Sahil Tandon
On Tue, 2012-11-06 at 18:02:27 -0800, Mark Sapiro wrote: > Sahil Tandon wrote: > ... > >Obviously, this would result in a lot of pickles that are constantly > >opened, edited (and, periodically cleansed), and closed. Is the > >performance cost/benefit prohibitive?

Re: [Mailman-Users] suppress duplicate when posting addressed tolistand its alias name

2012-11-06 Thread Sahil Tandon
ver concurrently called for the same list -- is that understanding accurate? -- which avoids the scenario in which we are trying to simultaneously manipulate the same pickle. -- Sahil Tandon -- Mailman-Users mailing list Mailman-Users@python.org ht

Re: [Mailman-Users] suppress duplicate when posting addressed to listand its alias name

2012-11-05 Thread Sahil Tandon
alogue for our use-case, that would do it. The goal is to check whether a tuple of (message-id, listname) already exists in the dict and, if it does, raise Errors.DiscardMessage; otherwise, add the tuple to the dict and do nothing. -- Sahil Tandon -

[Mailman-Users] suppress duplicate when posting addressed to list and its alias name

2012-11-05 Thread Sahil Tandon
fer to do it via the mailing list manager if this is already possible. Thanks, -- Sahil Tandon -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 S

Re: [Mailman-Users] Uncaught runner exception: 'ascii' codec can'tencode character u'\u201c'

2012-02-05 Thread Sahil Tandon
On Feb 5, 2012, at 2:37 PM, Mark Sapiro wrote: > Sahil Tandon wrote: > >> I am seeing this error with all mail sent to just one (of several) >> mailman mailing lists that are operating without problems. I found some >> related discussions in the archives, but nothing

[Mailman-Users] Uncaught runner exception: 'ascii' codec can't encode character u'\u201c'

2012-02-05 Thread Sahil Tandon
in the shunted pickle file? But in the beginning of the file I see: [- start pickle file -] <- start object 1 -> From owner-test-l...@tandon.net Sat Feb 4 20:31:45 2012 ... I do not see the U+201C and am stuck trying to figure out why all mail (regardless of conten