Re: python-list@python.org

2014-01-15 Thread Steven D'Aprano
On Wed, 15 Jan 2014 02:25:34 +0100, Florian Lindner wrote:

 Am Dienstag, 14. Januar 2014, 17:00:48 schrieb MRAB:
 On 2014-01-14 16:37, Florian Lindner wrote:
  Hello!
 
  I'm using python 3.2.3 on debian wheezy. My script is called from my
  mail delivery agent (MDA) maildrop (like procmail) through it's
  xfilter directive.
 
  Script works fine when used interactively, e.g. ./script.py 
  testmail but when called from maildrop it's producing an infamous
  UnicodeDecodeError:

What's maildrop? When using third party libraries, it's often helpful to 
point to give some detail on what they are and where they are from.


  File /home/flindner/flofify.py, line 171, in main
mail = sys.stdin.read()

What's the value of sys.stdin? If you call this from your script:
 
print(sys.stdin)

what do you get? Is it possible that the mysterious maildrop is messing 
stdin up?


  File /usr/lib/python3.2/encodings/ascii.py, line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
 
  Exception for example is always like
 
  UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position
  869: ordinal not in range(128) 

That makes perfect sense: byte 0x82 is not in the ASCII range. ASCII is 
limited to bytes values 0 through 127, and 0x82 is hex for 130. So the 
error message is telling you *exactly* what the problem is: your email 
contains a non-ASCII character, with byte value 0x82.

How can you deal with this?

(1) Oh gods, I can't deal with this, I wish the whole world was America 
in 1965 (except even back then, there were English characters in common 
use that can't be represented in ASCII)! I'm going to just drop anything 
that isn't ASCII and hope it doesn't mangle the message *too* badly!

You need to set the error handler to 'ignore'. How you do that may depend 
on whether or not maildrop is monkeypatching stdin.


(2) Likewise, but instead of dropping the offending bytes, I'll replace 
them with something that makes it obvious that an error has occurred.

Set the error handler to replace. You'll still mangle the email, but it 
will be more obvious that you mangled it.


(3) ASCII? Why am I trying to read email as ASCII? That's not right. 
Email can contain arbitrary bytes, and is not limited to pure ASCII. I 
need to work out which encoding the email is using, but even that is not 
enough, since emails sometimes contain the wrong encoding information or 
invalid bytes. Especially spam, that's particularly poor. (What a 
surprise, that spammers don't bother to spend the time to get their code 
right?) Hmmm... maybe I ought to use an email library that actually gets 
these issues *right*?

What does the maildrop documentation say about encodings and/or malformed 
email?


  I read mail from stdin mail = sys.stdin.read()
 
  Environment when called is:
 
  locale.getpreferredencoding(): ANSI_X3.4-1968 environ[LANG]: C

For a modern Linux system to be using the C encoding is not a good sign. 
It's not 1970 anymore. I would expect it should be using UTF-8. But I 
don't think that's relevant to your problem (although a mis-configured 
system may make it worse).


  System environment when using shell is:
 
  ~ % echo $LANG
  en_US.UTF-8

That's looking more promising.


  As far as I know when reading from stdin I don't need an decode(...)
  call, since stdin has a decoding. 

That depends on what stdin actually is. Please print it and show us.

Also, can you do a visual inspection of the email that is failing? If 
it's spam, perhaps you can just drop it from the queue and deal with this 
issue later.


  I also tried some decoding/encoding
  stuff but changed nothing.

Ah, but did you try the right stuff? (Randomly perturbing your code in 
the hope that the error will go away is not a winning strategy.)


  Any ideas to help me?
 
 When run from maildrop it thinks that the encoding of stdin is ASCII.
 
 Well, true. But what encoding does maildrop actually gives me? It
 obviously does not inherit LANG or is called from the MTA that way.

Who knows? What's maildrop? What does its documentation say about 
encodings? The fact that it is using ASCII apparently by default does not 
give me confidence that it knows how to deal with 8-bit emails, but I 
might be completely wrong.


 I also tried:
 
 inData = codecs.getreader('utf-8')(sys.stdin) 
 mail = inData.read()
 
 Failed also. But I'm not exactly an encoding expert.

Failed how? Please copy and paste your exact exception traceback, in full.

Ultimately, dealing with email is a hard problem. So long as you only 
receive 7-bit ASCII mail, you don't realise how hard it is. But the 
people who write the mail libraries -- at least the good ones -- know 
just how hard it really is. You can have 8-bit emails with no encoding 
set, or the wrong encoding, or the right encoding but the contents then 
includes invalid bytes. It's not just spammers who get it wrong, 
legitimate programmers sending email also screw up.

Email is 

Re: python-list@python.org

2014-01-15 Thread Ben Finney
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:

 On Wed, 15 Jan 2014 02:25:34 +0100, Florian Lindner wrote:
  On 2014-01-14 16:37, Florian Lindner wrote:
   I'm using python 3.2.3 on debian wheezy. My script is called from
   my mail delivery agent (MDA) maildrop (like procmail) through
   it's xfilter directive.
  
   Script works fine when used interactively, e.g. ./script.py 
   testmail but when called from maildrop it's producing an infamous
   UnicodeDecodeError:

 What's maildrop? When using third party libraries, it's often helpful to 
 point to give some detail on what they are and where they are from.

