I will fix it later today On Dec 16, 2014 1:43 PM, "Alex" <[email protected]> wrote:
> exactly, that's the issue. Now it makes sense why it worked on very rare > occasions. A test for this use case would be a good idea. here is the code > in 2.4.6 which runs fine: > r = re.compile(regex) > for (key, value) in storage.items(): > if r.match(str(key)): > del storage[key] > > and this is the code from 2.9.11 which fails: > r = re.compile(regex) > for key in storage: > if r.match(str(key)): > del storage[key] > break > > should I open a bug report or can someone directly fix it? > > Alex > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/72vUKgyDkxQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.

