[PR PATCH] [Closed]: Python3: Bulk literal octal number conversion

github at samba.org github at samba.org
Mon Feb 26 15:03:00 UTC 2018


There's a closed pull request on the Samba Samba Github repository

Python3: Bulk literal octal number conversion
https://github.com/samba-team/samba/pull/132
Description: 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


More information about the samba-technical mailing list