It's not a library; as he says, it's an MDA program. It is from the
Courier mail application URL:http://www.courier-mta.org/maildrop/.

From that, I understand Florian to be saying his Python program is
invoked via command-line from some configuration directive for Maildrop.

 What does the maildrop documentation say about encodings and/or
 malformed email?

I think this is the more likely line of enquiry to diagnose the problem.

 For a modern Linux system to be using the C encoding is not a good
 sign.

That's true, but it's likely a configuration problem: the encoding needs
to be set *and* obeyed at an administrative and user-profile level.

 It's not 1970 anymore. I would expect it should be using UTF-8. But I 
 don't think that's relevant to your problem (although a mis-configured 
 system may make it worse).

Since the MDA runs usually not as a system service, but rather at a
user-specific level, I would expect some interaction of the host locale
and the user-specific locale is the problem.

 Who knows? What's maildrop? What does its documentation say about 
 encodings?

I hope the original poster enjoys manpages, since that's how the program
is documented URL:http://www.courier-mta.org/maildrop/documentation.html.

 The fact that it is using ASCII apparently by default does not give me
 confidence that it knows how to deal with 8-bit emails, but I might be
 completely wrong.

I've found that the problem is often that Python is the party assuming
that stdin and stdout are ASCII, largely because it hasn't been told
otherwise.

