[issue6038] Should collections.Counter check for int?

2009-05-16 Thread Carl Johnson
Carl Johnson c...@carlsensei.com added the comment: Sounds like a job for ABCs. -- nosy: +carlj ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6038

[issue4627] Add Mac OS X Disk Images to Python.org homepage

2009-02-14 Thread Carl Johnson
Carl Johnson c...@carlsensei.com added the comment: Fair enough. In this case though, I'm not complaining for myself, since I can compile config, make, install source (although I don't know how to build a Mac Installer, or else I would just do it). I'm complaining on behalf of all

[issue4627] Add Mac OS X Disk Images to Python.org homepage

2009-02-13 Thread Carl Johnson
Carl Johnson c...@carlsensei.com added the comment: Is it possible to reopen this bug? Python 3.0.1 still has no Mac installer… -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4627

[issue4627] Add Mac OS X Disk Images to Python.org homepage

2009-02-13 Thread Carl Johnson
Carl Johnson c...@carlsensei.com added the comment: What's German for the squeaky wheel gets the grease? ;-) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4627

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-26 Thread Carl Johnson
Carl Johnson c...@carlsensei.com added the comment: It seems to me that it isn't tab completion's place to out think the __dir__ method. A) Because the documentation doesn't tell you that it does (although you are warned that it may call some stuff) and B) because if someone set up a __dir__

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-26 Thread Carl Johnson
Carl Johnson c...@carlsensei.com added the comment: I think that checking to see which things really exist with getattr/hasattr made sense back in the days before the __dir__, since in those days the real API for an object could diverge wildly from what was reported by dir(object), but nowadays

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-26 Thread Carl Johnson
Carl Johnson c...@carlsensei.com added the comment: Ah, I see. It does a dir(obj) then tests things to see which are callable and while it is at that, it removes the names that don't really exist according to getattr. Actually, can we go back to the Python 2.5 behavior? I really hate those auto

[issue5062] Rlcompleter.Completer does not use __dir__ magic method

2009-01-25 Thread Carl Johnson
New submission from Carl Johnson c...@carlsensei.com: The documentation at http://docs.python.org/library/rlcompleter.html claims that Completer.complete(text, state)¶ Return the state*th completion for *text. If called for text that doesn’t include a period character

[issue4627] Add Mac OS X Disk Images to Python.org homepage

2008-12-10 Thread Carl Johnson
New submission from Carl Johnson [EMAIL PROTECTED]: As recently as Python 2.6.0's release, Python.org had a link to download a disk image with a special newb-friendly installer for OS X. See http://www.python.org/download/releases/2.6/ Now, it's gone in Python 2.6.1, and it was never

[issue3331] Possible inconsistency in behavior of list comprehensions vs. generator expressions

2008-07-10 Thread Carl Johnson
New submission from Carl Johnson [EMAIL PROTECTED]: Compare the following behaviors: Python 3.0a5 (r30a5:62856, May 10 2008, 10:34:28) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type help, copyright, credits or license for more information. def f(x): ... if x 5