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.
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com