Martin v. Löwis <mar...@v.loewis.de> added the comment: Stepping back from the issue, I wonder whether posixmodule needs to accept bytearray objects at all.
IIRC, the rationale was to allow access to file names that are unencodable, an issue that was mitigated by PEP 383. But even if byte-oriented file names stay supported, it is unclear why bytearray needs to be supported (as opposed to just supporting bytes). I suggest to bring up the issue on python-dev. ---------- nosy: +loewis _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7561> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com