A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-October/122407.html below:

Python 3.3 can't sort memoryviews as they're unorderable

[Python-Dev] Fwd: Python 3.3 can't sort memoryviews as they're unorderable [Python-Dev] Fwd: Python 3.3 can't sort memoryviews as they're unorderableMark Lawrence breamoreboy at yahoo.co.uk
Thu Oct 25 15:33:13 CEST 2012
On 24/10/2012 13:19, Nick Coghlan wrote:
> (Oops, originally replied only to Mark)
>
> Is a 3x3 array greater or less than a 2x4 array or another 3x3 array?
>
> The contents of a 1D memory view may be sortable, but the "logical
> structure" part isn't, and neither is any multi-dimensional view.
>
> I'm surprised by the lack of inheritance support though - is that a
> regression from 3.2? If yes, that's definitely a bug to be fixed in a 3.3
> maintenance release, otherwise it's probably a feature request for 3.4.
>
> Cheers,
> Nick.
>
> --
> Sent from my phone, thus the relative brevity :)
>
>
>

The lack of inheritance support is the same in Python 2.7.3 so I doubt 
that there's any change there.

Quoting Nick Coghlan from http://bugs.python.org/issue15622#msg167957 
"PEP 3118 contains way too many errors (as has been found out the hard 
way) to be considered a normative document.".  I can't say that this 
gives me a great deal of confidence.  It strikes me that a lot of code 
has been written, tested and released without having anything like a 
requirement.  For example when is any given memoryview equal to or not 
equal to any other memoryview?

-- 
Cheers.

Mark Lawrence.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4