[issue11220] https sslv3 error 14077417: illegal parameter

2015-12-15 Thread Hari Krishna Dara
Hari Krishna Dara added the comment: Interesting... the posted Python code for 2.x didn't work for me on 2.6.9 on Mac OS X (10.10.5). The code in catch block further generates the below exception: Traceback (most recent call last): File "/tmp/t.py", line 17, in connect

[issue6966] Ability to refer to arguments in TestCase.fail* methods

2010-06-17 Thread Hari Krishna Dara
Changes by Hari Krishna Dara harid...@gmail.com: -- nosy: +haridsv ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6966 ___ ___ Python-bugs-list

[issue6966] Ability to refer to arguments in TestCase.fail* methods

2010-06-17 Thread Hari Krishna Dara
Hari Krishna Dara harid...@gmail.com added the comment: Changing unittest.TestCase.failUnlessEqual() to something like this will be very useful: def failUnlessEqual(self, first, second, msg=None): Fail if the two objects are unequal as determined by the '==' operator

[issue6966] Ability to refer to arguments in TestCase.fail* methods

2010-06-17 Thread Hari Krishna Dara
Hari Krishna Dara harid...@gmail.com added the comment: Oops... the dict part should have been dict(lhs=first, rhs=second): def failUnlessEqual(self, first, second, msg=None): Fail if the two objects are unequal as determined by the '==' operator. Argument msg could

[issue672115] Assignment to __bases__ of direct object subclasses

2010-05-27 Thread Hari Krishna Dara
Hari Krishna Dara harid...@gmail.com added the comment: I just hit up on this same bug and the class object(object): pass workaround worked fine. I too would like to know how safe this workaround is, could someone more insightful please comment on this? -- nosy: +Hari.Krishna.Dara

[issue2972] arguments and default path not set in site.py and sitecustomize.py

2009-05-12 Thread Hari Krishna Dara
Hari Krishna Dara harid...@gmail.com added the comment: I hit exactly this same problem today trying to customize sys.path. We conventionally use .pth file under site-packages to add our custom library paths, but this is not convenient in development while switching between branches/checkout