[Python-ideas] Re: XDG Directory Support for PDB

2023-04-20 Thread Gustaf Waldemarson
Interesting, are you both sure ./.pdbrc should be the first file? I was expecting the order to always go from "most general" to "most specific", i.e., "system" -> "home" -> "current". This way, it would be straightforward to have general configuration in a "system"/"home" configuration which can be

[Python-ideas] Re: XDG Directory Support for PDB

2023-04-20 Thread Barry
On 20 Apr 2023, at 14:24, Gustaf Waldemarson wrote:Interesting, are you both sure ./.pdbrc should be the first file? I was expectingthe order to always go from "most general" to "most specific", i.e.,"system" -> "home" -> "current". This way, it would be straightforwardto have general configurati

[Python-ideas] Re: XDG Directory Support for PDB

2023-04-20 Thread Gustaf Waldemarson
> Oh i see you read all the files. > Usually you need to stop looking once you find an rc file. I guess that really depends on the program, but since pdb is modelled on gdb, I figured it made sense to do something similar :) Anyways, I'll prep a pull-request for the cpython repo, should be intere

[Python-ideas] Re: XDG Directory Support for PDB

2023-04-20 Thread Barry
On 20 Apr 2023, at 16:52, Gustaf Waldemarson wrote:> Oh i see you read all the files.> Usually you need to stop looking once you find an rc file.I guess that really depends on the program, but since pdb is modelled ongdb, I figured it made sense to do something similar :)Turns out the gdbinit beh

[Python-ideas] Re: XDG Directory Support for PDB

2023-04-20 Thread Barry
On 20 Apr 2023, at 16:52, Gustaf Waldemarson wrote:> Oh i see you read all the files.> Usually you need to stop looking once you find an rc file.I guess that really depends on the program, but since pdb is modelled ongdb, I figured it made sense to do something similar :)Turns out the gdbinit be

[Python-ideas] Re: XDG Directory Support for PDB

2023-04-20 Thread turnbull
2023-04-21 00:51 に Gustaf Waldemarson さんは書きました: Oh i see you read all the files. Usually you need to stop looking once you find an rc file. I guess that really depends on the program, but since pdb is modelled on gdb, I figured it made sense to do something similar :) I don't have a proble