GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Project inference is broken under Python 3.5.1 · Issue #1470 · googleapis/google-cloud-python

Project inference is broken under Python 3.5.1 #1470

New issue
Copy link
New issue
Copy link
Closed
Closed
Project inference is broken under Python 3.5.1#1470
Copy link
Assignees
dhermes
Labels
api: coretype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@jlowin
jlowin
opened on Feb 15, 2016
Issue body actions

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

  1. dhermes commented on Feb 15, 2016

    @dhermes
    dhermes
    on Feb 15, 2016
    Contributor
    More actions

    Really appreciate the bugs @jlowin!

  2. dhermes
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: core
    on Feb 15, 2016
  3. jlowin commented on Feb 15, 2016

    @jlowin
    jlowin
    on Feb 15, 2016
    Author
    More actions

    Happy to help :)

  4. dhermes commented on Feb 20, 2016

    @dhermes
    dhermes
    on Feb 20, 2016
    Contributor
    More actions

    @jlowin Working on a fix now. Sorry for the delay!

  5. dhermes
    added a commit that references this issue on Feb 20, 2016

    Allow bytes or string as project value in clients.

    This issue will close once commit d900a69 is merged into the 'master' branch.
    d900a69
  6. dhermes
    closed this as completedin #1505on Feb 20, 2016
  7. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  8. parthea
    added 2 commits that reference this issue on Nov 24, 2025

    chore(deps): update dependency setuptools to v65.5.0 (#1470)

    6be32e7

    Token update (#1470)

    969808f
  9. parthea
    added 2 commits that reference this issue on Mar 6, 2026

    testing: remove test_create_table_with_policy (#1470)

    85775f4

    samples: Add samples for async download files #1470 (#1471)

    9d0ad4c
  10. parthea
    added a commit that references this issue on Apr 1, 2026

    chore: add feedback link to all functions exceptions (#1470)

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

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.