1. 11 Mar, 2010 1 kayıt (commit)
  2. 16 May, 2008 1 kayıt (commit)
  3. 09 May, 2008 1 kayıt (commit)
  4. 18 Mar, 2008 1 kayıt (commit)
    • Trent Nelson's avatar
      - Issue #719888: Updated tokenize to use a bytes API. generate_tokens has been · 428de65c
      Trent Nelson yazdı
        renamed tokenize and now works with bytes rather than strings. A new
        detect_encoding function has been added for determining source file encoding
        according to PEP-0263. Token sequences returned by tokenize always start
        with an ENCODING token which specifies the encoding used to decode the file.
        This token is used to encode the output of untokenize back to bytes.
      
      Credit goes to Michael "I'm-going-to-name-my-first-child-unittest" Foord from Resolver Systems for this work.
      428de65c
  5. 15 Ock, 2008 1 kayıt (commit)
  6. 22 Eki, 2007 1 kayıt (commit)
  7. 03 Agu, 2007 1 kayıt (commit)
  8. 10 Ock, 2007 1 kayıt (commit)
  9. 22 Agu, 2006 1 kayıt (commit)
  10. 16 Agu, 2004 1 kayıt (commit)
  11. 16 Nis, 2003 1 kayıt (commit)
  12. 22 Kas, 2002 1 kayıt (commit)
  13. 27 Tem, 2001 1 kayıt (commit)
    • Barry Warsaw's avatar
      Added the -X/--no-docstrings flag which takes a filename containing a · 63ce5af4
      Barry Warsaw yazdı
      list of files to not extract docstrings from when the -D option is
      given.  This isn't optimal, but I didn't want to change the semantics
      of -D, and it's bad form to allow optional switch arguments.
      
      Bumping __version__ to 1.4.
      
      TokenEater.__init__(): Initialize __curfile to None.
      
      __waiting(): In order to extract docstrings from the module, both the
          -D flag should be set, and the __curfile should not be named in
          the -X filename (i.e. it isn't in opts.nodocstrings).
      
      set_filename(): Fixed a bug where once the first module docstring is
          extracted, no subsequent module docstrings will be extracted.  The
          bug was that the first extraction set __freshmodule to 0, but that
          flag was never reset back to 1.  set_filename() is always called
          when the next file is being processed, so use it to reset the
          __freshmodule flag.
      
      main(): Add support for -X/--no-docstring.
      63ce5af4
  14. 20 Haz, 2001 1 kayıt (commit)
  15. 19 Haz, 2001 1 kayıt (commit)
  16. 24 May, 2001 1 kayıt (commit)
  17. 23 May, 2001 1 kayıt (commit)
  18. 21 May, 2001 3 kayıt (commit)
  19. 01 Mar, 2001 1 kayıt (commit)
  20. 26 Şub, 2001 1 kayıt (commit)
  21. 27 Eki, 2000 1 kayıt (commit)
  22. 26 Eki, 2000 1 kayıt (commit)
  23. 02 May, 2000 1 kayıt (commit)
  24. 08 Mar, 2000 1 kayıt (commit)
    • Barry Warsaw's avatar
      A bunch of changes, primarily to command line argument parsing · a17e0f1b
      Barry Warsaw yazdı
      (inspired by Detlef Lannert).  Specifically,
      
          -k/--keyword no longer takes an optional argument to clear the
          default keywords.  Instead, use -K/--no-default-keywords to clear
          them.
      
          -n/--add-location also no longer takes an optional argument to set
          the comment style.  Instead, use -S/--style to set the comment
          style to GNU or Solaris.
      
          -o/--output can take `-' as the filename, meaning write to
          standard output.
      
          The inputfile name can also be `-' meaning read from standard in.
      
      A few other changes include
      
          Kludge to mark the file docstring as translatable.  Since the
          marking is to place _() around the docstring, and because we
          actually have to define the _() function before we use it, this
          means that we have to manually assign to __doc__ the output of
          _().  This doesn't seem too bad because you'll only use this idiom
          when translating a script's docstring (you really don't need to
          translate most module docstrings).
      
          Convert everything to string methods and do not import the string
          module.
      
          Bump the version number to 1.1
      a17e0f1b
  25. 27 Şub, 2000 1 kayıt (commit)
  26. 26 Şub, 2000 1 kayıt (commit)
    • Barry Warsaw's avatar
      Changes submitted by Peter Funk (some fixes/additions by B.Warsaw) to · c8f0892d
      Barry Warsaw yazdı
      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.
      c8f0892d
  27. 06 Ara, 1999 1 kayıt (commit)
  28. 03 Kas, 1999 2 kayıt (commit)
  29. 13 Agu, 1999 1 kayıt (commit)
  30. 11 Agu, 1999 1 kayıt (commit)