Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use octal notation for permission modes #87

Closed
wants to merge 2 commits into from

Conversation

@eliasp
Copy link

eliasp commented Aug 6, 2016

As of Python 3, decimal notations of octal values for permission modes
are no longer permitted and will result in a SyntaxError exception
(invalid token).

Using the proper octal notation which is also Python 2.7 compatible will
fix this issue.


This change is Reviewable

eliasp added 2 commits Aug 6, 2016
As of Python 3, decimal notations of octal values for permission modes
are no longer permitted and will result in a `SyntaxError` exception
(`invalid token`).

Using the proper octal notation which is also Python 2.7 compatible will
fix this issue.
@eliasp eliasp force-pushed the eliasp:py3-os.chmod-mode branch from bbfad77 to 3b0b92d Aug 6, 2016
@eliasp
Copy link
Author

eliasp commented Aug 6, 2016

The build failure is unrelated (a crates download failed).
The build should be retriggered.

@jdm
Copy link
Member

jdm commented Aug 6, 2016

All of this code is imported from upstream: http://hg.mozilla.org/mozilla-central/ . These changes will need to be submitted as patches in https://bugzilla.mozilla.org/, or they'll be overwritten next time we update this repository.

@jdm jdm closed this Aug 6, 2016
@Ms2ger
Copy link
Collaborator

Ms2ger commented Aug 8, 2016

@eliasp do you want to submit upstream or should I?

@eliasp
Copy link
Author

eliasp commented Aug 8, 2016

@Ms2ger would be awesome if you could take care of this. Never worked in the Mozilla upstream ecosystem and would require quite a bit effort for me to get this done…
thanks a lot!

@Manishearth
Copy link
Member

Manishearth commented Aug 8, 2016

FWIW if you want to try, I'm willing to help mentor you through the process. Otherwise one of us can submit it for you, of course 😄

@Ms2ger
Copy link
Collaborator

Ms2ger commented Aug 8, 2016

https://bugzilla.mozilla.org/show_bug.cgi?id=1293234 for the parts that are definitely under Mozilla control; will poke around for the other parts.

@eliasp
Copy link
Author

eliasp commented Aug 9, 2016

@Manishearth thanks a lot for the offer of mentoring me, but I'm already active in too many other projects. This was more or less just a drive-by PR as I wanted to build Servo on my box for playing with it ;)

@eliasp eliasp deleted the eliasp:py3-os.chmod-mode branch Aug 9, 2016
@eliasp
Copy link
Author

eliasp commented Aug 9, 2016

@Ms2ger thanks a lot for submitting it upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.