[Python-ideas] Re: Function for fetching what months between two dates

2020-12-15 Thread Marco Sulla
On Tue, 15 Dec 2020 at 15:32, Steven D'Aprano wrote: > > On Tue, Dec 15, 2020 at 03:08:51AM -, qaidjoharbarbh...@gmail.com wrote: > > Hello, > > > > Greetings! > > > > I have the following idea of adding a function in Lib/datetime.py > > which when called with the datetime.date object returns

[Python-ideas] Re: Function for fetching what months between two dates

2020-12-15 Thread Steven D'Aprano
On Tue, Dec 15, 2020 at 03:08:51AM -, qaidjoharbarbh...@gmail.com wrote: > Hello, > > Greetings! > > I have the following idea of adding a function in Lib/datetime.py > which when called with the datetime.date object returns the months > between the object datetime.date and the object datet

[Python-ideas] Re: Function for fetching what months between two dates

2020-12-15 Thread Valentin Berlier
Hi. Bundling this into the standard library doesn't seem to provide any real advantage over defining it as a free-standing utility function in your own code. And if it's in your own code you can easily tweak it if you need to :) ___ Python-ideas maili