Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

filter .pyc messages out of sandbox log #47640

Closed
tdsmith opened this issue Jan 3, 2016 · 7 comments
Closed

filter .pyc messages out of sandbox log #47640

tdsmith opened this issue Jan 3, 2016 · 7 comments

Comments

@tdsmith
Copy link
Contributor

tdsmith commented Jan 3, 2016

Messages of the form .*Python(\d+) deny file-write-create.*pyc are just noise and aren't fatal; it would be nice to hide them from the sandbox log summary.

@MikeMcQuaid
Copy link
Member

👍

@DomT4
Copy link
Member

DomT4 commented Jan 3, 2016

No objections.

@bfontaine
Copy link
Contributor

We could maybe set ENV["PYTHONDONTWRITEBYTECODE"] = "1" to avoid that?

@tdsmith
Copy link
Contributor Author

tdsmith commented Jan 3, 2016

Either way; filtering has a small risk of filtering out messages we actually care about and setting PYTHONDONTWRITEBYTECODE doesn't. Morally, filtering feels a little better because it doesn't change the behavior of the interpreter for the test, but that seems like an unlikely source of bugs.

@MikeMcQuaid
Copy link
Member

We could maybe set ENV["PYTHONDONTWRITEBYTECODE"] = "1" to avoid that?

👍

@apjanke apjanke modified the milestone: Clear out Legacy May 3, 2016
@MikeMcQuaid
Copy link
Member

If this is still broken: we'll accept PRs for this but we're not actively working on it at this time.

@tdsmith
Copy link
Contributor Author

tdsmith commented Aug 11, 2016

This issue was moved to Homebrew/brew#683

@Homebrew Homebrew locked and limited conversation to collaborators Aug 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants