[issue40157] SMTP email policy does not encode non-ASCII characters

2020-04-02 Thread Eduard Bopp

New submission from Eduard Bopp :

Using email.policy.SMTP a message's non-ASCII characters are not encoded. The 
policy.utf8 attribute is set to False as documented.

The attached script illustrates the behaviour. I get the following command line 
output from it:

Subject: =?utf-8?b?w7zDtsOk?=


False
Subject: üöä


True
Subject: üöä


The default compat32 policy encodes the string, but the SMTP policy does not 
encode it, but leaves it as UTF-8 despite policy.utf8 == False. I might be 
misreading the documentation here, but it seems to me like utf8 == False 
implies that encoding should happen.

--
components: email
files: minimal.py
messages: 365596
nosy: aepsil0n, barry, r.david.murray
priority: normal
severity: normal
status: open
title: SMTP email policy does not encode non-ASCII characters
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file49026/minimal.py

___
Python tracker 
<https://bugs.python.org/issue40157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-18 Thread Eduard

Eduard alexandrul...@gmail.com added the comment:

OTOH, the manifest embedded in python.exe references version 9.0.21022.8

I'm going to delete Microsoft.VC90.CRT.manifest and msvcr90.dll from Python 
installation folder and postpone py2exe experiments a bit.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14608
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-18 Thread Eduard

Eduard alexandrul...@gmail.com added the comment:

 Any version should be fine.

This is all I need to know. It's just one less place to check in case of 
troubles.

Thank you for your time and patience.

--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14608
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-17 Thread Eduard

New submission from Eduard alexandrul...@gmail.com:

After installing Python 2.7.3, inside the Python folder I have version 
9.0.30729.1 of msvcr90.dll, but it seems that the embeded redistributable 
package contains the 9.0.21022.8 version of msvcm90.dll, msvcp90.dll, and 
msvcr90.dll

Is this the intended behavior?

--
components: Installation
messages: 158569
nosy: alexandrul
priority: normal
severity: normal
status: open
title: Python 2.7.3 x86 msi - msvcr90.dll version mismatch
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14608
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-17 Thread Eduard

Eduard alexandrul...@gmail.com added the comment:

I was reading about py2exe and found this old thread: 
https://groups.google.com/d/msg/wxpython-users/fwHt9zSbnsE/IV3aryIBrd8J

I'm not familiar with C++ and redists and stuff, but I find it strange that the 
manifest from the Python folder requires a specific version, and the installed 
runtime is another version. Would it be ok if I'll just install the 9.0.30729.1 
runtime by hand? Or any 9.0.30729. version is good enough?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14608
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14608] Python 2.7.3 x86 msi - msvcr90.dll version mismatch

2012-04-17 Thread Eduard

Eduard alexandrul...@gmail.com added the comment:

There is a newer redist available: 9.0.30729.6161 from 
http://www.microsoft.com/download/en/details.aspx?id=26368

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14608
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com