still have an error, a bit different told about __iter__ and __len__
$ pip3 install -U -r requirements.txt
Successfully built yatl
Installing collected packages: yatl
  Found existing installation: yatl 1.0.6
    Uninstalling yatl-1.0.6:
      Successfully uninstalled yatl-1.0.6
Successfully installed yatl-1.0.7

ERROR:root:Traceback (most recent call last):
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 416, in 
wrapper
    ret = dumps(ret)
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 157, in 
dumps
    return json.dumps(obj, default=objectify, sort_keys=sort_keys, indent=
indent)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/json/__init__.py", 
line 238, in dumps
    **kw).encode(obj)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/json/encoder.py", 
line 201, in encode
    chunks = list(chunks)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/json/encoder.py", 
line 431, in _iterencode
    yield from _iterencode_dict(o, _current_indent_level)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/json/encoder.py", 
line 405, in _iterencode_dict
    yield from chunks
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/json/encoder.py", 
line 438, in _iterencode
    o = _default(o)
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 146, in 
objectify
    return list(obj)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/yatl/helpers.py"
, line 222, in __iter__
    for c in str(self):
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/yatl/helpers.py"
, line 222, in __iter__
    for c in str(self):
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/yatl/helpers.py"
, line 222, in __iter__
    for c in str(self):
  [Previous line repeated 481 more times]
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/yatl/helpers.py"
, line 226, in __len__
    return len(self.text)
RecursionError: maximum recursion depth exceeded while calling a Python 
object

thx n best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/c41a8e71-02f0-4b03-a6a8-5d3499946c15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to