[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

[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 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 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 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
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-19 Thread turnbull
I apologize for the top-post and awkward trimming, my employer just switched to o365 and won't accomodate my existing mail client so I'm stuck with a crappy webmail client on this address. :-p I agree with Barry on both points: seems like a good idea, but the search priority should be ./.pdbr

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

2023-04-18 Thread Barry
> On 18 Apr 2023, at 14:20, Gustaf Waldemarson > wrote: > > Hello, > > I don't really use the Python debugger all that much, but recently I used it > quite a bit for a small side-project. That said, it kept annoying me that > there > were no history associated with the prompt, so I added a