1. 12 May, 2000 9 commits
  2. 11 May, 2000 9 commits
  3. 10 May, 2000 8 commits
  4. 09 May, 2000 14 commits
    • Fred Drake's avatar
      Trent Mick <trentm@activestate.com>: · 5bfe5ce8
      Fred Drake authored
      Limit the 'b' formatter of PyArg_ParseTuple to valid values of an unsigned
      char, i.e. [0,UCHAR_MAX]. It is expected that this is the common usage of 'b'.
      An OverflowError is raised if the parsed value is outside this range.
      5bfe5ce8
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · 38cb3ba1
      Fred Drake authored
      Added a useful link to Markus Kuhn's Unicode and UTF-8
      FAQ.
      38cb3ba1
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · a38c4fac
      Fred Drake authored
      Added another test for string formatting (the one that
      produced the core dump now fixed in unicodeobject.c).
      a38c4fac
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · 0fede6ca
      Fred Drake authored
      Added APIs to allow setting and querying the system's
      current string encoding: sys.set_string_encoding()
      and sys.get_string_encoding().
      0fede6ca
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · dc41774e
      Fred Drake authored
      Moved some docs to the include file.
      
      Added a NULL check to _PyCodec_Lookup() to make it
      core dump safe.
      dc41774e
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · 5aff9263
      Fred Drake authored
      Fixed docs according to the new behaviour (the Unicode
      encoding is no longer fixed to UTF-8).
      5aff9263
    • Fred Drake's avatar
      Minimal change so I can add the rest of MAL's checkin message: · 05bdc01b
      Fred Drake authored
      M.-A. Lemburg <mal@lemburg.com>:
      Fixed a core dump in PyUnicode_Format().
      05bdc01b
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · 765289b0
      Fred Drake authored
      Added support for user settable default encodings. The
      current implementation uses a per-process global which
      defines the value of the encoding parameter in case it
      is set to NULL (meaning: use the default encoding).
      765289b0
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · 39a63b5b
      Fred Drake authored
      Fixed a bug due to a /* inside /*...*/. GCC doesn't like
      this and bombs.
      39a63b5b
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · 64875ae8
      Fred Drake authored
      Added PyUnicode_GetDefaultEncoding() and
      PyUnicode_GetDefaultEncoding() APIs.
      64875ae8
    • Fred Drake's avatar
      M.-A. Lemburg <mal@lemburg.com>: · 2c08b130
      Fred Drake authored
      Added documentation and the missing PyCodec_StreamWriter API.
      2c08b130
    • Guido van Rossum's avatar
      New version from Jim Fulton to fix a problem that Eric Raymond ran · 5267621b
      Guido van Rossum authored
      into.  Jim writes:
      
      The core dump was due to a C decrement operation
      in a macro invocation in load_pop.  (BAD)
      
      I fixed this by moving the decrement outside
      the macro call.
      
      I added a comment to load_pop and load_mark
      to document the fact that cPickle separates the
      unpickling stack into two separate stacks, one for
      objects and one for marks.
      
      I also moved some increments out of some macro
      calls (PyTuple_SET_ITEM and PyList_SET_ITEM).
      This wasn't necessary, but made me feel better. :)
      
      I tested these changes in *my* cPickle, which
      doesn't have the new Unicode stuff.
      5267621b
    • Fred Drake's avatar
      Fix references to the built-in compile() that don't include the · 01bb75e6
      Fred Drake authored
      filename parameter.  Noted by Randall Hopper <aa8vb@yahoo.com>.
      01bb75e6
    • Fred Drake's avatar
      Skip Montanaro <skip@mojam.com>: · 195f7190
      Fred Drake authored
      The intent is that this diff adds a link to the rfc822 module doc and
      an index reference to this module under the rfc822 heading.
      
      Fred, based on a suggestion from Grant Griffin <grant.griffin@honeywell.com>:
      Added link to the MIME FAQ, so people can more easily get more
      information about the subject of the module.
      195f7190