[Python-Dev] unexpected traceback/stack behavior with chained exceptions (issue 1553375)

2010-11-13 Thread R. David Murray
Issue 1553375 [1] proposes a patch to add an 'allframes' option to the traceback printing and formatting routines so that the full traceback from the top of the execution stack down to the exception is printed, instead of just from the point where the exception is caught down to the exception. Thi

Re: [Python-Dev] PEP 385: Formatting of Hg checkin notifications

2010-11-13 Thread Terry Reedy
On 11/13/2010 8:28 PM, Nick Coghlan wrote: Following the python-checkins list, I get to see both the current SVN notifications and the Hg notifications from Tarek's pushes into the distutils repository. I realised today that there is one key reason as to why the latter strikes me as a big wall of

Re: [Python-Dev] Stable buildbots

2010-11-13 Thread David Bolen
Antoine Pitrou writes: > (even though the Windows buildbots give > a rather unconventional meaning to the word "stability"). Nag, nag, nag :-) There's been a bit of an uptick in the past few weeks with hung python_d processes (not a new issue, but it ebbs and flows), so I'm going to try to

[Python-Dev] PEP 385: Formatting of Hg checkin notifications

2010-11-13 Thread Nick Coghlan
Following the python-checkins list, I get to see both the current SVN notifications and the Hg notifications from Tarek's pushes into the distutils repository. I realised today that there is one key reason as to why the latter strikes me as a big wall of unintelligible text, while I find the SVN no

Re: [Python-Dev] Removal of Win32 ANSI API

2010-11-13 Thread Nick Coghlan
On Sun, Nov 14, 2010 at 10:19 AM, Antoine Pitrou wrote: > On Sun, 14 Nov 2010 01:06:55 +0100 > Victor Stinner wrote: >> >> The code is currently working. The question is if we have to drop the ANSI >> API >> now, later or never. > > If the code is currently working and isn't a security hole, the

Re: [Python-Dev] Removal of Win32 ANSI API

2010-11-13 Thread Antoine Pitrou
On Sun, 14 Nov 2010 01:06:55 +0100 Victor Stinner wrote: > > The code is currently working. The question is if we have to drop the ANSI > API > now, later or never. If the code is currently working and isn't a security hole, then we obviously don't "have to". Apparently several developers "wan

Re: [Python-Dev] Removal of Win32 ANSI API

2010-11-13 Thread Victor Stinner
On Saturday 13 November 2010 17:21:37 you wrote: > On 2010/11/12 4:26, Victor Stinner wrote: > > On Thursday 11 November 2010 17:07:28 Hirokazu Yamamoto wrote: > >> Hello. Is it possible to remove Win32 ANSI API (ie: GetFileAttributesA) > >> and only use Win32 WIDE API (ie: GetFileAttributesW)?

[Python-Dev] [RELEASED] Python 2.7.1 release candidate 1

2010-11-13 Thread Benjamin Peterson
On behalf of the Python development team, I'm chuffed to announce the a release candidate of Python 2.7.1. Please test the release candidate with your packages and report any bugs you find. 2.7.1 final is scheduled in two weeks. 2.7 includes many features that were first released in Python 3.1.

[Python-Dev] [RELEASED] Python 3.1.3 release candidate 1

2010-11-13 Thread Benjamin Peterson
On behalf of the Python development team, I'm gladsome to announce a release candidate of the third bugfix release for the Python 3.1 series, Python 3.1.3. This bug fix release fixes numerous issues found in 3.1.2. Please try it with your packages and report any bugs you find. The final of 3.1.3

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Bill Janssen
Antoine Pitrou wrote: > On Sat, 13 Nov 2010 07:30:05 -0500 > James Y Knight wrote: > > On Nov 13, 2010, at 7:08 AM, Antoine Pitrou wrote: > > > Funny, it shows that the NNTP SSL tests don't check the certificate, > > > then. > > > > Unsurprising, given that you need 140 lines of pretty non-obvi

Re: [Python-Dev] [Python-checkins] r86453 - in python/branches/release31-maint: Include/patchlevel.h Lib/distutils/__init__.py Lib/idlelib/idlever.py Misc/NEWS Misc/RPM/python-3.1.spec README

2010-11-13 Thread Terry Reedy
On 11/13/2010 12:28 PM, benjamin.peterson wrote: Author: benjamin.peterson Date: Sat Nov 13 18:28:56 2010 New Revision: 86453 Modified: python/branches/release31-maint/README == --- python/branches/release31-maint/RE

Re: [Python-Dev] [Python-checkins] r86451 - python/branches/py3k/Misc/NEWS

