Re: [Python-Dev] new security doc using object-capabilities

2006-09-07 Thread Brett Cannon
On 9/6/06, Ka-Ping Yee <[EMAIL PROTECTED] > wrote: Hi Brett,Here are some comments on your proposal.  Sorry this took so long.I apologize if any of these comments are out of date (but also lookforward to your answers to some of the questions, as they'll help me understand some more of the details o

Re: [Python-Dev] Unicode Imports

2006-09-07 Thread Anthony Baxter
On Friday 08 September 2006 02:56, Kristján V. Jónsson wrote: > Hello All. > I just added patch 1552880 to sourceforge. It is a patch for 2.6 (and 2.5) > which allows unicode paths in sys.path and uses the unicode file api on > windows. This is tried and tested on 2.5, and backported to 2.3 and is

Re: [Python-Dev] 2.5 status

2006-09-07 Thread Brett Cannon
On 9/7/06, Neal Norwitz <[EMAIL PROTECTED]> wrote: On 9/5/06, Brett Cannon <[EMAIL PROTECTED]> wrote:>> > [MAL]> > The proper fix would be to introduce a tp_unicode slot and let> > this decide what to do, ie. call .__unicode__() methods on instances > > and use the .__name__ on classes.>> That was

Re: [Python-Dev] [Twisted-Python] Newbie question

2006-09-07 Thread skip
Jean-Paul> Sorry, brainfart. But still... QOTF ;-) S ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Arlington sprints to occur monthly

2006-09-07 Thread A.M. Kuchling
Jeffrey Elkner has arranged things so that the 1-day Python sprints in Arlington VA will now be happening every month. Future sprints will be on September 23rd, October 21st, November 18th, and December 16th. See http://wiki.python.org/moin/ArlingtonSprint for directions and to sign up. --amk _

[Python-Dev] Unicode Imports

2006-09-07 Thread Kristján V . Jónsson
Hello All. I just added patch 1552880 to sourceforge.  It is a patch for 2.6 (and 2.5) which allows unicode paths in sys.path and uses the unicode file api on windows. This is tried and tested on 2.5, and backported to 2.3 and is currently running on clients in china and esewhere.  It is m

Re: [Python-Dev] [Twisted-Python] Newbie question

2006-09-07 Thread Jean-Paul Calderone
Sorry, brainfart. Jean-Paul ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Twisted-Python] Newbie question

2006-09-07 Thread skip
Jean-Paul> One could just as easily ask why no one bothers to read Jean-Paul> mailing list archives to see if their question has been Jean-Paul> answered before. Jean-Paul> No one will ever know, it is just one of the mysteries of the Jean-Paul> universe. +1 QOTF... Skip

Re: [Python-Dev] [Twisted-Python] Newbie question

2006-09-07 Thread Aahz
On Thu, Sep 07, 2006, Jean-Paul Calderone wrote: > On Thu, 7 Sep 2006 11:41:48 -0400, Timothy Fitz <[EMAIL PROTECTED]> wrote: >>On 9/5/06, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: >>> >>>You cannot stop the reactor and then start it again. >> >>Why don't the reactors throw if this happens? Th

Re: [Python-Dev] [Twisted-Python] Newbie question

2006-09-07 Thread Jean-Paul Calderone
On Thu, 7 Sep 2006 11:41:48 -0400, Timothy Fitz <[EMAIL PROTECTED]> wrote: >On 9/5/06, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: >>You cannot stop the reactor and then start it again. > >Why don't the reactors throw if this happens? This question comes up >almost once a month. > One could jus

[Python-Dev] 'with' bites Twisted

2006-09-07 Thread Grig Gheorghiu
When the pybot buildslave for Twisted is trying to run the Twisted test suite via 'trial', it gets an exception:Traceback (most recent call last): File "/tmp/Twisted/bin/trial", line 23, in from twisted.scripts.trial import run File "/tmp/Twisted/twisted/scripts/trial.py", line 10, in fr

Re: [Python-Dev] inspect.py very slow under 2.5

2006-09-07 Thread Fernando Perez
Nick Coghlan wrote: > I've updated the patch on SF, and committed the fix (including PJE's and > Neal's comments) to the trunk. > > I'll backport it tomorrow night (assuming I don't hear any objections in the > meantime :). I just wanted to thank you all for taking the time to work on this, even

Re: [Python-Dev] Change in file() behavior in 2.5

2006-09-07 Thread Michael Hudson
"Michael Urman" <[EMAIL PROTECTED]> writes: > Hi folks, > > Between 2.4 and 2.5 the behavior of file or open with the mode 'wU' > has changed. In 2.4 it silently works. in 2.5 it raises a ValueError. > I can't find any more discussion on it in python-dev than tangential > mentions in this thread:

[Python-Dev] Change in file() behavior in 2.5

2006-09-07 Thread Michael Urman
Hi folks, Between 2.4 and 2.5 the behavior of file or open with the mode 'wU' has changed. In 2.4 it silently works. in 2.5 it raises a ValueError. I can't find any more discussion on it in python-dev than tangential mentions in this thread: http://mail.python.org/pipermail/python-dev/2006-June/

Re: [Python-Dev] inspect.py very slow under 2.5

2006-09-07 Thread Nick Coghlan
Ralf Schmitt wrote: > Nick Coghlan wrote: >> Good point. I modified the patch so it does the latter (it only calls >> getabspath() again for a module if the value of module.__file__ changes). > > with _filesbymodname[modname] = file changed to _filesbymodname[modname] > = f > it seems to work ok

Re: [Python-Dev] 2.5 status

2006-09-07 Thread Neal Norwitz
Doc patches are fine, please fix. n -- On 9/7/06, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On 5-sep-2006, at 6:24, Neal Norwitz wrote: > > > There are 3 bugs currently listed in PEP 356 as blocking: > > http://python.org/sf/1551432 - __unicode__ breaks on > > exception classes > >

Re: [Python-Dev] 2.5 status

2006-09-07 Thread Ronald Oussoren
On 5-sep-2006, at 6:24, Neal Norwitz wrote: > There are 3 bugs currently listed in PEP 356 as blocking: > http://python.org/sf/1551432 - __unicode__ breaks on > exception classes > http://python.org/sf/1550938 - improper exception w/ > relative import > http://python.or

Re: [Python-Dev] 2.5 status

2006-09-07 Thread Neal Norwitz
On 9/5/06, Brett Cannon <[EMAIL PROTECTED]> wrote: > > > [MAL] > > The proper fix would be to introduce a tp_unicode slot and let > > this decide what to do, ie. call .__unicode__() methods on instances > > and use the .__name__ on classes. > > That was my bug reaction and what I said on the bug r