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
Guido van Rossum
fe27a50847
Added warning that gethostname() doesn't always return fqdn, and show
...
how to find it using gethostbyaddr().
1997-01-11 17:04:56 +00:00
Barry Warsaw
5709dcfaec
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)
1997-01-10 18:42:18 +00:00
Fred Drake
4de02d9722
(ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allows
...
access to the expected size of a transfer when available.
1997-01-10 18:26:09 +00:00
Guido van Rossum
80dd9b6672
Subtle change to hex/oct formatting so the largest negative number
...
does not receive a minus sign.
1997-01-10 17:39:30 +00:00
Jack Jansen
8dc797d1f8
Return preferences of unknown type as opaque data
1997-01-10 15:25:47 +00:00
Jack Jansen
466be801fd
Minor fix to get non-gusi python to compile again
1997-01-10 15:25:06 +00:00
Jack Jansen
8dc8a6e4be
Mac-specific version of getmtime (for non-GUSI Python, which needs
...
different include files)
1997-01-10 15:24:19 +00:00
Fred Drake
41dc09d10e
(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).
1997-01-10 15:13:12 +00:00
Barry Warsaw
43a476ac00
Formatting changes, plus memory management in initsyslog()
1997-01-09 23:51:21 +00:00
Barry Warsaw
73a75eb79b
initsignal(): Py_DECREFs really should be Py_XDECREFs in case the
...
PyInt_FromLong's failed.
1997-01-09 23:50:28 +00:00
Barry Warsaw
42185a2d7a
Plugged a couple of potential return value problems, memory leaks, and
...
descriptor leaks.
1997-01-09 22:29:57 +00:00
Barry Warsaw
2dc8c2c26b
Primarily formatting changes, but I also plugged a couple of potential
...
return value problems, memory leaks, and descriptor leaks.
1997-01-09 22:29:12 +00:00
Barry Warsaw
4bc9d39560
Nailed a couple of memory leaks, caught by Purify.
1997-01-09 22:22:05 +00:00
Jack Jansen
4b76ba3280
High-level interface to Internet Config
...
(and readability fix to icgluetest.py)
1997-01-09 16:26:23 +00:00
Barry Warsaw
5bc697dd31
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.
1997-01-07 21:05:29 +00:00
Barry Warsaw
dce1005908
Added an os._exit(0) in the parent so we don't have two test processes
...
after test_socket.py is run!
1997-01-07 21:02:06 +00:00
Jack Jansen
52e87f3773
Added icglue modules and (optionally) NumPy and PIL extensions
1997-01-07 16:24:18 +00:00
Jack Jansen
b28efe669c
- Added optional profiling support
...
- Added Internet Config interface
- Use different ports of zlib and libpng
1997-01-07 16:22:39 +00:00
Jack Jansen
8c6932136c
Added profiler initialization/finalization code (if __profile__ is defined)
1997-01-07 16:19:42 +00:00
Jack Jansen
8ce72f50b5
Low-level interface to Internet Config (to be augmented by nice Python
...
wrapper shortly)
1997-01-07 16:18:32 +00:00
Jack Jansen
3beb3363d4
Minimal test of icglue module
1997-01-07 16:17:44 +00:00
Guido van Rossum
0d2971badb
Document that sys.builtin_module_names is now a tuple.
1997-01-06 23:01:02 +00:00
Guido van Rossum
2f4caa4c48
cPickle, version 0.1.
1997-01-06 22:59:08 +00:00
Guido van Rossum
55702f8d6a
Jim's latest version.
1997-01-06 22:57:52 +00:00
Guido van Rossum
635abd24f0
Check for duplicate keyword arguments at compile time.
1997-01-06 22:56:52 +00:00
Guido van Rossum
8f49e12a0e
Make builtin_module_names a tuple instead of a list.
1997-01-06 22:55:54 +00:00
Guido van Rossum
541cdd84ac
Fix overflow test for multiply to catch some cases it missed.
...
Added warning about dependency of float/complex hash on int hash.
1997-01-06 22:53:20 +00:00
Guido van Rossum
d81a1baa5f
Jim's latest version
1997-01-06 22:50:12 +00:00
Barry Warsaw
d4ff1b908b
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.
1997-01-06 22:48:32 +00:00
Barry Warsaw
95f92dfad4
New output file for strop test
1997-01-06 22:46:45 +00:00
Barry Warsaw
da0e520bc0
Added a couple of strop.join() tests for large lists and long items
...
within the lists (new output file to be checked in shortly).
1997-01-06 22:46:07 +00:00
Barry Warsaw
9c5494a1b9
added PyTuple_GET_SIZE macro
1997-01-06 22:44:27 +00:00
Barry Warsaw
accfb849f9
added PyString_GET_SIZE macro
...
for both PyString_GET_SIZE and PyString_AS_STRING, cast first argument
to a PyStringObject*
1997-01-06 22:42:50 +00:00
Barry Warsaw
1f2bd07aed
added PyList_GET_SIZE macro
...
for both PyList_GET_SIZE and PyList_GET_ITEM, cast first argument to a
PyListObject*
1997-01-06 22:42:00 +00:00
Guido van Rossum
e0548b8da7
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).
1997-01-06 16:50:09 +00:00
Barry Warsaw
04d2d15b6b
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.
1997-01-03 23:46:51 +00:00
Guido van Rossum
7fc0bf8247
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.
1997-01-03 23:39:26 +00:00
Roger E. Masse
bf0c3ca9bd
Renamed but not well tested.
1997-01-03 23:00:51 +00:00
Roger E. Masse
32e949d1f2
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
1997-01-03 23:00:13 +00:00
Roger E. Masse
5150542b8f
Output file for test_cd.py
1997-01-03 22:58:43 +00:00