Quantcast
Channel: jython Changelog
Viewing all articles
Browse latest Browse all 38

Re-work the publication of incomplete PyTypes (fixes #2834)

$
0
0
changeset 44280f7e1854
branch
bookmark
tag
user Jeff Allen <ja.py@farowl.co.uk>
description Re-work the publication of incomplete PyTypes (fixes #2834)

It is necessary to allow PyType.fromClass() to return incompletely
consructed types when building dependent PyTypes in a single thread.
This change intends they should not escape to other threads. We use a
RuntimeException to return a PyType without binding it to its class
prematurely.

Succinct debug methods are left in the code (disabled). We've had to
write these several times to address similar bugs.
files NEWS
src/org/python/core/PyType.java

Viewing all articles
Browse latest Browse all 38

Trending Articles