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/2004-July/046354.html below:

[Python-checkins] python/dist/src/Python bltinmodule.c, 2.312, 2.313

[Python-Dev] Re: [Python-checkins] python/dist/src/Python bltinmodule.c, 2.312, 2.313Guido van Rossum guido at python.org
Mon Jul 19 19:19:24 CEST 2004
> On Mon, Jul 19, 2004 at 09:29:20AM -0700, nascheme at users.sourceforge.net wrote:
> 
> > ! 	res = (*nb->nb_hex)(v);
> > ! 	if (res && !PyString_Check(res)) {
> > ! 		PyErr_Format(PyExc_TypeError,
> > ! 			     "__hex__ returned non-string (type %.200s)",
> > ! 			     res->ob_type->tp_name);
> > ! 		Py_DECREF(res);
> > ! 		return NULL;
> > ! 	}
> > ! 	return res;
> 
> Should hex/oct be allowed to return Unicode?

What would the point be?  I don't know of any hexadecimal or octal
digits that aren't ASCII.

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