[Patches] [ python-Patches-692718 ] change file extension search?

SourceForge.net noreply@sourceforge.net
Wed, 26 Feb 2003 07:00:14 -0800


Patches item #692718, was opened at 2003-02-24 22:26
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=692718&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: change file extension search?

Initial Comment:
Since most modules are written in Python, it seems a fair number
of failed stat() calls could be avoided by considering .py files before
.so and module.so files and program startup could thus be
improved.  The attached patch implements that change.
I don't know if there are any semantic differences  with the
change in order, but if there are I suspect they will be few
(though subtle to debug if encountered).

----------------------------------------------------------------------

>Comment By: Skip Montanaro (montanaro)
Date: 2003-02-26 09:00

Message:
Logged In: YES 
user_id=44345

Assigning to Guido for his pronouncement (though I suspect I know
what it will be).

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-25 21:15

Message:
Logged In: YES 
user_id=33168

The patch looks correct.  It seemed like Guido was against
the patch since he explained the behaviour as a feature.  If
you want this patch approved, assign to Guido for pronouncement.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=692718&group_id=5470