summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use the new struct module's ability to pack and unpack standardizedGuido van Rossum1997-01-021-77/+32
| | | | | | | | | | | | | 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.
* Oops -- unpack float/double didn't do the right thing if e==0.Guido van Rossum1997-01-021-4/+14
|
* Support float and double in non-native formats.Guido van Rossum1997-01-021-2/+365
| | | | | These use the ANSI/IEEE standard, which is also used by XDR; so the _xdr module may become obsolete.
* rotorobj_setkey(): A single string argument is now required (i.e. noBarry Warsaw1997-01-021-5/+3
| | | | long optional with nearly-no-op missing).
* <rotorobj>.setkey() now requires exactly one argumentBarry Warsaw1997-01-021-1/+4
|
* Switched over to use the new testregr.py test harness.Barry Warsaw1997-01-021-2/+4
|
* setkey method's argument is no longer optional (it used to be a no-opBarry Warsaw1997-01-022-6/+4
| | | | when missing).
* Added characteristics of shttp, https, and snews.Guido van Rossum1997-01-021-3/+12
|
* Properly parenthesize a long Boolean combination. Formerly, you couldGuido van Rossum1997-01-021-1/+1
| | | | pass invalid seed values.
* The usual...Guido van Rossum1996-12-311-243/+178
|
* Rewritten the readline test, hopefully it's okay now.Guido van Rossum1996-12-311-31/+60
|
* (libformatter.tex): Document the flush() method on the writer.Fred Drake1996-12-312-0/+8
|
* (formatter.py): Add a flush() method to the writer interface. This reallyFred Drake1996-12-311-2/+2
| | | | | needs to be a standard part of the interface, so we'll have it in for the next release.
* Exercise the new feature set somewhat.Guido van Rossum1996-12-311-10/+73
| | | | Use TestFailed exception and verbose flag from test_support module.
* Added better handling of unsigned longs -- a Python long returned byGuido van Rossum1996-12-311-27/+163
| | | | unpack('L', ...) is now acceptable to pack('L', ...).
* Rewrote _{read,write}_{short,long} to use the newly revamped structGuido van Rossum1996-12-311-37/+44
| | | | | | module. (Small problem: struct.pack() won't deal with the Python long ints returned by struct.unpack() for the 'L' format. Worked around that for now.)
* Added libstat.texGuido van Rossum1996-12-313-1/+4
|
* Document the new extensions.Guido van Rossum1996-12-312-18/+128
|
* Fix the first bugs... treatment of 0 count was wrong, and memchr()Guido van Rossum1996-12-311-6/+6
| | | | should be memset().
* Pretty much rewritten to fulfull several long-standing wishes:Guido van Rossum1996-12-311-226/+572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- The whole implementation is now more table-driven. -- Unsigned integers. Format characters 'B', 'H', 'I' and 'L' mean unsigned byte, short, int and long. For 'I' and 'L', the return value is a Python long integer if a Python plain integer can't represent the required range (note: this is dependent on the size of the relevant C types only, not of the sign of the actual value). -- A new format character 's' packs/unpacks a string. When given a count prefix, this is the size of the string, not a repeat count like for the other format characters; e.g. '10s' means a single 10-byte string, while '10c' means 10 characters. For packing, the string is truncated or padded with null bytes as appropriate to make it fit. For unpacking, the resulting string always has exactly the specified number of bytes. As a special case, '0s' means a single, empty string (while '0c' means 0 characters). -- Various byte order options. The first character of the format string determines the byte order, size and alignment, as follows: First character Byte order size and alignment '@' native native '=' native standard '<' little-endian standard '>' big-endian standard '!' network (= big-endian) standard If the first character is not one of these, '@' is assumed. Native byte order is big-endian or little-endian, depending on the host system (e.g. Motorola and Sun are big-endian; Intel and DEC are little-endian). Native size and alignment are determined using the C compiler's sizeof expression. This is always combined with native byte order. Standard size and alignment are as follows: no alignment is required for any type (so you have to use pad bytes); short is 2 bytes; int and long are 4 bytes. In this mode, there is no support for float and double. Note the difference between '@' and '=': both use native byte order, but the size and alignment of the latter is standardized. The form '!' is available for those poor souls who can't remember whether network byte order is big-endian or little-endian. There is no way to indicate non-native byte order (i.e. force byte-swapping); use the appropriate choice of '<' or '>'.
* A different winning animation.Guido van Rossum1996-12-301-6/+8
|
* Rename DEBUG macro to Py_DEBUGGuido van Rossum1996-12-3011-23/+23
|
* Actually, *this* fixes the last bug.Guido van Rossum1996-12-301-2/+7
|
* Considerably restructured. This fixes the one remaining bug.Guido van Rossum1996-12-301-319/+322
|
* Solitaire game, like the one that comes with Windows.Guido van Rossum1996-12-291-0/+627
|
* Added support for RFC 850 style dates, as used by some HTTP serversGuido van Rossum1996-12-271-0/+4
| | | | | | | | (such as Netscape-Commerce and CERN). An example of a RFC 850 date: 'Wednesday, 18-Dec-96 21:00:00 GMT' From: Chris Lawrence <quango@themall.net>
* Fix bogus implementation of Group.bind().Guido van Rossum1996-12-272-4/+12
| | | | Added unbind() to CanvasItem and Group classes.
* Added config(ure) method to Image class.Guido van Rossum1996-12-272-0/+20
| | | | (Fred Drake)
* Change the default values for IntVar and DoubleVar to numbers (theyGuido van Rossum1996-12-272-4/+4
| | | | were strings, accidentally).
* Crude but effective hack to clear the parser cache every so often.Guido van Rossum1996-12-271-0/+4
| | | | (Fred Drake.)
* Removed all traces of accessobject.c.Guido van Rossum1996-12-252-374/+2
|
* Renamed.Roger E. Masse1996-12-241-0/+8530
| | | | | However: "cgensupport.h" is still present... otherwise I get maaaany type errors... not sure if this needs more attention.
* Test output for the gl C extension module.Roger E. Masse1996-12-241-0/+1
|
* gl is a *huge* module. This is a very simple test that insures thatRoger E. Masse1996-12-241-0/+141
| | | | | | all the modules attributes are present and creates a small criss-cross window for 5 seconds (example from the documentation :-) A more comprehensive test would probably be useful... but maybe overkill.
* Output filesBarry Warsaw1996-12-236-0/+60
| | | | | | | | | test_rotor.py: New test of the rotor module. test_*: converted to the new test harness. GvR note! test_signal.py works interatively (i.e. when verbose=1) but does not work inside the test harness. It must be a timing issue, but I haven't figured it out yet.
* test_rotor.py: New test of the rotor module.Barry Warsaw1996-12-238-27/+89
| | | | | | | test_*: converted to the new test harness. GvR note! test_signal.py works interatively (i.e. when verbose=1) but does not work inside the test harness. It must be a timing issue, but I haven't figured it out yet.
* Reworked to check for memory problems (one potential found),Barry Warsaw1996-12-231-204/+245
| | | | | | | | | | non-checked error return values, and where appropriate, PyArg_ParseTuple() style argument parsing. I also changed some function names and converted all malloc/free calls to PyMem_NEW/PyMem_DEL. Some stylistic changes and formatting standardization.
* From reading the source, it turns out that the setkey() method canBarry Warsaw1996-12-232-4/+6
| | | | | | take an optional string key, but if key is not given, the method does nothing! In the rewrite (see upcoming check-in), I left things this way, but here I document that this is the case.
* - CWGUSI has movedJack Jansen1996-12-231-21/+24
| | | | - Changed instructions for Tcl 7.6/Tk 4.2
* Added a chapter on using OSAXenJack Jansen1996-12-231-0/+17
|
* Added range of resource-ids for twit.Jack Jansen1996-12-231-1/+4
|
* Added Application.cleanup method which asks all windows to closeJack Jansen1996-12-231-0/+5
| | | | themselves and returns true if they did.
* Added gdbm (if USE_GDBM defined)Jack Jansen1996-12-231-0/+6
|
* Moved resources around to forestall conflicts with debuggeeJack Jansen1996-12-238-17/+20
|
* Added gdbmJack Jansen1996-12-231-0/+1
|
* Added gdbm plugins, changed jpeg library to v6, various minor changesJack Jansen1996-12-2333-11647/+12012
|
* Added gdbm pluginsJack Jansen1996-12-231-0/+2
|
* If sys.argv is empty ask for input file and output folderJack Jansen1996-12-231-0/+26
|
* Very very small comment change.Roger E. Masse1996-12-201-1/+1
|
* Many scripts, but small changes. Update the way the scripts obtain theRoger E. Masse1996-12-209-53/+71
| | | | | | | | | | | | | | | | 'verbose' flag ala GvR updated test harness architecture. Old way: verbose = 0 if __name__ == '__main__': verbose = 1 New way: from test_support import verbose Some other small readablility and functionality updates.