[issue18929] inspect.classify_class_attrs ignores metaclass

2013-09-04 Thread Ethan Furman
Changes by Ethan Furman : Added file: http://bugs.python.org/file31595/global_fix.stoneleaf.01 ___ Python tracker ___ ___ Python-bugs-list mai

[issue18928] Remove misleading documentation for random.shuffle

2013-09-04 Thread R. David Murray
R. David Murray added the comment: It seems to me that 2080 (per the accepted answer to your [3]) is indeed "a rather small len(x)", and that the docs are correct as written. I wonder if it would be worth adding a footnote that explains how to calculate that example 2080 number from the docume

[issue18928] Remove misleading documentation for random.shuffle

2013-09-04 Thread R. David Murray
R. David Murray added the comment: Alternatively, you would have to supply (or supply a pointer to) a mathematical proof of your thesis. -- ___ Python tracker ___ __

[issue12704] Language Reference: Clarify behaviour of yield when generator is not resumed

2013-09-04 Thread Tim Peters
Tim Peters added the comment: I think the docs are already clear: they say "the generator-iterator’s close() method will be called". That's all that needs to be said: now go look at the docs for generator.close(). They explain _all_ that close() does, and it would be a Bad Idea to duplicat

[issue18808] Thread.join returns before PyThreadState is destroyed

2013-09-04 Thread Tim Peters
Tim Peters added the comment: Fudge - there's another unlikely problem here. For example: main program creates a threading.Thread t, runs it, and does t.join(5) (whatever - any timeout value). When t.join() returns, the main program has no idea whether t is done or not. Suppose t isn't don

[issue18928] Remove misleading documentation for random.shuffle

2013-09-04 Thread Tim Peters
Tim Peters added the comment: When the comment was introduced, Python's Wichmann-Hill generator had a much shorter period, and we couldn't even generate all the permutations of a deck of cards. The period is astronomically larger now, but the stackoverflow answer (2080) is correct for the cur

[issue18928] Remove misleading documentation for random.shuffle

2013-09-04 Thread David Benbennick
David Benbennick added the comment: Okay, I see what the comment is saying now. I was mistaken. It might make the statement clearer if it is made more precise. "rather small" is vague. That vagueness is intentional, but it makes it more confusing. -- status: open -> closed

[issue18924] Enum members are easily replaced

2013-09-04 Thread Ethan Furman
Changes by Ethan Furman : -- stage: -> patch review Added file: http://bugs.python.org/file31596/issue18924.stoneleaf.patch.01 ___ Python tracker ___ ___

[issue18928] Remove misleading documentation for random.shuffle

2013-09-04 Thread Tim Peters
Changes by Tim Peters : -- resolution: -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue18929] inspect.classify_class_attrs ignores metaclass

2013-09-04 Thread Ethan Furman
Ethan Furman added the comment: The global fix causes these two tests to fail: == FAIL: test_newstyle_mro (test.test_inspect.TestClassesAndFunctions) -- Traceba

[issue18912] Intendation issue in example code in itertools.count documentation

2013-09-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please assign itertools doc changes to me in the future. -- nosy: +rhettinger ___ Python tracker ___

<    1   2