[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 sho

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 br...@python.org> 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 developme

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 out