[issue5959] PyCode_NewEmpty

2010-01-06 Thread Georg Brandl

Georg Brandl  added the comment:

PyCode_NewEmpty has been merged in r74132.

--
nosy: +georg.brandl
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5959] PyCode_NewEmpty

2009-05-07 Thread Jeffrey Yasskin

New submission from Jeffrey Yasskin :

Most uses of PyCode_New found by
http://www.google.com/codesearch?q=PyCode_New are trying to build an
empty code object, usually to put it in a dummy frame object. This patch
adds a PyCode_NewEmpty wrapper which lets the user specify just the
filename, function name, and first line number, instead of also
requiring lots of code internals.

--
components: Interpreter Core
files: PyCode_NewEmpty.patch
keywords: needs review, patch
messages: 87385
nosy: collinwinter, jyasskin
severity: normal
stage: patch review
status: open
title: PyCode_NewEmpty
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file13913/PyCode_NewEmpty.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5959] PyCode_NewEmpty

2009-05-08 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Good idea. The patch lacks some documentation.

--
nosy: +pitrou
versions: +Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5959] PyCode_NewEmpty

2009-05-08 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
assignee:  -> jyasskin
resolution:  -> accepted
stage: patch review -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5959] PyCode_NewEmpty

2009-05-08 Thread Jeffrey Yasskin

Jeffrey Yasskin  added the comment:

Documented, tested, and committed to 2.7 as r72487.  This should be
forward-ported to 3.x also, but since we've already started the betas
for 3.1, it should probably wait for 3.2.

--
keywords:  -needs review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com