On Thu, Sep 18, 2014 at 11:00 PM, Steven D'Aprano
wrote:
> Ned Deily wrote:
>
>> In article
>> ,
>> Larry Martell wrote:
>>> Do you think I should install this update? Perhaps that would restore
>>> whatever is missing.
>>
>> Yes. You should install the update in any case and it's unlikely to ma
Ned Deily wrote:
> In article
> ,
> Larry Martell wrote:
>> Do you think I should install this update? Perhaps that would restore
>> whatever is missing.
>
> Yes. You should install the update in any case and it's unlikely to make
> the hashlib situation worse :=)
However, it is likely to make
In article
,
Larry Martell wrote:
> Do you think I should install this update? Perhaps that would restore
> whatever is missing.
Yes. You should install the update in any case and it's unlikely to make
the hashlib situation worse :=)
--
Ned Deily,
n...@acm.org
--
https://mail.python.org/
On 18.09.2014 23:39, Larry Martell wrote:
> $ python
> Python 2.7.2 (default, Oct 11 2012, 20:14:37)
> [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
import _hashlib
_hashlib.__file__
>
On Thu, Sep 18, 2014 at 2:49 PM, Christian Heimes wrote:
> On 18.09.2014 21:23, Larry Martell wrote:
>> On Thu, Sep 18, 2014 at 11:18 AM, Chris Angelico wrote:
>>> On Fri, Sep 19, 2014 at 3:07 AM, Steven D'Aprano
>>> wrote:
but I expect that's probably not where the problem lies. My *wild g
On Thu, Sep 18, 2014 at 2:44 PM, Ned Deily wrote:
> In article
> ,
> Larry Martell wrote:
>> On Thu, Sep 18, 2014 at 1:22 PM, Larry Martell
>> wrote:
>> > On Thu, Sep 18, 2014 at 11:07 AM, Steven D'Aprano
>> > wrote:
>> >> Larry Martell wrote:
>> >>> I am on a mac running 10.8.5, python 2.7
>>
On Thu, Sep 18, 2014 at 2:21 PM, John Gordon wrote:
> In Larry Martell
> writes:
>
>> It's failing on the 'import _sha' in hashlib.py:
>
>> 66 def __get_builtin_constructor(name):
>> 67try:
>> 68 if name in ('SHA1', 'sha1'):
>> 69 ->import _sha
>> 70
On 18.09.2014 21:23, Larry Martell wrote:
> On Thu, Sep 18, 2014 at 11:18 AM, Chris Angelico wrote:
>> On Fri, Sep 19, 2014 at 3:07 AM, Steven D'Aprano
>> wrote:
>>> but I expect that's probably not where the problem lies. My *wild guess* is
>>> that your system updated SSL, and removed some unde
In article
,
Larry Martell wrote:
> On Thu, Sep 18, 2014 at 1:22 PM, Larry Martell
> wrote:
> > On Thu, Sep 18, 2014 at 11:07 AM, Steven D'Aprano
> > wrote:
> >> Larry Martell wrote:
> >>> I am on a mac running 10.8.5, python 2.7
> >>> Suddenly, many of my scripts started failing with:
> >>>
In Larry Martell
writes:
> It's failing on the 'import _sha' in hashlib.py:
> 66 def __get_builtin_constructor(name):
> 67try:
> 68 if name in ('SHA1', 'sha1'):
> 69 ->import _sha
> 70 return _sha.new
> (Pdb) s
> ImportError: 'No module named _sh
On Thu, Sep 18, 2014 at 1:22 PM, Larry Martell wrote:
> On Thu, Sep 18, 2014 at 11:07 AM, Steven D'Aprano
> wrote:
>> Larry Martell wrote:
>>
>>> I am on a mac running 10.8.5, python 2.7
>>>
>>> Suddenly, many of my scripts started failing with:
>>>
>>> ValueError: unsupported hash type sha1
>> [
On Thu, Sep 18, 2014 at 11:07 AM, Steven D'Aprano
wrote:
> Larry Martell wrote:
>
>> I am on a mac running 10.8.5, python 2.7
>>
>> Suddenly, many of my scripts started failing with:
>>
>> ValueError: unsupported hash type sha1
> [...]
>> This just started happening yesterday, and I cannot think o
On Thu, Sep 18, 2014 at 11:18 AM, Chris Angelico wrote:
> On Fri, Sep 19, 2014 at 3:07 AM, Steven D'Aprano
> wrote:
>> but I expect that's probably not where the problem lies. My *wild guess* is
>> that your system updated SSL, and removed some underlying SHA-1 library
>> needed by hashlib. SHA-1
On Thu, Sep 18, 2014 at 10:47 AM, John Gordon wrote:
> In Larry Martell
> writes:
>
>> Googling this showed that it's an issue with hashlib with a common
>> cause being a file called hashlib.py that gets in the way of the
>> interpreter finding the standard hashlib module, but that doesn't seem
On Fri, Sep 19, 2014 at 3:07 AM, Steven D'Aprano
wrote:
> but I expect that's probably not where the problem lies. My *wild guess* is
> that your system updated SSL, and removed some underlying SHA-1 library
> needed by hashlib. SHA-1 is pretty old, and there is now a known attack on
> it, so some
Larry Martell wrote:
> I am on a mac running 10.8.5, python 2.7
>
> Suddenly, many of my scripts started failing with:
>
> ValueError: unsupported hash type sha1
[...]
> This just started happening yesterday, and I cannot think of anything
> that I've done that could cause this.
Ah, the ol' "I
In Larry Martell
writes:
> Googling this showed that it's an issue with hashlib with a common
> cause being a file called hashlib.py that gets in the way of the
> interpreter finding the standard hashlib module, but that doesn't seem
> to be the case:
Perhaps hashlib imports some other module
17 matches
Mail list logo