[PR PATCH] Python3: Bulk literal octal number conversion

github at samba.org github at samba.org
Fri Feb 23 16:17:07 UTC 2018


There is a new pull request by noelpower against master on the Samba Samba Github repository

https://github.com/noelpower/samba bulk_literal_octal
https://github.com/samba-team/samba/pull/132

Python3: Bulk literal octal number conversion
This patch converts literal octal numbers to a format that is acceptable in both python2 and python3.
e.g.

convert
           os.chmod(some_path, 0770)      # valid in python2 only
           os.chmod(some_path, 0o770)    # valid in python2 and python3

The commits follow the same pattern of patch grouping as a previous bulk conversion patch

A patch file from https://github.com/samba-team/samba/pull/132.patch is attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: github-pr-bulk_literal_octal-132.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180223/3f779d77/github-pr-bulk_literal_octal-132.patch>


More information about the samba-technical mailing list