﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19944	django 1.5 is not compatible with pypy 1.9 because of django.test._doctest	Mikhail Korobov	Aymeric Augustin	"Latest released pypy (1.9) doesn't provide {{{__globals__}}} attribute and this attribute was introduced in process of making django.test._doctest Python 3.x compatible in this commit: https://github.com/django/django/commit/f1d5dc81ac37fe9a7c7ca860900ee6a16150bb09. It causes tests (of external django apps) to fail  when executed under pypy 1.9 with django 1.5 (with an unhelpful {{{AttributeError: 'function' object has no attribute '__globals__'}}} error without a stack trace). 

Example: https://travis-ci.org/kmike/django-webtest/jobs/5097045

I think there should be a fallback to func_globals if {{{__globals__}}} is not available."	Bug	closed	Python 2	1.5	Normal	fixed	pypy		Accepted	1	0	0	0	0	0
