1. 12 Jan, 2005 8 commits
  2. 11 Jan, 2005 10 commits
  3. 10 Jan, 2005 8 commits
  4. 09 Jan, 2005 5 commits
  5. 08 Jan, 2005 9 commits
    • Skip Montanaro's avatar
      comment tweak · 74fd3f5f
      Skip Montanaro authored
      74fd3f5f
    • Skip Montanaro's avatar
      Add definitions for "up" and "down" commands that print/display the current · 1834878b
      Skip Montanaro authored
      Python file/line when the current C execution frame is inside
      PyEval_EvalFrame.  These are commented out by default because GDB sometimes
      crashes as a result (seems like a GDB bug).
      
      Add a pyframe command that displays the current Python stack frame.  If the
      marked lines are uncommented, it will also cause Emacs/XEmacs to display the
      current file/line.
      1834878b
    • Johannes Gijsbers's avatar
      Patch #936774: unify the display of data descriptors, including slots, · 3517c0ea
      Johannes Gijsbers authored
      properties, and custom descriptors.
      
      * removed special handling of properties
      
      * added special handling of data descriptors - All data descriptors are grouped
        together in a section. For each item, the attribute name and doc string, if
        present, is displayed.
      
      * disabled display of __slots__ attribute - since slots are descriptors, they
        are listed in the section described above
      
      Thanks to John Belmonte for the patch!
      3517c0ea
    • Johannes Gijsbers's avatar
      Replace rfc822.parseaddr with email.Utils.parseaddr. The implementation is · 24a22c2f
      Johannes Gijsbers authored
      still the same, so there should be no backwards-compatibility problems.
      24a22c2f
    • Johannes Gijsbers's avatar
      Patch #1079734: remove dependencies on (deprecated) rfc822 and mimetools · 8b46b19d
      Johannes Gijsbers authored
      modules, replacing with email. Thanks to Josh Hoyt for the patch!
      8b46b19d
    • Johannes Gijsbers's avatar
      Clean up tests by reusing functions from other modules: · 663a5d35
      Johannes Gijsbers authored
      * replace deltree with shutil.rmtree()
      * replace mkdirs with os.makedirs()
      * fold touchfile into GlobTests.mktemp()
      663a5d35
    • Johannes Gijsbers's avatar
      Patch #943206: · 66bff3ce
      Johannes Gijsbers authored
      `glob.glob()` currently calls itself recursively to build a list of matches of
      the dirname part of the pattern and then filters by the basename part. This is
      effectively BFS. ``glob.glob('*/*/*/*/*/foo')`` will build a huge list of all
      directories 5 levels deep even if only a handful of them contain a ``foo``
      entry. A generator-based recusion would never have to store these list at once
      by implementing DFS. This patch converts the `glob` function to an `iglob`
      recursive generator . `glob()` now just returns ``list(iglob(pattern))``.
      
      I also cleaned up the code a bit (reduced duplicate `has_magic()` checks and
      created a second `glob0` helper func so that the main loop need not be
      duplicated).
      
      Thanks to Cherniavsky Beni for the patch!
      66bff3ce
    • Johannes Gijsbers's avatar
      Patch #1094015: · aa1e85c6
      Johannes Gijsbers authored
      * Use os.makedirs() instead os.mkdir(). (bug #975763)
      * Use copystat() to copy directory bits (bug #1048878)
      aa1e85c6
    • Tim Peters's avatar
      threading._DummyThread.__init__(): document obscure new code. · 099fe2f5
      Tim Peters authored
      test_threading.test_foreign_thread():  new test does a basic check that
      "foreign" threads can using the threading module, and that they create
      a _DummyThread instance in at least one use case.  This isn't a very
      good test, since a thread created by thread.start_new_thread() isn't
      particularly "foreign".
      099fe2f5