Re: [Python-Dev] datetime module and pytz with dateutil

2012-04-01 Thread Terry Reedy
On 4/1/2012 9:16 AM, Lennart Regebro wrote: On Sat, Mar 31, 2012 at 21:20, Terry Reedy wrote: The Windows installer, by default, installs tcl/tk while Python on other systems uses the system install. Why can't we do the same for the Olson database? The problem is that it needs updating. We co

Re: [Python-Dev] datetime module and pytz with dateutil

2012-04-01 Thread Lennart Regebro
On Sat, Mar 31, 2012 at 21:20, Terry Reedy wrote: > The Windows installer, by default, installs tcl/tk while Python on other > systems uses the system install. Why can't we do the same for the Olson > database? The problem is that it needs updating. We could include pytz, but it would be useless

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-31 Thread Andrew Svetlov
On Sat, Mar 31, 2012 at 10:20 PM, Terry Reedy wrote: > So I think we should define correct behavior of pytz as use with the latest > Olson database. Use with an older version would then be a 'bug' subject to > being fixed. On Windows, we could update as needed with every bugfix > release. (And gi

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-31 Thread Terry Reedy
On 3/31/2012 6:28 AM, Michael Foord wrote: On 31 Mar 2012, at 07:32, Lennart Regebro wrote: On Fri, Mar 30, 2012 at 12:38, Serhiy Storchaka wrote: I don't understand why Python may not include the pytz. The Olson tz database is not part of pytz. Yes it is. Python can depend on a system t

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-31 Thread Lennart Regebro
On Sat, Mar 31, 2012 at 12:28, Michael Foord wrote: > *However*, doesn't Windows have its own system database? Yeah, but it sucks. > The problem is that in order to not include the olsen database, pytz > would need to be modified to use the system database on Windows. Quite a lot too, I'd guess

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-31 Thread Michael Foord
On 31 Mar 2012, at 07:32, Lennart Regebro wrote: > On Fri, Mar 30, 2012 at 12:38, Serhiy Storchaka wrote: >> I don't understand why Python may not include the pytz. The Olson tz >> database is not part of pytz. > > Yes it is. > >> Python can depend on a system tz database > > That works on Un

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-30 Thread Lennart Regebro
On Fri, Mar 30, 2012 at 12:38, Serhiy Storchaka wrote: > I don't understand why Python may not include the pytz. The Olson tz > database is not part of pytz. Yes it is. > Python can depend on a system tz database That works on Unix, but not on Windows, where there is no Olsen database. //Lenna

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-30 Thread Nick Coghlan
On Fri, Mar 30, 2012 at 10:47 PM, R. David Murray wrote: > On Fri, 30 Mar 2012 13:38:13 +0300, Serhiy Storchaka > wrote: >> 28.03.12 23:20, Andrew Svetlov написав(ла): >> > I figured out what pytz and dateutil are not mentioned in python docs >> > for datetime module. >> > It's clean why these l

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-30 Thread Andrew Svetlov
I filed the http://bugs.python.org/issue14448 BTW. On Fri, Mar 30, 2012 at 3:47 PM, R. David Murray wrote: > On Fri, 30 Mar 2012 13:38:13 +0300, Serhiy Storchaka > wrote: >> 28.03.12 23:20, Andrew Svetlov написав(ла): >> > I figured out what pytz and dateutil are not mentioned in python docs >>

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-30 Thread R. David Murray
On Fri, 30 Mar 2012 13:38:13 +0300, Serhiy Storchaka wrote: > 28.03.12 23:20, Andrew Svetlov написав(ла): > > I figured out what pytz and dateutil are not mentioned in python docs > > for datetime module. > > It's clean why these libs is not a part of Python Libraries — but > > that's

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-30 Thread Serhiy Storchaka
28.03.12 23:20, Andrew Svetlov написав(ла): I figured out what pytz and dateutil are not mentioned in python docs for datetime module. It's clean why these libs is not a part of Python Libraries — but that's not clean for Docs. I don't understand why Python may not include the pytz. The Olson t

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-28 Thread Andrew Svetlov
I'm personally +1 for pytz only — dateutil is big enough and... Well, can we just point to pytz in our docs for datetime module? On Thu, Mar 29, 2012 at 12:06 AM, Guido van Rossum wrote: > +1 If pytz is py3k cabable. -1 for dateutIl. > > > On Wednesday, March 28, 2012, Andrew Svetlov wrote: >> >

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-28 Thread Guido van Rossum
+1 If pytz is py3k cabable. -1 for dateutIl. On Wednesday, March 28, 2012, Andrew Svetlov wrote: > I figured out what pytz and dateutil are not mentioned in python docs > for datetime module. > It's clean why these libs is not a part of Python Libraries — but > that's not clean for Docs. > From m

[Python-Dev] datetime module and pytz with dateutil

2012-03-28 Thread Andrew Svetlov
I figured out what pytz and dateutil are not mentioned in python docs for datetime module. It's clean why these libs is not a part of Python Libraries — but that's not clean for Docs. From my perspective at least pytz (as py3k compatible) should to be mentioned as the library which contains timezon