id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc
97	Reader can be an instance variable in Scanner	py4fun@…	xi	"Hi,
thank you for PyYAML. Unfortunately I need to exchange YAML between Java and Python and Java does not have such a good library as PyYAML. There is a port of PyYAML (JvYAML) but it is dead. [[BR]]
I would like to develop the Java port further that it reaches the quality of PyYAML. To simplify maintenance I would like to be as close to the PyYAML API as possible.[[BR]]
May I propose to make Reader an instance variable in Scanner? [[BR]]
Can you please apply the attached patch to achieve the following:
 * improve encapsulation. Scanner and Reader can be instantiated and tested separately
 * Java can use the same approach (Java does not have multiple inheritance)

All the tests succeed.[[BR]]

Thank you,[[BR]]

Andrey"	enhancement	closed	normal	pyyaml	normal	wontfix	Reader, Scanner	
