[New-bugs-announce] [issue31797] Python 3.6.3: JSON loop fails using elif

Francesco Mantovani report at bugs.python.org
Mon Oct 16 06:14:43 EDT 2017


New submission from Francesco Mantovani <francesco84mantovani at gmail.com>:

I attach here a file with 3 different way to parse Google Places API.

Please put your Google API key token into the variable [PutHereYourGoogleAPIKey] to make the script work.

The script contains 3 loops:
- the first loop works and that's how I fixed the problem 
- the second loop fail because of the `elif`
- the third loop works because all `elif` were removed

----------
components: Interpreter Core
files: Test_log_bug.py
messages: 304465
nosy: Francesco Mantovani
priority: normal
severity: normal
status: open
title: Python 3.6.3: JSON loop fails using elif
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file47222/Test_log_bug.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31797>
_______________________________________


More information about the New-bugs-announce mailing list