This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sh
Recipients sh, skrah
Date 2009-12-22.17:19:16
SpamBayes Score 1.320747e-08
Marked as misclassified No
Message-id <1261502357.72.0.975314946637.issue7561@psf.upfronthosting.co.za>
In-reply-to
Content
Not exactly. The last part fixes the second problem, which you get for
non-zero-length bytearrays. But without the first fix, zero-length
bytearrays still lead to a crash:

Python 3.2a0 (py3k:77001M, Dec 22 2009, 18:17:08)
[GCC 4.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import posix
>>> posix.mkdir(bytearray(0))
Segmentation fault

That's what the rest of the patch fixes.
History
Date User Action Args
2009-12-22 17:19:17shsetrecipients: + sh, skrah
2009-12-22 17:19:17shsetmessageid: <1261502357.72.0.975314946637.issue7561@psf.upfronthosting.co.za>
2009-12-22 17:19:16shlinkissue7561 messages
2009-12-22 17:19:16shcreate