[issue10144] Buffering bug after calling curses function

2010-10-19 Thread Fernando Perez
Fernando Perez added the comment: No problem for us (IPython) if you mark it as won't fix. I've just applied the environment workaround you guys suggested: http://github.com/ipython/ipython/commit/147b245d2ead0e15d2c17b7bb760a03126660fb7 Thanks a lot for that tip! That leaves

[issue1170] shlex have problems with parsing unicode

2010-07-27 Thread Fernando Perez
Fernando Perez added the comment: On Tue, Jul 27, 2010 at 11:52, Alexander Belopolsky wrote: > Why do you expect shlex to work with unicode in 2.x? =A0The > documentation clearly says that the argument should be a string. > Supporting unicode is not an unreasonable RFE, but won't

[issue1170] shlex have problems with parsing unicode

2010-07-27 Thread Fernando Perez
Fernando Perez added the comment: Yes, sorry that I failed to mention the example I gave applies only to 2.x, not to 3.x. -- ___ Python tracker <http://bugs.python.org/issue1

[issue1170] shlex have problems with parsing unicode

2010-07-25 Thread Fernando Perez
Fernando Perez added the comment: Here is an illustration of the problem with a simple test case (the value of the posix flag doesn't make any difference): Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "

[issue7897] Support parametrized tests in unittest

2010-04-09 Thread Fernando Perez
Fernando Perez added the comment: Yarick: Yes, I do actually see the value of the summary view. When I have a parametric test that fails, I tend to just run nose with -x so it stops at the first error and with the --pdb options to study it, so I simply ignore all the other failures. To me

[issue7897] Support parametrized tests in unittest

2010-04-09 Thread Fernando Perez
Fernando Perez added the comment: Hey Yarick, On Thu, Apr 8, 2010 at 18:53, Yaroslav Halchenko w= rote: > In PyMVPA we have our little decorator as an alternative to Fernando's ge= nerators, =A0and which is closer, I think, to what Michael was wishing for: > @sweepargs > >

[issue7897] Support parametrized tests in unittest

2010-02-11 Thread Fernando Perez
Fernando Perez added the comment: I should probably have clarified better our reasons for using this type of code. The first is the one Michael pointed out, where such parametric tests all execute; it's very common in scientific computing to have algorithms that only fail for certain v

[issue7897] Support parametrized tests in unittest

2010-02-09 Thread Fernando Perez
New submission from Fernando Perez : IPython has unittest-based parametric testing (something nose has but which produces effectively undebuggable tests, while this approach gives perfectly debuggable ones). The code lives here for 2.x and 3.x: http://bazaar.launchpad.net/~ipython-dev/ipython