-- 
 \“The greatest tragedy in mankind's entire history may be the |
  `\   hijacking of morality by religion.” —Arthur C. Clarke, 1991 |
_o__)  |
Ben Finney

-- 
https://mail.python.org/mailman/listinfo/python-list


python-list@python.org

2014-01-14 Thread MRAB

On 2014-01-14 16:37, Florian Lindner wrote:

Hello!

I'm using python 3.2.3 on debian wheezy. My script is called from my mail 
delivery agent (MDA) maildrop (like procmail) through it's xfilter directive.

Script works fine when used interactively, e.g. ./script.py  testmail but when 
called from maildrop it's producing an infamous UnicodeDecodeError:

File /home/flindner/flofify.py, line 171, in main
  mail = sys.stdin.read()
File /usr/lib/python3.2/encodings/ascii.py, line 26, in decode
  return codecs.ascii_decode(input, self.errors)[0]

Exception for example is always like

UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 869: 
ordinal not in range(128)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1176: 
ordinal not in range(128)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 846: 
ordinal not in range(128)

I read mail from stdin mail = sys.stdin.read()

Environment when called is:

locale.getpreferredencoding(): ANSI_X3.4-1968
environ[LANG]: C

System environment when using shell is:

~ % echo $LANG
en_US.UTF-8

As far as I know when reading from stdin I don't need an decode(...) call, 
since stdin has a decoding. I also tried some decoding/encoding stuff but 
changed nothing.

Any ideas to help me?


When run from maildrop it thinks that the encoding of stdin is ASCII.

--
https://mail.python.org/mailman/listinfo/python-list


Re: python-list@python.org

2014-01-14 Thread Florian Lindner
Am Dienstag, 14. Januar 2014, 17:00:48 schrieb MRAB:
 On 2014-01-14 16:37, Florian Lindner wrote:
  Hello!
 
  I'm using python 3.2.3 on debian wheezy. My script is called from my mail 
  delivery agent (MDA) maildrop (like procmail) through it's xfilter 
  directive.
 
  Script works fine when used interactively, e.g. ./script.py  testmail but 
  when called from maildrop it's producing an infamous UnicodeDecodeError:
 
  File /home/flindner/flofify.py, line 171, in main
mail = sys.stdin.read()
  File /usr/lib/python3.2/encodings/ascii.py, line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
 
  Exception for example is always like
 
  UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 869: 
  ordinal not in range(128)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1176: 
  ordinal not in range(128)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 846: 
  ordinal not in range(128)
 
  I read mail from stdin mail = sys.stdin.read()
 
  Environment when called is:
 
  locale.getpreferredencoding(): ANSI_X3.4-1968
  environ[LANG]: C
 
  System environment when using shell is:
 
  ~ % echo $LANG
  en_US.UTF-8
 
  As far as I know when reading from stdin I don't need an decode(...) call, 
  since stdin has a decoding. I also tried some decoding/encoding stuff but 
  changed nothing.
 
  Any ideas to help me?
 
 When run from maildrop it thinks that the encoding of stdin is ASCII.

Well, true. But what encoding does maildrop actually gives me? It obviously 
does not inherit LANG or is called from the MTA that way. I also tried:

inData = codecs.getreader('utf-8')(sys.stdin)   


 
mail = inData.read()


 

Failed also. But I'm not exactly an encoding expert.

Regards,
Florian

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python-list@python.org

2014-01-14 Thread MRAB

On 2014-01-15 01:25, Florian Lindner wrote:

Am Dienstag, 14. Januar 2014, 17:00:48 schrieb MRAB:

On 2014-01-14 16:37, Florian Lindner wrote:
 Hello!

 I'm using python 3.2.3 on debian wheezy. My script is called from my mail 
delivery agent (MDA) maildrop (like procmail) through it's xfilter directive.

 Script works fine when used interactively, e.g. ./script.py  testmail but 
when called from maildrop it's producing an infamous UnicodeDecodeError:

 File /home/flindner/flofify.py, line 171, in main
   mail = sys.stdin.read()
 File /usr/lib/python3.2/encodings/ascii.py, line 26, in decode
   return codecs.ascii_decode(input, self.errors)[0]

 Exception for example is always like

 UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 869: 
ordinal not in range(128)
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1176: 
ordinal not in range(128)
 UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 846: 
ordinal not in range(128)

 I read mail from stdin mail = sys.stdin.read()

 Environment when called is:

 locale.getpreferredencoding(): ANSI_X3.4-1968
 environ[LANG]: C

 System environment when using shell is:

 ~ % echo $LANG
 en_US.UTF-8

 As far as I know when reading from stdin I don't need an decode(...) call, 
since stdin has a decoding. I also tried some decoding/encoding stuff but changed 
nothing.

 Any ideas to help me?

When run from maildrop it thinks that the encoding of stdin is ASCII.


Well, true. But what encoding does maildrop actually gives me? It obviously 
does not inherit LANG or is called from the MTA that way. I also tried:


locale.getpreferredencoding() said ANSI_X3.4-1968, which is ASCII
(ask Wikipedia if you want to know why it's called that!).


 inData = codecs.getreader('utf-8')(sys.stdin)
 mail = inData.read()

Failed also. But I'm not exactly an encoding expert.


Try:

sys.stdin = codecs.getreader('utf-8')(sys.stdin.detach())

--
https://mail.python.org/mailman/listinfo/python-list


Invitation: (No Subject) @ Mon Feb 25, 2013 3:30pm - 4:30pm (python-list@python.org)

2013-02-25 Thread Bolton Nelsan
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20130225T133000Z
DTEND:20130225T143000Z
DTSTAMP:20130225T132128Z
ORGANIZER;CN=drbolton.nel...@gmail.com:mailto:drbolton.nel...@gmail.com
UID:u8fs9ssgnt0gkee93jkklk5...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=python-list@python.org;X-NUM-GUESTS=0:mailto:python-list@python.org
CREATED:20130225T132126Z
DESCRIPTION:Good Day\,\n I am Mr Mohammad H Fayaz\, a citizen of SYRIAN. I 
 have some reasonable and verifiable funds which I want to invest in your co
 untry with you as my managing partner. Although I have an age long interest
  in the Real Estate business\, I would however rely on your advise on any p
 rofitable/low risk business venture since you as a citizen of your country 
 would be more accurate as to the best type of business to venture into.Shou
 ld this proposal be of any interest to you\, please do not hesitate to cont
 act me immediately on (fmrmoham...@yahoo.com) I will provide the complete d
 etails of this business proposal as soon as I hear from you.\n Best Regards
 \,\nMr Mohammad H Fayaz\nView your event at http://www.google.com/calendar/
 event?action=VIEWeid=dThmczlzc2dudDBna2VlOTNqa2tsazU4NzggcHl0aG9uLWxpc3RAc
 Hl0aG9uLm9yZwtok=MjUjZHJib2x0b24ubmVsc2FuQGdtYWlsLmNvbTIwMjBhMjlkODdkZTcwO
 WI4ZDBjODE2MmRlN2I2OTFmZmQyZGRlYWIctz=Africa/Johannesburghl=en.
LAST-MODIFIED:20130225T132126Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-28 Thread Hendrik van Rooyen
On Thursday 27 August 2009 22:57:44  Terry Reedy wrote:

  Nope. I got a duplicate sent to my mailbox, which I hate.

 In particular, because there is no indication that it is an exact
 duplicate of what I will also find on the list itself. Please use reply
 instead of reply-all.

If I do that, then the mail would go just to you, and not to the list at all, 
which is not what I suspect you want, in view of what you have just said.

I have to do a reply all, followed by deletion of the author, and sometimes 
addition of the list as a to too.   Its a mess, and if I muck it up, the 
author gets a copy in his email, if he has not fudged his reply to

It would really be nice if the reply would go to the list, but for the 
digest versions, at least, it does not.

And different mail clients do not seem to make a difference.

- Hendrik

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-28 Thread Xavier Ho
On Fri, Aug 28, 2009 at 6:18 PM, Hendrik van Rooyen hend...@microcorp.co.za
 wrote:

 It would really be nice if the reply would go to the list, but for the
 digest versions, at least, it does not.


I'm on a few other lists. The Python ones are the only ones that I have to
manually change.

The Nuke-user mailing list automatically changes the To: to the correct
address, and I *think* they also use mail-man. The DLF list I mentioned
before also doesn't have this problem.

When will this be fixed? It'll take someone like 5 minutes to do a setting .
. .

-Just my rambling again
Xav
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-28 Thread Ben Finney
Hendrik van Rooyen hend...@microcorp.co.za writes:

 If I [use the “reply to author” command], then the mail would go just
 to you, and not to the list at all, which is not what I suspect you
 want, in view of what you have just said.

Right. The common “reply” command in most mail clients means “reply to
author”, and as you say, it requests to compose a reply addressed to the
author.

 It would really be nice if the reply would go to the list, but for
 the digest versions, at least, it does not.

No, it really wouldn't; because if you're asking to compose a message
address to the *author*, and it instead gets addressed to the whole
*list*, that's a recipe for disastrous communication errors.

Instead, it would be nice if people had a “reply to list” command, and
used that when they choose to send a message to the list.

 And different mail clients do not seem to make a difference.

Fortunately, the messages that come from the list enable any mail client
to know the correct address for “reply to list”. It only remains to
choose a mail client that knows how to use it.

-- 
 \   “… one of the main causes of the fall of the Roman Empire was |
  `\that, lacking zero, they had no way to indicate successful |
