Re: [Python-Dev] Deploying embedded Python

2007-12-17 Thread Andreas Raab
Aahz wrote: > On Mon, Dec 17, 2007, Andreas Raab wrote: >> [Apologies if this isn't the right list but I couldn't find any mailing >> list specifically dedicated to embedded Python. Does such a list exist?] > > There isn't, really, but python-dev is by defin

[Python-Dev] Deploying embedded Python

2007-12-17 Thread Andreas Raab
Hi - [Apologies if this isn't the right list but I couldn't find any mailing list specifically dedicated to embedded Python. Does such a list exist?] I'm currently looking into a few deployment issues with our embedded Python interpreter and I'm looking for any information about deploying embe

Re: [Python-Dev] .pyc location?

2007-11-23 Thread Andreas Raab
Nick Coghlan wrote: > Issues with collocating the compiled files with the source files do > arise occasionally, but they can generally be resolved by having root > run compileall [1] over the affected directories. In cases where users > are able to modify source files (hence leading to the need

[Python-Dev] .pyc location?

2007-11-23 Thread Andreas Raab
Hi - I'm having a few problems with our (embedded) Python interpreter trying to write .pyc files in the installation of our product (which actually sometimes works and sometimes doesn't depending on OS and paranoia level involved). This can give raise to a few very confusing situations and I'd

Re: [Python-Dev] Cross-platform math functions?

2006-09-05 Thread Andreas Raab
Nick Maclaren wrote: > The word "better" is emotive and inaccurate. Such calculations are > numerically meaningless, and merely encourage the confusion between > consistency and correctness. There is a strong sense in which giving > random results between -1 and 1 would be better. I did, of cour

Re: [Python-Dev] Cross-platform math functions?

2006-09-04 Thread Andreas Raab
Tim Peters wrote: > Package a Python wrapper and see how popular it becomes. Some reasons > against trying to standardize on fdlibm were explained here: > >http://mail.python.org/pipermail/python-list/2005-July/290164.html Thanks, these are good points. About speed, do you have any good ben

[Python-Dev] Cross-platform math functions?

2006-09-04 Thread Andreas Raab
Hi - I'm curious if there is any interest in the Python community to achieve better cross-platform math behavior. A quick test[1] shows a non-surprising difference between the platform implementations. Question: Is there any interest in changing the behavior to produce identical results across

Re: [Python-Dev] doc for new restricted execution design for Python

2006-06-28 Thread Andreas Raab
Guido van Rossum wrote: > On 6/28/06, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On 6/28/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: >>> - File size should be rounded up to some block size (512 if you don't >>> have filesystem specific information) before adding to the total. >> Why? > > Becau