1. 02 Ock, 1997 10 kayıt (commit)
  2. 31 Ara, 1996 11 kayıt (commit)
    • Guido van Rossum's avatar
      The usual... · 3c83bb49
      Guido van Rossum yazdı
      3c83bb49
    • Guido van Rossum's avatar
    • Fred Drake's avatar
    • Fred Drake's avatar
      (formatter.py): Add a flush() method to the writer interface. This really · 2823168c
      Fred Drake yazdı
      	needs to be a standard part of the interface, so we'll have it in
      	for the next release.
      2823168c
    • Guido van Rossum's avatar
      Exercise the new feature set somewhat. · 2a378502
      Guido van Rossum yazdı
      Use TestFailed exception and verbose flag from test_support module.
      2a378502
    • Guido van Rossum's avatar
      Added better handling of unsigned longs -- a Python long returned by · 60c50614
      Guido van Rossum yazdı
      unpack('L', ...) is now acceptable to pack('L', ...).
      60c50614
    • Guido van Rossum's avatar
      Rewrote _{read,write}_{short,long} to use the newly revamped struct · 36bb181c
      Guido van Rossum yazdı
      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.)
      36bb181c
    • Guido van Rossum's avatar
      Added libstat.tex · 3dd68d33
      Guido van Rossum yazdı
      3dd68d33
    • Guido van Rossum's avatar
      Document the new extensions. · 12543466
      Guido van Rossum yazdı
      12543466
    • Guido van Rossum's avatar
      Fix the first bugs... treatment of 0 count was wrong, and memchr() · 3aa27fd3
      Guido van Rossum yazdı
      should be memset().
      3aa27fd3
    • Guido van Rossum's avatar
      Pretty much rewritten to fulfull several long-standing wishes: · f7e6b4b3
      Guido van Rossum yazdı
      -- 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 '>'.
      f7e6b4b3
  3. 30 Ara, 1996 4 kayıt (commit)
  4. 29 Ara, 1996 1 kayıt (commit)
  5. 27 Ara, 1996 5 kayıt (commit)
  6. 25 Ara, 1996 1 kayıt (commit)
  7. 24 Ara, 1996 3 kayıt (commit)
  8. 23 Ara, 1996 5 kayıt (commit)
    • Barry Warsaw's avatar
      Output files · fb817cd4
      Barry Warsaw yazdı
      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.
      fb817cd4
    • Barry Warsaw's avatar
      test_rotor.py: New test of the rotor module. · 5e056bbb
      Barry Warsaw yazdı
      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.
      5e056bbb
    • Barry Warsaw's avatar
      Reworked to check for memory problems (one potential found), · aeb207c6
      Barry Warsaw yazdı
      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.
      aeb207c6
    • Barry Warsaw's avatar
      From reading the source, it turns out that the setkey() method can · f308c0f1
      Barry Warsaw yazdı
      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.
      f308c0f1
    • Jack Jansen's avatar
      - CWGUSI has moved · f3dd5aab
      Jack Jansen yazdı
      - Changed instructions for Tcl 7.6/Tk 4.2
      f3dd5aab