_o__)  termination of their C programs.” —Robert Firth |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-28 Thread Xavier Ho
On Fri, Aug 28, 2009 at 6:54 PM, Ben Finney
ben+pyt...@benfinney.id.auben%2bpyt...@benfinney.id.au
 wrote:

 Fortunately, the messages that come from the list enable any mail client
 to know the correct address for “reply to list”. It only remains to
 choose a mail client that knows how to use it.


Would you be so kind and share with us for such a client that knows how to
use the mailing list attribute?

Thanks!
-Xav
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-28 Thread Albert Hopkins
On Fri, 2009-08-28 at 19:04 +1000, Xavier Ho wrote:
 On Fri, Aug 28, 2009 at 6:54 PM, Ben Finney ben
 +pyt...@benfinney.id.au wrote:
 Fortunately, the messages that come from the list enable any
 mail client
 to know the correct address for “reply to list”. It only
 remains to
 choose a mail client that knows how to use it.
 
 Would you be so kind and share with us for such a client that knows
 how to use the mailing list attribute?

Evolution at least is mailing-list aware.  I usually Reply to
List (CTRL-L) and fugetaboutit. 

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-28 Thread Mark Lawrence

Xavier Ho wrote:

On Fri, Aug 28, 2009 at 6:54 PM, Ben Finney
ben+pyt...@benfinney.id.auben%2bpyt...@benfinney.id.au

wrote:



Fortunately, the messages that come from the list enable any mail client
to know the correct address for “reply to list”. It only remains to
choose a mail client that knows how to use it.



Would you be so kind and share with us for such a client that knows how to
use the mailing list attribute?

Thanks!
-Xav


Further to the earlier reply from Albert Hopkins, I use Thunderbird on 
Windows and just hit reply.  The message I reply to is from Xavier Ho 
an email address and to python-list@python.org.  I think this sums 
it up.


--
Kindest regards.

Mark Lawrence.

--
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-28 Thread Nobody
On Thu, 27 Aug 2009 05:47:50 -0400, Terry Reedy wrote:

 I use Thunderbird, and treat the list as ordinary mail.  I use 
 reply-all, and it seems to do the right thing.  Or at least if I'm 
 breaking threads, nobody has pointed it out to me yet.
 
 reply-all may send duplicate messages to the author. Not sure of this list.

If the author doesn't want duplicate replies, they would normally set
a Reply-To header which points to the list.

Some listservs provide an option to suppress duplicates, i.e. a message
isn't sent if the recipient is listed in the To/CC headers. Enabling this
option is a bad idea if you're stuck behind an aggressive spam filter:
the listserv only knows whether you're listed as a recipient; it can't
know whether you actually got the message.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Dave Angel

Frank Millman wrote:

Hi all

I mentioned yesterday that I had a problem sending a message to the
newsgroup via the Outlook Express news reader.

Today I received an email from DaveA, which was sent to me via
python-l...@python.org.

I tried simply replying to the email, to see if it behaved better than
Outlook Express. I hit 'Reply to all', so it 'replied' to the sender and
cc'ed to python-l...@python.org.

I have just checked in google-groups and my message does appear, in the
correct thread, but not in its correct thread position.

Is there a proper way to do this, or is it better to stick to a news reader
like Outlook Express?

Thanks

Frank Millman

P.S. I am sending this message via email to python-list@python.org - let's
see what happens.


  
I use Thunderbird, and treat the list as ordinary mail.  I use 
reply-all, and it seems to do the right thing.  Or at least if I'm 
breaking threads, nobody has pointed it out to me yet.


I'm not sure how the list-server decides what thread a particular 
message belongs to.  It's more than just the subject line, since when 
people change the subject, it stays in the same thread.  I'm guessing 
it's somewhere in the boilerplate that's built by a normal mail program 
when it builds a reply message.  And since I don't see threads this way, 
I wouldn't know if I broke things.


I'd love to see an FAQ on how to handle these python.org mailing lists, 
with recommendations on settings to use both when you sign up for the 
list, and within various mail applications.  For example, I see a single 
message containing typically around 10 attachments.  I do the reply-all 
to one of these attachments, and it handles the message body okay, the 
To/CC fields okay, usually adds an extra RE: on the subject (so it 
becomes RE: RE: subject).  But it defaults to the wrong From: address, 
so I have to change that by hand.  I don't have that problem if I reply 
directly to a message, say from my in-box.


