[Python-Dev] State of PEP-3118 (memoryview part) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 26 22:23:53 CET 2012
- Previous message: [Python-Dev] State of PEP-3118 (memoryview part)
- Next message: [Python-Dev] State of PEP-3118 (memoryview part)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stefan Krah wrote:
Options 2) and 3) would ideally entail one backwards incompatible bugfix: In 2.7 and 3.2 assignment to a memoryview with format 'B' rejects integers but accepts byte objects, but according to the struct syntax mandated by the PEP it should be the other way round.
Maybe a compromise could be made to accept both in the backport? That would avoid breaking old code while allowing code that does the right thing to work.
-- Greg
- Previous message: [Python-Dev] State of PEP-3118 (memoryview part)
- Next message: [Python-Dev] State of PEP-3118 (memoryview part)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]