473,811 Members | 3,152 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python's CRT licensing on Windows


On Windows, the standard Python 2.4 distro is compiled with Microsoft
Visual C++ 2003 and is shipped with msvcr71.dll as a part of the binary
installer. That is ok, as those who has a license for Microsoft Visual
C++ 2003 is allowed to redistribute msvcr71.dll. Without a license for
Microsoft Visual C++ 2003 one it not allowed to redistribute this DLL.

This has some interesting implications:

** If you don't have Microsoft Visual C++ 2003, is it illegal to
redistribute the binary Python installer from www.python.org? Does
redistribution of Python also violate Microsoft's copyright on the CRT?
And if so, is someone developing in Python required to ask the customer
to download a binary installer from www.python.org (instead of shipping
a copy)?

** Not everyone that develops in Python has a license for Microsoft
Visual C++ 2003. I have the Microsoft Visual C++ 2003 Toolkit, but it
only allows me to link and redistribute a static version of msvcr71.
So, does this prevent me from using Py2Exe?

** It is apparently not possible to buy a license for VS2003 anymore,
as the product has expired. One can only buy a new get a license for
VS2005, which allows redistribution of msvcr81.dll, but not
msvcr71.dll. Microsoft said something about a right to "downgrade the
compiler" once a license for VS2005 is bought, but I am not sure if
this applies to the crt redistribution rights as well.

I understand that Microsoft has donated Microsoft Visual C++ 2003
compilers to key Python developers. That is generous of them. But what
did they say about the crt licensing?

Oct 25 '06 #1
7 2817
sturlamolden wrote:
On Windows, the standard Python 2.4 distro is compiled with Microsoft
Visual C++ 2003 and is shipped with msvcr71.dll as a part of the binary
installer. That is ok, as those who has a license for Microsoft Visual
C++ 2003 is allowed to redistribute msvcr71.dll. Without a license for
Microsoft Visual C++ 2003 one it not allowed to redistribute this DLL.
that's a myth, based on a flawed reading of the MS license. to repeat
myself from various other fora:

"As long as you're using a standard Python build, you don't need to
buy VC7 to [legally redistribute the C runtime]. The python.org team
use a properly licensed VC7 to build Python, which turns Python into
"licensee software" and you into a "distributo r" doing "further
distribution" of Python to end users (with your own stuff added on
top, of course). And further distribution is perfectly okay, as long
as you only ship the MS components together with proper "licensee
software" (=Python), and that all parties respect the relevant
portions of the original EULA (this basically means that you cannot
use tricks to circumvent the MS EULA, e.g. by attempting to relicense
the MS DLL's under less restrictive licenses or "viral" licenses. The
same applies to all other licensed components, of course. You cannot
relicense the Python core either.)."

"(If in doubt, consult a real lawyer. If you do, make sure that he/she
understands the various levels here -- i.e. that "you" in the MS
EULA applies to the Python developers, not yourself)."

</F>

Oct 25 '06 #2

Fredrik Lundh wrote:

I am not intentionally posting FUD.
"As long as you're using a standard Python build, you don't need to
buy VC7 to [legally redistribute the C runtime]. The python.org team
use a properly licensed VC7 to build Python, which turns Python into
"licensee software" and you into a "distributo r" doing "further
distribution" of Python to end users (with your own stuff added on
top, of course).
That makes sence. One does not need a VC7 license to sell (aka
"distribute ") software from a store either.
And further distribution is perfectly okay, as long
as you only ship the MS components together with proper "licensee
software" (=Python), and that all parties respect the relevant
portions of the original EULA
Is further "distributi on" okay if it is only accompanied by the python
runtime DLL (as is the case when using Py2Exe) or should the entire
python-2.4.4.msi from python.org be "distribute d"?
"(If in doubt, consult a real lawyer. If you do, make sure that he/she
understands the various levels here -- i.e. that "you" in the MS
EULA applies to the Python developers, not yourself)."
I certainly don't understand the EULA, and thus I cannot make sure that
I lawyer understands it either. But I can certainly find a lawyer that
charges $$$$ an hour and pretends to understand it. I am sure buying a
copy of VC7 is a lot cheaper.

Oct 25 '06 #3
sturlamolden wrote:
I certainly don't understand the EULA, and thus I cannot make sure that
I lawyer understands it either. But I can certainly find a lawyer that
charges $$$$ an hour and pretends to understand it. I am sure buying a
copy of VC7 is a lot cheaper.
When you buy that copy of VC7, buy me one too. By your logic, it will
_still_ be cheaper than $$$$ for a lawyer, so you win!

