[issue18297] In range.sample() correct the ValueError message for negative k

2013-06-24 Thread py.user
New submission from py.user: >>> random.sample('ABC', -1) Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python3.3/random.py", line 302, in sample raise ValueError("Sample larger than population") ValueError: Sample larger than population >>> -- assignee

[issue18297] In range.sample() correct the ValueError message for negative k

2013-06-24 Thread py.user
Changes by py.user : -- keywords: +patch Added file: http://bugs.python.org/file30697/issue18297.diff ___ Python tracker ___ ___ Pytho

[issue17953] sys.modules cannot be reassigned

2013-06-24 Thread Eric Snow
Eric Snow added the comment: For the record, issue12633 has some more discussion on this. -- nosy: +eric.snow ___ Python tracker ___ _

[issue12633] sys.modules doc entry should reflect restrictions

2013-06-24 Thread Eric Snow
Eric Snow added the comment: issue17953 addressed part of this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue15004] add weakref support to types.SimpleNamespace

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17421] Drop restriction that meta.__prepare__() must return a dict (subclass)

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-06-24 Thread Eric Snow
Eric Snow added the comment: The gains here aren't worth the hassle in my mind, and I've lost interest in pushing this forward any further. If anyone else wants to pick this up, feel free to re-open the issue. -- assignee: eric.snow -> resolution: -> rejected status: open -> closed

[issue16251] pickle special methods are looked up on the instance rather than the type

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue16223] untokenize returns a string if no encoding token is recognized

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12857] Expose called function on frame object

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue18111] Add a default argument to min & max

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76196691b5d0 by Raymond Hettinger in branch 'default': Issue 18111: Add a default argument to min() and max() http://hg.python.org/cpython/rev/76196691b5d0 -- nosy: +python-dev ___ Python tracker

[issue18111] Add a default argument to min & max

2013-06-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

<    1   2