Case sensitivity
sismex01 at hebmex.com
sismex01 at hebmex.com
Tue Feb 25 11:09:26 EST 2003
> From: Alex Martelli [mailto:aleaxit at yahoo.com]
> Sent: Tuesday, February 25, 2003 9:49 AM
>
> PyChecker is Python code. How hard can it be to add stuff to
> it? The problem is whether the maintainer would accept a patch.
>
Well, it's hard for me because I don't have internet connections
nor phone at my house (new house, tough firewall policies at work),
so it's for the moment impossible for me.
>
> > Another would be to hijack the import module; whenever importing
>
> There is no import module.
You are of course right; I meant the import hook.
> However, there IS a built-in function
> named __import__, which is what any import command uses, so
> you could optionally override it (calling the previous/existing
> version first) to perform some checks.
>
>
> Alex
>
-gustavo
More information about the Python-list
mailing list