This is a minor thing. It’s a convention, not a rule (obviously)—but it’s also a best practice.
Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
This was already the case for Legacy.PaginatedList.
Doing it in PaginatedList.PaginatedList reduces the amount of
repeated code and will allow a generic solution for issue #77
- The label's _identity attribute is URL encoded.
This is probably correct when it is being
used as part of an API endpoint URL, but
when used as part of the POST data, GitHub
will return a 422 error stating that the
label does not exist.