STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited: r78886 (trunk), r7 (py3k).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7818
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7818
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The method was supposed to be for internal use only
I found this bug by fuzzing.
it may be worthwhile to build-out the test to accept many different possible
inputs (...)
Yeah, but I just want to avoid an assertion error :-)
New submission from STINNER Victor victor.stin...@haypocalc.com:
test_c_api() method of a set() (only defined in pydebug mode) suppose that the
set content is abc. It causes assertion error if the method is called in a
set different than set(abc).
My patch modifies the set content at the
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +Interpreter Core
type: - crash
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7818
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7818
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Will think about this. The method was supposed to be for internal use only.
May just rename it to _test_c_api() and add a docstring noting that it is only
defined for abc.
That being said, it may be worthwhile to