Re: [Python-Dev] Taint Mode in Python 3.0

2008-12-05 Thread Nick Coghlan
Maciej Fijalkowski wrote: Hello, The thing is pypy's taint code is broken. Basically you don't only need to patch all places that return pyobject, but also all places that might modify anything. (All side effects) For example innocently looking call to addition might end up calling

[Python-Dev] Taint Mode in Python 3.0

2008-12-04 Thread Nicole King
Dear All, I have published the diff for my implementation of tainted mode in Python for R3.0 (released version) at http://www.cats-muvva.net/software/. Look at the bottom the page. I apologise for past problems accessing this web site: I hope to have resolved all the issues with it. Nicole

Re: [Python-Dev] Taint Mode in Python 3.0

2008-12-04 Thread Maciej Fijalkowski
When I try to run this, I get: Fatal Python error: Py_Initialize: can't initialize sys standard streams Traceback (most recent call last): File /home/fijal/lang/python/Python30/Lib/encodings/__init__.py, line 31, in module File /home/fijal/lang/python/Python30/Lib/codecs.py, line 1060, in

Re: [Python-Dev] Taint Mode in Python 3.0

2008-12-04 Thread Amaury Forgeot d'Arc
Hello, On Thu, Dec 4, 2008 at 19:36, Nicole King [EMAIL PROTECTED] wrote: Dear All, I have published the diff for my implementation of tainted mode in Python for R3.0 (released version) at http://www.cats-muvva.net/software/. Look at the bottom the page. I apologise for past problems

Re: [Python-Dev] Taint Mode in Python 3.0

2008-12-04 Thread Maciej Fijalkowski
Hello, The thing is pypy's taint code is broken. Basically you don't only need to patch all places that return pyobject, but also all places that might modify anything. (All side effects) For example innocently looking call to addition might end up calling arbitrary python code (and have

[Python-Dev] Taint Mode in Python 3.0 RC3

2008-11-27 Thread Nicole King
Dear All, I found I needed support for taint mode in python and have done some work to realise this. It's by no means complete at this time, but I'm floating this idea on this group to see how much interest there is. The implementation is pretty simple: - an extra field in PyObject to

[Python-Dev] Taint Mode in Python 3.0 RC3

2008-11-27 Thread Nicole King
Dear All, Apologies that web site was not working earlier. I believe that I've now fixed it. The patch can still be found at http://www.cats-muvva.net/software/Python-taint-diff-3.0rc3.tar.bz2. CatsMuvva ___ Python-Dev mailing list