History log of /external/python/cpython2/Lib/xdrlib.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f85a856fb0ca43408c2deb01d9deb2efd7cb28b7 10-Oct-2014 Petri Lehtinen <petri@digip.org> Issue #11694: Raise ConversionError in xdrlib as documented
/external/python/cpython2/Lib/xdrlib.py
d687be09b4c691850e160f7daccb8ed9d63551b0 27-Mar-2011 Mark Dickinson <mdickinson@enthought.com> Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer.
/external/python/cpython2/Lib/xdrlib.py
f008203cb4c98329bdcfd871afc66dfa3ed4ec94 01-Dec-2006 Walter Dörwald <walter@livinglogic.de> Move xdrlib tests from the module into a separate test script,
port the tests to unittest and add a few new tests.
/external/python/cpython2/Lib/xdrlib.py
b921a84405a9c9db7c01ca19533bd98556c7375c 28-Mar-2006 Georg Brandl <georg@python.org> Make xdrlib use floor division instead of classic division.
Makes test_xdrlib pass.
/external/python/cpython2/Lib/xdrlib.py
aa93517de8b5e2b41644a22ae81ddec4f5d72991 29-Sep-2005 Georg Brandl <georg@python.org> patch [ 1300515 ] xdrlib.py: pack_fstring() did not use null bytes for padding
/external/python/cpython2/Lib/xdrlib.py
c2a0ac20b7ba3c740f21607c4c8bc706f5d7b7c5 24-Feb-2005 Martin v. Löwis <martin@v.loewis.de> Patch #1049151: adding bool support to xdrlib.py.
Also add xdrlib._test into the test suite.
/external/python/cpython2/Lib/xdrlib.py
70a6b49821a3226f55e9716f32d802d06640cb89 12-Feb-2004 Walter Dörwald <walter@livinglogic.de> Replace backticks with repr() or "%r"

From SF patch #852334.
/external/python/cpython2/Lib/xdrlib.py
68468eba635570400f607e140425a222018e56f9 27-Feb-2003 Guido van Rossum <guido@python.org> Get rid of many apply() calls.
/external/python/cpython2/Lib/xdrlib.py
f74e46cf473c3c2197c073cccc3ae4446c9b03a1 31-Mar-2002 Neal Norwitz <nnorwitz@gmail.com> Derive exception classes from Exception
/external/python/cpython2/Lib/xdrlib.py
c47016ee74fdd765bdad0f890c810518501de22a 16-Aug-2001 Martin v. Löwis <martin@v.loewis.de> Use (c)StringIO for collecting bytes. Fixes bug #451622.
/external/python/cpython2/Lib/xdrlib.py
40fc16059f04ee8fda0b5956cc4883eb21ca8f8c 01-Mar-2001 Skip Montanaro <skip@pobox.com> final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
giving it a slight facelift
/external/python/cpython2/Lib/xdrlib.py
e119006e7dc0df0a5ff6b60764b2ce3cd9477688 15-Jan-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization. Top level of Lib now fixed-point for reindent.py!
/external/python/cpython2/Lib/xdrlib.py
8152d32375c40bba9ccbe43b780ebe96d9617781 13-Dec-2000 Fred Drake <fdrake@acm.org> Update the code to better reflect recommended style:

Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
/external/python/cpython2/Lib/xdrlib.py
45e2fbc2e70ef28b1f0327207f33dab3a4e825c5 26-Mar-1998 Guido van Rossum <guido@python.org> Mass check-in after untabifying all files that need it.
/external/python/cpython2/Lib/xdrlib.py
1d0fe31d7e4d3d7a756678e991c3284202877cda 29-May-1997 Barry Warsaw <barry@python.org> Packer.pack_uhyper(): Fixes needed to properly pack unsigned 64 bit
longs where the top bit is set. First, change the masks so that they
are `L' longs, otherwise the sign bits will get propagated to the
result. Next, do not coerce to int before sending to pack_uint()
otherwise Python will generate an OverflowError. Here is a test
program that fails without the patch, but now succeeds:

import xdrlib

addr = (132, 151, 1, 71)
uint = 0L
for a in addr:
uint = (uint << 8) | a

ulong64 = uint << 32

p = xdrlib.Packer()
p.pack_uhyper(ulong64)
buf = p.get_buffer()
u = xdrlib.Unpacker(buf)
ulong64prime = u.unpack_uhyper()

if ulong64 == ulong64prime:
print 'okay'
else:
print 'bogus'

print ulong64, ulong64prime
/external/python/cpython2/Lib/xdrlib.py
7e98bda43b60fc040b5662b53d73ebb18b589a85 14-Jan-1997 Barry Warsaw <barry@python.org> Raise ConversionError instances the new fangled way, e.g.:

raise ConversionError, msg

where `msg' is passed as the argument to the constructor.
/external/python/cpython2/Lib/xdrlib.py
6083f0e9ce84de9f8b3aa0531a833b9de285438d 02-Jan-1997 Guido van Rossum <guido@python.org> Use the new struct module's ability to pack and unpack standardized
data formats. The _xdr module is no longer used, since struct
supports the required IEEE floats and doubles.

(I have one doubt about not using _xdr. The struct module doesn't
handle Inf, NaN and gradual underflow correctly. If the _xdr module
does these things better, it may still have a (small) competitive
advantage. On the other hand, since not all platforms support IEEE
floating point, it's not clear that it would be a good idea to ever
transfer Inf or NaNs. Gradual underflow can be fixed in the struct
module.
/external/python/cpython2/Lib/xdrlib.py
75eccc5bcf7773921993a64a9d9e7122183e85ab 04-Dec-1996 Barry Warsaw <barry@python.org> Unpacker.get_buffer(): new method to access the internal buffer of data
/external/python/cpython2/Lib/xdrlib.py
176f10e3d5b686b4cc888cf722fb94c7ae189fab 22-Oct-1996 Guido van Rossum <guido@python.org> Get rid of evil workaround for Python 1.4b2 bug.
/external/python/cpython2/Lib/xdrlib.py
a9b60d9411423d52825148068ee20dc6c558d01d 27-Aug-1996 Guido van Rossum <guido@python.org> No double underscores for globals please
/external/python/cpython2/Lib/xdrlib.py
72fba794d61abfe5e1fc9b9412b2f7b48dd7acfd 20-Aug-1996 Guido van Rossum <guido@python.org> Rename __test() to _test().
/external/python/cpython2/Lib/xdrlib.py
731630b5bf785ccff76ac623278b9b174ca13fe9 20-Aug-1996 Guido van Rossum <guido@python.org> XDR interface, evolved from Demo/rpc/xdr.py by Barry.
/external/python/cpython2/Lib/xdrlib.py