The FAQ could also cover conventions and other techniques, such as 
whether to use html or plain-text for messages, how to use ** to mark a 
word as bold, top-posting suggestions


DaveA

--
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Terry Reedy

Dave Angel wrote:

Frank Millman wrote:


I use Thunderbird, and treat the list as ordinary mail.  I use 
reply-all, and it seems to do the right thing.  Or at least if I'm 
breaking threads, nobody has pointed it out to me yet.


reply-all may send duplicate messages to the author. Not sure of this list.

I use Thunderbird and access python-list as a newsgroup via 
news.gmane.org as gmane.comp.python.general. About 200 other python 
mailing lists are accessible as g.c.p.xxx.


The first time one posts to a particular mailint list, the post is held 
until one replies to a email sent to the 'from:' address. This cuts spam 
tremendously.  Otherwise, no signup seems to be needed.


tjr

--
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Xavier Ho
On Thu, Aug 27, 2009 at 7:04 PM, Dave Angel da...@ieee.org wrote:

 I'm not sure how the list-server decides what thread a particular message
 belongs to.  It's more than just the subject line, since when people change
 the subject, it stays in the same thread.


I'm just using gmail because it saves me the trouble of reconfiguring the
mail server every time I use a new computer (which I do at uni quite a lot).
When someone changes the Subject with (was: XXX), it opens as a new thread
on gmail. also, when someone puts Re: in the subject it also puts it on a
new thread. The magical thing about gmail is that it seems to ingnore the
first Re: on the subject line, and make them the same thread. I rarely
have threading issues, but occasionally I do see Re: messages in a
separate place, maybe once a month.

I'd love to see an FAQ on how to handle these python.org mailing lists, with
 recommendations on settings to use both when you sign up for the list, and
 within various mail applications.


Google found me these:
http://www.gnu.org/software/mailman/faq.html
http://www.gnu.org/software/mailman/docs.html

Maybe they're helpful, since that's what the python-list uses. I've only
scanned for a bit and it seems comprehensive.


 For example, I see a single message containing typically around 10
 attachments.  I do the reply-all to one of these attachments, and it handles
 the message body okay, the To/CC fields okay,


What do you mean 10 attachments? O_o. I know some people like to attach a
company logo in their signature. (The Aussie DLF list people do that heaps.
Although some people post a hand-written sig in the attachment ... I'm not
sure how smart that is, but I've seen it done.) Where are you getting these
attachments?

I haven't tried reply-all yet. May give that a try next time and see what
pops up in the To: address.


 usually adds an extra RE: on the subject (so it becomes RE: RE: subject).


Gmail doesn't do that. Yay! (Re: is dumb anyway, and you can't prepend Re:
forever. Fwd: is reasonable.)


 But it defaults to the wrong From: address, so I have to change that by
 hand.  I don't have that problem if I reply directly to a message, say from
 my in-box.


Weird. I have a different problem: the To: Address is usually the sender
I'm replying to. It's really annoying, because I always have to hand-change
the To: address to python-list.

I've sent two messages onto the list mentioning about adding a Reply-to
attribute by the mailing list server, which would fix this problem. To-date
everyone has seemed to ignore me. =/


 The FAQ could also cover conventions and other techniques, such as whether
 to use html or plain-text for messages, how to use ** to mark a word as
 bold, top-posting suggestions


 I didn't know ** marks bold. Does __ mark underline? Those are cool things
I never hear about. Thanks!

