[Bf-committers] Any new about the fixs for 2-44-stable branch ?

Toni Alatalo antont at kyperjokki.fi
Fri Aug 24 10:52:03 CEST 2007


Alexander Ewering kirjoitti:
> Compiled with Python version 2.4.1.
>   
(...)
> Python 2.3.4 (#2, May 29 2004, 03:31:27) 
> import math # dynamically loaded from /usr/lib/python2.3/lib-dynload/math.so
>   

Does this say that you have compiled / installed a Blender with py 2.4, 
but your system has py 2.3, and hence Blender can not use the c-written 
py libs from your system?

So if you want to stick with py2.3 in your system, you should use a 
Blender with py2.3 too? Or vice versa, if you want to use Blender with 
py2.4, install a py2.4 to your system too (you can still keep 2.3 there 
as well if you dont wanna switch from that for some reason).

Or did I get this wrong?

Regarding the original problem of the decimal module not being there: 
AFAIK it is (or at least was originally) just a single py file, 
decimal.py, wouldn't it be simple to just add it to the bundle for 
windows-nopy and mac-py2.3 users -
[Python-Dev] decimal module portability to 2.3? 
http://mail.python.org/pipermail/python-dev/2004-August/048137.html .. a 
quote from a later message in that thread: "There's nothing stopping 
someone from making a seperate package of the decimal code (complete 
with setup.py) and distributing it for Python 2.3 users to download and 
add on."

As the purpose of the module / the decimal numeric type is to give 
arbitary precision numbers (it was originally made for money 
calculations) I guess it can be quite sensible to have.

Whether we should keep up this practise of including selected modules, 
and not requiring a py install, is another question - I guess I don't 
have a fixed opinion there yet. Even though my boxes usually have py 
anyway, it has still sometimes been nice to just download Blender on a 
random Win box somewhere to do something, and only run one installer & 
get a pretty small download (Blender seems to be 8MB, full py 10MB .. so 
I guess even a feature in Blender installer that'd download and install 
py if it wasn't there would not be too bad nowadays?). But anyway this 
practise is not something that we'll change for RC2, so I think adding 
the decimal module is a possibility now.

> Alexander Ewering
>   

~Toni
>
> [ i n s t i n c t i v e . ]      instinctive mediaworks
>
> Zur Waldeshoehe 6                    Tel.: 02393-220558
> 59846 Sundern                         Fax: 02393-220559
> Germany                xx-mail: xx-mail.com/instinctive
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>   




More information about the Bf-committers mailing list