]> granicus.if.org Git - python/log
python
28 years agoRaise ConversionError instances the new fangled way, e.g.:
Barry Warsaw [Tue, 14 Jan 1997 17:11:02 +0000 (17:11 +0000)]
Raise ConversionError instances the new fangled way, e.g.:

    raise ConversionError, msg

where `msg' is passed as the argument to the constructor.

28 years agoIncreased buffer sizes used by hex() and oct() -- on 64-bit or 128-bit
Guido van Rossum [Tue, 14 Jan 1997 15:43:41 +0000 (15:43 +0000)]
Increased buffer sizes used by hex() and oct() -- on 64-bit or 128-bit
machines, the string may get longer than 20 characters!

28 years agoOutput for test of the timing module
Barry Warsaw [Mon, 13 Jan 1997 23:03:54 +0000 (23:03 +0000)]
Output for test of the timing module

28 years agoTest of the timing module
Barry Warsaw [Mon, 13 Jan 1997 23:03:07 +0000 (23:03 +0000)]
Test of the timing module

28 years agoRenamed.
Barry Warsaw [Mon, 13 Jan 1997 22:57:42 +0000 (22:57 +0000)]
Renamed.

28 years agoUse the new regrtest harness
Barry Warsaw [Mon, 13 Jan 1997 22:54:27 +0000 (22:54 +0000)]
Use the new regrtest harness

28 years agoFormatting, and minor error detection
Barry Warsaw [Mon, 13 Jan 1997 22:44:55 +0000 (22:44 +0000)]
Formatting, and minor error detection

28 years agoupdated the hex(-16) test since hex() of a signed literal has changed.
Barry Warsaw [Mon, 13 Jan 1997 22:36:29 +0000 (22:36 +0000)]
updated the hex(-16) test since hex() of a signed literal has changed.

28 years agoupdated the oct(-100) test since oct() of a signed literal has changed.
Barry Warsaw [Mon, 13 Jan 1997 22:36:03 +0000 (22:36 +0000)]
updated the oct(-100) test since oct() of a signed literal has changed.

28 years agoinitthread(): Removed extraneous Py_INCREF(ThreadError)
Barry Warsaw [Mon, 13 Jan 1997 22:09:43 +0000 (22:09 +0000)]
initthread(): Removed extraneous Py_INCREF(ThreadError)

28 years agoCatch sunaudiodev.error on open() and re-raise TestFailed exception.
Barry Warsaw [Mon, 13 Jan 1997 20:53:46 +0000 (20:53 +0000)]
Catch sunaudiodev.error on open() and re-raise TestFailed exception.

28 years agoOops, remove debugging statements
Barry Warsaw [Mon, 13 Jan 1997 20:50:40 +0000 (20:50 +0000)]
Oops, remove debugging statements

28 years agoA slightly better test of sunaudiodev module. Include the audio data
Barry Warsaw [Mon, 13 Jan 1997 20:34:44 +0000 (20:34 +0000)]
A slightly better test of sunaudiodev module.  Include the audio data
in the distribution.

28 years agoRewrite the `hostname mismatch' test as per GvR suggestion.
Barry Warsaw [Mon, 13 Jan 1997 19:35:39 +0000 (19:35 +0000)]
Rewrite the `hostname mismatch' test as per GvR suggestion.

Don't assume gethostbyaddr()'s primary hostname is the same as
gethostname(), or even that gethostname() can be found in the list of
hosts returned by gethostbyaddr().  We do test for at least one FQDN
in gethostbyaddr().

28 years agoSkip empty paths read from the registry.
Guido van Rossum [Sun, 12 Jan 1997 20:14:01 +0000 (20:14 +0000)]
Skip empty paths read from the registry.

28 years agoFix leak involving BuildValue("...O...").
Guido van Rossum [Sun, 12 Jan 1997 20:02:04 +0000 (20:02 +0000)]
Fix leak involving BuildValue("...O...").

28 years agoChanged hex() and oct() again, to never emit a '-' sign.
Guido van Rossum [Sun, 12 Jan 1997 19:48:03 +0000 (19:48 +0000)]
Changed hex() and oct() again, to never emit a '-' sign.

28 years agoAdd the Lib/MACHDEP subdir to TESTPATH.
Guido van Rossum [Sat, 11 Jan 1997 19:59:17 +0000 (19:59 +0000)]
Add the Lib/MACHDEP subdir to TESTPATH.

28 years agoAdd entries for cStringIO and cPickle
Guido van Rossum [Sat, 11 Jan 1997 19:29:30 +0000 (19:29 +0000)]
Add entries for cStringIO and cPickle

28 years agoOn Windows, -u implies binary mode for stdin/stdout
Guido van Rossum [Sat, 11 Jan 1997 19:28:55 +0000 (19:28 +0000)]
On Windows, -u implies binary mode for stdin/stdout
(as well as unbuffered stdout/stderr).

28 years agoNew, better hash for floating point and complex
Guido van Rossum [Sat, 11 Jan 1997 19:26:21 +0000 (19:26 +0000)]
New, better hash for floating point and complex

28 years agoUse new struct which supports standardized sizes
Guido van Rossum [Sat, 11 Jan 1997 19:22:11 +0000 (19:22 +0000)]
Use new struct which supports standardized sizes

28 years agoAdd __len__ method
Guido van Rossum [Sat, 11 Jan 1997 19:21:33 +0000 (19:21 +0000)]
Add __len__ method

28 years agoUse newer struct, which handles unsigned long right
Guido van Rossum [Sat, 11 Jan 1997 19:21:09 +0000 (19:21 +0000)]
Use newer struct, which handles unsigned long right

28 years agoAdded warning that gethostname() doesn't always return fqdn, and show
Guido van Rossum [Sat, 11 Jan 1997 17:04:56 +0000 (17:04 +0000)]
Added warning that gethostname() doesn't always return fqdn, and show
how to find it using gethostbyaddr().

28 years agoThe usual return-value and memory management checks. I'm not planning
Barry Warsaw [Fri, 10 Jan 1997 18:42:18 +0000 (18:42 +0000)]
The usual return-value and memory management checks.  I'm not planning
a test for this module though (it does compile at least on Solaris
2.5)

28 years ago(ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allows
Fred Drake [Fri, 10 Jan 1997 18:26:09 +0000 (18:26 +0000)]
(ftplib.py):  Added parse150() function and FTP.ntransfercmd().  This allows
access to the expected size of a transfer when available.

28 years agoSubtle change to hex/oct formatting so the largest negative number
Guido van Rossum [Fri, 10 Jan 1997 17:39:30 +0000 (17:39 +0000)]
Subtle change to hex/oct formatting so the largest negative number
does not receive a minus sign.

28 years agoReturn preferences of unknown type as opaque data
Jack Jansen [Fri, 10 Jan 1997 15:25:47 +0000 (15:25 +0000)]
Return preferences of unknown type as opaque data

28 years agoMinor fix to get non-gusi python to compile again
Jack Jansen [Fri, 10 Jan 1997 15:25:06 +0000 (15:25 +0000)]
Minor fix to get non-gusi python to compile again

28 years agoMac-specific version of getmtime (for non-GUSI Python, which needs
Jack Jansen [Fri, 10 Jan 1997 15:24:19 +0000 (15:24 +0000)]
Mac-specific version of getmtime (for non-GUSI Python, which needs
different include files)

28 years ago(Tkinter.py): Add support for Frame(w, class_="classname") as an alternative
Fred Drake [Fri, 10 Jan 1997 15:13:12 +0000 (15:13 +0000)]
(Tkinter.py):  Add support for Frame(w, class_="classname") as an alternative
to Frame(w, cnf={"class": "classname"}).  I think this is the only
widget other than Toplevel that needs to be concerned about setting
the widget's class (-class must be the first option on the Tcl
widget creation command).

28 years agoFormatting changes, plus memory management in initsyslog()
Barry Warsaw [Thu, 9 Jan 1997 23:51:21 +0000 (23:51 +0000)]
Formatting changes, plus memory management in initsyslog()

28 years agoinitsignal(): Py_DECREFs really should be Py_XDECREFs in case the
Barry Warsaw [Thu, 9 Jan 1997 23:50:28 +0000 (23:50 +0000)]
initsignal(): Py_DECREFs really should be Py_XDECREFs in case the
PyInt_FromLong's failed.

28 years agoPlugged a couple of potential return value problems, memory leaks, and
Barry Warsaw [Thu, 9 Jan 1997 22:29:57 +0000 (22:29 +0000)]
Plugged a couple of potential return value problems, memory leaks, and
descriptor leaks.

28 years agoPrimarily formatting changes, but I also plugged a couple of potential
Barry Warsaw [Thu, 9 Jan 1997 22:29:12 +0000 (22:29 +0000)]
Primarily formatting changes, but I also plugged a couple of potential
return value problems, memory leaks, and descriptor leaks.

28 years agoNailed a couple of memory leaks, caught by Purify.
Barry Warsaw [Thu, 9 Jan 1997 22:22:05 +0000 (22:22 +0000)]
Nailed a couple of memory leaks, caught by Purify.

28 years agoHigh-level interface to Internet Config
Jack Jansen [Thu, 9 Jan 1997 16:26:23 +0000 (16:26 +0000)]
High-level interface to Internet Config
(and readability fix to icgluetest.py)

28 years agoTest of the sunaudiodev module -- it simply plays a sound if it can
Barry Warsaw [Tue, 7 Jan 1997 21:05:29 +0000 (21:05 +0000)]
Test of the sunaudiodev module -- it simply plays a sound if it can
find one and doesn't output any data that can be verified.  If it
can't find a sound file by looking in the standard Solaris locations
(which we can extend later), it raises an ImportError.

28 years agoAdded an os._exit(0) in the parent so we don't have two test processes
Barry Warsaw [Tue, 7 Jan 1997 21:02:06 +0000 (21:02 +0000)]
Added an os._exit(0) in the parent so we don't have two test processes
after test_socket.py is run!

28 years agoAdded icglue modules and (optionally) NumPy and PIL extensions
Jack Jansen [Tue, 7 Jan 1997 16:24:18 +0000 (16:24 +0000)]
Added icglue modules and (optionally) NumPy and PIL extensions

28 years ago- Added optional profiling support
Jack Jansen [Tue, 7 Jan 1997 16:22:39 +0000 (16:22 +0000)]
- Added optional profiling support
- Added Internet Config interface
- Use different ports of zlib and libpng

28 years agoAdded profiler initialization/finalization code (if __profile__ is defined)
Jack Jansen [Tue, 7 Jan 1997 16:19:42 +0000 (16:19 +0000)]
Added profiler initialization/finalization code (if __profile__ is defined)

28 years agoLow-level interface to Internet Config (to be augmented by nice Python
Jack Jansen [Tue, 7 Jan 1997 16:18:32 +0000 (16:18 +0000)]
Low-level interface to Internet Config (to be augmented by nice Python
wrapper shortly)

28 years agoMinimal test of icglue module
Jack Jansen [Tue, 7 Jan 1997 16:17:44 +0000 (16:17 +0000)]
Minimal test of icglue module

28 years agoDocument that sys.builtin_module_names is now a tuple.
Guido van Rossum [Mon, 6 Jan 1997 23:01:02 +0000 (23:01 +0000)]
Document that sys.builtin_module_names is now a tuple.

28 years agocPickle, version 0.1.
Guido van Rossum [Mon, 6 Jan 1997 22:59:08 +0000 (22:59 +0000)]
cPickle, version 0.1.

28 years agoJim's latest version.
Guido van Rossum [Mon, 6 Jan 1997 22:57:52 +0000 (22:57 +0000)]
Jim's latest version.

28 years agoCheck for duplicate keyword arguments at compile time.
Guido van Rossum [Mon, 6 Jan 1997 22:56:52 +0000 (22:56 +0000)]
Check for duplicate keyword arguments at compile time.

28 years agoMake builtin_module_names a tuple instead of a list.
Guido van Rossum [Mon, 6 Jan 1997 22:55:54 +0000 (22:55 +0000)]
Make builtin_module_names a tuple instead of a list.

28 years agoFix overflow test for multiply to catch some cases it missed.
Guido van Rossum [Mon, 6 Jan 1997 22:53:20 +0000 (22:53 +0000)]
Fix overflow test for multiply to catch some cases it missed.
Added warning about dependency of float/complex hash on int hash.

28 years agoJim's latest version
Guido van Rossum [Mon, 6 Jan 1997 22:50:12 +0000 (22:50 +0000)]
Jim's latest version

28 years agoNew strop_joinfields implementation, highly optimized for Lists. All
Barry Warsaw [Mon, 6 Jan 1997 22:48:32 +0000 (22:48 +0000)]
New strop_joinfields implementation, highly optimized for Lists.  All
other sequences use the Sequence protocol from the abstract API.  The
algorithm has changed so that only one pass through the sequences are
made.

28 years agoNew output file for strop test
Barry Warsaw [Mon, 6 Jan 1997 22:46:45 +0000 (22:46 +0000)]
New output file for strop test

28 years agoAdded a couple of strop.join() tests for large lists and long items
Barry Warsaw [Mon, 6 Jan 1997 22:46:07 +0000 (22:46 +0000)]
Added a couple of strop.join() tests for large lists and long items
within the lists (new output file to be checked in shortly).

28 years agoadded PyTuple_GET_SIZE macro
Barry Warsaw [Mon, 6 Jan 1997 22:44:27 +0000 (22:44 +0000)]
added PyTuple_GET_SIZE macro

28 years agoadded PyString_GET_SIZE macro
Barry Warsaw [Mon, 6 Jan 1997 22:42:50 +0000 (22:42 +0000)]
added PyString_GET_SIZE macro

for both PyString_GET_SIZE and PyString_AS_STRING, cast first argument
to a PyStringObject*

28 years agoadded PyList_GET_SIZE macro
Barry Warsaw [Mon, 6 Jan 1997 22:42:00 +0000 (22:42 +0000)]
added PyList_GET_SIZE macro

for both PyList_GET_SIZE and PyList_GET_ITEM, cast first argument to a
PyListObject*

28 years agoRewrote translate() as follows:
Guido van Rossum [Mon, 6 Jan 1997 16:50:09 +0000 (16:50 +0000)]
Rewrote translate() as follows:
- 'delete' is a C++ keyword; use 'del_table' instead
- apply Py_CHARMASK() to del_table[i] before using it as an index
  *** this fixes a bug that was just reported on the list ***
- if the translation didn't make any changes, INCREF and return
  the original string
- when del_table is empty or omitted, don't copy the translation
  table to a table of ints (should be a bit faster)

Rewrote maketrans() to avoid copying the table (2-3% faster).

28 years agostrop_upper(), strop_lower(): shared code version caused to much of a
Barry Warsaw [Fri, 3 Jan 1997 23:46:51 +0000 (23:46 +0000)]
strop_upper(), strop_lower(): shared code version caused to much of a
performance hit.  Urg.  Reverted.

strop_joinfields(): re-instate optimizations for lists and tuples, but
support arbitrary other kinds of sequences as well.

28 years agoFix the following bug:
Guido van Rossum [Fri, 3 Jan 1997 23:39:26 +0000 (23:39 +0000)]
Fix the following bug:

- When dragging the mouse in either listbox, the *first* entry
clicked on is selected rather than the last (but the last one is
highlighted).

This is done by changing the bindtags so that our binding is executed
after the default binding (which sets the 'active' index to the last
item selected), and using 'active' instead of 'anchor' as the index to
ask for.

28 years agoRenamed but not well tested.
Roger E. Masse [Fri, 3 Jan 1997 23:00:51 +0000 (23:00 +0000)]
Renamed but not well tested.

28 years agoThis is a very inobstrusive test for the existance of the SGI cd module
Roger E. Masse [Fri, 3 Jan 1997 23:00:13 +0000 (23:00 +0000)]
This is a very inobstrusive test for the existance of the SGI cd module
and all it's attributes.  More comprehensive examples can be found in
Demo/cd and require that you have a CD and a CD ROM drive

28 years agoOutput file for test_cd.py
Roger E. Masse [Fri, 3 Jan 1997 22:58:43 +0000 (22:58 +0000)]
Output file for test_cd.py

28 years agoSeveral changes:
Barry Warsaw [Fri, 3 Jan 1997 22:45:34 +0000 (22:45 +0000)]
Several changes:

- split_whitespace(): slightly better memory ref handling when errors
  occur.

- strop_joinfields(): First argument can now be any sequence-protocol
  conformant object.

- strop_find(), strop_rfind(): Use PyArg_ParseTuple for optional
  arguments

- strop_lower(), strop_upper(): Factor logic into a common function
  do_casechange().

- strop_atoi(), strop_atol(): Use PyArg_ParseTuple.

- strop_maketrans(): arguments used to be optional, although the
  documentation doesn't reflect this.  Make the source conform to the
  docs.  Arguments are required, but two empty strings will return the
  identity translation table.

- General pass fixing up formatting, and checking for return values.

28 years agoSome small changes.
Guido van Rossum [Fri, 3 Jan 1997 22:42:08 +0000 (22:42 +0000)]
Some small changes.

Raise ImportError instead of SystemExit when $DISPLAY is not set, so
regrtest.py will do the right thing.

Add a call to gl.clear() to clear the window before drawing in it.

Add some verbose prints for completeness.

Use gl.v2i() for the coordinates of one of the lines, for a little bit
of variety.

Reduce the time the window is displayed from 5 to 2 seconds.

28 years agoRenamed, but not throughly tested.
Roger E. Masse [Fri, 3 Jan 1997 22:40:34 +0000 (22:40 +0000)]
Renamed, but not throughly tested.

28 years agoOutput file for test_al.py
Roger E. Masse [Fri, 3 Jan 1997 22:39:31 +0000 (22:39 +0000)]
Output file for test_al.py

28 years agoThis is a very inobstrusive test for the existance of the al module and all
Roger E. Masse [Fri, 3 Jan 1997 22:39:03 +0000 (22:39 +0000)]
This is a very inobstrusive test for the existance of the al module and all
it's attributes.  More comprehensive examples can be found in Demo/al

28 years agoRenamed, but untested.
Roger E. Masse [Fri, 3 Jan 1997 22:17:11 +0000 (22:17 +0000)]
Renamed, but untested.

28 years agoAdded PyLong*UnsignedLong and PyCobject interfaces.
Guido van Rossum [Fri, 3 Jan 1997 21:05:44 +0000 (21:05 +0000)]
Added PyLong*UnsignedLong and PyCobject interfaces.

28 years agovery minor typo
Barry Warsaw [Fri, 3 Jan 1997 20:19:05 +0000 (20:19 +0000)]
very minor typo

28 years agoOutput of socket module test.
Barry Warsaw [Fri, 3 Jan 1997 20:04:09 +0000 (20:04 +0000)]
Output of socket module test.

28 years agoTest of the socket module. The following functions and methods are
Barry Warsaw [Fri, 3 Jan 1997 20:03:32 +0000 (20:03 +0000)]
Test of the socket module.  The following functions and methods are
not currently tested (or even touched):

# socket.fromfd()
#  sktobj.getsockopt()
# sktobj.recvfrom()
# sktobj.sendto()
# sktobj.setblocking()
#  sktobj.setsockopt()
# sktobj.shutdown()

28 years agoRenamed, reindented. (was already partially complete)
Roger E. Masse [Fri, 3 Jan 1997 19:26:27 +0000 (19:26 +0000)]
Renamed, reindented. (was already partially complete)

28 years ago'I' and 'L' now always return a Python long.
Guido van Rossum [Fri, 3 Jan 1997 19:21:53 +0000 (19:21 +0000)]
'I' and 'L' now always return a Python long.

28 years agoAdded unsigned data formats (B, H, I, L).
Guido van Rossum [Fri, 3 Jan 1997 19:20:52 +0000 (19:20 +0000)]
Added unsigned data formats (B, H, I, L).

28 years agoUpdated to include the verbose flag from test_support
Roger E. Masse [Fri, 3 Jan 1997 19:20:17 +0000 (19:20 +0000)]
Updated to include the verbose flag from test_support

28 years agoAdd new formats B, H, I, L for unsigned data types (analogous to the
Guido van Rossum [Fri, 3 Jan 1997 19:09:47 +0000 (19:09 +0000)]
Add new formats B, H, I, L for unsigned data types (analogous to the
recent changes in the struct module).

28 years agoChanged the ``add/sub_offset'' hacks for dealing with C's unsigned
Guido van Rossum [Fri, 3 Jan 1997 19:08:16 +0000 (19:08 +0000)]
Changed the ``add/sub_offset'' hacks for dealing with C's unsigned
int/long types, and use the new PyLong_FromUnsignedLong() and
PyLong_AsUnsignedLong() interfaces instead.

Semantic change: the 'I' format will now always return a long int.

28 years agoChange the ``calcsize*3'' test to be portable to 64-bit machines.
Guido van Rossum [Fri, 3 Jan 1997 19:00:37 +0000 (19:00 +0000)]
Change the ``calcsize*3'' test to be portable to 64-bit machines.

28 years agoReindented.
Roger E. Masse [Fri, 3 Jan 1997 18:51:01 +0000 (18:51 +0000)]
Reindented.

28 years agoCheck of return values and proper error handling.
Barry Warsaw [Fri, 3 Jan 1997 17:18:10 +0000 (17:18 +0000)]
Check of return values and proper error handling.

28 years agoAdded PyLong_FromUnsignedLong() and PyLong_AsUnsignedLong().
Guido van Rossum [Fri, 3 Jan 1997 17:14:46 +0000 (17:14 +0000)]
Added PyLong_FromUnsignedLong() and PyLong_AsUnsignedLong().

28 years agoOutput for signal module test
Barry Warsaw [Fri, 3 Jan 1997 16:01:20 +0000 (16:01 +0000)]
Output for signal module test

28 years agoAdd $(srcdir) in front of the test program's name (else it won't work
Guido van Rossum [Fri, 3 Jan 1997 15:54:36 +0000 (15:54 +0000)]
Add $(srcdir) in front of the test program's name (else it won't work
when $(srcdir) isn't '.', i.e. when using VPATH).

28 years agoFill pad bytes with zeros (fixing a bug dating from the very first version!).
Guido van Rossum [Fri, 3 Jan 1997 15:40:33 +0000 (15:40 +0000)]
Fill pad bytes with zeros (fixing a bug dating from the very first version!).

28 years agoDescribe standard float/double support.
Guido van Rossum [Fri, 3 Jan 1997 04:20:09 +0000 (04:20 +0000)]
Describe standard float/double support.
Rewrite example to be an interactive session

28 years agoScratch the ears of gcc -Wall.
Barry Warsaw [Fri, 3 Jan 1997 00:26:28 +0000 (00:26 +0000)]
Scratch the ears of gcc -Wall.

28 years agoAdded declaration for PyErr_SetInterrupt.
Barry Warsaw [Fri, 3 Jan 1997 00:15:03 +0000 (00:15 +0000)]
Added declaration for PyErr_SetInterrupt.

28 years agoSeveral changes:
Barry Warsaw [Fri, 3 Jan 1997 00:14:25 +0000 (00:14 +0000)]
Several changes:

- Conform to standard Python C coding styles.

- All static symbols were renamed and shorted.

- Eyeballed all return values and memory references.

- Fixed a bug in signal.pause() so that exceptions raised in signal
  handlers are now properly caught after pause() returns.

- Removed SIGCPU and SIGFSZ.  We surmise that these were typos for the
  previously missing SIGXCPU and SIGXFSZ.

28 years agoAdded f/d tests for specific byte orders.
Guido van Rossum [Fri, 3 Jan 1997 00:09:46 +0000 (00:09 +0000)]
Added f/d tests for specific byte orders.

28 years agoOk, ok, I've fixed gradual underflow on packing too.
Guido van Rossum [Thu, 2 Jan 1997 23:23:20 +0000 (23:23 +0000)]
Ok, ok, I've fixed gradual underflow on packing too.

Still don't know what to do with Inf/NaN, so I raise an exception on
pack(), and something random decided by ldexp() will happen on
unpack().

28 years agoUse the new struct module's ability to pack and unpack standardized
Guido van Rossum [Thu, 2 Jan 1997 22:52:15 +0000 (22:52 +0000)]
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.

28 years agoOops -- unpack float/double didn't do the right thing if e==0.
Guido van Rossum [Thu, 2 Jan 1997 22:31:07 +0000 (22:31 +0000)]
Oops -- unpack float/double didn't do the right thing if e==0.

28 years agoSupport float and double in non-native formats.
Guido van Rossum [Thu, 2 Jan 1997 22:21:36 +0000 (22:21 +0000)]
Support float and double in non-native formats.
These use the ANSI/IEEE standard, which is also used by XDR;
so the _xdr module may become obsolete.

28 years agorotorobj_setkey(): A single string argument is now required (i.e. no
Barry Warsaw [Thu, 2 Jan 1997 20:36:36 +0000 (20:36 +0000)]
rotorobj_setkey(): A single string argument is now required (i.e. no
long optional with nearly-no-op missing).

28 years ago<rotorobj>.setkey() now requires exactly one argument
Barry Warsaw [Thu, 2 Jan 1997 20:02:44 +0000 (20:02 +0000)]
<rotorobj>.setkey() now requires exactly one argument

28 years agoSwitched over to use the new testregr.py test harness.
Barry Warsaw [Thu, 2 Jan 1997 20:01:44 +0000 (20:01 +0000)]
Switched over to use the new testregr.py test harness.

28 years agosetkey method's argument is no longer optional (it used to be a no-op
Barry Warsaw [Thu, 2 Jan 1997 19:48:00 +0000 (19:48 +0000)]
setkey method's argument is no longer optional (it used to be a no-op
when missing).