[issue22146] Error message for __build_class__ contains typo

2014-08-05 Thread Alex Gaynor
Alex Gaynor added the comment: Patch LGTM. -- nosy: +alex versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/issue22146> ___ ___ Python-bugs-list m

[issue22160] Windows installers need to be updated following OpenSSL security reelase

2014-08-06 Thread Alex Gaynor
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

[issue21308] PEP 466: backport ssl changes

2014-08-06 Thread Alex Gaynor
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

[issue21308] PEP 466: backport ssl changes

2014-08-07 Thread Alex Gaynor
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

[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall

2014-08-10 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue22181> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21308] PEP 466: backport ssl changes

2014-08-18 Thread Alex Gaynor
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

[issue22229] wsgiref doesn't appear to ever set REMOTE_HOST in the environ

2014-08-19 Thread Alex Gaynor
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

[issue12006] strptime should implement %V or %u directive from libc

2014-08-19 Thread Alex Willmer
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

[issue21308] PEP 466: backport ssl changes

2014-08-19 Thread Alex Gaynor
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

[issue21308] PEP 466: backport ssl changes

2014-08-19 Thread Alex Gaynor
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

[issue21308] PEP 466: backport ssl changes

2014-08-19 Thread Alex Gaynor
Alex Gaynor added the comment: On what platform? -- ___ Python tracker <http://bugs.python.org/issue21308> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21308] PEP 466: backport ssl changes

2014-08-20 Thread Alex Gaynor
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

[issue21308] PEP 466: backport ssl changes

2014-08-21 Thread Alex Gaynor
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

[issue22244] load_verify_locations fails to handle unicode paths on Python 2

2014-08-21 Thread Alex Gaynor
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

[issue21307] PEP 466: backport hashlib changes

2014-08-22 Thread Alex Gaynor
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

[issue21305] PEP 466: update os.urandom

2014-08-22 Thread Alex Gaynor
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

[issue22244] load_verify_locations fails to handle unicode paths on Python 2

2014-08-22 Thread Alex Gaynor
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

[issue21307] PEP 466: backport hashlib changes

2014-08-22 Thread Alex Gaynor
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

[issue22244] load_verify_locations fails to handle unicode paths on Python 2

2014-08-22 Thread Alex Gaynor
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

[issue22244] load_verify_locations fails to handle unicode paths on Python 2

2014-08-22 Thread Alex Gaynor
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

[issue22244] load_verify_locations fails to handle unicode paths on Python 2

2014-08-22 Thread Alex Gaynor
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

[issue22265] fix reliance on refcounting in test_itertools

2014-08-24 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue22265> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22266] fix reliance on refcounting in tarfile.gzopen

2014-08-24 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue22266> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22267] fix reliance on refcounting in test_weakref

2014-08-24 Thread Alex Gaynor
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

[issue18530] posixpath.ismount performs extra lstat calls

2014-08-25 Thread Alex Gaynor
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

[issue20994] Disable TLS Compression

2014-08-25 Thread Alex Gaynor
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

[issue21965] Add support for Memory BIO to _ssl

2014-08-25 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue21965> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread Alex Gaynor
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

[issue21305] PEP 466: update os.urandom

2014-08-28 Thread Alex Gaynor
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

[issue20996] Backport TLS 1.1 and 1.2 support for ssl_version

2014-08-28 Thread Alex Gaynor
Alex Gaynor added the comment: This is resolved now. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue22301] smtplib.SMTP.starttls' documentation is just confusing

2014-08-29 Thread Alex Gaynor
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

[issue20421] expose SSL socket protocol version

2014-09-04 Thread Alex Gaynor
Alex Gaynor added the comment: Should this be backported to 2.7.9? -- ___ Python tracker <http://bugs.python.org/issue20421> ___ ___ Python-bugs-list mailin

[issue20421] expose SSL socket protocol version

2014-09-04 Thread Alex Gaynor
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

[issue22131] uuid.bytes optimization

