[Python-Dev] PEP 460 reboot (original) (raw)

Glenn Linderman v+python at g.nevcal.com
Wed Jan 15 01:57:52 CET 2014


On 1/14/2014 10:11 AM, Jim J. Jewett wrote:

Virtual subclass ASCIIStructuredBytes

You would first have to define what you meant by a virtual subclass, and that somewhere would have to be linked every place you use the term, because it is a new term.

Why not just call the sections of the documentation where ASCII-supporting features of bytes are discussed "Special ASCII support". Calling it that will make it clear that if you are not using ASCII, you need to be careful of using the feature... or contrariwise, that if you are using the feature, you need to be using ASCII.

While some ASCII supersets may also be usable with the features, I don't think that should be emphasized in anyway, unless there is specific support for particular ASCII supersets. Using ASCII supersets should be "buyer beware".

The whole b"%s" interpolation feature would, appropriately, be described in such a section. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140114/a7e2af56/attachment.html>



More information about the Python-Dev mailing list