[issue33867] Module dicts are wiped on module garbage collection

2018-06-14 Thread natedogith1


New submission from natedogith1 :

When a module is garbage collected, it fills it's __dict__ with None.  
issue19255 and issue18214 seem to suggest that this was fixed, along with 
github pull request 7140 (commit 196b0925ca55bf22ffbb97733cff3e63d4fb6e18).  
However, this still seems to be an issue in 2.7.14 and 3.6.2.

>>> import sys
>>> a = type(sys)('a')
>>> b = a.__dict__
>>> b['__name__'] is None
False
>>> del a
>>> b['__name__'] is None
True

--
components: Interpreter Core
messages: 319581
nosy: natedogith1
priority: normal
severity: normal
status: open
title: Module dicts are wiped on module garbage collection
type: behavior
versions: Python 2.7, Python 3.6

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



[issue34559] multiprocessing AuthenticationError when nesting with non-default authkey

2018-08-31 Thread natedogith1


New submission from natedogith1 :

If you nest shared objects on a manager that doesn't use the default authkey, 
you get an AuthenticationError.

import multiprocessing.managers
a = multiprocessing.managers.SyncManager(authkey=b'')
a.start()
b = a.list()
b.append(a.list())
_ = b[0]

--
components: Library (Lib)
messages: 324447
nosy: natedogith1
priority: normal
severity: normal
status: open
title: multiprocessing AuthenticationError when nesting with non-default authkey
versions: Python 3.6

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