salimfadhley/jenkinsapi — Issue #8: Proposal: Change the id() methods to name()
Author: salimfadhley
Created: 2012-02-27 20:51:31+00:00
State: open

Many jenkinsapi objects have a method called id() which returns a string identifier. You can see this in Node and Job.

Unfortunately id is an over-used expression, and is also a built-in symbol in Python. To avoid confusion we should rename all instances of id() to get_name() which I think is a more Pythonic convention.

Can anybody speak out if you object to this change?