[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-03-24 Thread Michael Hudson
Michael Hudson m...@users.sourceforge.net added the comment: To be clear, I have no idea why the patch for issue 960406 removed the continue from my_fgets. It may have been simply a mistake. -- ___ Python tracker rep...@bugs.python.org http

[issue1020188] Use Py_CLEAR where necessary to avoid crashes

2010-08-19 Thread Michael Hudson
Michael Hudson m...@users.sourceforge.net added the comment: I think it makes sense to close this; if problems remain they should be reported in more targeted tickets. -- status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue1173475] __slots__ for subclasses of variable length types

2010-08-11 Thread Michael Hudson
Michael Hudson m...@users.sourceforge.net added the comment: Well, I can think of some counters to that -- surely it's _more_ confusing if slots only works some of the time? -- but realistically I'm not going to work on this any further

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-07-29 Thread Michael Hudson
New submission from Michael Hudson m...@users.sourceforge.net: If you call email.utils.make_msgid a number of times within the same second, the uniqueness of the results depends on random.randint(10) returning different values each time. A little mathematics proves that you don't have

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-07-29 Thread Michael Hudson
Michael Hudson m...@users.sourceforge.net added the comment: A higher resolution timer would also help, of course. (Thanks to James Knight for the prod). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6598

[issue672115] Assignment to __bases__ of direct object subclasses

2008-07-21 Thread Michael Hudson
Michael Hudson [EMAIL PROTECTED] added the comment: Another 3 and a bit years on wink I still think my comment http://bugs.python.org/msg14169 is the crux of the issue. It's even relevant to your class object(object): pass hack! I'm not at all likely to work on this any time soon myself