2014-09-06 Thread Alex Gaynor
Alex Gaynor added the comment: Patch looks good to me. -- ___ Python tracker <http://bugs.python.org/issue22131> ___ ___ Python-bugs-list mailing list Unsub

[issue22212] zipfile.py fails if zlib.so module fails to build.

2014-09-07 Thread Alex Lord
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

[issue22365] SSLContext.load_verify_locations(cadata) does not accept CRLs

2014-09-08 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou ___ Python tracker <http://bugs.python.org/issue22

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
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

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
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

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
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

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
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

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-09 Thread Alex Gaynor
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

[issue22386] Python 3.4 logging.getLevelName() no longer maps string to level.

2014-09-10 Thread Alex Gaynor
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

[issue22417] PEP 476: verify HTTPS certificates by default

2014-09-15 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/issue22417> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21308] PEP 466: backport ssl changes

2014-09-18 Thread Alex Gaynor
Alex Gaynor added the comment: Filed http://bugs.python.org/issue22438 to track it. -- ___ Python tracker <http://bugs.python.org/issue21308> ___ ___ Python-bug

[issue22438] eventlet broke by python 2.7.x

2014-09-18 Thread Alex Gaynor
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

[issue22438] eventlet broke by python 2.7.x

2014-09-18 Thread Alex Gaynor
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

[issue22438] eventlet broke by python 2.7.x

2014-09-18 Thread Alex Gaynor
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

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-18 Thread Alex Gaynor
Alex Gaynor added the comment: Just wanted to ping you on this Senthil about committing this. -- ___ Python tracker <http://bugs.python.org/issue22366> ___ ___

[issue22440] Setting SSLContext object's check_hostname manually might accidentally skip hostname verification

2014-09-19 Thread Alex Gaynor
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

[issue22440] Setting SSLContext object's check_hostname manually might accidentally skip hostname verification

2014-09-20 Thread Alex Gaynor
Alex Gaynor added the comment: This can be closed then I think? -- ___ Python tracker <http://bugs.python.org/issue22440> ___ ___ Python-bugs-list mailin

[issue22444] Floor divide should return int

2014-09-20 Thread Alex Gaynor
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

[issue22449] SSLContext.load_verify_locations behavior on Windows and OSX

2014-09-20 Thread Alex Gaynor
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

[issue12006] strptime should implement %V or %u directive from libc

2014-09-22 Thread Alex Willmer
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

[issue22483] Copyright infringement on PyPI

2014-09-24 Thread Alex Gaynor
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

[issue22483] Copyright infringement on PyPI

2014-09-24 Thread Alex Gaynor
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

[issue22523] [regression] Lib/ssl.py still references _ssl.sslwrap

2014-10-01 Thread Alex Gaynor
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.

[issue22523] [regression] Lib/ssl.py still references _ssl.sslwrap

2014-10-01 Thread Alex Gaynor
Alex Gaynor added the comment: My patch is incomplete, I'm working on an improved one. -- ___ Python tracker <http://bugs.python.org/issue22523> ___ ___ Pytho

[issue22523] [regression] Lib/ssl.py still references _ssl.sslwrap

2014-10-01 Thread Alex Gaynor
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

[issue22523] [regression] Lib/ssl.py still references _ssl.sslwrap

2014-10-01 Thread Alex Gaynor
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

[issue22542] Use syscall (eg. arc4random or getentropy) rather than /dev/urandom when possible

2014-10-02 Thread Alex Gaynor
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 ->

[issue22449] SSLContext.load_verify_locations behavior on Windows and OSX

2014-10-03 Thread Alex Gaynor
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

[issue22559] [backport] ssl.MemoryBIO

2014-10-05 Thread Alex Gaynor
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

[issue22559] [backport] ssl.MemoryBIO

2014-10-05 Thread Alex Gaynor
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

[issue22559] [backport] ssl.MemoryBIO

2014-10-05 Thread Alex Gaynor
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

[issue22564] ssl: post-commit review of the new memory BIO API

