Roger E. Masse
d9240d19b2
Already renamed. Indented.
1997-01-16 22:05:33 +00:00
Roger E. Masse
eca63b83ac
Output from test script for the bsddb C extension module.
1997-01-16 22:04:35 +00:00
Roger E. Masse
352e186749
Test script for the bsddb C extension module.
1997-01-16 22:04:10 +00:00
Guido van Rossum
7d18159614
Rewrote lookmapping() according to suggestions by Jyrki Alakuijala.
1997-01-16 21:06:45 +00:00
Roger E. Masse
3b039faf19
Minor output message change
1997-01-16 18:53:01 +00:00
Guido van Rossum
d0bc9cb869
Merge several mods:
...
- add opcodes BINARY_LSHIFT ... BINARY_OR
- remove RESERVE_FAST
- Skip M's suggestion for displaying which comparison operator is meant
1997-01-16 18:52:24 +00:00
Roger E. Masse
5f4ce18898
Renamed.
1997-01-16 17:10:22 +00:00
Roger E. Masse
469848a1ea
As per GvR recomendations, remove the restriction that binhex only run on
...
big-endian machines. This is done by directing the struct module's pack
and unpack methods to treat the data always in bin endian format.
This has been tested on irix (big endian) and solaris x86 (little endian)
but not yet on the mac.
1997-01-16 16:51:57 +00:00
Barry Warsaw
47d3500787
set_key(): Use Py_CHARMASK macro to get the character from the array
...
unsigned. This fixes the 8bit-char-in-key platform incompatibility.
I also removed the old backwards compatibility code, and the commented
lisp rotor code. I retained the lisp docstrings as comments preceding
each function.
1997-01-16 16:49:44 +00:00
Roger E. Masse
4852d37fdd
test output for the binascii C module test script.
1997-01-16 16:44:40 +00:00
Roger E. Masse
2a1c83441d
test script for the binascii C module.
1997-01-16 16:44:09 +00:00
Barry Warsaw
fa701a88ab
reformatted
...
memory leak in Tkapp_(Create|Delete)FileHandler plugged.
standard eyeballing
1997-01-16 00:15:11 +00:00
Barry Warsaw
e4d7821ea4
test is no longer needed
1997-01-16 00:13:11 +00:00
Roger E. Masse
52a6ea7b7d
Opps. Added tests for the last two methods that were missing from
...
the test program: 'grey2rgb' and 'rgb2grey'
1997-01-15 20:58:55 +00:00
Roger E. Masse
e17ec8d149
Modified to use 'rgbimg' instead of the SGI specific 'imgfile' for reading
...
the imagefiles and converting tham to a format suitable for imageop. Also
added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence
on the file 'greytest.rgb'.
Note: test_imgfile.py still uses 'greytest.rgb'
1997-01-15 20:07:07 +00:00
Guido van Rossum
1ce7c6fde8
Irix 6 specific files -- thanks Sjoerd!
1997-01-15 19:19:19 +00:00
Jack Jansen
6ad8d13fe2
"ported" Guido's embedding demo to the mac, and wrote some minimal
...
notes on embedding on the mac.
1997-01-15 16:53:37 +00:00
Jack Jansen
52ac037249
Added PyMac_Initialize() routine, to be used by embedding programs (in
...
stead of standard Py_Initialize(), which it calls).
1997-01-15 15:49:08 +00:00
Guido van Rossum
5cd752028c
Describe new ("unsigned") behavior of hex() and oct().
1997-01-14 18:44:23 +00:00
Barry Warsaw
9a0313cd62
Removed _xdr module
1997-01-14 18:20:26 +00:00
Barry Warsaw
bd8a91198d
test(): close the pipe, just to shut up Purify.
1997-01-14 17:49:15 +00:00
Barry Warsaw
93d29b6895
Eliminated gcc -Wall complaints:
...
- Quieted gcc -Wall by removing unused local variables.
- Added some choice parentheses around assignments in conditional
tests.
- Removed an unused (and seemingly unreachable) err label in
load_short_binstring().
- in Unpickler_load(), removed \. in string format.
- init_stuff() was declared to return an int, but had these
problems:
- it was returning NULL instead of 0 or 1 in some cases
- it was falling of the end of the routine without returning
anything
- the call of init_stuff() in initcPickle() was never checking
the return value anyway.
I changed all this by returning 1 in the case of errors, 0 when
no error occurred. Then in initcPickle(), if init_stuff()
returns non-zero, I call Py_FatalError().
Suppressing my urge to reformat according to Python coding standards!
:-)
1997-01-14 17:45:08 +00:00
Barry Warsaw
61a63e152d
Quieted gcc -Wall by removing unused local variables.
...
Suppressing my urge to reformat according to Python coding standards!
:-)
1997-01-14 17:38:28 +00:00
Barry Warsaw
54dbf02da2
Quieted gcc -Wall by removing unused local variables.
1997-01-14 17:37:32 +00:00
Barry Warsaw
845a4c6bb7
Formatting.
1997-01-14 17:36:36 +00:00
Barry Warsaw
41317d120d
Obsolete, now that xdrlib.py uses the new-and-improved struct module.
1997-01-14 17:34:06 +00:00
Barry Warsaw
7e98bda43b
Raise ConversionError instances the new fangled way, e.g.:
...
raise ConversionError, msg
where `msg' is passed as the argument to the constructor.
1997-01-14 17:11:02 +00:00
Guido van Rossum
6f72f97c03
Increased buffer sizes used by hex() and oct() -- on 64-bit or 128-bit
...
machines, the string may get longer than 20 characters!
1997-01-14 15:43:41 +00:00
Barry Warsaw
7a515b9156
Output for test of the timing module
1997-01-13 23:03:54 +00:00
Barry Warsaw
a6aca46fcb
Test of the timing module
1997-01-13 23:03:07 +00:00
Barry Warsaw
58d40a7400
Renamed.
1997-01-13 22:57:42 +00:00
Barry Warsaw
5b456645fb
Use the new regrtest harness
1997-01-13 22:54:27 +00:00
Barry Warsaw
4a6cf4167b
Formatting, and minor error detection
1997-01-13 22:44:55 +00:00
Barry Warsaw
6f332d8f35
updated the hex(-16) test since hex() of a signed literal has changed.
1997-01-13 22:36:29 +00:00
Barry Warsaw
906a5e9c68
updated the oct(-100) test since oct() of a signed literal has changed.
1997-01-13 22:36:03 +00:00
Barry Warsaw
64278cf5f7
initthread(): Removed extraneous Py_INCREF(ThreadError)
1997-01-13 22:09:43 +00:00
Barry Warsaw
3de721d073
Catch sunaudiodev.error on open() and re-raise TestFailed exception.
1997-01-13 20:53:46 +00:00
Barry Warsaw
59e066e73b
Oops, remove debugging statements
1997-01-13 20:50:40 +00:00
Barry Warsaw
b241c42192
A slightly better test of sunaudiodev module. Include the audio data
...
in the distribution.
1997-01-13 20:34:44 +00:00
Barry Warsaw
dbfb8d4626
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().
1997-01-13 19:35:39 +00:00
Guido van Rossum
d08735a54b
Skip empty paths read from the registry.
1997-01-12 20:14:01 +00:00
Guido van Rossum
9c6ba5e901
Fix leak involving BuildValue("...O...").
1997-01-12 20:02:04 +00:00
Guido van Rossum
ebee0256f3
Changed hex() and oct() again, to never emit a '-' sign.
1997-01-12 19:48:03 +00:00
Guido van Rossum
fde462e173
Add the Lib/MACHDEP subdir to TESTPATH.
1997-01-11 19:59:17 +00:00
Guido van Rossum
ee88ff9d05
Add entries for cStringIO and cPickle
1997-01-11 19:29:30 +00:00
Guido van Rossum
f22d7e2c69
On Windows, -u implies binary mode for stdin/stdout
...
(as well as unbuffered stdout/stderr).
1997-01-11 19:28:55 +00:00
Guido van Rossum
919cf1aff1
New, better hash for floating point and complex
1997-01-11 19:26:21 +00:00
Guido van Rossum
265b5b3f03
Use new struct which supports standardized sizes
1997-01-11 19:22:11 +00:00
Guido van Rossum
88b85d4f63
Add __len__ method
1997-01-11 19:21:33 +00:00
Guido van Rossum
afe3ebfa5c
Use newer struct, which handles unsigned long right
1997-01-11 19:21:09 +00:00