Repository navigation
Closed
Description
| BPO | 26856 |
|---|---|
| Nosy | @xdegaye, @Fak3, @moreati |
| PRs | |
| Dependencies | |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = 'https://github.com/xdegaye'
closed_at = None
created_at = <Date 2016-04-26.13:29:05.170>
labels = ['3.7', 'tests', 'type-bug', 'library', 'build']
title = 'android does not have pwd.getpwall()'
updated_at = <Date 2017-11-25.16:33:07.817>
user = 'https://github.com/xdegaye'bugs.python.org fields:
activity = <Date 2017-11-25.16:33:07.817>
actor = 'xdegaye'
assignee = 'xdegaye'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'Tests', 'Cross-Build']
creation = <Date 2016-04-26.13:29:05.170>
creator = 'xdegaye'
dependencies = ['27027', '32033']
files = ['42608', '42913', '45855']
hgrepos = []
issue_num = 26856
keywords = ['patch']
message_count = 6.0
messages = ['264279', '265919', '282975', '283082', '306962', '306966']
nosy_count = 4.0
nosy_names = ['xdegaye', 'python-dev', 'Roman.Evstifeev', 'Alex.Willmer']
pr_nums = ['4561']
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue26856'
versions = ['Python 3.6', 'Python 3.7']
Activity
xdegaye commentedon Apr 26, 2016
User ids on android are the ids of the applications and they are used to enforce the applications access rights. See the 'User IDs and File Access' section at http://developer.android.com/guide/topics/security/permissions.html.
Most integers are existing user ids on android. This may explain why getpwall() is missing.
Patch attached.
xdegaye commentedon May 20, 2016
This new patch adds a dependency to issue bpo-27027.
xdegaye commentedon Dec 12, 2016
Patch updated to the current head of the default branch.
python-dev commentedon Dec 13, 2016
New changeset e89c9ab46d77 by Xavier de Gaye in branch '3.6':
Issue bpo-26856: Fix the tests assuming that the pwd module has getpwall() and
https://hg.python.org/cpython/rev/e89c9ab46d77
New changeset 692083f85981 by Xavier de Gaye in branch 'default':
Issue bpo-26856: Merge 3.6.
https://hg.python.org/cpython/rev/692083f85981
xdegaye commentedon Nov 25, 2017
The pwd module is broken when a member of the 'passwd’ data structure is NULL (bpo-32033).
Remove _getpwall() and therefore skip test_pwd on Android until bpo-32033 is fixed.
xdegaye commentedon Nov 25, 2017
New changeset 76fdac4 by xdegaye in branch 'master':
bpo-26856: Skip test_pwd on Android until bpo-32033 is fixed (GH-4561)
76fdac4
kumaraditya303 commentedon May 27, 2022
Fixed by #4561