Page MenuHomePhorge

[Python 3] Use 0o prefix for octal numbers
ClosedPublic

Authored by sicherha on Jan 8 2022, 11:37 AM.
Tags
None
Referenced Files
F18209334: D3226.diff
Wed, Jan 22, 5:29 PM
Unknown Object (File)
Thu, Jan 9, 7:00 PM
Unknown Object (File)
Tue, Jan 7, 5:08 AM
Unknown Object (File)
Sat, Jan 4, 11:52 AM
Unknown Object (File)
Fri, Dec 27, 5:16 AM
Unknown Object (File)
Wed, Dec 25, 2:15 PM
Unknown Object (File)
Dec 22 2024, 11:36 PM
Unknown Object (File)
Dec 21 2024, 8:13 PM
Subscribers

Details

Summary

The new 0o prefix was introduced in Python 2.6; the old 0 prefix was
deprecated in Python 3.0.

Diff Detail

Repository
rP pykolab
Branch
02-octal-prefix
Lint
Lint Errors
SeverityLocationCodeMessage
Errorpykolab/auth/ldap/syncrepl.py:75E701PEP8 E701
Errorpykolab/auth/ldap/syncrepl.py:76E701PEP8 E701
Errorpykolab/setup/setup_mta.py:403E111PEP8 E111
Errorpykolab/setup/setup_mta.py:404E111PEP8 E111
Unit
No Test Coverage
Build Status
Buildable 37771
Build 15223: arc lint + arc unit

Event Timeline

sicherha created this revision.
mollekopf subscribed.

This requires python >= 2.6, which is fine I think.

This revision is now accepted and ready to land.Jan 10 2022, 9:44 AM
This revision was landed with ongoing or failed builds.Jan 10 2022, 8:41 PM
This revision was automatically updated to reflect the committed changes.