Re: [Python-Dev] Py3k: magical dir()

2008-12-19 Thread Hagen Fürstenau
> Is there some reason no set tp_hash for rangeobject to > PyObject_HashNotImplemented ? http://bugs.python.org/issue4701 - Hagen ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://

Re: [Python-Dev] Py3k: magical dir()

2008-12-19 Thread Guilherme Polo
On Fri, Dec 19, 2008 at 12:20 PM, Dmitry Vasiliev wrote: > Hello! > > I think it's a strange behavior: > > Python 3.1a0 (py3k:67851, Dec 19 2008, 16:50:32) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. hash(range(10))

Re: [Python-Dev] Py3k: magical dir()

2008-12-19 Thread Eric Smith
Christian Heimes wrote: Dmitry Vasiliev schrieb: Hello! I think it's a strange behavior: Python 3.1a0 (py3k:67851, Dec 19 2008, 16:50:32) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. hash(range(10)) Traceback (most recen

Re: [Python-Dev] Py3k: magical dir()

2008-12-19 Thread Christian Heimes
Dmitry Vasiliev schrieb: > Hello! > > I think it's a strange behavior: > > Python 3.1a0 (py3k:67851, Dec 19 2008, 16:50:32) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. hash(range(10)) > Traceback (most recent call l