[Python-Dev] Re: [Python-checkins] python/dist/src/Python bltinmodule.c, 2.312, 2.313 (original) (raw)
M.-A. Lemburg mal at egenix.com
Mon Jul 19 18:41:32 CEST 2004
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Python bltinmodule.c, 2.312, 2.313
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Python bltinmodule.c, 2.312, 2.313
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neal Norwitz wrote:
On Mon, Jul 19, 2004 at 09:29:20AM -0700, nascheme at users.sourceforge.net wrote:
! res = (*nb->nbhex)(v); ! if (res && !PyStringCheck(res)) { ! PyErrFormat(PyExcTypeError, ! "hex returned non-string (type %.200s)", ! res->obtype->tpname); ! PyDECREF(res); ! return NULL; ! } ! return res; Should hex/oct be allowed to return Unicode?
-0
hex/oct values fit nicely into ASCII... unless you want to use more fancy code points for the numbers in there :-)
-- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Jul 19 2004)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Python bltinmodule.c, 2.312, 2.313
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Python bltinmodule.c, 2.312, 2.313
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]