Re: The Modernization of Emacs: terminology buffer and keybinding
Wildemar Wildenburger <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > While I agree that the word "free" implies "free of monetary cost" to > many people societies, that is by no means set in stone (talk to native > americans, blacks, jews, palestinians, etc. about the word free, see > what they have to say). Words are defined by popular usage. In popular usage, the meaning of free as an adjective depends on the context. If the adjective is applied to people, it means the opposite of slavery or imprisonment. If it's applied to something other than people, it means free as in beer. For example, a dog with no owner, wandering freely (adverb), would not be called a free dog (adjective), to mean possessing freedom. Free dog means free as in beer. Likewise, in popular usage, free software means free as in beer. People who use it with a different meaning are vainly trying to change its meaning. But the meanings of words can't be arbitrarily changed, just by dictating different meanings. The meaning has to be adopted by popular usage, which free-as-in-GPL software has not been. Therefore, I propose, using dog freedom as our logic, we call it stray software. -- http://mail.python.org/mailman/listinfo/python-list
Re: __builtins__
Marc 'BlackJack' Rintsch a écrit :
> On Fri, 08 Feb 2008 00:25:14 -0800, loquehumaine wrote:
>
>> I have seen that if I type help() at a prompt, and then 'modules',
>> I'll be given a list of all modules available, thanks to this group..
>> But I have seen the differences between them and the one in
>> dir(__builtins__).
>> Why are some modules in __builtins__ and others don't ? (UserDict for
>> example)
>
> `__builtins__` doesn't contain modules::
You are right... I don't know why I thought there was math here... It's
not in sys.modules either...
Is there "a place" where you can find a list of 'some' available modules
('standard' ones like math, sys, ...) but not all, or I really need a
break during the week-end?
If so, what the difference between the 'present' and the 'missing' ones?
For example, in http://docs.python.org/modindex.html for math: "This
module is always available." unlike pickle or HTMLParser. Is this only
because of the versions of Python?
I think I have mixed-up a lot of things and that I need a little bit
more of readings about builtin things... (Doc that goes further than
http://docs.python.org/lib/builtin.html)
> Python 2.4.4 (#2, Apr 12 2007, 21:03:11)
> [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import inspect
> >>> inspect.getmembers(__builtins__, inspect.ismodule)
> []
At least I have learn a new module =)
> `__builtins__` is an implementation detail, and `__builtin__` is a name
> of a module you can import. You should not use `__builtins__` but import
> `__builtin__` and inspect that instead of `__builtins__`.
Ok. Should I only see `__builtins__` as an access to builtin
functions/exception/... ?
> Don't ``del __builtins__`` in the first place. :-)
Fair enough ^_^
> So the real question is, why you see 'math' in `__builtins__`. It should
> not be there.
I think the answer is that I need more rest...
>
> Ciao,
> Marc 'BlackJack' Rintsch
Thanks a lot,
LHB
--
http://mail.python.org/mailman/listinfo/python-list
