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
Change by Henning von Bargen :
--
nosy: +Henning.von.Bargen
___
Python tracker
<https://bugs.python.org/issue22213>
___
___
Python-bugs-list mailing list
Unsub
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
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 f
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
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
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 d
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.
--
___
P
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 ac
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_ p
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
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.:
&quo
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 =
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 the
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
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
16 matches
Mail list logo