[Patches] [ python-Patches-1071739 ] bug#1021756: more informative error message

SourceForge.net noreply at sourceforge.net
Wed Nov 24 23:32:20 CET 2004


Patches item #1071739, was opened at 2004-11-23 15:14
Message generated for change (Settings changed) made by effbot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1071739&group_id=5470

Category: Distutils and setup.py
Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Christos Georgiou (tzot)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug#1021756: more informative error message

Initial Comment:
The following patch offers a better explanation in case
the MS VC++ (free) toolkit is installed but the .NET
Framework SDK is not.

----------------------------------------------------------------------

>Comment By: Fredrik Lundh (effbot)
Date: 2004-11-24 23:32

Message:
Logged In: YES 
user_id=38376

Checked in, as is.  The style police will have to fix the
exceptions some other day. 

----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2004-11-24 16:39

Message:
Logged In: YES 
user_id=29957

This is fine for checkin for 2.4 final.


----------------------------------------------------------------------

Comment By: Christos Georgiou (tzot)
Date: 2004-11-24 16:06

Message:
Logged In: YES 
user_id=539787

I agree with that (blind copy-paste from another
exception-raising and text editing on my part).  Obviously
this should apply to all the distutils source.

----------------------------------------------------------------------

Comment By: Fredrik Lundh (effbot)
Date: 2004-11-24 15:55

Message:
Logged In: YES 
user_id=38376

looks fine, except a minor style nit:

+            raise DistutilsPlatformError, +                  ("The .NET Framework SDK needs to be 
installed before "
+                   "building extensions for Python.")

is better written as:

+            raise DistutilsPlatformError(
+                  "The .NET Framework SDK needs to be 
installed before "
+                   "building extensions for Python.")



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1071739&group_id=5470


More information about the Patches mailing list