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 fgarciar
Recipients fgarciar
Date 2011-06-25.15:54:49
SpamBayes Score 6.922306e-05
Marked as misclassified No
Message-id <1309017290.05.0.556727126165.issue12412@psf.upfronthosting.co.za>
In-reply-to
Content
pwd.struct_passwd has different representations in cpython 2.7.2 and pypy 1.5

A unit test from cpython might enforce the same representation across interpreters:

>>> print pwd.getpwuid(os.getuid())

Current cpython output:

pwd.struct_passwd(pw_name='demo_user', pw_passwd='********', pw_uid=1001, pw_gid=100, pw_gecos='demo_user', pw_dir='/Users/demo_user', pw_shell='/bin/bash')

Current pypy output
('demo_user', '********', 1001, 100, 'demo_user', '/Users/demo_user', '/bin/bash')
History
Date User Action Args
2011-06-25 15:54:50fgarciarsetrecipients: + fgarciar
2011-06-25 15:54:50fgarciarsetmessageid: <1309017290.05.0.556727126165.issue12412@psf.upfronthosting.co.za>
2011-06-25 15:54:49fgarciarlinkissue12412 messages
2011-06-25 15:54:49fgarciarcreate