Re: [Python-Dev] cpython: #12586: add provisional email policy with new header parsing and folding.

2012-05-26 Thread Georg Brandl
Am 26.05.2012 00:44, schrieb r.david.murray: http://hg.python.org/cpython/rev/0189b9d2d6bc changeset: 77148:0189b9d2d6bc user:R David Murray rdmur...@bitdance.com date:Fri May 25 18:42:14 2012 -0400 summary: #12586: add provisional email policy with new header parsing and

Re: [Python-Dev] cpython: Implemented PEP 405 (Python virtual environments).

2012-05-26 Thread Antoine Pitrou
On Sat, 26 May 2012 04:48:49 +0200 vinay.sajip python-check...@python.org wrote: +_sys_home = getattr(sys, '_home', None) +if _sys_home and os.name == 'nt' and _sys_home.lower().endswith('pcbuild'): +_sys_home = os.path.dirname(_sys_home) What about pcbuild/amd64? Does this work on 64-bit

Re: [Python-Dev] cpython: simplify and rewrite the zipimport part of 702009f3c0b1 a bit

2012-05-26 Thread Larry Hastings
On 05/25/2012 10:14 AM, Antoine Pitrou wrote: On Fri, 25 May 2012 18:57:57 +0200 Georg Brandlg.bra...@gmx.net wrote: This is probably minor, but wouldn't it make more sense to have those constants uppercased? At least that's the general style we have in the codebase for enum values. +1,

Re: [Python-Dev] [Python-checkins] peps: PEP 421 is implemented.

2012-05-26 Thread Nick Coghlan
On Sat, May 26, 2012 at 5:14 PM, georg.brandl python-check...@python.org wrote: http://hg.python.org/peps/rev/cba34504163d changeset:   4441:cba34504163d user:        Georg Brandl ge...@python.org date:        Sat May 26 09:15:01 2012 +0200 summary:  PEP 421 is implemented. Did you mean to

[Python-Dev] How to build a browser in Paython. cannot import webkit object.

2012-05-26 Thread Mr.T Beppu
I think that I will make a browser in Official Python (not MacPorts Python). What should I do in order to install Webkit for Official Python (not MacPorts Python) ? from tokyo Japan. ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] How to build a browser in Paython. cannot import webkit object.

2012-05-26 Thread Oleg Broytman
Hello. We are sorry but we cannot help you. This mailing list is to work on developing Python (adding new features to Python itself and fixing bugs); if you're having problems learning, understanding or using Python, please find another forum. Probably python-list/comp.lang.python mailing

Re: [Python-Dev] cpython: #12586: add provisional email policy with new header parsing and folding.

2012-05-26 Thread R. David Murray
On Sat, 26 May 2012 09:14:07 +0200, Georg Brandl g.bra...@gmx.net wrote: Am 26.05.2012 00:44, schrieb r.david.murray: http://hg.python.org/cpython/rev/0189b9d2d6bc changeset: 77148:0189b9d2d6bc user:R David Murray rdmur...@bitdance.com date:Fri May 25 18:42:14 2012 -0400

Re: [Python-Dev] [Python-checkins] cpython: issue 14660: Implement PEP 420, namespace packages.

2012-05-26 Thread Brett Cannon
On Fri, May 25, 2012 at 10:41 AM, Barry Warsaw ba...@python.org wrote: On May 25, 2012, at 10:31 AM, Brett Cannon wrote: Is documentation coming in a separate commit? Yes. I've been reworking the import machinery documentation; it's a work-in-progress on the pep-420 feature clone

[Python-Dev] Proposal for better SSL errors

2012-05-26 Thread Antoine Pitrou
Hello, In http://bugs.python.org/issue14837 I have attached a proof-of-concept patch to improve the exceptions raised by the ssl module when OpenSSL signals an error. The current situation is quite dismal, since you get a sometimes cryptic error message with no viable opportunities for

Re: [Python-Dev] cpython: Addressed some buildbot errors and comments on the checkin by Antoine on

2012-05-26 Thread Antoine Pitrou
On Sat, 26 May 2012 21:39:36 +0200 vinay.sajip python-check...@python.org wrote: return False _sys_home = getattr(sys, '_home', None) -if _sys_home and os.name == 'nt' and _sys_home.lower().endswith('pcbuild'): +if _sys_home and os.name == 'nt' and \ +

Re: [Python-Dev] Proposal for better SSL errors

2012-05-26 Thread Terry Reedy
On 5/26/2012 3:28 PM, Antoine Pitrou wrote: Hello, In http://bugs.python.org/issue14837 I have attached a proof-of-concept patch to improve the exceptions raised by the ssl module when OpenSSL signals an error. The current situation is quite dismal, since you get a sometimes cryptic error

Re: [Python-Dev] Proposal for better SSL errors

2012-05-26 Thread Antoine Pitrou
On Sat, 26 May 2012 17:44:08 -0400 Terry Reedy tjre...@udel.edu wrote: Traceback (most recent call last): [...] ssl.SSLError: [Errno 5] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:494) [88296 refs] Repeating the same reason in upper and lower case is unhelpful

Re: [Python-Dev] Proposal for better SSL errors

2012-05-26 Thread Cameron Simpson
On 26May2012 21:28, Antoine Pitrou solip...@pitrou.net wrote: | Not only does the error string contain more valuable information (the | mnemonics SSL and CERTIFICATE_VERIFY_FAILED indicate, respectively, | in which subpart of OpenSSL and which precise error occurred), but they | are also

Re: [Python-Dev] Proposal for better SSL errors

2012-05-26 Thread Gregory P. Smith
On Sat, May 26, 2012 at 12:28 PM, Antoine Pitrou solip...@pitrou.netwrote: Hello, In http://bugs.python.org/issue14837 I have attached a proof-of-concept patch to improve the exceptions raised by the ssl module when OpenSSL signals an error. The current situation is quite dismal, since you