Skip to content

Project inference is broken under Python 3.5.1 #1470

Description

@jlowin

Project inference takes place in _determine_default_project(), which hands off to _compute_engine_id(). That returns the correct value -- but as bytes. The Client class checks if the project value is a str (using six.string_types) and raises an error because it is not (that code is here).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: coretype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions