[EMAIL PROTECTED] schrieb: > On Jul 8, 4:41 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > >> Stacktraces put out the whole path. How do you happen to confuse >> >> turbogears/controllers.py >> >> with >> >> myproject/controllers.py >> >> ? > > If I wanted to spend 40 seconds reading the stack trace I wouldn't. > > But, hey I don't...I want spend ten seconds glancing at it. > > This isn't about __init__.py > > This is about being friendly and causing less confusion to other > Turbogears users in this one particular case. Not developers, not > experts. Realize that you as a TG developer can't easily understand > what confuses your users.
I'm not only a TG-developer, I'm a python developer who frequently relies on 3rd-party-packages and reading stacktraces. And the argument *is* about __init__.py because if it actually matters so much to you that bottom-level names differ, python's __init__.py files must be a cause of tremendous confusion to you. To me - they aren't. And even if they were, __init__.pys are legion. controllers.py are two. If you *really* need to disambiguate, it deems me doable for you to train yourself to look one path part to the left in case of "controllers.py" However, this is a moot discussion - the TG2 app layout is different, controllers is a directory there. > I realize we are verging off into yellow bike shed territory, but this > isn't about two python modules having the same name. > > This is about a project giving the same name to a quickstarted created > file and one of its core files. And not a magic name, like > __init__.py > > You can't tell me this is normal. I bet you can't find any other > python project where it creates a python file for the user to edit > with the same name as one of the core files used by the > project. :) You are the one who tries to convince others. Maybe you should prove that other projects *don't* do this... Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

