Sean Reifschneider j...@tummy.com added the comment:
This issue came up on #python IRC, and that combined with the number of times
this has been duplicated makes me think that maybe the mention of the
SortedCollection recipe should be a little more prominent.
Perhaps either moved up by the
Giampaolo Rodola' g.rod...@gmail.com added the comment:
A simple IOError No such file or directory 'xxx' exception would be
a lot more clear.
Agreed, but the OpenSSL error reporting system looks too convoluted (or
braindead) to easily allow such aliasing of errors. If you have an
idea,
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
Removed message: http://bugs.python.org/msg115166
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9706
___
Changes by Éric Araujo mer...@netwok.org:
--
superseder: - please support lzma compression as an extension and in the
tarfile module
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8266
___
Changes by Andreas Schlapsi andreas.schla...@gmail.com:
--
nosy: +Andreas.Schlapsi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8075
___
___
Changes by florian-rathgeber florian.rathge...@gmail.com:
--
nosy: +florian-rathgeber
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1225769
___
Changes by florian-rathgeber florian.rathge...@gmail.com:
--
nosy: +florian-rathgeber
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1537721
___
Antoine Pitrou pit...@free.fr added the comment:
The only idea which comes to mind is try to open() the file before calling
load_cert_chain().
That would automatically also take care of permission errors, etc..
Not very clean, but... :-\
It's vulnerable to various issues such as race
Changes by STINNER Victor victor.stin...@haypocalc.com:
Added file: http://bugs.python.org/file18671/Py_UNICODE_strcat.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9425
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Py_UNICODE_strcat.patch: create Py_UNICODE_strcat() function.
Py_UNICODE_strdup.patch: create Py_UNICODE_strdup() function.
--
Added file: http://bugs.python.org/file18672/Py_UNICODE_strdup.patch
New submission from Stefan Krah stefan-use...@bytereef.org:
On Windows, the initfunc of a C extension is exported twice, as
seen here:
test_distutils
xxmodule.c
xxmodule.obj : warning LNK4197: export 'initxx' specified multiple times; using
first specification
First export: pyport.h: #define
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Fortunately errno was set.
Patch in attachment introduces the following changes:
=== 1 ===
Before:
ssl.wrap_socket(socket.socket(), server_side=1)
Now:
ssl.wrap_socket(socket.socket(), server_side=1)
ValueError: certfile must be
Giampaolo Rodola' g.rod...@gmail.com added the comment:
ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
ctx.wrap_socket(socket.socket(), server_side=1)
ssl.SSLSocket object, fd=3, family=2, type=1, proto=0
I'm not sure how to raise ValueError(certfile must be specified) here as
SSLContext class
Antoine Pitrou pit...@free.fr added the comment:
ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
ctx.wrap_socket(socket.socket(), server_side=1)
ssl.SSLSocket object, fd=3, family=2, type=1, proto=0
I'm not sure how to raise ValueError(certfile must be specified)
here as SSLContext class
David Watson bai...@users.sourceforge.net added the comment:
OK, I still think this issue should be addressed, but here is a patch for the
part we agree on: that decoding should not return any Unicode characters except
ASCII.
--
Added file:
David Watson bai...@users.sourceforge.net added the comment:
The rest of the issue could also be straightforwardly addressed by adding bytes
versions of the name lookup APIs. Attaching a patch which does that (applies
on top of decode-strict-ascii.diff).
--
Added file:
Changes by David Watson bai...@users.sourceforge.net:
Removed file: http://bugs.python.org/file18675/hostname-bytes-apis.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9377
___
David Watson bai...@users.sourceforge.net added the comment:
Oops, forgot to refresh the last change into that patch. This should fix it.
--
Added file: http://bugs.python.org/file18676/hostname-bytes-apis.diff
___
Python tracker
Giampaolo Rodola' g.rod...@gmail.com added the comment:
@Antoine: ok, thanks.
This is now committed in r84352. See also r84351 which raises ValueError if
non-zero flag argument is provided for sendall().
http://bugs.python.org/msg115166 was the original message at the top of this
discussion
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
maybe the mention of the SortedCollection recipe should
be a little more prominent.
Thanks for the suggestion. Will look at moving the note higher on the page.
--
components: +Documentation -Library (Lib)
status:
Antoine Pitrou pit...@free.fr added the comment:
@Antoine: ok, thanks.
This is now committed in r84352.
I don't think it's ok to test for the IOError message (No such file),
because it comes from the OS and can therefore change from platform to
platform. Instead, you should check the value
New submission from Florent Xicluna florent.xicl...@gmail.com:
According to PEP8, Files using ASCII (or UTF-8, for Python 3.0) should not
have a coding cookie.
--
components: 2to3 (2.x to 3.0 conversion tool)
messages: 115191
nosy: flox
priority: normal
severity: normal
status: open
Benjamin Peterson benja...@python.org added the comment:
They're also harmless.
--
nosy: +benjamin.peterson
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9710
___
Georg Brandl ge...@python.org added the comment:
Hmm, actually I don't see a rationale for this, even if it doesn't give Python
any useful information, it serves that purpose for editors.
--
nosy: +georg.brandl
resolution: - rejected
status: open - closed
Stefan Krah stefan-use...@bytereef.org added the comment:
Tarek, I forgot to add you, sorry. I was thinking mainly about distutils,
not distutils2.
--
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9709
New submission from Giampaolo Rodola' g.rod...@gmail.com:
By taking a look at ssl.py it seems that keyfile argument is ignored if
certfile argument is not specified as well.
Here's an extract of ssl.py code:
class SSLSocket:
def __init__(self, sock=None, keyfile=None, certfile=None,
Giampaolo Rodola' g.rod...@gmail.com added the comment:
You're right. Committed in r84355.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9706
___
Changes by Georg Brandl ge...@python.org:
--
assignee: - georg.brandl
nosy: +georg.brandl
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9683
___
Pablo Mouzo pablomo...@gmail.com added the comment:
I'm attaching a new patch with the documentation updated.
I agree with Georg that it'd be better to escape everything by default. Are
there any good reasons not to?
--
Added file: http://bugs.python.org/file18677/issue2830.diff
Changes by Pablo Mouzo pablomo...@gmail.com:
Removed file: http://bugs.python.org/file18667/issue2830.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2830
___
Changes by Brian Curtin cur...@acm.org:
--
assignee: - brian.curtin
components: +Extension Modules -Library (Lib)
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7877
Oliver Deppert oliver.depp...@stud.tu-darmstadt.de added the comment:
Dear all,
first of all, thank you for the patch making multiple file-streams in bz2
available in python. Yesterday, I've tried to adapt the recent patch for python
3k to the actual python 2.7. Most of the hunks could be
vladimir golubovic.vladimir...@gmail.com added the comment:
On Sat, Aug 28, 2010 at 10:24 PM, Benjamin Peterson
rep...@bugs.python.orgwrote:
Benjamin Peterson benja...@python.org added the comment:
Rest assured: it's expected behavior.
Thank you for your cooperation.
--
Added
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file18668/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9703
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file18678/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9703
___
35 matches
Mail list logo