[pypy-issue] [issue833] missing functions in the os module

2014-05-13 Thread Armin Rigo
Armin Rigo added the comment: Yes, that's the problem. Any PyPy translated using an older PyPy will only contain whatever os-module functions were already available in this older PyPy. This is rather buggy, but there is little incentive to fix it for the future, now that all functions are ther

[pypy-issue] [issue833] missing functions in the os module

2014-05-13 Thread Jana Sasout
Jana Sasout added the comment: I compiled it myself on an uptodate version of Gentoo x86-64. I, however, used the existing install of PyPy for translation, which didn't know about about os.setgroups either. Was this my mistake? (otherwise, I'll find out in an hour or so) If this was my mi

[pypy-issue] [issue833] missing functions in the os module

2014-05-13 Thread Armin Rigo
Armin Rigo added the comment: "os.setgroups" works without AttributeError for me on PyPy 2.3 (Linux64). Can you give more precisely your OS/platform, and from where you downloaded the PyPy you installed? We know that there are possible issues with that depending on how it is translated. _

[pypy-issue] [issue833] missing functions in the os module

2014-05-12 Thread Jana Sasout
Jana Sasout added the comment: I just wanted to write a small patch to sneek in setgroups, but then noticed that it's already there. Unfortunately it still says "AttributeError: 'module' object has no attribute 'setgroups'". So, I suspect there is an issue with the conditional "@registering_

[pypy-issue] [issue833] missing functions in the os module

2013-11-09 Thread Armin Rigo
Armin Rigo added the comment: I've now added all the remaining names. Still translating to check things are ok, but it seems to work, so I'm closing this. -- status: chatting -> resolved PyPy bug tracker __

[pypy-issue] [issue833] missing functions in the os module

2013-11-09 Thread Armin Rigo
Armin Rigo added the comment: The current list of missing names, using a fresh CPython-translated PyPy: < confstr < confstr_names < getresgid < getresuid < initgroups < pathconf < setgroups < setresgid < setresuid < tcgetpgrp < tcsetpgrp -- release: 2.0 -> ___

[pypy-issue] [issue833] missing functions in the os module

2013-02-09 Thread Amaury Forgeot d Arc
Amaury Forgeot d Arc added the comment: Using the host python is bad indeed. rffi_platform.configure() could be used instead to detect the presence of specific functions. -- nosy: +amaury PyPy bug tracker _

[pypy-issue] [issue833] missing functions in the os module

2013-02-09 Thread bdk
bdk added the comment: some of these would be present if the buildbots translated pypy using a fresh cpython2.7 (with proper functions in the os module) rather than using an older pypy (which was translated either before the function was included in pypy's os or before the functions were in t