Vladimir Marangozov wrote: > > Fredrik Lundh wrote: > > > > using my latest Python 2.0 build, the interpreter > > bombs if I type the following two commands: > > > > >>> def a(b): > > ... global b > > ... > > > > (1.5.2 says "name is local and global"). > > > > </F> That's the same kind of situation I had with my >>> def f(a,a): ... print a segfault > The appended patch should fix it. Let me know whether it works for you. The appended patch works for me. Now my "duplicate arguments" error also works fine. Is there an issue with removing the PyErr_Clear()? Does it serve any just purpose? if-not-please-get-rid-of-it-ly y'rs Peter -- Peter Schneider-Kamp ++47-7388-7331 Herman Krags veg 51-11 mailto:peter@schneider-kamp.de N-7050 Trondheim http://schneider-kamp.de
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4