Issue230261

classification
Title: looping over (j.l.System) getProperties gives inifite loop?
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: ahillbo, bckfnn
Priority: normal Keywords:

Created on 2001-01-27.11:18:25 by ahillbo, last changed 2001-02-04.15:37:41 by bckfnn.

Messages
msg276 (view) Author: anders hillbo (ahillbo) Date: 2001-01-27.11:18:25
import java.lang.System as jls
jp = jls.getProperties()

for i in jp: print i

# gives infinite loop of ....
None
None
:
:

Should it not give an error "loop over non-sequence" instead?
This is jython 2.0 on Redhat 7.0 IBM vm cx130-20001124 AND dito on W2k Sun VM 1.3.0.

BTW: I am really impressed by your extremely nice work with Jython!!! 
I'm using it with apache jserv for servlets etc, as we have other people working on 
"normal" java servlets this integrates better that running cpython with mod_python.
Keep up the good work!

msg277 (view) Author: Finn Bock (bckfnn) Date: 2001-02-04.15:37:41
Fixed in:

CollectionProxy.java: 2.3;
CollectionProxy2.java: 2.2;
History
Date User Action Args
2001-01-27 11:18:25ahillbocreate