question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined variable m in configobj.py

See original GitHub issue

https://github.com/astropy/astropy/blob/e925369a6cc054596fde643261e634012002c0c0/astropy/extern/configobj/configobj.py#L142-L145

flake8 complains about “undefined variable ‘m’”. Not sure if this is a bug or maybe m is mysteriously defined globally somewhere.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
astrofrogcommented, Sep 17, 2018

letitgo

1reaction
bsipoczcommented, Sep 17, 2018

Ohh, good to see another proof that my memory is leaking (I didn’t remember being down this road already https://github.com/DiffSK/configobj/issues/160#issuecomment-394854556)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why I am getting " Undefined Variable "? - python
I am new to Python so hope to get some help with the issue. I am getting Undefined Variable 'r' error and I...
Read more >
"KeyError: 'undefined variable: 0'" when using {% import ...
So it appears to be something to do with the combination of import and include which is causing it to barf. So there...
Read more >
configobj Documentation - Read the Docs
The unrepr option reads and writes files in a different mode. This allows you to store and retrieve the basic Python data-types using...
Read more >
Using Environment Variables in Python for App Configuration ...
Learn how experienced developers use environment variables in Python, including managing default values and typecasting.
Read more >
1. ConfigObj 5 Introduction and Reference
This allows you to store and retrieve the basic Python data-types using config files. This uses Python syntax for lists and quoting. See...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found