Author pitrou
Recipients brett.cannon, lemburg, mark.dickinson, orsenthil, pitrou, rhettinger, vstinner
Date 2010-08-09.22:19:41
SpamBayes Score 8.14862e-08
Marked as misclassified No
Message-id <1281392378.3173.16.camel@localhost.localdomain>
In-reply-to <4C607B79.2020502@egenix.com>
Content
> I said "warn about the use of non-builtin modules", not disallow
> their use. AFAIK, the purpose of the exercise is to reduce the
> number of non-builtin modules being loaded early on during
> Python startup.

The purpose of the exercise is to avoid, as much as possible, the
numerous issues that have already been encountered because of the
startup procedure relying on locale in various conditions for
initialization of the standard streams.

You are proposing that we commit a one-time fix to fix the current
situation. Recent history shows that similar problems will arise again,
and waste useful developer time for committing urgency fixes in order to
fix the build (not to mention that the symptoms are sometimes difficult
to diagnose, such as in this very issue). I am proposing a broader
change which prevents, as much as possible, similar problems from
reappearing and will relieve us from a dispensable burden.

> > (note, this is already done elsewhere, for example _abcoll.py or
> > _weakrefset.py)
> 
> Those are special cases since they are needed for ABCs. locale
> is not special enough to warrant such a disruption in module
> organization and it's not needed either (see above).

"special enough" is in the eye of the beholder.
History
Date User Action Args
2010-08-09 22:19:43pitrousetrecipients: + pitrou, lemburg, brett.cannon, rhettinger, mark.dickinson, orsenthil, vstinner
2010-08-09 22:19:41pitroulinkissue9548 messages
2010-08-09 22:19:41pitroucreate