Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix string input2 #265

Merged
5 commits merged into from Feb 9, 2011
Merged

Fix string input2 #265

5 commits merged into from Feb 9, 2011

Commits on Feb 3, 2011

  1. Copy the full SHA
    65f8567 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2011

  1. Copy the full SHA
    d42a12c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    346bc9b View commit details
    Browse the repository at this point in the history
  3. Limit special-casing of _ variable to doctests.

    In doctests, _ *must* be special-cased and removed from the user's
    namespace because otherwise Python won't set it.  But we were doing
    this special-casing unconditionally, making it impossible to write
    unittests that checked the _ variable after cell execution.
    
    This commit makes the special-casing of _ apply only in the doctest
    execution (where it's needed) and leaves normal unittests alone.
    fperez committed Feb 4, 2011
    Copy the full SHA
    827b268 View commit details
    Browse the repository at this point in the history
  4. Fix bug with execution of naked multiline strings.

    The actual bug fix was a trivial one-line change, made here.  The rest
    of the commits in this series improve our testing machinery and clean
    up related code.
    
    The actual fix was just calling the run_source instead of the run_code
    method, which should only be called with compiled code objects.
    fperez committed Feb 4, 2011
    Copy the full SHA
    de4ba65 View commit details
    Browse the repository at this point in the history