Brian Kearns added the comment:
Updated to use assertEqual
--
Added file: http://bugs.python.org/file36452/fdopen-directory.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22259
___
Changes by Brian Kearns bdkea...@gmail.com:
Removed file: http://bugs.python.org/file36450/fdopen-directory.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22259
___
Roundup Robot added the comment:
New changeset 6e67a0394957 by Benjamin Peterson in branch '2.7':
don't segfault when trying to fdopen() a fd for a dir (closes #22259)
http://hg.python.org/cpython/rev/6e67a0394957
--
nosy: +python-dev
resolution: - fixed
stage: patch review - resolved
Changes by Brian Kearns bdkea...@gmail.com:
--
files: fdopen-directory.patch
keywords: patch
nosy: bdkearns
priority: normal
severity: normal
status: open
title: fdopen of directory causes segmentation fault
type: crash
versions: Python 2.7
Added file:
New submission from Berker Peksag:
Thanks for the patch. Please use assertEqual instead of assert.
--
nosy: +berker.peksag
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22259
Changes by Brian Kearns bdkea...@gmail.com:
Removed file: http://bugs.python.org/file36444/fdopen-directory.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22259
___
Changes by Brian Kearns bdkea...@gmail.com:
Added file: http://bugs.python.org/file36450/fdopen-directory.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22259
___