- 03 Jan, 1997 29 commits
-
-
Roger E. Masse authored
-
Barry Warsaw authored
- 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.
-
Guido van Rossum authored
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.
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
it's attributes. More comprehensive examples can be found in Demo/al
-
Roger E. Masse authored
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
not currently tested (or even touched): # socket.fromfd() # sktobj.getsockopt() # sktobj.recvfrom() # sktobj.sendto() # sktobj.setblocking() # sktobj.setsockopt() # sktobj.shutdown()
-
Roger E. Masse authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Roger E. Masse authored
-
Guido van Rossum authored
recent changes in the struct module).
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
-
Roger E. Masse authored
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Guido van Rossum authored
when $(srcdir) isn't '.', i.e. when using VPATH).
-
Guido van Rossum authored
-
Guido van Rossum authored
Rewrite example to be an interactive session
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
- 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.
-
Guido van Rossum authored
-
- 02 Jan, 1997 10 commits
-
-
Guido van Rossum authored
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().
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
-
Guido van Rossum authored
These use the ANSI/IEEE standard, which is also used by XDR; so the _xdr module may become obsolete.
-
Barry Warsaw authored
long optional with nearly-no-op missing).
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
when missing).
-
Guido van Rossum authored
-
Guido van Rossum authored
pass invalid seed values.
-
- 31 Dec, 1996 1 commit
-
-
Guido van Rossum authored
-