New submission from Jorge Herskovic:
I'm writing a library on top of multiprocessing. As part of the test suite, I
create and destroy dozens of processes repeatedly. About once in 50 runs, the
tests complete successfully but the program crashes with:
Error in atexit._run_exitfuncs:
Traceback
Raymond Hettinger added the comment:
Is it expected?
No, it is a bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
___
Changes by Dmitry Odzerikho dmitry.odzeri...@gmail.com:
Added file: http://bugs.python.org/file39757/test_segfault.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
Jacek Kołodziej added the comment:
I've added previously missing test and docs for test.support.check__all__ in
Issue23883_support_check__all__.v2.patch . Awaiting review. :)
--
Added file:
http://bugs.python.org/file39760/Issue23883_support_check__all__.v2.patch
Serhiy Storchaka added the comment:
I can't reproduce the crash in 3.3+ (this doesn't matter the bug is gone), but
can reproduce in 2.7 and 3.2. Here is a reproducer that compatible with 2.7 and
3.x.
--
Added file: http://bugs.python.org/file39762/test_segfault.py
Martin Panter added the comment:
See Issue 1186900 about the NNTP client raising EOFError.
As for the “cannot read from timed out object” errors (also reported in Issue
19613), I think the test classes are bad. The test logs don’t seem to be
available, but I reckon that the previous test to
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24426
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
___
Roundup Robot added the comment:
New changeset 8e90f3ffa784 by Serhiy Storchaka in branch '2.7':
Issue #24408: Fixed test for tkinter.Font on OS X.
https://hg.python.org/cpython/rev/8e90f3ffa784
New changeset 014ee2df443a by Serhiy Storchaka in branch '3.4':
Issue #24408: Fixed test for
Serhiy Storchaka added the comment:
Thank you Ned and Martin.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24408
New submission from Serhiy Storchaka:
There is a difference between Python and C implementations of
functools.lru_cache(). Python implementation caches the hash of the key, C
implementation doesn't. May be this is not too important (at least I have no an
example that shows the benefit of
Roundup Robot added the comment:
New changeset 6f659b9f7fbc by Serhiy Storchaka in branch '3.4':
Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
https://hg.python.org/cpython/rev/6f659b9f7fbc
New changeset 9602b8313dd5 by Serhiy Storchaka in branch '3.5':
Issue
Serhiy Storchaka added the comment:
Thank you for your contribution Michael.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24436
Ivan Levkivskyi added the comment:
Nick, thank you for a review, I have made a new patch with all the previous
comments taken into account.
--
Added file: http://bugs.python.org/file39759/classdoc-v4.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
New patch adds _PyDict_DelItem_KnownHash() and uses it to guarantee that the
hash is only calculated once.
--
Added file: http://bugs.python.org/file39761/clru_cache_known_hash_2.patch
___
Python tracker
New submission from Dmitry Odzerikho:
Hi,
I'm using iterators returned by itertools.tee in different threads. The
original iterator passed to itertools.tee is thread-safe, however, it doesn't
guarantees that the cloned iterators are thread safe too. However the
equivalent implementation of
Ronald Oussoren added the comment:
https://www.sqlite.org/c3ref/enable_shared_cache.html appears to indicate
that the function is deprecated on OSX 10.7 and iOS 5.0, but looking at the
latest sources on sqlite.org that's not the case, the warning in the
documentation appears to be for the
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24436
___
___
Raymond Hettinger added the comment:
This is important.
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24483
___
___
Raymond Hettinger added the comment:
If the C version is to remain in Python3.5, please make sure it provides all of
the carefully designed features of the pure python version:
* The hash function is called no more than once per element
* The key is constructed to be flat as possible
Changes by Dmitry Kazakov jsb...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24309
___
___
Python-bugs-list
Changes by Dmitry Odzerikho dmitry.odzeri...@gmail.com:
Removed file: http://bugs.python.org/file39756/test_segfault.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24436
___
___
Raymond Hettinger added the comment:
I would like the full functionality of the Python version to be implemented.
Guaranteeing that the hash is only calculated once prevents a reentrancy hole
and provides a speed benefit as well. Please implement exactly what the pure
python version does
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
Removed message: http://bugs.python.org/msg245600
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24483
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +rhettinger
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24482
___
Roundup Robot added the comment:
New changeset 7e46a503dd16 by Serhiy Storchaka in branch 'default':
Issue #24426: Fast searching optimization in regular expressions now works
https://hg.python.org/cpython/rev/7e46a503dd16
--
nosy: +python-dev
___
George Jenkins added the comment:
Reviewer please :)
(or, advice on how I can get this to proceed, thx)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
R. David Murray added the comment:
What does your patch implement? It's not clear from the issue discussion that
an API was decided on.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
Yury Selivanov added the comment:
Martin, if you want to help with the documentation, it would be great if you
can help me with updating asyncio coroutines section:
https://docs.python.org/3.5/library/asyncio-task.html#coroutines
--
___
Python
Andreas Nilsson added the comment:
Here is a decompressed example (use lmms -d file to decompress). Shouldn't
this be parsed as XML? Here's a log of my experiment with it:
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
Type help, copyright, credits or license for more
Serhiy Storchaka added the comment:
If the C version is to remain in Python3.5, please make sure it provides all
of the carefully designed features of the pure python version:
* The hash function is called no more than once per element
Will be satisfied by issue24483.
I think all other
Serhiy Storchaka added the comment:
New patch touches also unbounded cache version.
Larry, do you allow to commit such patch in 3.5?
--
nosy: +larry
versions: +Python 3.5
Added file: http://bugs.python.org/file39766/clru_cache_known_hash_3.patch
___
Yury Selivanov added the comment:
An updated patch is attached. I'll commit it tomorrow morning.
--
Added file: http://bugs.python.org/file39764/corotype.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24400
Roundup Robot added the comment:
New changeset 20c9290a5de4 by Ned Deily in branch '2.7':
Issue #24408: Prevent test_font failures with non-ascii font names.
https://hg.python.org/cpython/rev/20c9290a5de4
--
___
Python tracker rep...@bugs.python.org
Changes by Ned Deily n...@acm.org:
--
nosy: +davin, sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24484
___
___
Python-bugs-list mailing list
johnkw added the comment:
This bug is not present on Python 2.7.10 on 64-bit Linux.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23531
___
___
Ned Deily added the comment:
I agree with Ronald that the proposed patch should not be applied as is. For
example, the Pythons installed by the current python.org OS X installers build
and link with a newer version of libsqlite3. This is one of several examples
of third-party libraries for
Martin Panter added the comment:
There are two problems with the test case, and one bug in Python:
1. HTTPPasswordMgr doesn’t handle realm=None; it has to be a string. You can
use HTTPPasswordMgrWithDefaultRealm though.
2. The password managers won’t match a proxy with a non-standard port
Martin Panter added the comment:
I should point out my patch also adds add_password() methods for the
authentication handlers to the documentation. These were only documented by
example, but everyone seems to prefer using them rather than the equivalent
password manager method.
--
Martin Panter added the comment:
From the current documentation and limited experience with the module,
ReadError (or a subclass) sounds best. I would only expect OSError only for
OS-level things, like file not found, disk error, etc.
The patches look good. One last suggestion is to use
Stefan Behnel added the comment:
I added three more comments to the review. The rest looks good to me, too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24400
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: needs patch - patch review
versions: +Python 3.6 -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22442
43 matches
Mail list logo