[New-bugs-announce] [issue14732] PEP 3121 Refactoring applied to _csv module

Robin Schreiber report at bugs.python.org
Sat May 5 21:47:18 CEST 2012


New submission from Robin Schreiber <robin.schreiber at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14732>
_______________________________________


More information about the New-bugs-announce mailing list