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/2007-April/072674.html below:

Extended buffer protocol (new version)

[Python-Dev] PEP 3118: Extended buffer protocol (new version) [Python-Dev] PEP 3118: Extended buffer protocol (new version)Terry Reedy tjreedy at udel.edu
Thu Apr 19 20:15:45 CEST 2007
"Travis Oliphant" <oliphant.travis at ieee.org> wrote in message 
news:4626F2BC.8070608 at ieee.org...
| I'm good with using an identifier to differentiate between an "allowed"
| flag and a "require" flag.   I'm not a big fan of
| VERY_LONG_IDENTIFIER_NAMES though.  Just enough to understand what it
| means but not so much that it takes forever to type and uses up
| horizontal real-estate.

To save fingers and real-estate, adopt the following convention:
by default, adjectives like writable and contiguous are 'required'
unless tagged with 'OK', as in WRITABLE_OK.

Explain that in the flag doc just before the flags themselves.
And yes, ND for N_DIMENSIONAL or MULTIDIMENSIONAL
is also a great win that can also be explained in the same intro.

Terry Jan Reedy



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