Re: [Python-Dev] Python 2.7 Won't Build

2010-09-17 Thread Victor Stinner
Le vendredi 17 septembre 2010 00:09:09, Tom Browder a écrit : I did, and eventually discovered the problem: I tried to nosy Barry as requested by adding his e-mail address, but that causes an error in the tracker. After I finally figured that out, I successfully entered the original bug (and

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-17 Thread Baptiste Carvello
R. David Murray a écrit : I'm trying one approach in email6: Bytes and String subclasses, where the subclasses have an attribute named 'literals' derived from a utility module that does this: literals = dict( empty = '', colon = ':', newline = '\n', space = '

Re: [Python-Dev] [issue1633863] AIX: configure ignores $CC

2010-09-17 Thread Sébastien Sablé
Hi Martin, I have started to correct quite a lot of issues I have with Python on AIX, and since I had to test quite a lot of patchs, I though it would be more convenient to setup a buildbot for that platform. So I now have a buildbot environment with 2 slaves (AIX 5.3 and 6.1) that builds

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-17 Thread Antoine Pitrou
Le jeudi 16 septembre 2010 à 22:51 -0400, R. David Murray a écrit : On disk, using utf-8, one might store the text representation of the message, rather than the wire-format (ASCII encoded) version. We might want to write such messages from scratch. But then the user knows the

Re: [Python-Dev] standards for distribution names

2010-09-17 Thread Dan Buch
On Thu, Sep 16, 2010 at 12:08:59PM +0100, Chris Withers wrote: Hi All, Following on from this question: http://twistedmatrix.com/pipermail/twisted-python/2010-September/022877.html ...I'd thought that the correct names for distributions would have been documented in one of:

Re: [Python-Dev] [issue1633863] AIX: configure ignores $CC

2010-09-17 Thread Martin v. Löwis
Hi Sebastien, Unfortunately, I don't think this solution is possible for me: I don't think the security team in my company would appreciate that a server inside our network runs some arbitrary shell commands provided by some external source. I still think this would be the best thing, and I

Re: [Python-Dev] [issue1633863] AIX: configure ignores $CC

2010-09-17 Thread Antoine Pitrou
On Fri, 17 Sep 2010 11:40:12 +0200 Sébastien Sablé sa...@users.sourceforge.net wrote: Hi Martin, I have started to correct quite a lot of issues I have with Python on AIX, and since I had to test quite a lot of patchs, I though it would be more convenient to setup a buildbot for that

Re: [Python-Dev] Add PEP 444, Python Web3 Interface.

2010-09-17 Thread Martin v. Löwis
Am 16.09.10 02:02, schrieb John Nagle: On 9/15/2010 4:44 PM, python-dev-requ...@python.org wrote: ``SERVER_PORT`` must be a bytes instance (not an integer). What's that supposed to mean? What goes in the bytes instance? A character string in some format? A long binary number? If the latter,

Re: [Python-Dev] (Not) delaying the 3.2 release

2010-09-17 Thread Nick Coghlan
On Fri, Sep 17, 2010 at 5:43 AM, Martin (gzlist) gzl...@googlemail.com wrote: In the example I gave, 十 encodes in CP932 as '\x8f\\', and the function gets confused by the second byte. Obviously the right answer there is just to use unicode, rather than write a function that works with weird

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-17 Thread Barry Warsaw
On Sep 17, 2010, at 12:10 PM, Antoine Pitrou wrote: Also, I don't understand why an application would want to assemble an e-mail by itself if it doesn't know how to do so, and produces wrong data. Why not simply let the application do: m = Message() m.add_header(From, Accented Bàrry

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-17 Thread Barry Warsaw
On Sep 16, 2010, at 11:45 PM, Terry Reedy wrote: Based on the discussion so far, I think you should go ahead and implement the API agreed on by the mail sig both because is *has* been agreed on (and thinking about the wsgi discussion, that seems to be a major achievement) and because it seems

[Python-Dev] Summary of Python tracker Issues

2010-09-17 Thread Python tracker
ACTIVITY SUMMARY (2010-09-10 - 2010-09-17) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues stats: open2541 (+42) closed 19128 (+69) total 21669 (+65) Open issues with patches:

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-17 Thread Michael Foord
On 16/09/2010 23:05, Antoine Pitrou wrote: On Thu, 16 Sep 2010 16:51:58 -0400 R. David Murrayrdmur...@bitdance.com wrote: What do we store in the model? We could say that the model is always text. But then we lose information about the original bytes message, and we can't reproduce it. For

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-17 Thread Ian Bicking
On Fri, Sep 17, 2010 at 3:25 PM, Michael Foord fuzzy...@voidspace.org.ukwrote: On 16/09/2010 23:05, Antoine Pitrou wrote: On Thu, 16 Sep 2010 16:51:58 -0400 R. David Murrayrdmur...@bitdance.com wrote: What do we store in the model? We could say that the model is always text. But then

Re: [Python-Dev] [Catalog-sig] egg_info in PyPI

2010-09-17 Thread Tarek Ziadé
On Fri, Sep 17, 2010 at 10:02 PM, Jannis Leidel jan...@leidel.info wrote: On 17.09.2010, at 20:43, Martin v. Löwis wrote: Here at the DZUG conference, we are planning to integrate explicit access to setuptools metadata to the package index. The current idea is to store the contents of the

[Python-Dev] Some news from my sandbox project

2010-09-17 Thread Victor Stinner
Hi, I'm still developing irregulary my sandbox project since last june. pysandbox is a sandbox to execute untrusted Python code. It is able to execute unmodified Python code with a low overhead. I consider it as stable and secure. http://github.com/haypo/pysandbox/ Today, the biggest problem

Re: [Python-Dev] [Catalog-sig] egg_info in PyPI

2010-09-17 Thread Sridhar Ratnakumar
On 2010-09-17, at 4:04 PM, Tarek Ziadé wrote: I am not even understanding what's the benefit of doing this since an egg_info directory is obtained at *build* time and can differ from a machine to another, so it seems pretty useless for me to publish this. I am in full agreement with Tarek