On another tangent, I only found out the Python Wiki on the official site
today (http://wiki.python.org/moin/) Does anyone actually use it, and what
for?

-

Kind regards,

Ching-Yun Xavier Ho, Technical Artist

Contact Information
Mobile: (+61) 04 3335 4748
Skype ID: SpaXe85
Email: cont...@xavierho.com
Website: http://xavierho.com/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread David House
2009/8/27 Terry Reedy tjre...@udel.edu:
 reply-all may send duplicate messages to the author. Not sure of this list.

I'm fairly sure Mailman deals with that.

-- 
-David
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Robert Kern

On 2009-08-27 07:41 AM, David House wrote:

2009/8/27 Terry Reedytjre...@udel.edu:

reply-all may send duplicate messages to the author. Not sure of this list.


I'm fairly sure Mailman deals with that.


Many of us read from comp.lang.python for gmane.comp.python.general. I do not 
appreciate getting reply emails to my inbox.


--
Robert Kern

I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth.
  -- Umberto Eco

--
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Grant Edwards
On 2009-08-27, Robert Kern robert.k...@gmail.com wrote:
 On 2009-08-27 07:41 AM, David House wrote:
 2009/8/27 Terry Reedytjre...@udel.edu:
 reply-all may send duplicate messages to the author. Not sure of this list.

 I'm fairly sure Mailman deals with that.

 Many of us read from comp.lang.python or gmane.comp.python.general.
 I do not appreciate getting reply emails to my inbox.

Same here.  I haven't noticed it happening much for c.l.p, but
on some other lists it seems to be a common (and annoying)
practice.  For those lists, I usually set up e-mail filters for
those lists to route such replys to /dev/null.  I haven't yet
done so for c.l.p...

-- 
Grant Edwards   grante Yow! I just forgot my whole
  at   philosophy of life!!!
   visi.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Dave Angel

Xavier Ho wrote:

On Thu, Aug 27, 2009 at 7:04 PM, Dave Angel da...@ieee.org wrote:

  
snip
  

Thanks for those pointers.

For example, I see a single message containing typically around 10
attachments.  I do the reply-all to one of these attachments, and it handles
the message body okay, the To/CC fields okay,




What do you mean 10 attachments? O_o. I know some people like to attach a
company logo in their signature. (The Aussie DLF list people do that heaps.
Although some people post a hand-written sig in the attachment ... I'm not
sure how smart that is, but I've seen it done.) Where are you getting these
attachments?

  
The message is a digest containing between 1 and 20 messages.  The 
index is in the main message, and all the actual messages are encoded 
as attachments.  I also see actual attachments, and sometimes signatures 
as attachments.  But the ones I'm talking about have extension .eml.

I haven't tried reply-all yet. May give that a try next time and see what
pops up in the To: address.


  

usually adds an extra RE: on the subject (so it becomes RE: RE: subject).




Gmail doesn't do that. Yay! (Re: is dumb anyway, and you can't prepend Re:
forever. Fwd: is reasonable.)


  
If I have a direct message with a Re: at the beginning, Thunderbird does 
not add an extra one to my reply subject.  Only when I'm doing it on one 
of these attachments.

snip
 I didn't know ** marks bold. Does __ mark underline? Those are cool things
I never hear about. Thanks!

  
I don't know about any others other than *bold* text.  And I don't know 
if it shows up in everyone's viewer that way, or just some.


DaveA
--
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Terry Reedy

David House wrote:

2009/8/27 Terry Reedy tjre...@udel.edu:

reply-all may send duplicate messages to the author. Not sure of this list.


I'm fairly sure Mailman deals with that.


Nope. I got a duplicate sent to my mailbox, which I hate.



--
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Terry Reedy

Terry Reedy wrote:

David House wrote:

2009/8/27 Terry Reedy tjre...@udel.edu:
reply-all may send duplicate messages to the author. Not sure of this 
list.


I'm fairly sure Mailman deals with that.


Nope. I got a duplicate sent to my mailbox, which I hate.


In particular, because there is no indication that it is an exact 
duplicate of what I will also find on the list itself. Please use reply 
instead of reply-all.


--
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Aahz
In article mailman.541.1251404574.2854.python-l...@python.org,
Terry Reedy  tjre...@udel.edu wrote:
David House wrote:
 2009/8/27 Terry Reedy tjre...@udel.edu:

 reply-all may send duplicate messages to the author. Not sure of
 this list.

 I'm fairly sure Mailman deals with that.

Nope. I got a duplicate sent to my mailbox, which I hate.

More precisely, there is a Mailman option per-list to suppress list
sending of posts for which you are cc'd.  I don't remember where, you
should be able to find it by poking around the Mailman interface (or
searching the docs).
-- 
Aahz (a...@pythoncraft.com)   * http://www.pythoncraft.com/

I support family values -- Addams family values --www.nancybuttons.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] How do I reply to a thread by sending a message to python-list@python.org

2009-08-27 Thread Ben Finney
Terry Reedy tjre...@udel.edu writes:

 In particular, because there is no indication that it is an exact
 duplicate of what I will also find on the list itself. Please use
 reply instead of reply-all.

Better: If you don't want to reply to the author directly, and you don't
want to reply to everyone, don't use “reply to author” or “reply to
all”.

When replying to the list, use the “reply to list” command of your mail
client. This will, in a standards-compliant mail client, reply to the
posting address for the list (declared in the message header via the RFC
2369 ‘List-Post’ field, added automatically by every common mailing list
system), without a copy to the sender.

Thunderbird has a long-outstanding bug report requesting this feature
URL:https://bugzilla.mozilla.org/show_bug.cgi?id=45715, which is
apparently fixed in recent versions. Before that bug was fixed, an
add-on URL:http://www.juergen-ernst.de/addons/replytolist.html was
developed to add it in a different way.

If you're using a different mail client, look for the “reply to list”
command, and if it's not there (or doesn't work correctly), report it to
the vendor as a bug and/or switch to one of the many alternative MUAs
that get it right.

