| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| itemsize, fmt, readonly, | ||
| ndim, shape, strides, | ||
| lst, sliced=False, cast=False): | ||
| # Verify buffer contents against expected values. Default values |
There was a problem hiding this comment.
The comment that gives the rationale for the curious initialization no longer applies.
Sorry, something went wrong.
There was a problem hiding this comment.
Done in #8481.
Sorry, something went wrong.
|
|
||
| # The consumer may have requested default values or a NULL format. | ||
| ro = 0 if match(req, PyBUF_WRITABLE) else ex.readonly | ||
| ro = not match(req, PyBUF_WRITABLE) and ex.readonly |
There was a problem hiding this comment.
Could you please use the previous version, just replacing 0 with False?
I can accept not p or q for implication, but this goes too far IMHO.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue34201