You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @gotcha for your excellent debugger tool, ipdb.
I'm playing around with extending some of the features of the configuration parser (see other GH issues I'm filing later today).
The first issue that I've run into is that, to save the user effort, the ipdb section of the config file is automatically created, and all configuration entries are read in under that.
This means that this works:
context=10
But this breaks with a DuplicateSectionError:
[ipdb]context=10
While this syntactical sugar is very convenient, it does make some things I'm planning more difficult. Would you be amenable to having the secondary syntax also valid? It would require only minor modification to __main__.ConfigFile to check whether the regex r'^[ipdb]$' appears anywhere in the read config file.
Note: I would create a Pull Request for this, as it seems to be a simple change, but my employer bans me from contributing to FOSS projects.
The text was updated successfully, but these errors were encountered:
Thanks @gotcha for your excellent debugger tool, ipdb.
I'm playing around with extending some of the features of the configuration parser (see other GH issues I'm filing later today).
The first issue that I've run into is that, to save the user effort, the
ipdb
section of the config file is automatically created, and all configuration entries are read in under that.This means that this works:
context=10
But this breaks with a
DuplicateSectionError
:While this syntactical sugar is very convenient, it does make some things I'm planning more difficult. Would you be amenable to having the secondary syntax also valid? It would require only minor modification to
__main__.ConfigFile
to check whether the regexr'^[ipdb]$'
appears anywhere in the read config file.Note: I would create a Pull Request for this, as it seems to be a simple change, but my employer bans me from contributing to FOSS projects.
The text was updated successfully, but these errors were encountered: