Skip to content

Nested loops are broken in scrapemark 0.9 #6

@arshaw

Description

@arshaw

Reported by adb...@gmail.com, Dec 26, 2009

What steps will reproduce the problem?

Run the nested loops example from
http://arshaw.com/scrapemark/docs/examples/

What is the expected output? What do you see instead?

Expected output is:
{'days': [{'number': 1, 'points': [5.6, 24.5]},
{'number': 2, 'points': [1.1, 12.8]},
{'number': 3, 'points': [2.4, 5.67]}]}

Instead, you get:
{'days': [{'points': [5.6], 'number': 1},
{'points': [24.5]},
{'points': [1.1], 'number': 2},
{'points': [12.8]},
{'points': [2.4], 'number': 3},
{'points': [5.67], 'number': 0}]}

What version of the product are you using? On what operating system?

v0.9

Please provide any additional information below.

This is a regression from scrapemark.py r2, which works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions