Ticket #60 (assigned defect)

Opened 2 years ago

Last modified 2 years ago

FakeModule causes unittests with embedded ipython to fail

Reported by: fperez Assigned to: fperez (accepted)
Priority: low Milestone:
Component: ipython Version:
Severity: normal Keywords:
Cc:

Description

Note: this is a port of issue 2 from the old roundup tracker.

Original information follows.


Currently, unittesting with embedded ipython breaks becausea FakeModule instance overwrites __main__. Maybe python should revert back to using __main__ directly as the user namespace? Handling a separate namespace is proving very tricky in all corner cases.

Change History

05/13/06 16:17:46 changed by fperez

  • status changed from new to assigned.
  • priority changed from normal to low.

Setting to low priority, was an old item from the roundup tracker which was 'deferred' there and has seen no activity in a long time.