New submission from Robin Schreiber <robin.schrei...@me.com>:

This patch presents my first try to apply the proposed Refactoring of PEP3121 
to the csv module. I have identified three mutable global variables inside the 
module, two of which are references to PyObjects. I have wrapped all of them 
inside a dedicated struct, which is traversed by the gc after "freeing" the 
module. I also defined some macros, to hide functions calls that are now needed 
because of the newly introduced indirections.

----------
components: Extension Modules
files: csv_pep3121.patch
keywords: patch
messages: 160032
nosy: Robin.Schreiber
priority: normal
severity: normal
status: open
title: PEP 3121 Refactoring applied to _csv module
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file25473/csv_pep3121.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14732>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to