Alex Gaynor added the comment:
Patch LGTM.
--
nosy: +alex
versions: +Python 3.5
___
Python tracker
<http://bugs.python.org/issue22146>
___
___
Python-bugs-list m
New submission from Alex Gaynor:
https://www.openssl.org/news/secadv_20140806.txt
--
components: Interpreter Core, Library (Lib)
keywords: security_issue
messages: 224976
nosy: alex, benjamin.peterson, steve.dower
priority: normal
severity: normal
status: open
title: Windows installers
Alex Gaynor added the comment:
I've been doing this work in a git repo, do you know how to generate an
hg-formated diff with git?
--
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
New patch should be in the "mercurial" diff format.
--
Added file: http://bugs.python.org/file36301/ssl-backport.diff
___
Python tracker
<http://bugs.python.o
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue22181>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
Thanks for testing this out Robert! The attached patch fixes the error you saw.
--
Added file: http://bugs.python.org/file36407/ssl-backport.diff
___
Python tracker
<http://bugs.python.org/issue21
New submission from Alex Gaynor:
Based on a reading of the code:
https://github.com/python/cpython/blob/master/Lib/wsgiref/simple_server.py#L88-L90
is where REMOTE_HOST is set.
However, `address_string` always returns `self.client_address[0]`
(https://github.com/python/cpython/blob/master
Changes by Alex Willmer :
Added file: http://bugs.python.org/file36417/12006_3.5_complete.patch
___
Python tracker
<http://bugs.python.org/issue12006>
___
___
Python-bug
Alex Gaynor added the comment:
New patch additionally backports the Tools/ssl/ directory from Python3, which
has two utilities for generating some of the code used. Thanks to Benjamin for
catching this.
--
Added file: http://bugs.python.org/file36418/ssl-backport.diff
Alex Gaynor added the comment:
Last version had some stray stuff due to the fact that I don't know how to use
version control. New version should resolve that.
--
Added file: http://bugs.python.org/file36419/ssl-backport.diff
___
Python tr
Alex Gaynor added the comment:
On what platform?
--
___
Python tracker
<http://bugs.python.org/issue21308>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
Latest patch fixes both the issues Benjamin noted.
--
Added file: http://bugs.python.org/file36423/ssl-backport.diff
___
Python tracker
<http://bugs.python.org/issue21
Alex Gaynor added the comment:
Thanks for the report, I've filed: http://bugs.python.org/issue22244 to track
that issue.
--
___
Python tracker
<http://bugs.python.org/is
New submission from Alex Gaynor:
Details of the issue are here: http://bugs.python.org/msg225613
I'm not sure what the correct API to use is there, perhaps the encoding can be
folded into the PyArg_ParseTupleAndKeywords() call.
--
components: Extension Modules
messages: 225614
Alex Gaynor added the comment:
Uploaded patch adds the algorithm availability constants to the hashlib module.
--
components: +Extension Modules
keywords: +needs review, patch
Added file: http://bugs.python.org/file36436/backport-hashlib.diff
Alex Gaynor added the comment:
Attached patch backports the persistent FD for urandom.
--
components: +Extension Modules, Interpreter Core
keywords: +needs review, patch
Added file: http://bugs.python.org/file36437/backport-urandom.diff
___
Python
Alex Gaynor added the comment:
Attached patch resolves the issue, includes a test.
--
keywords: +needs review, patch
Added file: http://bugs.python.org/file36438/t22244.diff
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
New patch uses PyString_FromString.
To the other two points:
1) Python3 uses a mutable set for both of these, any reason for Python2 to be
inconsistent?
2) The docs in Python3 don't have this link either, I'm trying to minimize the
delta; if you t
Alex Gaynor added the comment:
Unfortunately no, the API accepts explicit Nones (in addition to simply not
passing the argument), and et errors on those.
--
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
It's not clear to me that that's better, and it makes the diff with the Python3
version larger.
--
___
Python tracker
<http://bugs.python.o
Alex Gaynor added the comment:
Attached patch adds an additional test for a more interesting unicode path.
--
Added file: http://bugs.python.org/file36441/t22244.diff
___
Python tracker
<http://bugs.python.org/issue22
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue22265>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue22266>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
Perhaps these should use the gc_collect function in test_support?
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
Ok, this was landed, 3.3 is no longer open so closing this.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Alex Gaynor added the comment:
Pinging on this, since the SSL backport landed, concerns about an inability to
change this behavior on python2 are no longer there. At a minimum I think we
should include this flag in the default and stdlib contexts
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue21965>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
This patch adds the finalizer to the backport -- not sure how I missed this the
first time.
--
Added file: http://bugs.python.org/file36496/backport-urandom.diff
___
Python tracker
<http://bugs.python.org/issue21
Alex Gaynor added the comment:
Victor -- new patch is in `hg` format.
--
Added file: http://bugs.python.org/file36497/backport-urandom.diff
___
Python tracker
<http://bugs.python.org/issue21
Alex Gaynor added the comment:
This is resolved now.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Alex Gaynor added the comment:
Attached patch fixes this up.
--
keywords: +needs review, patch
nosy: +alex
Added file: http://bugs.python.org/file36505/t22301.diff
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
Should this be backported to 2.7.9?
--
___
Python tracker
<http://bugs.python.org/issue20421>
___
___
Python-bugs-list mailin
Alex Gaynor added the comment:
Attached patch backports it (only change is the use of `closing()` and
resolving the conflict in Misc/NEWS). I'll leave it up to benjamin whether he
wants to commit (input from others welcome). My view is to prefer backporting
stuff since it helps keep the
Alex Gaynor added the comment:
Patch looks good to me.
--
___
Python tracker
<http://bugs.python.org/issue22131>
___
___
Python-bugs-list mailing list
Unsub
Alex Lord added the comment:
Just adding that I have also run into this problem.
--
nosy: +Alex.Lord
___
Python tracker
<http://bugs.python.org/issue22
Changes by Alex Gaynor :
--
nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
___
Python tracker
<http://bugs.python.org/issue22
New submission from Alex Gaynor:
Instead of the ca* arguments it currently takes, these can all be encapsulated
into an SSLContext argument, which the underlying http.client already supports.
--
components: Library (Lib)
messages: 226594
nosy: alex, christian.heimes, dstufft
Alex Gaynor added the comment:
Attached patch against the default branch adds support for this.
--
keywords: +needs review, patch
Added file: http://bugs.python.org/file36573/urlopen-context.diff
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
Added a versionchanged directive to the docs.
--
Added file: http://bugs.python.org/file36576/urlopen-context.diff
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
New patch switches to a ValueError and includes a test case that it's raised.
--
Added file: http://bugs.python.org/file36580/urlopen-context.diff
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
Replied to the review; let me know if you agree with my comment.
--
assignee: alex -> orsenthil
___
Python tracker
<http://bugs.python.org/issu
Alex Gaynor added the comment:
I believe something like the following diff restores the previous behavior
(untested!):
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index a61c2b0..4a8f83e 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -129,7 +129,7
Changes by Alex Gaynor :
--
nosy: +dstufft
___
Python tracker
<http://bugs.python.org/issue22417>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
Filed http://bugs.python.org/issue22438 to track it.
--
___
Python tracker
<http://bugs.python.org/issue21308>
___
___
Python-bug
New submission from Alex Gaynor:
https://github.com/eventlet/eventlet/issues/135
--
components: Library (Lib)
messages: 227067
nosy: alex, benjamin.peterson, christian.heimes, dstufft, giampaolo.rodola,
janssen, pitrou
priority: normal
severity: normal
status: open
title: eventlet
Alex Gaynor added the comment:
It looks like something was removed from the `_ssl` module; is that considered
an implementation detail, or does it need to be added back?
--
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
(It didn't have any direct tests as far as I can tell, which is why I didn't
catch the "regression")
--
___
Python tracker
<http://bug
Alex Gaynor added the comment:
Just wanted to ping you on this Senthil about committing this.
--
___
Python tracker
<http://bugs.python.org/issue22366>
___
___
Alex Gaynor added the comment:
If check_hostname is set on the context then do_handshake() will already
perform the hostname check:
https://hg.python.org/cpython/file/default/Lib/ssl.py#l787
--
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
This can be closed then I think?
--
___
Python tracker
<http://bugs.python.org/issue22440>
___
___
Python-bugs-list mailin
Alex Gaynor added the comment:
I can't say that I've ever used // on floats, but it seems to me anyone doing
so (as opposed to normal division + explicit rounding) *intentionally* might be
broken by this change, but anyone doing this incidentally is not really in a
"gotcha&qu
Alex Gaynor added the comment:
Does this effect anything besides causing SSL_CERT_DIR and SSL_CERT_FILE to be
respected?
--
___
Python tracker
<http://bugs.python.org/issue22
Alex Willmer added the comment:
Alexander,
http://bugs.python.org/file36417/12006_3.5_complete.patch updates the previous
patches and is ready for review. Unit tests pass as of today.
Regards, Alex W.
--
nosy: +Alex.Willmer
___
Python tracker
Alex Gaynor added the comment:
This bug tracker isn't really the right place to track this -- that said I
don't know where is, so I've added Donald Stufft to the nosy list, hopefully he
can help direct this appropriately.
What license is the bytereef text available under? The
Alex Gaynor added the comment:
Stefan, this is not the right forum for this issue, please do not reopen it.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
Alex Gaynor added the comment:
Attached patch sound fix the issue. I guess this function has no tests :-(
--
keywords: +needs review, patch
Added file: http://bugs.python.org/file36770/issue22523.diff
___
Python tracker
<http://bugs.python.
Alex Gaynor added the comment:
My patch is incomplete, I'm working on an improved one.
--
___
Python tracker
<http://bugs.python.org/issue22523>
___
___
Pytho
Alex Gaynor added the comment:
New patch resolves the issue. Turns out there were tests, but they weren't
being run. Now they are.
--
Added file: http://bugs.python.org/file36771/issue22523.diff
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
Updated patch fixes a refcounting issue spotted by gutworth.
--
Added file: http://bugs.python.org/file36775/issue22523.diff
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
arc4random() should be avoided IMO, on many systems (including OS X) it really
is still arc4; this is basically a dupe of http://bugs.python.org/issue22181
--
nosy: +alex
resolution: -> duplicate
status: open ->
Alex Gaynor added the comment:
Attached patch also adds a test -- I'm not convinced this is the best way to
test this, but I don't see any other way either.
--
Added file: http://bugs.python.org/file36793/issue22449.diff
___
Python trac
New submission from Alex Gaynor:
Attached patch is a first-cut at a backport patch. Note that it is not quite a
1-1 with the original:
The SSL module backport added a new field for the Python-level "SSLSocket"
reference (ssl_sock), which was a different object from the _soc
Alex Gaynor added the comment:
Right, socket._socketobject mearly nulls out the reference to _socket.socket,
and lets reference counting take care of the rest.
I've more of less got this figured out:
* When do_handshake() raises an exception (say, a CertificateError), then a
reference
Alex Gaynor added the comment:
Unfortunately it can't be a weakref in python2 :-(
In Python3 socket._socketobject *subclasses* _socket.socket, so when we pass
"self" to stuff, it's has the right C-level fields but it's also a Python-levle
object so it can have a we
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue22564>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Gaynor:
This is needed to keep the _ssl module reasonably in sync with it's Python3
counterpart.
--
files: weakref-me-captain.diff
keywords: needs review, patch
messages: 228695
nosy: alex, benjamin.peterson
priority: normal
severity: normal
status: open
Alex Gaynor added the comment:
As suggested by Benjamin, I've filed issue22569 to add weakref support to
_socket.socket; that will address this and further reduce teh diff with Python3.
--
dependencies: +Add support for weakrefs to _socket.s
Alex Gaynor added the comment:
New patch works and passes all tests. It's on top of issue22569.
--
Added file: http://bugs.python.org/file36827/issue225593.diff
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
New patch is the same, it just rebases the socket changes out since Benjamin
landed that (thanks!)
--
Added file: http://bugs.python.org/file36829/issue22559.diff
___
Python tracker
<http://bugs.python.org/issue22
Alex Gaynor added the comment:
As I said on the other ticket, using arc4random() indiscriminately would be a
very poor idea, on some platforms (such as OS X) arc4random() really does use
ARC4, which means there are serious security concerns with it
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue20104>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Gaynor:
SSLv2 has numerous security issues, and thus is in limited use on the web.
Continuing to allow SSLv2 handshakes only serves to limit security.
--
components: Library (Lib)
messages: 207748
nosy: alex
priority: normal
severity: normal
status: open
title
Alex Gaynor added the comment:
Yes, OP_NO_SSLv2 should be used by default.
--
___
Python tracker
<http://bugs.python.org/issue20207>
___
___
Python-bugs-list m
Alex Gaynor added the comment:
I can confirm the tests pass on OS X and it's possible to open a connection to
howsmyssl.com
--
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
I'm not sure this is needed on Python 3, it already has:
http://hg.python.org/cpython/file/default/Lib/ssl.py#l388
--
___
Python tracker
<http://bugs.python.org/is
New submission from Alex Brandt:
I first noticed this issue when configuring nose via setup.cfg and reported the
behavior in this issue on their tracker:
https://github.com/nose-devs/nose/issues/733
I'll repaste the important bits here:
When using a setup.cfg with the following con
Changes by Alex Grönholm :
--
nosy: +alex.gronholm
___
Python tracker
<http://bugs.python.org/issue20737>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue13936>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Martelli :
http://docs.python.org/3.1/c-api/structures.html#PyMethodDef
says (under METH_VARARGS):
"""The first one is the self object for methods; for module functions,
it has the value given to Py_InitModule4 (or NULL if Py_InitModule was
used)."&
Changes by Alex Z. :
--
nosy: +alexz
___
Python tracker
<http://bugs.python.org/issue3244>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Alex Grönholm added the comment:
Why has this not been resolved yet? Not having a working debugger is a
severe hindrance to the acceptance of Py3k.
--
nosy: +agronholm
___
Python tracker
<http://bugs.python.org/issue6
New submission from Alex Morega :
The pages http://docs.python.org/dev/py3k/library/itertools.html and
http://docs.python.org/3.1/library/itertools.html contain the names
"ifilterfalse" and "izip_longest" in code examples for the "filterfalse"
and "zip_longe
Alex Willmer added the comment:
I've made an installable package of Matthew Barnett's patch. It may get
this to a wider audience.
http://pypi.python.org/pypi/regex
Next I'll look at incorporating Andrew Kuchling's suggestion of the r
Alex Willmer added the comment:
Matthew's 20080915.zip attachment is now on PyPI. This one, having a
more complete MANIFEST, will build for people other than me.
--
___
Python tracker
<http://bugs.python.org/i
Alex Quinn added the comment:
This bug also prevents the cgi module from handling POST data with
multipart/form-data. Consequently, 3.x cannot be readily used to write
web apps for uploading files. See #4953:
http://bugs.python.org/issue4953
--
nosy: +Alex Quinn
Changes by Alex James :
--
components: IO, Windows
nosy: ac.james
severity: normal
status: open
title: Pipes fail to return subprocess output on Windows
type: behavior
versions: Python 2.6
___
Python tracker
<http://bugs.python.org/issue6
New submission from Alex James :
When calling p=subprocess.Popen(findstr "string" filename, stdout=PIPE)
both p.stdout.read() and p.communicate()[0] are returning None even when
the shell process has output (ie string was found in filename).
Further, redirecting stdout to a file wil
Alex James added the comment:
>>> import subprocess
>>> fileName = 'test_a5.py.out'
>>> locator = 'step 5200 '
>>> p = subprocess.Popen('findstr /O /B /C:"' + locator + '" '+
fileName, stdout=subprocess.PI
Alex James added the comment:
Um, nevermind.
I completely missed cwd=os.path.split(sys.argv[0])[0] so the shell
command wasn't operating in the same relative path as the script.
And that never mattered on Unix because we always ran from commandline,
not IDLE, so the shell inherite
New submission from Alex James :
When calling multithreading.Pool().map() to distribute computational
load I've recently got system crashes.
The attached minimalist script exhibits this issue.
On a Windows Vista home premium sp1 running Python 2.6.2 on a dual-core
laptop, the script
Alex James added the comment:
Ok Jesse, that did stop the bomb problem.
Unfortunately the real code belongs in a scientific research
distributable module that is called by another function in the module
where both have been imported into the script that is run. So it isn't
being call
New submission from Alex James :
When using cPickle to pickle / unpickle an object instance whose
__dict__ contains a dictionary of NumPy Arrays (on a windows32 system),
some of the array elements have the wrong type raising a ValueError:
could not convert string to float.
On UNIX platform
Alex James added the comment:
I have now pinpointed the error to a list of infinities (see attached).
When using pickle.py to read the cPickle'd data we get a different, and
more, informative error:
ValueError: invalid literal for float(): 1.#INF
--
Added file: http://bugs.pytho
Alex James added the comment:
Your test prints:
'(1p1\nF1.#INF\naF-1.#INF\naF-1.IND\na.'
[inf, -inf, nan]
My installation is Python 2.6.2 as currently distributed.
Specifying protocol 1 or 2 does circumvent the error.
Thank you.
--
components: +Documentation, Extensi
Changes by Alex James :
--
components: +Library (Lib) -Documentation, Extension Modules, Windows
___
Python tracker
<http://bugs.python.org/issue6290>
___
___
New submission from Alex Samuel :
The unary negative optimization in ast_for_factor() seems to modify the ST in a
way changes its meaning.
In Python 3.1.2, the ST is no longer compilable:
$ cat exprbug.py
import parser
st = parser.expr("-3")
print(st.totuple())
compiled = st.compi
Alex Samuel added the comment:
How about saving the original value of STR(pnum) and restoring it after
calling ast_for_atom()?
This is not thread-safe, but I don't understand Python's threading model
well enough to know whether the GIL is held in this function.
On 6/17/2010 8:4
Alex Roper added the comment:
I've just been using the sq_dict module, which is a drop-in replacement for
shelve written
using sqlite3. BDB is a pretty squirraly piece of software in my experience. It
may or may
not be stable on it's own, but its APIs are pretty poorly docu
Alex Roper added the comment:
Go ahead
"R. David Murray" wrote:
>
>R. David Murray added the comment:
>
>Also note that bsddb's version was bumped in 2.7, so this bug may indeed be
>out of date. Alex, if you can't reproduce it (or don't have any
Alex Willmer added the comment:
I've packaged Matthew's latest revision and uploaded it to PyPI. This
version will build for Python 2 and Python 3, parallel installs will
coexist on the same machine.
--
___
Python tracker
<http://bu
1201 - 1300 of 1613 matches
Mail list logo