[pypy-commit] extradoc extradoc: Stopped making a CPython bug report for each and every one of them.

arigo pypy.commits at gmail.com
Sun Aug 21 17:12:13 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: extradoc
Changeset: r5678:7f9daee054b4
Date: 2016-08-21 23:12 +0200
http://bitbucket.org/pypy/extradoc/changeset/7f9daee054b4/

Log:	Stopped making a CPython bug report for each and every one of them.
	Switched to document the crashers in this file for now.

diff --git a/planning/py3.5/cpython-crashers.rst b/planning/py3.5/cpython-crashers.rst
new file mode 100644
--- /dev/null
+++ b/planning/py3.5/cpython-crashers.rst
@@ -0,0 +1,24 @@
+CPython crashers
+================
+
+This document ways to crash CPython 3.5, or get completely unexpected
+and undocumented results, or leak memory, etc.
+
+
+* _PyGen_Finalize() should not fail with an exception
+  http://bugs.python.org/issue27811
+
+* PyFrameObject.f_gen can be left pointing to a dangling generator
+  http://bugs.python.org/issue27812
+
+* os.scandir() returns an iterable object that should not be used
+  from multiple threads.  Doing so can e.g. cause one thread to
+  close the dirp while another thread is still using it.  This is
+  likely to crash.  Similarly, the test for (!iterator->dirp) at
+  the start of ScandirIterator_iternext() is only done once even
+  if the following loop runs two or three times because of "." or
+  ".." entries.
+
+* os.scandir() direntry objects should not have stat() called from two
+  threads concurrently.  It will make two stat objects and leak one of
+  them.


More information about the pypy-commit mailing list