[Pythonmac-SIG] Packaging all toolbox modules in a package

Just van Rossum just@letterror.com
Tue, 7 Aug 2001 14:32:43 +0200


Jack Jansen wrote:

> I that sense: I don't know whether it's worth it. There's really a whole 
> hierarchy of modules like Mac.Carbon.Res, Mac.findertools and 
> Mac.Scripting.Finder, but Python has (so far) had a pretty flat namespace.

I think it should/could stay fairly flat, eg. Carbon doesn't need to be a
subpackage of Mac, but could itself be a top level package.

> We could of course stuff what is now :Mac:Lib (including the coming 
> :Mac:Lib:Carbon) into :Lib:Mac, add an __init__.py file and be done with it...

Heh.. We have to do *something*, especially all the constants files that belong
to specific Toolbox module should also become part of the Carbon module. Eg.
Events.py, Dialogs.py, Fonts.py, Lists.py, TextEdit.py, etc. But things like
FrameWork.py and EasyDialogs.py should be part of Mac. Or?

Just