- 07 Jan, 1997 2 commits
-
-
Jack Jansen authored
wrapper shortly)
-
Jack Jansen authored
-
- 06 Jan, 1997 14 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Added warning about dependency of float/complex hash on int hash.
-
Guido van Rossum authored
-
Barry Warsaw authored
other sequences use the Sequence protocol from the abstract API. The algorithm has changed so that only one pass through the sequences are made.
-
Barry Warsaw authored
-
Barry Warsaw authored
within the lists (new output file to be checked in shortly).
-
Barry Warsaw authored
-
Barry Warsaw authored
for both PyString_GET_SIZE and PyString_AS_STRING, cast first argument to a PyStringObject*
-
Barry Warsaw authored
for both PyList_GET_SIZE and PyList_GET_ITEM, cast first argument to a PyListObject*
-
Guido van Rossum authored
- '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).
-
- 03 Jan, 1997 24 commits
-
-
Barry Warsaw authored
performance hit. Urg. Reverted. strop_joinfields(): re-instate optimizations for lists and tuples, but support arbitrary other kinds of sequences as well.
-
Guido van Rossum authored
- 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.
-
Roger E. Masse authored
-
Roger E. Masse authored
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
-
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
-