Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82070

Re: Setting default_factory of defaultdict to key

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.072
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; '(except': 0.07; 'correct.': 0.07; 'assuming': 0.09; 'buttons': 0.09; 'hierarchical': 0.09; 'item.': 0.09; 'wrote': 0.14; 'thread': 0.14; 'broken.': 0.16; 'headers,': 0.16; 'only)': 0.16; 'stuff.': 0.16; 'subject:key': 0.16; 'thread,': 0.16; 'wrote:': 0.18; 'user.': 0.19; 'addition,': 0.20; 'starts': 0.20; 'example': 0.22; '(in': 0.22; 'header:User-Agent:1': 0.23; 'headers': 0.24; 'refers': 0.24; 'visible': 0.24; 'earlier': 0.24; 'header': 0.24; 'source': 0.25; 'equivalent': 0.26; 'shown': 0.26; 'least': 0.26; '(for': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'related': 0.29; 'dec': 0.30; 'field,': 0.30; "i'm": 0.30; 'work.': 0.31; 'lines': 0.31; 'equivalent.': 0.31; 'actual': 0.34; 'could': 0.34; 'display': 0.35; 'but': 0.35; 'there': 0.35; 'recipients.': 0.36; 'subject:skip:d 10': 0.36; 'should': 0.36; 'button': 0.38; 'filled': 0.38; 'somebody': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'previous': 0.38; 'that,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'changed': 0.39; 'dave': 0.60; 'most': 0.60; 'field.': 0.61; 'new': 0.61; 'first': 0.61; 'information': 0.63; 'such': 0.63; 'field': 0.63; 'more': 0.64; 'different': 0.65; 'within': 0.65; 'between': 0.67; 'body.': 0.68; 'line,': 0.68; 'received:74.208': 0.68; 'subject': 0.69; 'search,': 0.74; 'filling': 0.78; 'easier,': 0.84; 'received:74.208.4.194': 0.84; 'tended': 0.84; 'angel': 0.91; 'sent,': 0.91; 'imagine': 0.93; 'subject:Setting': 0.96
Date Sun, 07 Dec 2014 12:21:29 -0500
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Setting default_factory of defaultdict to key
References <54821AEB.1050207@verizon.net> <548480CB.2020004@davea.name> <20141207164309.GA54318@FuzzyHorror>
In-Reply-To <20141207164309.GA54318@FuzzyHorror>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:KaPLtdtTnreQ6Su2+3mLrXX75+TMep7wmGYdote+l3n 4oT2Cq/NBhuLdMRVxyfNVhv8oIllElynFLNnKrm3kTlrFTyk88 A9gVZH3yNyxnd8H0XAEr3CUo3YXhqFFzNg7OrEAHYgjNvDnZIk 2+8dj5qRRTs9YN2eAFirYl8J0S9j17c+lwSNYqn7SlXIHn5siN jnIpaZXl8bQRpNxbbSLM1r6Zi6JAB4IcgVDB/QBiIpkWAt4F5o 1MVll/GyXDuJJS81soeymTttPuk0TlklhvYZgY7a1zjnQ7Fjtx JburOSvm3UgE1Q90e+g+5PVNj9V6+yRLj7XScFtCIFuIH5mOnh Yj2UDYWIKEMChiYoSIRo=
X-UI-Out-Filterresults notjunk:1;
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16680.1417972903.18130.python-list@python.org> (permalink)
Lines 48
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417972903 news.xs4all.nl 2908 [2001:888:2000:d::a6]:60049
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82070

Show key headers only | View raw


On 12/07/2014 11:43 AM, Shiyao Ma wrote:
> On Dec 07 at 11:31 -0500, Dave Angel wrote:
>> Since this clearly is intended to be part of the earlier thread, please make
>> it so by using reply-list or whatever equivalent your email program has.
>
> Kinda OT. But interested what's the difference between reply-list and to.
> In addition, based on what information a thread is formed?
>

Each email program uses different buttons and/or menu items to enable 
the user.  So I'm using button names from Thunderbird, but most email 
programs should have equivalent.

WHen I use "Write", a new message is composed, and I get to fill in the 
subject line, the to: field, etc.  Such a message always starts a new 
thread.

When I use Reply-list, there is a field within the header of the new 
message that refers to the previous one.  That's in addition to the 
automatic filling in of the subj: line with a "Re:", any quoting that 
may occur, etc.  I also could use Reply-All, and trim out the private 
recipients.  But reply-list is easier, and more likely to end up correct.

There is a LOT of information in those headers, and I'm not sure just 
which one is filled in to make threading work.  I'm assuming it's the 
"References:" field.  If you want to see the headers (and the 
body/bodies), you can use (in Thunderbird) the
   View->Message Source

menu item.

For example in the message you just sent, there are 104 lines before it 
gets to the first par of your actual message body.  That's almost 6k of 
stuff.

Anyway, when I display the messages, they're shown in a hierarchical 
tree.  It's hard to imagine reading a newsgroup like this without that, 
although I did in the early 80's, under MSDOS.  I wrote a utility which 
sorted the messages by subject line, and at least I tended to see 
related messages together (except that already-read messages were only 
visible by search, and if somebody changed the subject line, the thread 
was (for me only) broken.




-- 
DaveA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Setting default_factory of defaultdict to key Dave Angel <davea@davea.name> - 2014-12-07 12:21 -0500

csiph-web