Re: [Python-Dev] Add aware local time support to datetime module

2010-08-08 Thread Lennart Regebro
On Wed, Aug 4, 2010 at 19:46, Alexander Belopolsky wrote: > [I've got no response from python-ideas, so I am forwarding to python-dev.] > > With addition of fixed offset timezone class and the timezone.utc > instance [0], it is easy to get UTC time as an aware datetime > instance: > datetime.

Re: [Python-Dev] mingw support?

2010-08-08 Thread Martin v. Löwis
Am 08.08.2010 03:27, schrieb Greg Ewing: > Nick Coghlan wrote: > >> This used to be more of an issue because MS didn't provide a decent >> free compiler for their platform. These days (since the release of >> Visual Studio Express), we expect that people willing to use (or >> support) a closed OS

Re: [Python-Dev] mingw support?

2010-08-08 Thread Jeroen Ruigrok van der Werven
-On [20100808 02:23], Nick Coghlan (ncogh...@gmail.com) wrote: >This used to be more of an issue because MS didn't provide a decent >free compiler for their platform. These days (since the release of >Visual Studio Express), we expect that people willing to use (or >support) a c

Re: [Python-Dev] mingw support?

2010-08-08 Thread Nick Coghlan
On Mon, Aug 9, 2010 at 1:55 AM, Jeroen Ruigrok van der Werven wrote: > -On [20100808 02:23], Nick Coghlan (ncogh...@gmail.com) wrote: >>This used to be more of an issue because MS didn't provide a decent >>free compiler for their platform. These days (since the release of >

Re: [Python-Dev] mingw support?

2010-08-08 Thread Jeroen Ruigrok van der Werven
-On [20100808 18:29], Nick Coghlan (ncogh...@gmail.com) wrote: >MS may have improved the tools they release with the SDK to the point >where they can build a VS solution file (I haven't tried that in >years). From my quick glance of what the current SDK installs that does to seem

Re: [Python-Dev] mingw support?

2010-08-08 Thread Terry Reedy
On 8/7/2010 3:55 PM, li...@gabriel-striewe.de wrote: Dear list, I was wondering whether there would ever be support for python to be build by the mingw compiler suite. I found a few patches in the internet but there were disagreeing comments on whether they are functional or not. So I would lik

[Python-Dev] Was Tracker Summary sent Fri Aug 6?\

2010-08-08 Thread Terry Reedy
The usual Friday Summary of Python Trackers Issues did not appear on Gmane. Was one generated? Or did it just fail to make it to gmane? I use to to review new issues, so even late would be better than never. -- Terry Jan Reedy ___ Python-Dev mailing l

Re: [Python-Dev] Was Tracker Summary sent Fri Aug 6?\

2010-08-08 Thread Martin v. Löwis
Am 08.08.2010 22:03, schrieb Terry Reedy: > The usual Friday Summary of Python Trackers Issues did not appear on > Gmane. Was one generated? Sending it failed due to a hard disk problem. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Return code when there's a problem at shutdown

2010-08-08 Thread Antoine Pitrou
Hello, In issue #5319, the poster complains that redirecting stdout to a misbehaving (pseudo-)file such as /dev/full should produce a non-zero error code when the IO error happens at shutdown (when calling flush() on stdout). Is it a reasonable expectation? What would you think of making the cha

Re: [Python-Dev] [Python-checkins] r83860 - python/branches/py3k/Python/_warnings.c

2010-08-08 Thread Benjamin Peterson
2010/8/8 victor.stinner : > Author: victor.stinner > Date: Mon Aug  9 00:12:45 2010 > New Revision: 83860 > > Log: > Issue #9425: fix setup_context() for non-ascii filenames Test? -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] mingw support?

2010-08-08 Thread Neil Hodgson
Terry Reedy: > I suspect that the persons who first ported Python to MSDOS simply used what > they were used to using, perhaps in their paid job. And I am sure that is > still true of at least some of the people doing Windows support today. Some Windows developers actually prefer Visual Studio

Re: [Python-Dev] Return code when there's a problem at shutdown

2010-08-08 Thread Terry Reedy
On 8/8/2010 5:49 PM, Antoine Pitrou wrote: Hello, In issue #5319, the poster complains that redirecting stdout to a misbehaving (pseudo-)file such as /dev/full should produce a non-zero error code when the IO error happens at shutdown (when calling flush() on stdout). I think is worth noting

Re: [Python-Dev] r83869 - in python/branches/py3k: Doc/library/socket.rst Doc/whatsnew/3.2.rst Lib/ssl.py Lib/test/test_socket.py Misc/NEWS Modules/socketmodule.c

2010-08-08 Thread Antoine Pitrou
On Mon, 9 Aug 2010 01:24:50 +0200 (CEST) antoine.pitrou wrote: > Author: antoine.pitrou > Date: Mon Aug 9 01:24:50 2010 > New Revision: 83869 > > Log: > Issue #8524: Add a forget() method to socket objects, so as to put the > socket into the closed state without closing the underlying file > de

Re: [Python-Dev] r83869 - in python/branches/py3k: Doc/library/socket.rst Doc/whatsnew/3.2.rst Lib/ssl.py Lib/test/test_socket.py Misc/NEWS Modules/socketmodule.c

2010-08-08 Thread Eric Smith
On 8/8/10 7:48 PM, Antoine Pitrou wrote: On Mon, 9 Aug 2010 01:24:50 +0200 (CEST) antoine.pitrou wrote: Author: antoine.pitrou Date: Mon Aug 9 01:24:50 2010 New Revision: 83869 Log: Issue #8524: Add a forget() method to socket objects, so as to put the socket into the closed state without cl

Re: [Python-Dev] Return code when there's a problem at shutdown

2010-08-08 Thread Antoine Pitrou
On Sun, 08 Aug 2010 18:49:50 -0400 Terry Reedy wrote: > > In the above example, I could say that Python did what it promised to do > -- print something to the stdout stream, and that failure on flushing > was outside its purview. > > I could also say that if one wants the flush to be considere

Re: [Python-Dev] [Python-checkins] r83831 - in python/branches/release31-maint/Lib: subprocess.py test/test_subprocess.py

2010-08-08 Thread Tim Golden
On 08/08/2010 11:31 PM, Eric Smith wrote: On 8/8/10 12:18 PM, tim.golden wrote: Modified: python/branches/release31-maint/Lib/subprocess.py == --- python/branches/release31-maint/Lib/subprocess.py (original) +++ python