[Python-Dev] clarifying PEP 302 loader responsibilities upon failure

2009-02-09 Thread bcannon
Guido and I were discussing what a loader should be responsible for when  
load_module is called and an exception is raised in relation to sys.modules  
as PEP 302 says nothing about the topic.


We both agree that if the loader added a module to sys.modules it should be  
removed, otherwise it should be left alone.


Assuming no one disagrees I will update the PEP to specify that this is the  
expected job of loaders.


-Brett
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Can't have unbuffered text I/O in Python 3.0?

2008-12-19 Thread bcannon

On Dec 19, 2008 2:20pm, Fabio Zadrozny  wrote:

You're right, thanks (guess I'll use that option then).



Now, is it a bug that Python 3.0 doesn't run unbuffered when

specifying -u or PYTHONUNBUFFERED, or was this support dropped?




Well, ``python -h`` still lists it. That means either the output for -h  
needs to be fixed or the feature needs to be supported.


-Brett
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] another Python Bug Day?

2009-01-06 Thread bcannon

On Jan 6, 2009 3:18pm, Simon Cross  wrote:

On Tue, Jan 6, 2009 at 9:47 PM, Brett Cannon [email protected]> wrote:

> This is a years-old problem that is not going to be fixed overnight

> (unfortunately). But it is known and is being worked on (moving to a

> DVCS, writing up docs on the development process to cut down on bad

> patches, etc.).



It's encouraging to hear that it's been worked on. I assume the idea

is that eventually leiutenanents will maintain their own Python trees

in a similar way to what happens with the Linux kernel currently?



No because Python is not developed with much sense of ownership like the  
Linux kernel; no one owns the dict object or all of the object code. And  
this is not about to change either. While some modules have obvious owners  
(eg I would defer to Raymond for itertools stuff if I wasn't sure of the  
best solution), the code base overall is considered "owned" by all of  
python-dev equally.





An interim solution that occurred to me is to give a few more people

enhanced access to the issue tracker


We have slowly started to do this although we could probably expand this  
more than we have.



and to create a

ready-for-committing keyword that these new issue wranglers could

apply to bugs that have patches and which they think are ready for

committing.


Already done; the Stage field takes care of this with the "commit review"  
stage. It also makes it more clear what is needed which could be helpful  
for Bug Days. If people feel comfortable writing tests, for instance, they  
could (theoretically) just look for issues at the Test Needed stage. But  
the field is so new that it is not consistently used yet. Probably going to  
need the docs on how the issue workflow is supposed to work before that  
happens.



Actual committers could then come along and search for the

given keyword to find things to examine for committing. This would

also act as testing ground for potential developers -- once committers

feel that the patches an issue wrangler approves really are

consistently good enough, they can consider promoting the issue

wrangler to a full developer.


Right, that is one of the hopes of having more people have the Developer  
role on the issue tracker. This process just needs to get written down  
(which I am slowly doing; see http://www.python.org/dev/setup/ as the start  
of the docs I plan to write to document all of this).


-Brett
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com