Pythonification of the asterisk-based collection packing/unpacking syntax

Rick Johnson rantingrickjohnson at gmail.com
Sun Dec 18 21:16:00 EST 2011


On Dec 18, 7:26 pm, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:
> Not everybody uses editors more advanced than Notepad.
And they have no excuse for NOT using a better one. Well, except for a
"foolish consistency" that is!

> Even those who do
> may not have an editor that understands Python keywords, or has an
> obsolete list of keywords (my editor of choice doesn't know about
> NotImplementedError).

Are you kidding me? Any editor that is not smart enough to do...
>>> import keyword
>>> pyKeyWords = keyword.kwlist
... needs to be thrown out the window.

And let's not forget that Python even ships with an IDE called IDLE.
As poorly written as IDLE's code may be, at least it is smart enough
to find the current keyword list.



More information about the Python-list mailing list