1. 05 Jul, 2001 6 commits
  2. 04 Jul, 2001 12 commits
  3. 03 Jul, 2001 3 commits
    • Fred Drake's avatar
      This change adjusts the profiling/tracing support so that the common · 9e3ad784
      Fred Drake authored
      path (with no profile/trace function) through eval_code2() and
      eval_frame() avoids several checks.
      
      In the common cases of calls, returns, and exception propogation,
      eval_code2() and eval_frame() used to test two values in the
      thread-state: the profiling function and the tracing function.  With
      this change, a flag is set in the thread-state if either of these is
      active, allowing a single check to suffice when both are NULL.  This
      also simplifies the code needed when either function is in use but is
      already active (to avoid profiling/tracing the profiler/tracer); the
      flag is set to 0 when the profile/trace code is entered, allowing the
      same check to suffice for "already in the tracer" for call/return/
      exception events.
      9e3ad784
    • Fredrik Lundh's avatar
      bug #416670 · d89a2e77
      Fredrik Lundh authored
      added copy/deepcopy support to SRE (still not enabled, since it's not
      covered by the test suite)
      d89a2e77
    • Fredrik Lundh's avatar
      bug #232815 · ee2f18d0
      Fredrik Lundh authored
      ch is unsigned, so testing for negative values doesn't make
      sense (as noticed by the OpenVMS compiler)
      ee2f18d0
  4. 02 Jul, 2001 12 commits
  5. 01 Jul, 2001 2 commits
  6. 30 Jun, 2001 1 commit
  7. 29 Jun, 2001 4 commits
    • Tim Peters's avatar
      Turns out Neil didn't intend for *all* of his gen-branch work to get · 4efb6e96
      Tim Peters authored
      committed.
      
      tokenize.py:  I like these changes, and have tested them extensively
      without even realizing it, so I just updated the docstring and the docs.
      
      tabnanny.py:  Also liked this, but did a little code fiddling.  I should
      really rewrite this to *exploit* generators, but that's near the bottom
      of my effort/benefit scale so doubt I'll get to it anytime soon (it
      would be most useful as a non-trivial example of ideal use of generators;
      but test_generators.py has already grown plenty of food-for-thought
      examples).
      
      inspect.py:  I'm sure Ping intended for this to continue running even
      under 1.5.2, so I reverted this to the last pre-gen-branch version.  The
      "bugfix" I checked in in-between was actually repairing a bug *introduced*
      by the conversion to generators, so it's OK that the reverted version
      doesn't reflect that checkin.
      4efb6e96
    • Fred Drake's avatar
      Use the more conventional "self" as the name of the self parameter in an · 88e66254
      Fred Drake authored
      example.  It actually confused a reader.
      88e66254
    • Fred Drake's avatar
      Correct a markup error for an accented character. · 0c209047
      Fred Drake authored
      Reported by Milan Zamazal <pdm@zamazal.org>.
      0c209047
    • Fred Drake's avatar
      Removed some stray periods, and fix up a number of visible markup · 58c95391
      Fred Drake authored
      consistency errors (mostly omitted "()" at the end of function and
      method names).
      
      Reported by Milan Zamazal <pdm@zamazal.org>.
      58c95391