This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python] Crash when using generators with Python 2.4


>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:

Sorry for the delay on this.  I was out sick all last week.

Paul> While attempting to verify that I didn't introduce any leaks,
Paul> I've discovered quite a few existing ones :-(
Paul> Has anyone tested pretty printers under Valgrind?

Not that I know of.
One more thing for Phil to look at :-)

Paul> +/* Create an empty dummy PythonCodeObject.
Paul> +   Copied almost verbatim from (GPL-compatible)
Paul> +   Python-2.6/Modules/pyexpat.c  */

We can't copy code this way.
I never know what to do at this point.  Perhaps someone else can
implement the needed function.  Or if there is only one way to do it,
perhaps we can accept it.

Otherwise the patch looks ok to me.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]