New submission from David Watson <bai...@users.sourceforge.net>:

The pwd module decodes usernames using PyUnicode_DecodeFSDefault(), so 
initgroups() should use PyUnicode_FSConverter() for the username.  Patch 
attached.

----------
components: Extension Modules
files: initgroups-pep383.diff
keywords: patch
messages: 113921
nosy: baikie
priority: normal
severity: normal
status: open
title: os.initgroups() doesn't accept PEP 383 usernames returned by pwd module
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file18530/initgroups-pep383.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9604>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to