New submission from Georg Brandl <[EMAIL PROTECTED]>:

This patch adds two things to the _ast module:
* Nodes can be initialized with keyword arguments:
  m = _ast.Module(body=[...])

* Only attributes that are in _fields or _attributes can be set on nodes.

Martin, what do you think?

----------
assignee: loewis
components: Extension Modules
files: ast-attrs.diff
keywords: patch
messages: 64691
nosy: georg.brandl, loewis
severity: normal
status: open
title: Restrict attributes of _ast nodes
type: behavior
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file9887/ast-attrs.diff

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2505>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to