[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2020-02-19 Thread Henning von Bargen
Henning von Bargen added the comment: As a side-note: In my case I am embedding Python in a C program for several reasons: - Added an additional module (generated with SWIG) - This module needs a licence key, which I supply in the C program (to make it more difficult to extract it). - I need

[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2020-02-19 Thread Henning von Bargen
Change by Henning von Bargen : -- nosy: +Henning.von.Bargen ___ Python tracker <https://bugs.python.org/issue22213> ___ ___ Python-bugs-list mailing list Unsub

[issue37921] Improve zipfile: add support for symlinks

2020-02-18 Thread Henning von Bargen
Henning von Bargen added the comment: If I understand correctly, this bug is about supporting symlinks on *creating* ZIP files. Please see also https://bugs.python.org/issue27318 for a proposal to support symlinks while *unpacking* ZIP files. Maybe a preserve_symlinks optional argument

[issue22139] python windows 2.7.8 64-bit did not install

2016-12-19 Thread Henning von Bargen
Henning von Bargen added the comment: A belated update... What I'm trying is similar to virtualenv: My application should not depend on any pre-installed Python and not have any influence on it (and it should not modify the registry or the system environment variables). It should be noted

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-18 Thread Henning von Bargen
Henning von Bargen added the comment: I think Eric's To-Do list sums it up pretty well. I just wanted to say how much I appreciate the Python community. It seems that every little detail is very well-thought-out. -- ___ Python tracker <

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-16 Thread Henning von Bargen
Henning von Bargen added the comment: OK, I understand the arguments. If I understand correctly, this will be fixed in one way or another in Python 3.6 or 3.7. For Python 2.7, this will not be fixed (so I have to work around this somehow, should be quite easy). I think that at least

[issue28879] smtplib RFC 5322 date header missing

2016-12-06 Thread Henning von Bargen
Henning von Bargen added the comment: I can give a little more information. First, I created a very simple stand-alone test script (for Python >= 2.6): #!/bin/env python # -*- coding: utf-8 -*- import smtplib # Adjust these! HOST = "smtp.nowhere.local" PORT = 25 from_name =

[issue28879] smtplib RFC 5322 date header missing

2016-12-05 Thread Henning von Bargen
New submission from Henning von Bargen: I'm using CPython 2.7 with the smtplib and email modules to send emails with SMTP. Today, one of our clients complained that the email sent is not RFC 5322 compliant because the required Date header is missing. The RFC states in section 3.6.: "The

[issue22139] python windows 2.7.8 64-bit did not install

2014-09-27 Thread Henning von Bargen
Henning von Bargen added the comment: Martin, while I technically understand your anwers, I have to say that from an ordinary developer's perspective, the behavior is actually *not* expected. It may be expected for python-dev experts, but not for those who are just programming _with_ python

[issue22139] python windows 2.7.8 64-bit did not install

2014-09-15 Thread Henning von Bargen
Henning von Bargen added the comment: Perhaps this issue should be re-opened. I stumbled across a similar issue today, and made some potentially useful observations. On a machine with an existing c:\python27 directory (Python 2.7.5), I installed Python 2.7.8 with the install just for me

[issue22139] python windows 2.7.8 64-bit did not install

2014-09-15 Thread Henning von Bargen
Henning von Bargen added the comment: The online help says: When Python is hosted in another .exe (different directory, embedded via COM, etc), the “Python Home” will not be deduced, so the core path from the registry is used. Other “application paths” in the registry are always read

[issue22139] python windows 2.7.8 64-bit did not install

2014-09-15 Thread Henning von Bargen
Henning von Bargen added the comment: Sorry, of course it's NOT OK, because there's still C:\WINDOWS\system32\python27.zip as the second entry. BTW the relevant environment variables: Path=c:\python278;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\lisa\Kronos\reporting\lib\win32

[issue22139] python windows 2.7.8 64-bit did not install

2014-09-15 Thread Henning von Bargen
Henning von Bargen added the comment: I don't see how this sys.path is related to the online help section 3.3.3. Finding modules. Where does c:\windows\python27.zip come from? And why does Python have to install anything in the Windows directory at all

[issue22139] python windows 2.7.8 64-bit did not install

2014-09-15 Thread Henning von Bargen
Henning von Bargen added the comment: The only solution I could find was to give up running 2.7.8 next to 2.7.5, then uninstall 2.7.8, then install 2.7.8 with the install for all users option selected. -- ___ Python tracker rep...@bugs.python.org

[issue22139] python windows 2.7.8 64-bit did not install

2014-09-15 Thread Henning von Bargen
Henning von Bargen added the comment: Installing different 2.7 versions on the same machine isn't really supported, although it should work if they are all installed just for me. Sigh... I've come to the same conclusion. Nevertheless it seems to me that the actual behavior is different from

[issue20699] Behavior of ZipFile with file-like object and BufferedWriter.

2014-02-20 Thread Henning von Bargen
New submission from Henning von Bargen: Regression: Behavior of ZipFile with file-like object and BufferedWriter. The following code worked with Python 2.6: LOB_BLOCKSIZE = 1024*1024 # 1 MB class UnbufferedBlobWriter(io.RawIOBase): A file-like wrapper for a write-only cx_Oracle BLOB