2010-11-13 Thread Terry Reedy
On 11/13/2010 8:25 AM, georg.brandl wrote: Author: georg.brandl Date: Sat Nov 13 14:25:40 2010 New Revision: 86451 - unused undocumented value PyBUF_SHADOW, and strangely-looking code in + undocumented value PyBUF_SHADOW, and strangely-looking code in For future reference, 'strangely-loo

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Terry Reedy
O More specifically, if, with Thunderbird, I turn on SSL/TLS, (which switches from port 119 to 563), I get *invalid* certificate message - good for aioe.org, news.aioe,org, but not nntp.aioe.org. I believe SSL worked before the hiatus so it might be an oversight in restarting. Funny, it shows t

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Terry Reedy
On 11/13/2010 7:08 AM, Antoine Pitrou wrote: On Fri, 12 Nov 2010 20:31:49 -0500 Terry Reedy wrote: class NetworkedNNTP_SSLTests(NetworkedNNTPTestsMixin, unittest.TestCase): -NNTP_HOST = 'snews.gmane.org' -GROUP_NAME = 'gmane.comp.python.devel' -GROUP_PAT = 'gman

Re: [Python-Dev] Removal of Win32 ANSI API

2010-11-13 Thread Hirokazu Yamamoto
On 2010/11/12 4:26, Victor Stinner wrote: > On Thursday 11 November 2010 17:07:28 Hirokazu Yamamoto wrote: >> Hello. Is it possible to remove Win32 ANSI API (ie: GetFileAttributesA) >> and only use Win32 WIDE API (ie: GetFileAttributesW)? >> Mainly in posixmodule.c. > > Even if I hate the MBCS enc

Re: [Python-Dev] Issues 9931 and 9055 - test_ttk_guionly and buildbot run as a service

2010-11-13 Thread Hirokazu Yamamoto
On 2010/11/13 2:07, Terry Reedy wrote: On 11/12/2010 3:44 AM, Paul Moore wrote: Hi, My buildbot has been failing for some time because of these 2 issues, both related to the fact that tests are hanging when run as a service (and hence have no display to open GUI elements on). Both issues have pa

Re: [Python-Dev] buildbot master update

2010-11-13 Thread Georg Brandl
Am 13.11.2010 14:00, schrieb Mark Dickinson: > On Fri, Nov 12, 2010 at 9:29 AM, "Martin v. Löwis" wrote: >> As you may have noticed: I updated the buildbot master to release 0.8.2. >> If you notice any problems, please post them here. > > One effect of this change seems to be that bbreport[1] no

Re: [Python-Dev] buildbot master update

2010-11-13 Thread Mark Dickinson
On Fri, Nov 12, 2010 at 9:29 AM, "Martin v. Löwis" wrote: > As you may have noticed: I updated the buildbot master to release 0.8.2. > If you notice any problems, please post them here. One effect of this change seems to be that bbreport[1] no longer works, since it appears that buildbot 0.8.2 ha

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Antoine Pitrou
On Sat, 13 Nov 2010 07:30:05 -0500 James Y Knight wrote: > On Nov 13, 2010, at 7:08 AM, Antoine Pitrou wrote: > > Funny, it shows that the NNTP SSL tests don't check the certificate, > > then. > > Unsurprising, given that you need 140 lines of pretty non-obvious python code > to do so... You mu

[Python-Dev] Stable buildbots

2010-11-13 Thread Antoine Pitrou
Hi, Just to let you know that we now have 8 stable buildbots, including Barry's own PPC Ubuntu machine (even though the Windows buildbots give a rather unconventional meaning to the word "stability"). Right now they are mostly green: http://www.python.org/dev/buildbot/all/waterfall?category=3.x.

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread James Y Knight
On Nov 13, 2010, at 7:08 AM, Antoine Pitrou wrote: > Funny, it shows that the NNTP SSL tests don't check the certificate, > then. Unsurprising, given that you need 140 lines of pretty non-obvious python code to do so... James ___ Python-Dev mailing lis

Re: [Python-Dev] Breaking undocumented API

2010-11-13 Thread Giampaolo Rodolà
+1 on everything. 2010/11/11 Alexander Belopolsky : > 2010/11/11 Michael Foord : > .. >>> You mean runtime automation, e.g. creating __all__ on the fly omitting >>> underscored names? >>> >> Writing code to generate a __all__ that duplicates the default behaviour >> seems redundant to me. >> > > F

Re: [Python-Dev] [Python-checkins] r86441 - python/branches/py3k/Lib/test/test_nntplib.py

2010-11-13 Thread Antoine Pitrou
On Fri, 12 Nov 2010 20:31:49 -0500 Terry Reedy wrote: > > > class NetworkedNNTP_SSLTests(NetworkedNNTPTestsMixin, > > unittest.TestCase): > > -NNTP_HOST = 'snews.gmane.org' > > -GROUP_NAME = 'gmane.comp.python.devel' > > -GROUP_PAT = 'gmane.comp.python.d*' > > gman

Re: [Python-Dev] Breaking undocumented API

2010-11-13 Thread Antoine Pitrou
On Fri, 12 Nov 2010 20:38:16 -0800 Guido van Rossum wrote: > > Note that __all__ was originally invented to give "from package import > *" a well-defined meaning when the package included submodules that > might not have been loaded yet. Using it for other export control > (while a good idea) cou