2014-10-06 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue22564> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22569] Add support for weakrefs to _socket.socket

2014-10-06 Thread Alex Gaynor
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

[issue22559] [backport] ssl.MemoryBIO

2014-10-06 Thread Alex Gaynor
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

[issue22559] [backport] ssl.MemoryBIO

2014-10-06 Thread Alex Gaynor
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

[issue22559] [backport] ssl.MemoryBIO

2014-10-06 Thread Alex Gaynor
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

[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall

2014-10-08 Thread Alex Gaynor
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

[issue20104] expose posix_spawn(p)

2014-01-01 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue20104> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20207] Disable SSLv2 in Python 2.x

2014-01-09 Thread Alex Gaynor
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

[issue20207] Disable SSLv2 in Python 2.x

2014-01-09 Thread Alex Gaynor
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

[issue20207] Disable SSLv2 in Python 2.x

2014-01-09 Thread Alex Gaynor
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

[issue20207] Disable SSLv2 in Python 2.x

2014-01-09 Thread Alex Gaynor
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

[issue20754] distutils should use SafeConfigParser

2014-02-23 Thread Alex Brandt
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

[issue20737] 3.3 _thread lock.acquire() timeout and threading.Event().wait() do not wake for certain values on Windows

2014-02-24 Thread Alex Grönholm
Changes by Alex Grönholm : -- nosy: +alex.gronholm ___ Python tracker <http://bugs.python.org/issue20737> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13936] RFE: change bool(datetime.time(0, 0, 0)) to evaluate as True

2014-03-06 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue13936> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6421] errors in docs re module initialization vs self arg to functions

2009-07-04 Thread Alex Martelli
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)."&

[issue3244] multipart/form-data encoding

2009-07-19 Thread Alex Z.
Changes by Alex Z. : -- nosy: +alexz ___ Python tracker <http://bugs.python.org/issue3244> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue6126] Python 3 pdb: shows internal code, breakpoints don't work

2009-08-09 Thread Alex Grönholm
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

[issue6694] itertools documentation still contains references to ifilterfalse and izip_longest

2009-08-13 Thread Alex Morega
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

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-08-13 Thread Alex Willmer
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

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2009-08-17 Thread Alex Willmer
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

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2009-08-19 Thread Alex Quinn
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

[issue6107] Pipes fail to return subprocess output on Windows

2009-05-25 Thread Alex James
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

[issue6107] Subprocess.Popen output fails on Windows

2009-05-25 Thread Alex James
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

[issue6107] Subprocess.Popen output fails on Windows

2009-05-26 Thread Alex James
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

[issue6107] Subprocess.Popen output fails on Windows

2009-05-26 Thread Alex James
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

[issue6147] multithreading.Pool.map() crashes Windows computer

2009-05-29 Thread Alex James
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

[issue6147] multithreading.Pool.map() crashes Windows computer

2009-05-31 Thread Alex James
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

[issue6290] cPickle can misread data type

2009-06-15 Thread Alex James
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

[issue6290] cPickle can misread data type

2009-06-22 Thread Alex James
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

[issue6290] cPickle can misread data type

2009-06-23 Thread Alex James
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

[issue6290] cPickle can misread data type

2009-06-23 Thread Alex James
Changes by Alex James : -- components: +Library (Lib) -Documentation, Extension Modules, Windows ___ Python tracker <http://bugs.python.org/issue6290> ___ ___

[issue9011] ast_for_factor unary minus optimization changes AST

2010-06-16 Thread Alex Samuel
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

[issue9011] ast_for_factor unary minus optimization changes AST

2010-06-17 Thread Alex Samuel
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

[issue4679] Fork + shelve causes shelve corruption and backtrace

2010-07-04 Thread Alex Roper
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

[issue4679] Fork + shelve causes shelve corruption and backtrace

2010-07-05 Thread Alex Roper
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

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-06 Thread Alex Willmer
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

<    8   9   10   11   12   13   14   15   16   17   >