Re: [Python-Dev] Python-Dev Digest, Vol 54, Issue 57
>> ~/Library/ is a Mac OS X thing. Bill> Sure, but it's clearly where this should be on an OS X system, by Bill> default. I think only for stuff that is a Mac-ish GUI app type of thing and/or that plays with Mac's distinct APIs (Carbon, Cocoa, whatever). Would you install, for example, a personal version of gcc there? I wouldn't, but that's just me. Skip ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python-Dev Digest, Vol 54, Issue 57
> >> ~/Library/ is a Mac OS X thing. > > Bill> Sure, but it's clearly where this should be on an OS X system, by > Bill> default. > > I think only for stuff that is a Mac-ish GUI app type of thing and/or that > plays with Mac's distinct APIs (Carbon, Cocoa, whatever). Would you > install, for example, a personal version of gcc there? I wouldn't, but > that's just me. Is that really the question? I'd agree with you there. But if you wanted a standard per-user place where gcc would look for custom filters of some sort, on OS X, I'd think it would be appropriate. Which makes more sense, to me, as an analogue of a per-user site-packages directory. Bill ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] SyntaxError: 'import *' not allowed with 'from .'
I posted this on c.l.py but I didn't get a definite answer so I am asking again here: is it documented anywhere that "from .relative.module import *' is syntax error? Unless I missed it, PEP 328 doesn't mention anything about it. Also, while I understand the general caveats and warnings against "import *", at first glance it seems inconsistent to disallow it for relative imports while it is valid for absolute. Are there any particular reasons that allowing relative '*' imports is harder to implement, more fragile or generally worse in some way ? George ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python-Dev Digest, Vol 54, Issue 57
Bill Janssen writes: > > >> ~/Library/ is a Mac OS X thing. > > > > Bill> Sure, but it's clearly where this should be on an OS X system, by > > Bill> default. > > [etc.] > [tocatta and fugue ad lib] Doesn't Apple publish standards for this? They do for everything else, it seems. ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Python-Dev Digest, Vol 54, Issue 57
On Thu, Jan 17, 2008 at 06:12:52AM +0900, Stephen J. Turnbull wrote: -> Bill Janssen writes: -> > > >> ~/Library/ is a Mac OS X thing. -> > > -> > > Bill> Sure, but it's clearly where this should be on an OS X system, by -> > > Bill> default. -> -> > > [etc.] -> -> > [tocatta and fugue ad lib] -> -> Doesn't Apple publish standards for this? They do for everything -> else, it seems. Yep -- finally found it: http://www.codinghorror.com/blog/archives/001032.html http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/WhereToPutFiles.html --titus ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] PEP 370, open questions
The PEP 370 (http://www.python.org/dev/peps/pep-0370) "per user site packages directory" has several open questions: * Are the directories for Windows, Mac and Unix fine? * Mac: Should framework and non-framework builds of Python use the same directories? * The patch also adds a usecustomize hook to site. Is it useful and should it stay? * Should the site package directory also be ignored if process gid != effective gid? * Should the Windows installer add %APPDATA%/Python/Scripts to PATH? * Should the base directory be configurable with an environment variable like PYTHONUSERHOME? A CC of the mail goes to the authors of setuptools, virtual python, working env and virtual env. What's your opinion on the PEP? Do you have some input and advice for me? Christian ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
