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/2008-June/080088.html below:

[Python-Dev] Mini-Pep: An Empty String ABC

[Python-Dev] Mini-Pep: An Empty String ABC [Python-Dev] Mini-Pep: An Empty String ABCJim Jewett jimjjewett at gmail.com
Fri Jun 6 05:39:39 CEST 2008
> So, apart from compatibility purposes, what is the
> point currently of *not* directly subclassing str?

To provide your own storage format, such as a views into existing data.

Whether or not this is actually practical is a different question;
plenty C code tends to assume it can use the internals of str
directly, which breaks on even some subclasses.

-jJ
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