[issue13411] Hashable memoryviews

2012-01-25 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Done in: http://hg.python.org/features/pep-3118/rev/508d5e3c579c -- dependencies: -Problems with Py_buffer management in memoryobject.c (and elsewhere?) ___ Python tracker

[issue13411] Hashable memoryviews

2012-01-25 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- resolution: remind - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411 ___

[issue13411] Hashable memoryviews

2012-01-17 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- dependencies: +Problems with Py_buffer management in memoryobject.c (and elsewhere?) resolution: fixed - remind status: closed - open ___ Python tracker rep...@bugs.python.org

[issue13411] Hashable memoryviews

2012-01-17 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Reopening as a reminder that it isn't fixed yet in http://hg.python.org/features/pep-3118 . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411

[issue13411] Hashable memoryviews

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 215690b782f8 by Antoine Pitrou in branch 'default': Issue #13411: memoryview objects are now hashable when the underlying object is hashable. http://hg.python.org/cpython/rev/215690b782f8 -- nosy:

[issue13411] Hashable memoryviews

2011-11-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed, thanks. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411

[issue13411] Hashable memoryviews

2011-11-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Does memory_hash() reject non-contiguous memory? _Py_HashBytes() might be reused by unicode_hash() for PyUnicode_1BYTE_KIND. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org

[issue13411] Hashable memoryviews

2011-11-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Except these two minor nits, the patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411 ___

[issue13411] Hashable memoryviews

2011-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Does memory_hash() reject non-contiguous memory? It should, since it checks the strides array. _Py_HashBytes() might be reused by unicode_hash() for PyUnicode_1BYTE_KIND. I don't really see how unicode hashing should be related to bytes

[issue13411] Hashable memoryviews

2011-11-17 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I'm not sure that the register storage class specifier is still relevant with modern compilers: I'm pretty sure gcc ignores it unless -O0, and I think I've read somewhere Microsoft's compiler ignores it too. -- nosy:

[issue13411] Hashable memoryviews

2011-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not sure that the register storage class specifier is still relevant with modern compilers: I'm pretty sure gcc ignores it unless -O0, and I think I've read somewhere Microsoft's compiler ignores it too. I don't think so either. I was

[issue13411] Hashable memoryviews

2011-11-15 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This patch allows hashing of memoryviews, as discussed on python-dev. -- components: Interpreter Core files: memhash.patch keywords: patch messages: 147714 nosy: ncoghlan, pitrou, skrah priority: normal severity: normal stage: patch

[issue13411] Hashable memoryviews

2011-11-15 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411 ___ ___ Python-bugs-list

[issue13411] Hashable memoryviews

2011-11-15 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411 ___ ___ Python-bugs-list