A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006394.html below:

[Python-Dev] simple syntax error bombs interpreter

[Python-Dev] simple syntax error bombs interpreter [Python-Dev] simple syntax error bombs interpreterJeremy Hylton jeremy@beopen.com
Thu, 13 Jul 2000 11:29:20 -0400 (EDT)
>>>>> "VM" == Vladimir Marangozov <Vladimir.Marangozov@inrialpes.fr> writes:

  VM> 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>
  >> 

  VM> Yes. This is because PyErr_PrintEx() is invoked with a NULL
  VM> exception.  And the exception has been cleared cleared in
  VM> get_inprogress_dict().

  VM> The appended patch should fix it. Let me know whether it works
  VM> for you.

  VM> Jeremy, what's the point of calling PyErr_Clear() in
  VM> get_inprogress_dict()?

Looks like it was just a bug.

Jeremy



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