Eric Snow wrote:
> p.s. I tried opening a tracker ticket on this, but it wouldn't go
> through. I'll try again later.
Adding the following line to /etc/hosts makes the bug tracker fast
when python.org is down:
127.0.0.1 python.org
This is because bugs.python.org works fine, but it links to CSS
On Wed, 20 Jul 2011 01:53:09 -0500
Kerrick Staley wrote:
> On Mon, Jul 18, 2011 at 3:03 AM, Ned Deily wrote:
> > I think adding the requirement to mandate hard link vs soft link usage
> > is an unnecessary and unwarranted attempt at optimization. For
> > instance, IIRC, the OS X installers don't
On Sun, 24 Jul 2011 23:16:55 +0200
Antoine Pitrou wrote:
>
> I think the recommendation should be symbolic links for all systems.
> Hard links are generally harder to discover, while it is trivial to
> find out that a given file is a symbolink link, and to which other file.
> The optimization is
Arguments in favor of specific errors
-
Using specific errors avoids the need of "import errno". The import is
sometimes done in the except block, which may raise a new error (and may
be slow).
I like specific exceptions because it avoids the need of re-raise
Hello,
> By the way, is it faster to not handle and than re-raise unwanted
> exceptions?
You mean "is it faster to not handle than re-raise unwanted
exceptions?". It probably is, yes.
> I don't understand how Antoine decided which errno should have an
> exception or not.
Mostly experience with
Antoine Pitrou writes:
> > Did someone test Blender, Django or another major applications on the
> > implementation of the PEP 3151?
>
> Does Django have a working Python 3 port yet?
Define "working". Martin ported Django to Python 3 years ago as proof
of concept, but never claimed it was r
On Sun, Jul 24, 2011 at 12:54 AM, Nick Coghlan wrote:
> On Sun, Jul 24, 2011 at 3:05 PM, Eric Snow
> wrote:
>> Are there other objects in the interpreter state that are exposed in
>> sys that would have the same problem?
>
> Rebinding (rather than mutating) any global state in any module is
> al
On Mon, Jul 25, 2011 at 9:56 AM, Victor Stinner
wrote:
> By the way, is it faster to not handle and than re-raise unwanted
> exceptions?
Yes, but probably not that much faster given the overhead of
instantiating the exception and unwinding the stack in the first
place.
> Choice of the specific e
On Mon, Jul 25, 2011 at 2:50 PM, Eric Snow wrote:
> I agree with what you are saying wholeheartedly, but still think there
> is something fishy with the way that sys.modules works. I'll take it
> from here to a tracker issue though. :)
Yup - the import system has a whole mess of interrelated glo
> I agree with what you are saying wholeheartedly, but still think there
> is something fishy with the way that sys.modules works. I'll take it
> from here to a tracker issue though. :)
Well, there is a short answer to you question: sys.modules is *not*
meant to be replaced. Doing so will result
10 matches
Mail list logo