1. 09 Jan, 2001 12 commits
  2. 08 Jan, 2001 12 commits
  3. 07 Jan, 2001 4 commits
  4. 06 Jan, 2001 2 commits
    • Marc-André Lemburg's avatar
      This patch adds a new feature to the builtin charmap codec: · 1109db44
      Marc-André Lemburg authored
      the mapping dictionaries can now contain 1-n mappings, meaning
      that character ordinals may be mapped to strings or Unicode object,
      e.g. 0x0078 ('x') -> u"abc", causing the ordinal to be replaced by
      the complete string or Unicode object instead of just one character.
      
      Another feature introduced by the patch is that of mapping oridnals to
      the emtpy string. This allows removing characters.
      
      The patch is different from patch #103100 in that it does not cause a
      performance hit for the normal use case of 1-1 mappings.
      
      Written by Marc-Andre Lemburg, copyright assigned to Guido van Rossum.
      1109db44
    • Marc-André Lemburg's avatar
      This patch adds a new feature to the builtin charmap codec: · ec233e58
      Marc-André Lemburg authored
      The mapping dictionaries can now contain 1-n mappings, meaning
      that character ordinals may be mapped to strings or Unicode object,
      e.g. 0x0078 ('x') -> u"abc", causing the ordinal to be replaced by
      the complete string or Unicode object instead of just one character.
      
      Another feature introduced by the patch is that of mapping oridnals to
      the emtpy string. This allows removing characters.
      
      The patch is different from patch #103100 in that it does not cause a
      performance hit for the normal use case of 1-1 mappings.
      
      Written by Marc-Andre Lemburg, copyright assigned to Guido van Rossum.
      ec233e58
  5. 05 Jan, 2001 9 commits
  6. 04 Jan, 2001 1 commit
    • Fred Drake's avatar
      When a PyCFunction that takes only positional parameters is called with · 1a7aab70
      Fred Drake authored
      an empty keywords dictionary (via apply() or the extended call syntax),
      the keywords dict should be ignored.  If the keywords dict is not empty,
      TypeError should be raised.  (Between the restructuring of the call
      machinery and this patch, an empty dict in this situation would trigger
      a SystemError via PyErr_BadInternalCall().)
      
      Added regression tests to detect errors for this.
      1a7aab70