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/2001-October/017853.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib xmlrpclib.py,1.11,1.12

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib xmlrpclib.py,1.11,1.12Jeremy Hylton jeremy@zope.com
Wed, 10 Oct 2001 14:16:53 -0400 (EDT)
>>>>> "SM" == Skip Montanaro <montanaro@users.sourceforge.net> writes:

  SM> Update of /cvsroot/python/python/dist/src/Lib In directory
  SM> usw-pr-cvs1:/tmp/cvs-serv25433

  SM> Modified Files:
  SM> 	xmlrpclib.py
  SM> Log Message: allow long ints to be marshalled as ints - no check
  SM> is made to the incoming value, so the programmer will have to
  SM> catch OverflowError.

How does the other end unmarshal it?  You shouldn't get overflow
errors any more.

Oh, well, actually you do still get overflow and value errors from the
builtin int().  I wonder if there should be a generic number-from-string 
conversion function that returns either a long or an int as needed.
If an integer literal in your program text can produce a long, why
can't builtin int()?

Jeremy





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