This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients gregory.p.smith, jcon, mark.dickinson, ncoghlan, pitrou, skrah, teoliphant, vstinner, xuanji
Date 2011-08-23.14:06:34
SpamBayes Score 9.532552e-06
Marked as misclassified No
Message-id <1314108254.3485.27.camel@localhost.localdomain>
In-reply-to <20110823134915.GA15186@sleipnir.bytereef.org>
Content
> Hmm, indeed. How about:
> 
> 1) memoryview(a, format='B')
> 
> Shadows a builtin function; annoying syntax highlighting in current Vim.
> 
> 2) memoryview(a, fmt='B')
> 
> I'm fully expecting a comment about 'strpbrk' again, but I like it. :)

I really prefer "format", it's the natural word to use there.
I don't think this the only place where we shadow a builtin function.
There are probably variables named "dict" in many places.

> Also, we've to see about speed implications. My current version of memoryview
> (not pushed yet to the public repo) also solves #10227, but is pretty sensitive
> even to small changes.

Well, solving #10227 would be nice, but I don't think it's critical
either.
History
Date User Action Args
2011-08-23 14:06:34pitrousetrecipients: + pitrou, gregory.p.smith, teoliphant, mark.dickinson, ncoghlan, vstinner, skrah, xuanji, jcon
2011-08-23 14:06:34pitroulinkissue5231 messages
2011-08-23 14:06:34pitroucreate