[issue33223] test_posix fails ERRNO 0

2018-04-04 Thread Ioannis Valasakis

New submission from Ioannis Valasakis :

I am on mac OSX high Sierra 10.13.4. I am using the Apple LLVM version 9.1.0 
(clang-902.0.37.1) from the XCode toolchain. 

My tests fail on posix and if run the interpreter I get

--- pylog ---
./python.exe
Python 3.8.0a0 (heads/master:da58533ac6, Apr  3 2018, 16:54:53)
[Clang 9.1.0 (clang-902.0.37.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getgrouplist('wizofe', 20)
Traceback (most recent call last):
  File "", line 1, in 
OSError: [Errno 0] Error
--- pylog ---

My system is defined as case-sensitive in the setup.

--
components: Tests, ctypes, macOS
messages: 314934
nosy: ned.deily, ronaldoussoren, wizofe
priority: normal
severity: normal
status: open
title: test_posix fails ERRNO 0
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue33223>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33223] test_posix fails ERRNO 0

2018-04-04 Thread Ioannis Valasakis

Ioannis Valasakis  added the comment:

Note: I get the same error with the version of python installed via homebrew:

(Python 3.6.4 (default, Jan  6 2018, 11:51:59)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin

Here is also the output of the id command, if that is helpful:

(box3) λ /Volumes/pythontesting/cpython/ master id
uid=501(wizofe) gid=20(staff) 
groups=20(staff),1(daemon),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),204(_developer),450(_xcs),701(1),33(_appstore),100(_lpoperator),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh)

I am also attaching a dtrace log of the two liner that causes the bug.

--

___
Python tracker 
<https://bugs.python.org/issue33223>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com