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/2006-April/064600.html below:

[Python-Dev] Crazy idea for str.join

[Python-Dev] Crazy idea for str.join [Python-Dev] Crazy idea for str.joinGuido van Rossum guido at python.org
Sun Apr 30 04:52:08 CEST 2006
On 4/29/06, Josiah Carlson <jcarlson at uci.edu> wrote:
> I understand the underlying implementation of str.join can be a bit
> convoluted (with the auto-promotion to unicode and all), but I don't
> suppose there is any chance to get str.join to support objects which
> implement the buffer interface as one of the items in the sequence?

In Py3k, buffers won't be compatible with strings -- buffers will be
about bytes, while strings will be about characters. Given that future
I don't think we should mess with the semantics in 2.x; one change in
the near(ish) future is enough of a transition.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
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