[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly
Changes by Qiangning Hong : -- nosy: +hongqn ___ Python tracker <http://bugs.python.org/issue9205> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2277] MozillaCookieJar does not support Firefox3 cookie files
Changes by Qiangning Hong <[EMAIL PROTECTED]>: -- nosy: +hongqn ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2277> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1722344] Thread shutdown exception in Thread.notify()
Changes by Qiangning Hong : -- nosy: +hongqn ___ Python tracker <http://bugs.python.org/issue1722344> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4947] sys.stdout fails to use default encoding as advertised
Changes by Qiangning Hong : -- nosy: +hongqn ___ Python tracker <http://bugs.python.org/issue4947> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14562] urllib2 maybe blocks too long with small chunks
Changes by Qiangning Hong : -- nosy: +hongqn ___ Python tracker <http://bugs.python.org/issue14562> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19224] Make hash(None) consistent among processes
Changes by Qiangning Hong : -- keywords: +patch Added file: http://bugs.python.org/file32043/hash_of_none.patch ___ Python tracker <http://bugs.python.org/issue19224> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19224] Make hash(None) consistent among processes
New submission from Qiangning Hong: Integers, strings, and bool's hash are all consistent for processes of a same interpreter. However, hash(None) differs. $ python -c "print(hash(None))" 272931276 $ python -c "print(hash(None))" 277161420 It's wired and make difficulty for distributed systems partitioning data according hash of keys if the system wants the keys support None. This patch makes hash(None) always return 0 to resolve that problem. And it is used in DPark(Python clone of Spark, a MapReduce alike framework in Python, https://github.com/douban/dpark) to speed up portable hash (see line https://github.com/douban/dpark/blob/65a3ba857f11285667c61e2e134dacda44c13a2c/dpark/util.py#L47). davies@gmail.com is the original author of this patch. All credit goes to him. -- messages: 199439 nosy: hongqn priority: normal severity: normal status: open title: Make hash(None) consistent among processes ___ Python tracker <http://bugs.python.org/issue19224> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19224] Make hash(None) consistent among processes
Qiangning Hong added the comment: Return 1315925605 now :) -- Added file: http://bugs.python.org/file32044/hash_of_none.patch ___ Python tracker <http://bugs.python.org/issue19224> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com