GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Make privileged functions available on Android · Issue #152936 · python/cpython Closed Labels OS-androidstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement DescriptionProposal:configure.ac contains a list of privileged functions which are "blocked" on Android, i.e. they simply won't exist in the stdlib. This was because when any of the underlying C functions are called by a non-root user, instead of returning a PermissionError as they would on Linux, they cause a low-level crash of the whole process. This approach has 2 problems:
Termux is working around this by making Python check the UID and raise the PermissionError itself in a non-root context. I think it would be a good idea to adopt this upstream.
Has this already been discussed elsewhere?I have already discussed this feature proposal on the Termux issue tracker Links to previous discussion of this feature:Linked PRsReacted by Yaksh Bariya and flameastro Activity
MetadataMetadataAssigneesLabelsOS-androidstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |