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/017870.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.12Skip Montanaro skip@pobox.com (Skip Montanaro)
Wed, 10 Oct 2001 21:36:06 -0500
    Tim> If someone really cares about this, xmlrcplib is already broken in
    Tim> this respect, at least on 64-bit Linux boxes (where Python ints
    Tim> have always been 64 bits).

So instead of simply int()ing longs to marshal them, we should do something
like

    val = int(val)
    if val > 2L**31-1 or val < -2L**31:
        raise OverflowError

?  (Same test needed for ints...)

Skip



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