Several macros are incompatible with parse function in _args_wiki.py

Issue #532 resolved
RogerHaase
created an issue

Examples:

<<Date(2002-01-23T12:34:56)>>

<<Date: execution failed [Bad timestamp u'2002-01-23T12': invalid literal for float(): 2002-01-23T12] (see also the log)>>

<<DateTime(2002-01-23T12:34:56)>>

<<DateTime: execution failed [Bad timestamp u'2002-01-23T12': invalid literal for float(): 2002-01-23T12] (see also the log)>>

<<MailTo(user AT example DOT org)>>

AT <user>

<<PagenameList()>>

<<PagenameList: execution failed ['NoneType' object has no attribute 'getitem'] (see also the log)>>

<<RandomItem()>>

<<RandomItem: execution failed ['ProtectingMiddleware' object has no attribute 'iteritems'] (see also the log)>>

<<Verbatim(return `same` __text__ **as** entered)>>

<<Verbatim: execution failed [macro() takes at most 2 arguments (5 given)] (see also the log)>>

Related issues:

  • FootNote markup #476
  • FootNote with non-ascii characters #353
  • Include crashes on editlink, titlesonly #170

CR: https://codereview.appspot.com/254920043/