[issue9812] cPickle segfault with nested dicts in threaded env

2010-09-09 Thread Kenneth Dombrowski

New submission from Kenneth Dombrowski :

FreeBSD 8.0-RELEASE-p2
Python 2.5.5
amd64

attached diff provides a test for cpickle which reproduces a segfault when 
pickling >15 nested dicts in a threaded environment 

cpickle.patch attached to http://bugs.python.org/issue3640 applys cleanly to 
the 2.5 source and fixes this issue

i understand 2.5 is no longer maintained except for security fixes, i leave it 
up to the maintainers to decide if this segfault warrants a security patch 

thank you

--
components: Extension Modules
files: test_cpickle.nested_dicts_in_threaded_env.diff
keywords: patch
messages: 115950
nosy: kdombrowski
priority: normal
severity: normal
status: open
title: cPickle segfault with nested dicts in threaded env
type: crash
versions: Python 2.5
Added file: 
http://bugs.python.org/file18812/test_cpickle.nested_dicts_in_threaded_env.diff

___
Python tracker 
<http://bugs.python.org/issue9812>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7945] typo in operator.isCallable deprecation warning

2010-02-16 Thread kenneth dombrowski

New submission from kenneth dombrowski :

The operator documentation @ http://docs.python.org/library/operator.html 
states for operator.isCallable(obj): "Deprecated since version 2.0: Use 
isinstance(x, collections.Callable) instead.", I believe this should read since 
version 2.6

kenn...@dev2 ~ $ python
Python 2.5.4 (r254:67916, Oct  3 2009, 21:36:21)
[GCC 3.4.6 [FreeBSD] 20060305] on freebsd6
Type "help", "copyright", "credits" or "license" for more information.

>>> import collections
>>> collections.Callable
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'module' object has no attribute 'Callable'

--
assignee: georg.brandl
components: Documentation
messages: 99433
nosy: georg.brandl, kennethd
severity: normal
status: open
title: typo in operator.isCallable deprecation warning
versions: Python 2.6

___
Python tracker 
<http://bugs.python.org/issue7945>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com