Thanks in advance!

Oct 25 '06 #4
sturlamolden schrieb:
Is further "distributi on" okay if it is only accompanied by the python
runtime DLL (as is the case when using Py2Exe) or should the entire
python-2.4.4.msi from python.org be "distribute d"?
As Fredrik Lundh says: Ask your lawyer. We cannot really interpret the
Microsoft license for you (I can only give it to you in case you don't
have it), and I can't formally give you permission to do copy something
that Microsoft has the copyright to.

If you are asking whether python24.dll should be treated as "Licensee
Software": then yes, I believe it is "Licensee Software".
I certainly don't understand the EULA, and thus I cannot make sure that
I lawyer understands it either. But I can certainly find a lawyer that
charges $$$$ an hour and pretends to understand it. I am sure buying a
copy of VC7 is a lot cheaper.
So what do you hope to get from the newsgroup article? Free legal
advice? You can't really get that; you can only get opinions. You
still have to draw your own conclusions.

Regards,
Martin
Oct 25 '06 #5

Martin v. Löwis wrote:
As Fredrik Lundh says: Ask your lawyer. We cannot really interpret the
Microsoft license for you (I can only give it to you in case you don't
have it), and I can't formally give you permission to do copy something
that Microsoft has the copyright to.
I wasn't asking you to.
So what do you hope to get from the newsgroup article?
Maybe someone have gone through the trouble and got a clear answer from
Microsoft.
Free legal
advice? You can't really get that; you can only get opinions. You
still have to draw your own conclusions.
You only get "opinions" from lawyers as well. I am not really
interested in anyone's opinion, lawyer or not.

Oct 25 '06 #6
sturlamolden wrote:
Maybe someone have gone through the trouble and got a clear answer from
Microsoft.
As far as companies go the EULA is as clear of an answer as you can
possibly hope for.

As for the original post, don't bother with it this issue, the chances
that MS will start harassing you for including this DLL is just about
zero. You could just as well worry that someone patented the right
click or the scroll bar.

i.

Oct 25 '06 #7
To paraphrase an applicant for a job vacancy we're currently filling when
asked to give an example of their problem solving skills:

A client had a problem with Windows XP on his laptop. I reformatted his hard
disk and installed Red Hat. Problem solved.

--
Dale Strickland-Clark
Riverhall Systems - www.riverhall.co.uk

Oct 25 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2429
by: limor | last post by:
Hi, I am considering using Python in a new testing tool application we intend to build for out product. I must get references before starting develope in this language , since although lots of good things are said about this language , I still have my doubts how can it compete with languages like C++ and Java. I have found te sytax and some features if the language not as problematic in maintenance prospective (although I keep reading...
3
2284
by: Kenneth McDonald | last post by:
If this is not an appropriate newsgroup for this type of posting, please let me know and (if possible) suggest an alternative. I've done a fair bit of research on the net, but information is scattered all over the place and I haven't been able to find mailing lists relating specifically to python and UIs. I'd like to start using Python for some GUI programming again. I'd like to use Tk, but it seems to be dying a slow death, so it's...
9
5543
by: vbdotnetmania | last post by:
Hi, I have looked through similar posts and have found Ken Tucker giving the reply about looking at article http://windowsforms.net/articles/Licensing.aspx This appears to be for controls and components and though I don't find it easy to understand it seems like it's appropiate for controls or components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm...
27
1413
by: Steve Holden | last post by:
As the only director of the Python Software Foundation to vote against a recent Board motion to implement the change in licensing terms described in http://pyfound.blogspot.com/2006/04/python-25-licensing-change.html I would like to place on record my protest against this change. I think it will harm the Python language and ultimately be counter-productive, reducing the user base and discouraging open source programmers from...
46
2141
by: Chris Stewart | last post by:
I've always had an interest in Python and would like to dabble in it further. I've worked on a few very small command line programs but nothing of any complexity. I'd like to build a really simple GUI app that will work across Mac, Windows, and Linux. How painful is that going to be? I used to be really familiar with Java Swing a few years ago. I imagine it will be similar. Next, what would you say is the best framework I should...
1
1101
by: ward.david | last post by:
My company distributes a COM object that can be license and userd by our customers. Some of my company's internal application also use the COM object. However, for internal applications, instead of licensing the COM object, we just make the application registered as "friendly". We accomplish this be including various information in the "version" property tab of the calling EXE. In my case, the calling EXE is Python.exe. So, my question...
0
9730
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10403
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10136
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5693
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3868
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.