1. 01 Mar, 2000 8 commits
  2. 29 Feb, 2000 8 commits
  3. 28 Feb, 2000 10 commits
  4. 27 Feb, 2000 3 commits
  5. 26 Feb, 2000 4 commits
    • Barry Warsaw's avatar
      Changes submitted by Peter Funk (some fixes/additions by B.Warsaw) to · 06f0af28
      Barry Warsaw authored
      make pygettext more compatible with GNU xgettext, specifically:
      
      Added -E/--escape for allowing pass-thru of iso8859-1 characters above
      7 bits.
      
      Added -o/--output option for renaming the output file from
      messages.pot (there's overlap with -d/--default-domain, but GNU
      xgettext has them both).
      
      Added -p/--output-dir for specifying the output directory for
      messages.pot.
      
      Added -V/--version for printing the version number.
      
      Added -w/--width for specifying the output page width (this is because
      now pygettext, like GNU xgettext will put several locations on the
      same line to cut down on vertical space).
      
      Added -x/--exclude-file for specifying a list of strings that are not
      to be extracted from the input files.
      
      Bumped version number to 1.0
      
      Try to import fintl and use fintl.gettext as _ if available.  Fall
      back is to use identity definition of _().
      
      Moved the escape creation to a function make_escapes() so that its
      behavior can be controlled by the -E option.
      
      __openseen(): Support the -x option.
      
      write(): Support -w option and vertical space preserving feature.
      
      main(): Support new options.
      06f0af28
    • Greg Ward's avatar
      The "Distributing Python Modules" manual; currently empty (I'll get to it · 6c3ff31c
      Greg Ward authored
      Real Soon Now(TM).
      6c3ff31c
    • Greg Ward's avatar
      1200e42a
    • Greg Ward's avatar
      Unfinished, untested implementation of the lovely baroque installation scheme · c2898193
      Greg Ward authored
      cooked up by Fred Drake and me.  Only saved for posterity (whoever posterity
      is), as it is about to be ditched in favour of GvR's much simpler design.
      c2898193
  6. 25 Feb, 2000 7 commits
    • Andrew M. Kuchling's avatar
      Better fix for mpzmodule problem reported by Peter Funk: just use · 30aac104
      Andrew M. Kuchling authored
          mp_bits_per_limb with GMP 2.0
      30aac104
    • Barry Warsaw's avatar
      Changes inspired by Randall Hooper to allow callbacks when an · 81560560
      Barry Warsaw authored
      OptionMenu is modified.  Somewhat rewritten and elaborated by myself.
      
      class _setit: The constructor now takes an optional argument
      `callback' and stashes this in a private variable.  If set, the
      __call__() method will invoke this callback after the variable's value
      has changed.  It will pass the callback the value, followed by any
      args passed to __call__().
      
      class OptionMenu: The constructor now takes keyword arguments, the
      only one that's legally recognized is `command', which can be set to a
      callback.  This callback is invoked when the OptionMenu value is set.
      Any other keyword argument throws a TclError.
      81560560
    • Guido van Rossum's avatar
      Pat Knight: · 13d5e780
      Guido van Rossum authored
      Solaris 2 has stub implementations of the POSIX thread functions such as
      pthread_detach in libc. This means that configure tries to use them without
      -lpthread, then the test of pthread_create fails and the configuration
      falls back to the Solaris thread library. This patch moves the test for
      pthread_create in -lpthread ahead of the test for pthread_detach in libc.
      The patch also ensures that -lpthread is at the start of the library list
      when linking, to pick up POSIX thread semantics for fork (see below).
      
      Justification.
      Use of POSIX threads on Solaris ensures that the fork() call only runs the
      thread that called fork() in the child. This is desirable to prevent (for
      example) parent server or database threads running in the child. Sun's
      -lthread library uses a traditional fork() which replicates all the
      parent's threads in the child. I find this undesirable.
      
      Digression.
      The configure.in seems to always test for -lthread even if a POSIX library
      is found. I'm not enough of a configure.in wizard to decide whether this is
      desirable or how to fix it. It is also irrelevant to this patch - I just
      spotted it while testing.
      End of Digression.
      13d5e780
    • Guido van Rossum's avatar
      Test case for fork1() behavior. · b9408c24
      Guido van Rossum authored
      Only the main thread should survive in the child after a fork().
      b9408c24
    • Guido van Rossum's avatar
      Delete references to _SC_AIO_LIST_MAX; it appears that that symbol was · 29d8f6af
      Guido van Rossum authored
      just a typo in some Linux header; the real symbol is
      _SC_AIO_LISTIO_MAX.
      29d8f6af
    • Guido van Rossum's avatar
      d3296a81
    • Fred Drake's avatar
      Gerrit Holl's patch to move attribution from the docstring to a · bd289d8c
      Fred Drake authored
      comment.  <gerrit@nl.linux.org>
      bd289d8c