[New-bugs-announce] [issue12424] distutils2: extension section uses bad environment marker separator

Eli Collins report at bugs.python.org
Tue Jun 28 02:12:46 CEST 2011


New submission from Eli Collins <elic at assurancetechnologies.com>:

The _pop_values() function in packaging.config uses "--" as the environment marker separator when parsing extension sections. This doesn't match PEP 345, or how the metadata section is currently parsed, both of which use ";" instead. Also, "--" is frequently found in compiler option strings, which will probably cause conflicts in the future. 

The attached patch changes _pop_values() and related unit tests to use ";" as the separator, as well as tries to clarify some of _pop_values()'s internal comments.

----------
assignee: tarek
components: Distutils2
messages: 139339
nosy: alexis, eli.collins, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: distutils2: extension section uses bad environment marker separator
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12424>
_______________________________________


More information about the New-bugs-announce mailing list