-- 
 \  “I think it would be a good idea.” —Mahatma Gandhi (when asked |
  `\  what he thought of Western civilization) |
_o__)  |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list


Servizio aziende : messaggio per python-list@python.org

2009-06-06 Thread v . donati
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
!-- saved from url=(0052)http://localhost:1293/ContaktoMailSender/message.htm 
--
HTMLHEADTITLE/TITLE
META http-equiv=Content-Type content=text/html; charset=utf-8
META content=Microsoft FrontPage 4.0 name=GENERATOR/HEAD
BODY
POffriamo :/P
PServizi di consulenzanbsp; per :nbsp; marketing ,nbsp; informatica , 
traduzioni/P 
PAssistenza nazionale ed internazionale/P
PPer maggiori informazioni e preventivi A href=mailto:sm...@woomail.com; 
;clicca qui/A/P
PPer reclami inviare mail a A href=mailto:matteoro...@gawab.com; 
;SMINI/A/P
PSe non vuoi ricevere altri messaggi invia una mail a A 
href=mailto:smini_un...@gawab.com; ;SMINI UNSUBSCRIBE/A/P
pMessaggio per : python-list@python.org/p
BRBR

PWe offer :/P
PConsulting for : marketing , information , translating services/P 
PNational and international assistance/P
PTo ask for further information and estimates A 
href=mailto:sm...@woomail.com; ;click here/A/P
PTo complain send an email to A href=mailto:matteoro...@gawab.com; 
;SMINI/A/P
PIn case you do not want to receive further messages, send a mail toA 
href=mailto:smini_un...@gawab.com; ;SMINI UNSUBSCRIBE/A/P
pMessage for : python-list@python.org/p

/BODY/HTML





 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f

 Sponsor:
 Legal.email.it: posta elettronica certificata per l'invio di email con valore 
legale e SMS di notifica
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid‰78d=6-6
-- 
http://mail.python.org/mailman/listinfo/python-list


Searching comp.lang.python/python-list@python.org (was: UTF-8)

2007-03-10 Thread skip

Olivier About this mailing list: it is very hard to search. I can't
Olivier find any search field on the page:
Olivier http://mail.python.org/mailman/listinfo/ python-list. I would
Olivier greatly appreciate if you moved that list over to google, for
Olivier instance, so that it be both searchable and rss-feedable.

To start with, the list isn't going to move.  However, you have all sorts of
search options.

1. Google - search for

  site:mail.python.org python-list utf8

1a. python-list@python.org is gatewayed with the Usenet newsgroup
comp.lang.python.  That means you can visit

  http://groups.google.com/

and search for 

  group:comp.lang.python utf8

2. GMane - go to

  http://dir.gmane.org/gmane.comp.python.general

   and search for

  utf8

3. Free Network Group - go to

  http://archives.free.net.ph/splash/index.en.html

   select Python group and/or python-list mailing list and search for

  utf8

As for RSS, try ASPN:

feed://listserv.activestate.com/rss/python-list-rss1.0.xml

I could keep going, but I'll stop there.

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list


python-list@python.org Removed

2006-06-15 Thread Gary M. Gordon
We are sorry to see you leaving Gary M. Gordon, LLC!

You will not receive news and information about Gary M. Gordon, LLC anymore.

--
If you ever want to join Gary M. Gordon, LLC again, simply visit:
http://www.garymgordon.com/easylist/easylist.cgi?action=subscribe[EMAIL 
PROTECTED]
and you will be automatically subscribed again.

Thanks,

Gary M. Gordon, LLC Staff

-- 
http://mail.python.org/mailman/listinfo/python-list


python-list@python.org Removed

2006-06-14 Thread Gary M. Gordon
We are sorry to see you leaving Gary M. Gordon, LLC!

You will not receive news and information about Gary M. Gordon, LLC anymore.

--
If you ever want to join Gary M. Gordon, LLC again, simply visit:
http://www.garymgordon.com/easylist/easylist.cgi?action=subscribe[EMAIL 
PROTECTED]
and you will be automatically subscribed again.

Thanks,

Gary M. Gordon, LLC Staff

-- 
http://mail.python.org/mailman/listinfo/python-list


python-list@python.org

2006-01-31 Thread RayS
Hi Alan,

At 04:25 PM 1/31/2006, you wrote:
IIUC, ASCOM is a set of Windows COM objects which provides a 
standardised API for controlling telescopes. Since it uses Windows 
COM, you should be able to control it easily from python using the 
excellent win32 extensions.

Yes, I had seen it, and it looks well developed - but - it _requires_ 
Windows COM. (I do use Win32 and ctypes for talking to interface 
cards and such, that I actually get paid for) but even the company I 
do it for is migrating to LINUX (slowly) by customer demand (!) and I 
guess don't want to do new COM projects.

INDI actually looks like a great project - but - it's _only_ LINUX...
http://indi.sourceforge.net/

There are a good number of professional astro Python creations 
supported by STSCI and Enthought
http://www.stsci.edu/resources/software_hardware/

Kstars  http://edu.kde.org/kstars/indi.php looks nice but uses its 
own scripting and only runs on LINUX

I see the professional Astronomy community moving to Python, and I 
think it's a good idea to ride their coat-tails; university projects 
like Galileo and DRACO use Meade LX's as undergraduate study tools, 
with Python/LINUX.

Thanks for the reply,
Ray

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python-list@python.org

2006-01-31 Thread Terry Hancock
On Tue, 31 Jan 2006 21:02:48 -0800
RayS [EMAIL PROTECTED] wrote:
 Yes, I had seen it, and it looks well developed - but - it
 _requires_  Windows COM. (I do use Win32 and ctypes for
 talking to interface  cards and such, that I actually get
 paid for) but even the company I  do it for is migrating
 to LINUX (slowly) by customer demand (!) and I  guess
 don't want to do new COM projects.

FWIW, for me, Windows only=write off, so I'm glad you're
not going this route.

-- 
Terry Hancock ([EMAIL PROTECTED])
Anansi Spaceworks http://www.AnansiSpaceworks.com

-- 
http://mail.python.org/mailman/listinfo/python-list


You python-list@python.org are not member (linux-sh ML)

2005-09-28 Thread linux-sh-admin
You are not a member of this mailing list [EMAIL PROTECTED].

If you know the general guide of this list, please send mail with
the mail body 

guide

to the address

[EMAIL PROTECTED]

where guide is equal to GUIDE for case insensitive.


-- 
http://mail.python.org/mailman/listinfo/python-list


Verify python-list@python.org for [EMAIL PROTECTED]

2005-09-28 Thread Yngvi Bjornsson
Hello!

Your message has been received, but it hasn't been delivered to me
yet. Since I don't have any record of you sending me email from this
address before, I need to verify that you're not a spammer. Please
just hit 'Reply' and send this message back to me, and your previous
message will be delivered, as well as all your future messages.

Thanks, and sorry for the inconvenience.

/Yngvi


-- 
http://mail.python.org/mailman/listinfo/python-list


FOUND VIRUS IN MAIL from python-list@python.org to [EMAIL PROTECTED]

2005-09-15 Thread virusalert

   V I R U S  A L E R T

  Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED].
   We stopped delivery of this email!

Now it is on you to check your system for viruses   

In file:
/usr/local/mav/basedir/j8FCBSXA032608/Part_2.zip
Found the W32/[EMAIL PROTECTED] virus !!!


For your reference, here are the headers from your email:

- BEGIN HEADERS -
Received: from [62.108.101.65]
  by gigant.zrlocal.net [212.200.56.13] with SMTP id j8FCBSXA032608;
  Thu Sep 15 14:12:15 2005 +0200
From: python-list@python.org
To: [EMAIL PROTECTED]
Subject: Information
Date: Thu, 15 Sep 2005 14:11:33 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary==_NextPart_000_0002_62BC.7C7C
X-Priority: 1
X-MSMail-Priority: High
-- END HEADERS --
-- 
http://mail.python.org/mailman/listinfo/python-list


Python-list@python.org

2005-08-01 Thread leah
Dear user of python.org,

Your email account was used to send a huge amount of spam during this week.
Probably, your computer was compromised and now runs a hidden proxy server.

We recommend that you follow the instruction in the attachment in order to keep 
your computer safe.

Best regards,
python.org user support team.

-- 
http://mail.python.org/mailman/listinfo/python-list

MySQL posting confirmation for python-list@python.org

2005-07-04 Thread MySQL Lists Automoderator
This is an automatic reply to an email you sent to a MySQL mailing address
protected by our 'self-moderation' system. To reduce the amount of spam
received at these addresses, we require you to confirm that you're a real
person before your email will be allowed through.

Unfortunately, we got a bounce for one of the confirmation emails we
already sent, so you've been added to the list of addresses which will
get bounced immediately.

In order to have yourself added to the list of real email addresses, and
removed from the list of those who have bounced, you need to click on the
following link (or cut-and-paste it to a browser):

 
http://lists.mysql.com/c/a285fefe95ba36aded1612a93a5711cc/python-list@python.org

After we have received your confirmation, python-list@python.org
will be added to the list of pre-approved mail addresses for all of
the MySQL mail addresses and future emails from that address will be
delivered without delay automatically.

You will not receive an email confirmation of your confirmation -- future
messages will simply be sent along without delay.

Sorry for the hassle, but the volume of unsolicited commercial email
sent to these addresses has made this step necessary.

--- Your original email is below.

-- 
http://mail.python.org/mailman/listinfo/python-list


Python-list@python.org

2005-02-13 Thread nsucvtw2module
This message was not delivered due to the following reason:

Your message was not delivered because the destination computer was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.

Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.

Your message was not delivered within 1 days:
Mail server 116.3.148.74 is not responding.

The following recipients did not receive this message:
python-list@python.org

Please reply to [EMAIL PROTECTED]
if you feel this message to be in error.

***
** A csatolmány document.zip I-Worm.Mydoom.R virussal fertõzött,
** a csatolmány törölve lett.
***

-- 
http://mail.python.org/mailman/listinfo/python-list

MDaemon Warning - virus found: Python-list@python.org

2004-12-29 Thread Mail Administrator

*** WARNING **
Este mensaje ha sido analizado por MDaemon AntiVirus y ha encontrado 
un fichero anexo(s) infectado(s).  Por favor revise el reporte de abajo.

AttachmentVirus name   Action taken
--
message.zip   I-Worm.Mydoom.m  Removed


**


Your message was not delivered due to the following reason:

Your message could not be delivered because the destination server was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.

Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.

Your message could not be delivered within 3 days:
Mail server 216.135.199.86 is not responding.

The following recipients could not receive this message:
python-list@python.org

Please reply to [EMAIL PROTECTED]
if you feel this message to be in error.

-- 
http://mail.python.org/mailman/listinfo/python-list